12-23-2012 12:40 PM
Hello,
I am using LabWindows/CVI to read data from a serial port. I read the values with ComRdTerm, and they are stored in a char array, the
array looks like this "1024 576 123 756". I need to extract the numbers from this array.
Solved! Go to Solution.
12-23-2012 06:18 PM
ANSI C sscanf () and Formatting and I/O Library Scan () functions are the instrument you can use to extract your numbers. A good C manual will explain you the first command and its options, while for the second there exists a good descrption in the online help.
12-25-2012 01:13 PM
Thank you, it worked