LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA resource name control will not function in my compiled application

Hi
 
I am having a great deal of difficulty.
 
I have compiled my application which drives an instrument over a serial interface. 
 
In my uncompiled top level vi I can easily change the VISA control to a port the PC recognizes (the control has a drop down list of available ports).  Unfortunately in the compiled version this control is disabled.
 
I really can't figure out what the problem is.  One thing to note is that when I run the complied application on my PC which has the full development version of LabVIEW (LabVIEW version 7.1) the control will work.  It is only when I try to run the compiled application on other PC's which have only the LabVIEW run time engine installed.  (Note: I know that the communications link is OK on these other PC's as I am still able to send commands to the instrument over HyperTerminal).
 
I hope somebody can help, I am really stumpt on this one.
 
Many thanks
 
Ash
0 Kudos
Message 1 of 7
(3,071 Views)
When you built the application, did you create an installer and if you did, did you also select to include serial support? Without doing this or installing VISA separately, your control will not work.
Message 2 of 7
(3,064 Views)

Hi

Many thanks Dennis

I did neither of these things.

Better I try.

Sorry about that

Ash

0 Kudos
Message 3 of 7
(3,058 Views)

Hi again Dennis

I have just re-compiled my application, creating an installer and selecting to include serial support.  However the serial control on the front panel is still disabled.

Have I missed something?

Many thanks

Ash

0 Kudos
Message 4 of 7
(3,051 Views)

Sorry Dennis

I see now.  The serial drivers have been saved to an install directory.  I must need to intstall these on the the PC that is to run the instrument.

Thank you

Ash

 

 

0 Kudos
Message 5 of 7
(3,048 Views)
Have you done a reboot of the computer you did the installation on? I'ts been a long time since I've done an app with only serial support and I don't remember if this was required but it's probably a good idea to this anyway.
0 Kudos
Message 6 of 7
(3,045 Views)

Hi,

  you've said that you've built the installer, and are installing the serial driver, but have you installed the VISA run-time on the target machine?

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 7 of 7
(3,024 Views)