LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rearranging a serial output

Hi, heres my problem i have a serial rs232 output to input into my program1. what i want to do with it is rearrange this ascii string input to an order so that a program2 created in visual basic can read it. the program2 uses .csv file to import the data and then reads the data in the correct order. I don't believe it neccessary needs to be a .csv, but the that the data comes needs to be correct. Any ideas be much appreciated.

Thanks Stuart
0 Kudos
Message 1 of 2
(2,611 Views)
You are right the input does not necessarily have to be csv. However, the read operation in program2 must understand/adapt to the delimiter in the input file. Also ensure that the ascii string input does not contain your chosen delimiter since this will confuse program2 to misinterpret data. If you anticipate this type of situation, the best place to take care of it is in program1.
0 Kudos
Message 2 of 2
(2,611 Views)