LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa configure serial port problem

Solved!
Go to solution

Dear all

I am using RS-232 port to communicate with with instrument.Right now the instrument is not their so i have shorted pins 2 and 3 of connector connected to COM2 port so that what ever i am transmitting, i will get i back. Using Hyperterminal i am able to verify that whatever i am writing it is coming back.

But when using Labview 7.1 i am tring to communicate by first configuring the serial bus by using VISA CONFIGURE SERIAL PORT.vi

with following settings

Visa resource name=ASRL2::INSTR (Because COM2 port)

Baud rate=2400

Data Bits=8

Parity=None

Stop Bits=1.0(Equal to 10)

Flow control=None

End Read on termination Character=True

Termination=A

The VISA Congfigure is giving error. The error code is 1073807202

The above procedure is similar in Visa read/write examples provided..

I tries hard to fix the problem but all invain.

 

Can anybody help me in this.  

Abhimaniu
0 Kudos
Message 1 of 4
(3,385 Views)
Solution
Accepted by topic author Abhimaniu

see here

 

I'm guessing your problem is #2 (you don't have NI-VISA installed).

Message Edited by smercurio_fc on 01-22-2009 10:42 PM
0 Kudos
Message 2 of 4
(3,383 Views)

I am not using National Insrument PCI-RS 232 card.

I am using the RS-232 supplied with computer generally and during serial bus search for NI Serial bus i was not able to search any NI serial bus connection.

Is it possible to communicate using VISA Configure,VISA read/write without using National Instrument Card???

Whether we need ALIAS name and "my serail port configuration" somewhere in the VISA configuration 

Abhimaniu
0 Kudos
Message 3 of 4
(3,361 Views)

It doesn't matter whether you are using an NI serial card!

 

If you are using VISA (and you are), you need to install NI-VISA. The error usually means that you haven't. Open MAX and check to see what you have installed.

0 Kudos
Message 4 of 4
(3,355 Views)