04-20-2006 08:00 AM
04-21-2006 06:57 PM
Hello,
If you can read from the instrument through the serial port, you shouldn't have any trouble reading that data in LabVIEW. All you need to do is configure the port in MAX (or the device manager if you are using a built in serial port) to set the baud rate, termination, etc. It will show up in the VISA Resource Control/Constant in LabVIEW as COMx (by default), where x is the port number. In LabVIEW, go to Help>>Finder Examples and from the folder tree, browse to Hardware Input and Output>>Serial>>Basic Serial Write and Read.vi to find an quick example of serial communication. All port configuration can actually be done through this example in LabVIEW. All you do is send a command to the instrument (with proper termination) and read back the response. Please try this out and see if are able to read from your instrument. Please post back to this forum if you have any trouble!
Have a great day!
Chris R.
Applications Engineer
National Instruments
04-21-2006 07:52 PM