Hi,
Serial communication is based on transmiting byte-sized (max.) frames, which is why most serial port APIs use strings data types to represent the data, both sent and received.
I assume you are using the RS232 CVI functions (not VISA). Then, you would use ComRd to read from the serial port. The returned data is stored in a char array (string). The serial driver simply puts the received bytes in this array. The actual format of the data depends on what your instrument is sending. It could be sending ASCII data, interger values (8-bit, 16-bit or 32-bit), little or big endian, etc. The number of data formats is infinite. You need to determine exactly what the device is sending and parse the returned array according to that.
Rememb
er that the serial API just provides the communication channel. It doesn't play any role on what is being sent.
Hope this helps.
DiegoF
National Instruments.