Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Parsing serial data into different sets

$
0
0

Hello i am continously sampling data from the ADC on my micro the format my data is sending is as followed

 

$1,2,3,...................,$GPStime,$

 

i have a dollars sign at the beginning of the adc values and a dollar sign at the beginning of time and commas. I use the scan from string to separate the two but i get the following error.

 

Possible reason(s):
 
"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 @."
 
 I dont understand why i am sending straight ascii values, When i send just one type the spreadsheet string to array works just fine but i obvuously cant use that for different types. Please see attached of code and block diagram. I would greatly appreciate comments.

Viewing all articles
Browse latest Browse all 5565

Trending Articles