Search found 276 matches

by philr
Sat Jun 01, 2019 1:19 am
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

Hi Mike, I believe you'd just create two buffers and two PString objects. Like this char buffer1[50]; PString mystring1(buffer1, sizeof(buffer1)); char buffer2[50]; PString mystring2(buffer2, sizeof(buffer2)); Then you could fill each separate buffer using the separate PString objects (mystring1 and...
by philr
Sat Jun 01, 2019 1:15 am
Forum: MegunoLink
Topic: Upload Monitor not working with STM32 chip.
Replies: 1
Views: 164

Re: Upload Monitor not working with STM32 chip.

Hi, you are exactly right. We rely on putting wrappers around the programmers (avrdude and esptool). What software is used for programming STM chips from the arduino IDE? We might be able to add a wrapper for that tool as well.

Cheers
Phil
by philr
Fri May 17, 2019 8:29 pm
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

You should be able to declare two psting objects along with separate buffers. As for the monitor you could add it as a separate visualiser from the visualiser menu (not added to the interface panel) then dock it as a tab in the same space as your interface panel. Then it's easy to just switch to or ...
by philr
Thu May 16, 2019 6:35 am
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

Yep Pstring will handle that nicely. The good think about Pstring is that its uses a pre-allocated buffer so is pretty memory efficient. I think there was some talk that strings were a bad idea. I never looked into it too much though.

Cheers
Phil
by philr
Tue May 14, 2019 8:09 am
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

Hi Mike, I see. In the past we have used the pstring library. That allows you to create a custom string that you would be able to send out the serial channel. char buffer[50]; PString mystring(buffer, sizeof(buffer)); int index = 1; mystring.print("Cell"); mystring.print(index); mystring.print(" Pow...
by philr
Sat May 11, 2019 1:29 am
Forum: MegunoLink
Topic: Interface object positioning
Replies: 10
Views: 552

Re: Interface object positioning

Great advice Mike, I've added getting that lock function to persist to our request list (not sure why its not). We also longer term want to add undo and redo functionality (no small job I'm told). I think this would help in the situations when things are accidentally resized or edited.

Cheers
Phil
by philr
Mon May 06, 2019 5:47 am
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

Ha we have never used the lock property and we're surprised it isn't saved. Will add to the bug list to be fixed. As for saving channels in tables that seems to be working for me. Did you get that going in the end? I'm not 100% sure I understand your naming suggestion with the $. Could you elaborate...
by philr
Mon May 06, 2019 5:38 am
Forum: MegunoLink
Topic: Interface object positioning
Replies: 10
Views: 552

Re: Interface object positioning

Thanks Mike, you can also hold down the Ctrl button and drag to make a copy.
by philr
Sun Apr 28, 2019 6:39 am
Forum: MegunoLink
Topic: Re: 18650 Conditioner unit.
Replies: 20
Views: 1373

Re: 18650 Conditioner unit.

Hi Mike, yeah you would need to separate them using channels. You would go: Table MyTable1("Table1"); Table MyTable2("Table2"); Table MyTable3("Table3"); Then you would use each variable to send to that channel. At the megunolink end you would need to create all of the tables and make sure each one ...
by philr
Sun Apr 28, 2019 6:34 am
Forum: MegunoLink
Topic: Message logger and message monitor
Replies: 1
Views: 169

Re: Message logger and message monitor

Hi Rod, logging can happen without user input while the monitor requires the user to save data manually.