11-12-2015 06:36 PM
i have a question, im am trying to timstamp my adc values from my microntroller via uart. so i have ADC values and timestamp from uart as one string ACSII. The data send sets of 512 numbers of adc and then the timestamp every second. The data sends as follows
$ADC Values,$time,$ADC Values,$time,$ADC Values
and so forth, repeats same pattern. You can see the values in th read buffer from the pictures i attached the last picture of the buffer is the time. I initially use the visa termination character to catach the dollar sign then i use a "Scan from String" to get the time and then have that output to the "to" of the build waveform. then i have the remaining string go into a "spreadsheet string to array" to get comma out and convert to double. I guess i could probably expand the "Scan from string" and separate both using that instread of using the "spreadsheet string to array". I also get this error from " Scan from string"
"LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @."
If you can please help that would be great i have attached my code and pictures of read buffer.
11-12-2015 06:39 PM
here is my code
11-12-2015 07:19 PM
11-12-2015 08:28 PM