LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa command select comm port in Vista

I am working on two new machines both running Windows Vista.
I have an application which uses Visa serial comms. 
The front screen contains a control to allow the user to select which com port he is using. 
This, of course, appears as a drop down box.
On the development machine, running as code, this works perfectly.
When I build an EXE and an installable this drop down box does not appear to work. 
When clicked, it just changes the cursor to the equivalent of the hourglass
for 10 or 20 seconds, then clears.
In the build of the installable, I did remember to include the Run time for Visa,
Can you offer any help please?
0 Kudos
Message 1 of 2
(2,696 Views)
Hi ATWaterMan,

You need to have MAX installed to populate the VISA combo box.
If you don't want to install MAX. As MAX is needed to enumerate the devices on your system and provide VISA aliases, which is what COM1 and COM2 are. If you do not want to install MAX I suggest you try typing ASRL1::INSTR in to the VISA field. Alternatively you can use the attached Type-Def control in LV 8.2 format to select COM 1, but that will pass ASRL1::INSTR to the Open Serial Port VI.

Regards
JamesC
NIUK and Ireland



0 Kudos
Message 2 of 2
(2,635 Views)