LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PORT A to COM 1

What do I need to do with a LabView 5 serial VI which features 'Port A' to make it recognise 'COM 1' as the incoming port?
Please see enclosed jpeg of the VI,
 
many thanks,
0 Kudos
Message 1 of 6
(2,962 Views)
Your picture didn't make it. LabVIEW 5 had the old serial functions (i.e. Serial Port Write, Serial Port Read) where you specified a number (0=com1,1=com2) and the VISA functions where you could use "Com1". I don't know of any that used "Port A".
0 Kudos
Message 2 of 6
(2,956 Views)
Hi phebas,
I don't know exactly of the capabilities of the VISA- fonctions supported by LV5, but in my LV7.1 I found a page in the LV- Help called "Configuring Serial and Parallel Ports with VISA", there is described the way you can define an alias for a port. So you can use the alias "PORT A" for any port you desire.
Greets, Dave
Greets, Dave
0 Kudos
Message 3 of 6
(2,934 Views)

Hi again,

My problem with com ports get worse. On one Dell PC I can run a set of serial vi's to test that the com port is working, however, on a seconD Dell PC I cannot get any of the following vi's to run.

'basic serial write and read', 'serial_exercise', 'Find_serial_ports', 'Loopback'.

most of these vi's return the error code 1073807202

The second PC is happy with a Hyperterminal loop-back test, and will communicate with my mini-robot via another terminal emulator, i.e. ttermpro. So the port is available to some applications. What could be the problem with the NI vi's accessing COM 1 on the first PC?

Ps I'll try to enclose the LV 5 'setup vi' I mentioned in the first post - I now understand that the 'PORT A' is simply a label as daveTW points out.

 

thanks,

 

tony

0 Kudos
Message 4 of 6
(2,901 Views)
The error means you don't have VISA installed. On the pc that is working, you could have entered that error code into an error ctl, right clicked on the number and gotten the description. Unfortunately, the description gets installed along with VISA so you wouldn't be able to read this on the pc generating the error.
0 Kudos
Message 5 of 6
(2,888 Views)
many thanks,
 
installing VISA has solved both the problem of accessing COM 1 and running the LabView 5 VIs,
 
tony
0 Kudos
Message 6 of 6
(2,865 Views)