I have a very odd problem: When I build my VI to an EXE, the Silver control element on my front panel does not find any devices, but the standard element that automatically pops up, when you use the "create control" option on the Block Diagram does. I have to note that the machine that is supposed to run the VI does not have Labview installed, but the Labview Runtime (I use Labview 2013 for development and the Labview Runtime 2013 on the other machine). I installed NI DAQmx 15.1 on both machines.
When I run the VI directly in Labview and connect the DAQ-device to the machine that has labview installed, the silver control DOES work.
Thanks in advance!
In both cases a "DAQmx Physical Channel"-Control. I took care that i really used the very same data type in both cases. Interestingly, the "DAQmx Terminal"-Control does work properly in any case (Data Type NI-Terminal).
If you are running your code on different machines it might be that your device is not recognized. Then you cannot choose your input channels. Have a look at NI MAX if your Devices are recognized.
Thank you for your answer! This cannot be the issue though because it works with the old control element
- If you run your code in LV (primary machine) it works.
- If you run your EXE on a second machine it does not.
What about running your EXE on your primary machine where your full LV is installed. Does it work then?