LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting VIs to a NOT-National Instruments USB-Serial Converter

Hi,
 
I am interested in Serial Ports applications but the PC I use doesn't have serial port, so I have been using a USB-Serial Port converter manufactured by Prolific. It works perfectly with other applications, like HyperTerminal, for example.
 
I tryed to run the examples:  "Basic Serial Write and Read.vi" and "Troubleshoting Serial Line Monitor.vi" but always I got the error message number 1073807202 refering VISA Resource Name.
 
My question is:
 
Does the USB-Serial device has to be exclusive from NI to perform correctly?
 
 
I am new with LabVIEW and probably the answer of this question is simple for many people. I will appreciate any comment or advice regarding this topic,
 
Best Regards,
 
Alex
Message 1 of 3
(2,826 Views)

Hi.

I had the same problem long time ago..
Normaly you can use all the USB to RS232 Converters on the market.
One that works properly is from 'roline'.
The only problem you may have is the port number. If you plan to use
it on your Laptop with more than one USB-port than the driver will use
a different COM-port number for each USB interface.
In this case your application must be capable to change the serial
port while running.
Anyway, there are USB to RS232 converter on the market that doesn't
work with LabVIEW.

With kind regards

   Martin

With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
0 Kudos
Message 2 of 3
(2,820 Views)
 

This error indicates you do not have NI-VISA installed, or that the installation was corrupted somehow.  You do not need to have an NI USB to Serial Converter, however to use the examples that you mentioned you will need to download and install NI-VISA.  The latest NI-VISA drivers can be found at the following website:

 NI-VISA Download

One additional note about this is that if you do not have an NI USB to Serial converter, you need to ensure that the driver that comes with your converter allows your OS to recognize the serial port on the converter as a native serial port.

-Logan S.

 

Message Edited by LoganS on 11-29-2005 07:37 AM

Message 3 of 3
(2,792 Views)