LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use instrument I/O Assistance to comunicate with A device(serial port)

I am new to labview and i am trying to read from a device that sends out data in ASCI II format through COM 1( RS 232 Cable). i guess i have to use Instrument I/O Assistance since i don't have a software for the device and its not a NI device neither, but i can't get anything from device when i open up the Instrument I/O Assistance , I can see the device is working though, when i go to "open VISA test panel" on viRead tab i can see the information is coming from the device correctly, but when i try to run my device in Instrument I/O this error comes up "Failed to open a session with the selected instrument.  Error message : Insufficient location information or the device or resource is not present in the system.  VISA Status code : bfff0011".
0 Kudos
Message 1 of 3
(2,571 Views)
You don't have to use Instrument I/O Assistant. If your device is a serial device you can look at the Basic Serial Write and Read example that ships with LabVIEW. Open the Example Finder (Help -> Find Examples) and navigate the tree to Hardware Input and Output -> Serial, or do a search for serial.

What's the device that you're trying to talk to. There may be an instrument driver available.
0 Kudos
Message 2 of 3
(2,565 Views)
Thank you, it works.
0 Kudos
Message 3 of 3
(2,555 Views)