Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Strange behaviour when sending 0 (Read 1147 times)
roksa
Newbies
*
Offline


Posts: 1
Joined: Jan 9th, 2018
Strange behaviour when sending 0
Jan 9th, 2018 at 9:52am
Print Post  
Hello,

I'm developing a network protocol, where also 0's are sent and received, which seems to be no problem for the montior of the Arduino-IDE. But if I check the inputs/outputs in the monitor of the Visual-Micro AddIn, it seems that the monitor doesn't display anything after the 0 (NUL). But sometimes it does. It doesn't matter whether CStr is on or off.

Screeshots as attachments...

Hope someone can help, because everything else works fine and I don't want to switch back to Arduino-IDE

Thanks, Robin
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Strange behaviour when sending 0
Reply #1 - Jan 9th, 2018 at 2:17pm
Print Post  
Neither viewers handle non-ascii chars correctly.

At the moment cstr applies to outgoing only.

The windows textbox control is automatically stripping chars where as the arduino java control is not.

We do plan to convert to a different textbox but most people use something like puTTy when working with binary data
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint