08-01-2012 02:47 PM
Hello all,
I am new to LabVIEW so please pardon my ignorance. I am trying to communicate with a serial port using "Advanced Serial Write and Read.vi". I filled in the required information such as com#, baud rate, etc. A screen shot of this if shown below. The problem is when I run it I get the following error statement:
Error -1073807202 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Advanced Serial Write and Read.vi
Possible reason(s):
LabVIEW: (Hex 0xBFFF009E) VISA or a code library required by VISA could not be located or loaded. This is usually due to a required driver not being installed on the system.
Do I have to install some specific labview drivers for generic com port communication? I can communicate just fine using some crappy communication software similar to hyperterminal, but I want to do it using LabVIEW. In case it makes a difference, I am using a USB to DB9 converter.
Thanks,
Matt
08-01-2012 02:48 PM
That error message is very clear you need NI-VISA to be installed.
08-01-2012 03:09 PM
I don't know if you are trying to be snide, but I obviously dont know what a "NI-VISA" is. This is my first attempt to use LabVIEW to communicate with the serial port and I have very limited LabVIEW experience in general.
So, if you don't mind. What is an NI-VISA and how do I find/install it?
08-01-2012 03:11 PM
It is a driver that support a variety of instrument control protocols. You can switch from RS-232 serial to TCP/IP to GPIB and not have to change your driver. It can be found on the NI site Support/downloads. It is usually packaged on the CD's with GPIB and some other NI drivers.
08-01-2012 03:16 PM
08-01-2012 03:19 PM
Is this necessary? I don't understand why I can use this hyperterminal equivalent to communicate without all this mess, but LabVIEW can not. All I had to specify for hyperterminal is the baud rate, com port, and the 8N1 setup. Is there a generic LabVIEW comm interface like this?
Thanks,
08-01-2012 03:25 PM
VISA is the generic communication interface.
Hyperterminal has serial comm drivers as well. It just so happens that Hyperterminal is using the serial comm drivers that are built into Windows. That's why you don't notice them.
If you installed LabVIEW, then you should have installed the drivers that come with it. It is on a separate DVD. Obviously you haven't.
08-01-2012 03:30 PM
OK. That makes sense. Thanks.
I have another question though. If I install these drivers, will I be able to connect with any generic serial device, or does it have to be a specific one on the NI list?
08-01-2012 03:32 PM
You'll be able to work with any serial device.