LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Installer

Solved!
Go to solution

Hi All, 

I am trying to run a Labview vi  named 10pin(2).vi on another laptop which does not have Labview. I am getting this error (attached) when I try to run the application on the laptop without Labview. 

Here are the steps I am following. 

Create Installer and Executables. Destination directory and  Installer destination(in product information),both are usb drive.Destinations in installer properties ,showing me folder Program files-> Cable testing 10 pin

Install the installer on new laptop and then run the executable.

 

Can anyone please help?

 

0 Kudos
Message 1 of 10
(1,528 Views)

When you build the installer, include the DAQmx driver.

 

 

George Zou
0 Kudos
Message 2 of 10
(1,518 Views)
Solution
Accepted by topic author maccapple

Looks like you didn't add the DAQmx Runtime package on your Additional Installers category.  I thought it was supposed to handle this automatically these days but I just tried a simple DAQmx app and I had to uncheck the Automatically select recommended installers option and add NI-DAQmx Runtime 19.6 manually.  🤔

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 10
(1,514 Views)

Looks like you also need to install DAQmx on the laptop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 10
(1,510 Views)

Thanks Everyone particularly NIquist to pinpoint the issue. Even, I was thinking it is supposed to handle this automatically.

But now I have another issue.

The vi acts like it is running without giving any error but it is not doing what it is supposed to do. Even if I remove the USB connection to NI module, it is running and not giving any error(I expected this behaviour). The vi is supposed to just send output and get corresponding inputs.but the program gives negative results as if it is not getting corresponding inputs(whereas the result is positive if I connect the same NI and run the same program on original laptop with labview on it)

The program is not even outputting the signals at the respective pins on NI module.

Is it because MAX is not configured on the laptop? 

Appreciate any help.

0 Kudos
Message 5 of 10
(1,428 Views)

If you have created Task in NI MAX and using the same for Reading DAQmx, You need to import the Tasks to New Laptop from the old one.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 10
(1,419 Views)
Solution
Accepted by topic author maccapple

I guess it is because the device has a different alias name on the development and deployment machine, hence the executable is controlling a different (possibly a simulated) device on the deployment machine. Make sure you are selecting the correct device alias name in your program. Can I Change the NI Device Name in NI Measurement & Automation Explorer (NI MAX) 

Alternatively, you can Export/Import the System Configuration in NI MAX

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 7 of 10
(1,415 Views)

Thanks. One more thing I noticed is, the new laptop is probably not even recognizing the USB connection from NI. Its not giving me any signal saying something is newly connected, when I connect the USB from NI modules.(USB port is working fine by itself)Does this have something to do?

Attached is the screenshot of the NI configuration I have in the source machine.Are you referring to the names like cdaq2mod1 which I should change?If yes, what should I change it to?(alongwith the respective changes in the program)

0 Kudos
Message 8 of 10
(1,341 Views)

Thanks. One more thing I noticed is, the new laptop does not give me any indication when usb connection of NI modules is connected, whereas the usb port is working fine.Does it have something to do with the issue?

Here is the screenshot of NI configuration I have.Do you mean to say I should rename CDAQ2MOD1 which is used in the program? What I should rename it to? (with the same changes in vi as well) How I know what name it has on the deployment machine?

0 Kudos
Message 9 of 10
(1,402 Views)

Finally I was able to run the vi successfully. Thanks everyone .Really appreciate

0 Kudos
Message 10 of 10
(1,375 Views)