LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW executable using VISA functions

Hi everybody!

I am using VISA functions to comunicate with a serial audiometer. Everything
it is OK until I want to make an application an run it on a computer without
LabVIEW. The LabVIEW Run-time engine is instaled but the communications is
not working.
If there is some issue to refer when building application using VISA functions,
please let me know.

Regards,
Vlad
0 Kudos
Message 1 of 8
(4,043 Views)
Hi Vlad

Have you got VISA drivers installed on the new PC?
If not so, you will have to.

Tim

Vlad Dragomir wrote:

> Hi everybody!
>
> I am using VISA functions to comunicate with a serial audiometer. Everything
> it is OK until I want to make an application an run it on a computer without
> LabVIEW. The LabVIEW Run-time engine is instaled but the communications is
> not working.
> If there is some issue to refer when building application using VISA functions,
> please let me know.
>
> Regards,
> Vlad
0 Kudos
Message 2 of 8
(4,042 Views)
Hi Tim.

What if I want to run my executable on a new computer, without installing
LabVIEW? How do I install VISA drivers?

Regards,
Vlad
0 Kudos
Message 4 of 8
(4,042 Views)
Hi Vlad

The NI-VISA drivers have their own installation program and so be installed seperately.
You will find that it resides on a seperate directory in your LV CD-ROM. Or you could download the latest from the NI website.

Tim

Vlad Dragomir wrote:

> Hi Tim.
>
> What if I want to run my executable on a new computer, without installing
> LabVIEW? How do I install VISA drivers?
>
> Regards,
> Vlad
0 Kudos
Message 7 of 8
(4,042 Views)
Vlad Dragomir wrote:

> Hi everybody!
>
> I am using VISA functions to comunicate with a serial audiometer. Everything
> it is OK until I want to make an application an run it on a computer without
> LabVIEW. The LabVIEW Run-time engine is instaled but the communications is
> not working.
> If there is some issue to refer when building application using VISA functions,
> please let me know.
>
> Regards,
> Vlad

You will also have to put the file serpdrv (for the serial stuff) in the same
directory as the
executable file. You should also take the labview.ini file, make a copy
and change the name to .ini and put that in the executable directory also.
Kevin Kent
0 Kudos
Message 3 of 8
(4,042 Views)
Vlad, Kevin, et al:

As Tim pointed out, you will need to install NI-VISA on the target
machine. With the currently shipping version (2.01) that is not easy
because the only VISA distribution is rather large. We are working on
a new version that will have a bare-bones redistributable runtime core.

By the way, Kevin's comments about needing serpdrv apply when you use
the LabVIEW-native serial port VI's. When you use VISA (as you are
doing), serpdrv and the port settings in the .ini file are not used.

Dan Mondrik
Senior Software Engineer, VISA
National Instruments


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 5 of 8
(4,042 Views)
Kevin B. Kent wrote:
> You should also take the labview.ini file, make a copy
> and change the name to .ini and put that in the executable directory also.

.... and change the first line from [labview] to [exe].

Kevin gave a good response; these issues are also covered in the NI
Knowledge Base. Search for e.g.

buil* OR exe*

Best, Mark
0 Kudos
Message 6 of 8
(4,042 Views)
I got the same problem too, I also put the file "serpdrv" in the same directory as the executable file, and make a copy of the labview.ini file....

However, the RS-232 port of my executable file still un-selectable!

So, could someone help me!


THX!

TC
0 Kudos
Message 8 of 8
(4,042 Views)