Search found 22 matches

by Paul
Wed Apr 11, 2018 1:49 am
Forum: MegunoLink
Topic: TrackBar Command Editor
Replies: 4
Views: 1595

Re: TrackBar Command Editor

Hi, You can use: [((int)num.Value).ToString("X4")] to create a message with hex values in a string. But I think you want actual bytes. Unfortunately that doesn't seem to be working at the moment. MegunoLink is converting numbers to strings. I will try to figure out what's gone wrong and fix it. Kind...
by Paul
Mon Oct 02, 2017 5:01 am
Forum: MegunoLink
Topic: Unable to set data to send back to the UI
Replies: 8
Views: 4056

Re: Unable to set data to send back to the UI

Hi RoboBill, Great idea to start breaking your program up into smaller chunks. 1,000 lines is quite a bit for a single file. And breaking your problem down to the simplest example is a good idea too. Without the actual source it is a little hard to be sure what the problem is but my best guess is yo...
by Paul
Sun Jul 09, 2017 10:24 am
Forum: Projects
Topic: UDP from ESP8266 to MegunoLink Pro
Replies: 5
Views: 23915

Re: UDP from ESP8266 to MegunoLink Pro

Hi all,

We've had quite a bit of interest in sending data from the ESP8266. We added a little example in the UDP docs that does just that. Check it out here: http://www.megunolink.com/documentation ... nnections/

Have fun
Paul.
by Paul
Tue Feb 21, 2017 9:39 pm
Forum: MegunoLink
Topic: ToString function bug?
Replies: 1
Views: 1422

Re: ToString function bug?

Howdy, MegunoLink is built on C# and we are using that for formatting. In C# the width specifier sets the minimum width of the output. The output will expand to whatever is necessary to correctly represent the value. And an int is a 32 bit number so negative values will take 8 characters. To solve t...
by Paul
Sat Jan 21, 2017 9:37 am
Forum: MegunoLink
Topic: Can I export the table content?
Replies: 5
Views: 2487

Re: Can I export the table content?

There's also a shortcut to copy table values to the clipboard.

Just select the rows/ cells you want to copy, then type Ctrl + C (the windows shortcut for copying a selection to the clipboard).
by Paul
Sun Jan 15, 2017 7:48 am
Forum: MegunoLink
Topic: Sending Float number to arduino with SerialCommandHandler.AddVariable
Replies: 1
Views: 1459

Re: Sending Float number to arduino with SerialCommandHandler.AddVariable

Hi, Thanks for reporting that; I've added it to our list of bugs. This happens if your windows localization settings are set to a region that uses a comma as a decimal separator. Until I get it fixed, you can use this as a workaround in the interface panel: !SetPoint [num.Value.ToString().Replace(",...
by Paul
Sun Oct 25, 2015 11:00 pm
Forum: MegunoLink
Topic: Hide, Visiable and Enabled
Replies: 1
Views: 4951

Re: Hide, Visiable and Enabled

Sorry, currently only picture boxes can be hidden/ shown. We'll look at adding support for other controls in a future version.
by Paul
Sun Oct 25, 2015 10:57 pm
Forum: MegunoLink
Topic: Use 2d array in EEPROMStore arduino library
Replies: 1
Views: 5028

Re: Use 2d array in EEPROMStore arduino library

Hi, The problem is you are create a new variable in the reset function which hides the one in the structure. You want something more like this: struct EMFConfiguration { byte voltage[2][3]; void Reset() { voltage[0][0] = 1; voltage[0][1] = 2; voltage[0][2] = 3; voltage[1][0] = 4; voltage[1][1] = 5; ...
by Paul
Fri Jul 24, 2015 10:55 am
Forum: MegunoLink
Topic: Typo in MegunoLink IDE - Tooltip Copy
Replies: 1
Views: 5212

Re: Typo in MegunoLink IDE - Tooltip Copy

Well spotted. Thanks!

Paul
by Paul
Fri Jul 24, 2015 10:50 am
Forum: MegunoLink
Topic: Get Values from Numeric DropDown Button
Replies: 7
Views: 6623

Re: Get Values from Numeric DropDown Button

Hi, I could see two problems. First, you'd set a channel on the message processor, but weren't using that channel in the Arduino code. And second MegunoLink is going to send a response like {UI|set|NumberControl1.Value=3} for the get command, but you were looking for an integer. I made an alternativ...