LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ picture control not working on user computer

    I'm using a few IMAQ picture control VIs in an application. When I build the application the picture only works on the computer I devolped it on.
On any other computer the picture does not display and the program is stuck in a while loop waiting for a mouse click on the ok button that doesn't appear. The application does a ton of other things, but I can't seem to get it to display a simple bit map picture. 

I do recieve an error when the bit map is not in the correct location, which convinces me that the VI is running. Otherwise there are no error messages.

I'm open to any ideas or experiments that might help me understand what's going on.

thank you
sean
0 Kudos
Message 1 of 4
(2,875 Views)
Hi Sean,
 
    It sounds like one of two things is happening.  Initially I thought that maybe your driver wasn't included, so be sure that when you create your exe that you include the IMAQ driver.  Also, your error message indicates that the image is not in the correct location.  It sounds like your program is opening the image from a file.  If the file is not in the same location on the new machine as it was on the development machine then the program will not be able to open it.  Make sure that either the image is in the same location and has the same name, or put in a dialog box for the user of the program to enter a location for the file.  Let me know if you have anymore questions!
-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 2 of 4
(2,854 Views)
Allison-

The path issue was not a problem, just a test that to make sure the VI still ran properly and recieved errors.

I opted to avoid using the IMAQ VIs, but I'm still curious why the drivers wouldn't be included in the installer that I created with my build. Do I really need to manually add the drivers for anything that's not in the base package?
0 Kudos
Message 3 of 4
(2,849 Views)

Sean,

    Ah, sorry for misunderstanding the path part.  As far as the IMAQ VIs, you're saying that you didn't use any?  If not then what VIs did you use?  Also, when you build an installer in LabVIEW, it tries to guess what to include, but it doesn't assume much to avoid making the installer too large.  In the Application builder window you can select which are installed.

-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 4 of 4
(2,835 Views)