LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

End user selecting com ports

I am new to using visa serial.
I have some code that on my dev-station the front pannel drop down box gives you selections like Com1 Com2.
When I compile and build this the end user sees ASRL-1::INSTR and ASRL-2::INSTR.
End users find this very confusing.
 
Also what is the best way to have an end user select a com port and  make sure it is a valid selection without causing errors that abort the program?
 
 
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 2
(2,450 Views)

Using the visa resource control with filtering (filter com ports) allows the user to select only valid ports.  I like to capture value change events and probe the device (a query command) to validate the device is connected and working.

 

Paul 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 2
(2,446 Views)