05-05-2008 07:05 AM - edited 05-05-2008 07:12 AM
05-05-2008 07:19 AM
Hi gupta.nit…,
check your string for the invalid characters. Can you upload your vi, because it´s easier to see what you have done?
Mike
05-05-2008 07:20 AM - edited 05-05-2008 07:22 AM
You should try "Spreadsheet string to array". You can set the array to your desired numeric format (ie: Double, etc).
Depending on how you do your acquisition, you may want to build your array until it is ready to be processed, plotted, etc.
RayR
05-05-2008 08:59 AM
05-05-2008 09:05 AM
05-05-2008 10:59 AM
05-05-2008 11:17 AM
05-05-2008 11:29 AM
our data is coming from a microcontroller that is sending all 000-FFF and without ant delimiterSo why are you trying to use the Spreadsheet String to Digital Waveform VI? If you have no delimiters, then that VI won't work.
05-05-2008 11:55 AM
05-05-2008 12:00 PM - edited 05-05-2008 12:01 PM
If you are getting strings of "YYY", the it doesn't meet the criteria. You can only use 0, 1, L, H, X, Z, V, or T.
So as Smercurio stated, you cannot use the Spreadsheet string to Digital waveform. You have to deal with the string in a different manner.
Use the VISA Read to get the serial data. But you must then handle that before you try to plot it.
In order for anyone to propose something, we would need to see an unmodified version of the received string straight from the serial port. You could save it in a text or binary file, whichever is more appropriate and post it in this thread. 🙂