04-24-2008 03:18 PM
04-24-2008 03:23 PM
zhi,
All the information you need is in section 8 of the manual. Section 8.3 describes in detail the structure of the command packets. Section 8.4.7 specifically calls out what 3 32 bit words of data must be transmitted to the instrument to perform the START command. Simply writing START to the COM port will not work. This section also specifies how the instrument will acknowledge the start command before it begins transmitting the data. You now have the code to parse out the measurements. You must now write the code to send the start command to the instrument.
04-24-2008 03:28 PM
04-24-2008 03:32 PM
smercurio,
You obviously read more of the manual than I did. If it is doing a continuous stream of data, then vi will need some functionality to differentiate between pairs of data? Some sort of sync?
04-24-2008 03:42 PM
04-28-2008 02:48 PM - edited 04-28-2008 02:57 PM
04-28-2008 03:43 PM
04-28-2008 03:44 PM
zhi,
Since the instrument is sending a continuous stream of data, you will need a way to synchronize with the data stream. That means you will need to differentiate between the HI an LO bytes. That should be easy because the HI byte will always be greater than or equal to a hex 80. The LO byte should always be less than a hex 80.
04-28-2008 04:09 PM - edited 04-28-2008 04:13 PM
04-28-2008 09:56 PM