07-16-2011 01:28 AM
I'm trying to write a program to communicate with my spectrometer. It seems I need to terminate a certain command with a <null> character. I've tried concatenating an empty string constant but still does not work. I'm more familiar with the C programming method where you append a "\00", which designates the <null> character, after the command. Any help would be appreciated and thanks in advance.
Solved! Go to Solution.
07-16-2011 02:10 AM
Instead of an empty string, concatenate a string diagram constant containing the null character. (Right-click the constant and select \-codes display, then enter \00, or select hex display and enter 00)
07-16-2011 02:31 AM
Thank you very much. I will try it tomorrow and let you know how it goes!