Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Port problem

When using the "Loopback" VI (from NI), the serial port works and echos back. But, when using the Basic_Serial_ Port_Write_and_Read, trying it's loopback feature gives an "error -1073807343 occurred at property node (arg1) in VISA Configure." What happened?    
0 Kudos
Message 1 of 2
(3,279 Views)
You used the loopback VI from here? If that's the case, which port number did you select? If it was 0, in the Basic Serial Write and Read, which VISA Resource Name did you use? Did you just leave it as the default or did you click on the arrow on the right side of the control to select a serial port? Assuming that you have a recent version of LabVIEW, the loopback example uses the actual VISA Resource Name of ASRL1::INSTR for port 0. The default of Basic Serial Write and Read has a default of Com1 which is actually an alias for ASRL1::INSTR. You should make sure that Com1 actually exists as an alias by opening MAX and under Devices and Interfaces, look to see what is listed under Ports. You can also try communicating here by first selecting a port, then right click and select Open VISA Session. The Basic I/O tab has Write and Read selections.
0 Kudos
Message 2 of 2
(3,268 Views)