04-22-2009 07:20 AM
Hi Everyone,
I'm currently using labview 8.6.1 and runtime 8.6.1 and I have created a build,executable and an install package. The issue that I'm having, is that I have I have several daq i/o control pull down boxes that I use to select the physical channel of the i/o port. While i'm in development, the drop down boxes show all the available i/o channels and it also gives me the ability to browse. However, once I create the executable, the daq i/o pull down box is empty, and i have to manually type in the location of the port. For instance, "Dev1/port1/line0" or "Dev1/ai0". I have checked to make sure that i'm not accidentally filtering the names. I must also mention that did this work before, and besides me having to type the address of the physical channel directly the executable works fine. I attached a picture of what i'm talking about just in case i wasn't clear enough(bottom right I/O settings tab) Any help would be greatly appreciated!
-Will
04-22-2009 07:50 AM
Hey,
Do you see this behavior just on the target machine or also at the development machine when you run the executable there.
Christian
04-22-2009 08:17 AM
That is the strange part, I have built other applications in which the i/o drop down menu worked, and when another user would log on to the pc it would disappear. To answer, your question, it doesn't appear on the development machine or the target machine. It only appears, while i'm in the development environment, and it disappears when it is an installed application.
04-23-2009 04:46 AM
Can you please try to build a simple VI just with all the different DAQmx Name Controls on it (maybe also some others like VISA or IMAQ to verify), as code in the blockdiagramm just a loop with timing. Then observe the behaviour in the VI, after that build a executable, close LabVIEW, run the executable and see if you can find the terminals, tasks, whatever....
Thanks,
Christian
04-24-2009 07:27 AM
Christian,
I did what you suggested, and I made a very simple VI to get a voltage and also to turn on a DIO line. And as you recommended, I also built the EXE and an installer for it. And it worked. So now, i'm really confused. I used the same code that I use to get the voltage and set the DIO in the test vi as I did in the previous VI that I'm having the problem with. Perhaps, I'm not making the EXE correctly? I didn't do anything differenet while making the installer for the test program or the exe.
04-28-2009 05:18 PM
04-29-2009 06:46 AM
04-30-2009 03:12 PM
05-01-2009 06:11 AM
Margaret,
The pc is running NI-DAQmx version 8.8. I did not add the channels as you stated above. I just created a control directly from the DAQ vi. Are there some sort of settings that maybe need to be checked off while making the executable? Once again thanks for your help.
-Wilson V.
05-04-2009 03:45 PM
Hello,
I assume that the vi you attached a couple of posts ago is your "simple vi." I too was able to make that into an executable and verified that the drop-downs are accesible. Please try deleting the controls that you have in your larger vi and replacing them. There should not be any special settings you need to account for in order to use this functionality.