LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NiDaq compilation

I am using LabVIEW version 7.1. with it´s Application Builder v. 7.1.
If I compile a program (Data acquisition) in a PC where I have installed the NiDaqmx 7.4 and I copy the compiled program (I prepear an installer)in another computer in which I have installed the NiDaqmx 7.3, when I run the program I get the error code 21. However, if I install the NiDaqmx 7.4 or I compile whith the NiDaqmx 7.3, then the compiled program works fine. (Nedless to say, that I do not use in my program any function which is avalaible in NiDaq 7.4. and not in NiDaqmx 7.3).

The above means, that the maintenace of programs is in practice no possible, unless, there is a trick that allows you to compile them with diferent versions of NiDaqmx, without having to uninstall and re-install them.

Does nay one know how to overcome this important problem. ?

With kind regards
Simbani
0 Kudos
Message 1 of 2
(2,538 Views)


@Simbani wrote:
I am using LabVIEW version 7.1. with it´s Application Builder v. 7.1.
If I compile a program (Data acquisition) in a PC where I have installed the NiDaqmx 7.4 and I copy the compiled program (I prepear an installer)in another computer in which I have installed the NiDaqmx 7.3, when I run the program I get the error code 21. However, if I install the NiDaqmx 7.4 or I compile whith the NiDaqmx 7.3, then the compiled program works fine. (Nedless to say, that I do not use in my program any function which is avalaible in NiDaq 7.4. and not in NiDaqmx 7.3).

The above means, that the maintenace of programs is in practice no possible, unless, there is a trick that allows you to compile them with diferent versions of NiDaqmx, without having to uninstall and re-install them.

Does nay one know how to overcome this important problem. ?

With kind regards
Simbani




While NI-DAQ strives to be forward compatible as much as possible it is almost an impossible task to also provide binary backwards compatibility. You really need to install the same or a newer version of NI-DAQ on a runtime machine as was used to create the application. Anything else is almost certainly bound to simply not work or create at least strange errors.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,495 Views)