LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1074395988 occurred at IMAQ Write JPEG File

I have written a vi that uses the IMAQ Write JPEG File vi, in Labview 8.0.  I have installed the built application on my customer's computer and am now experiencing a problem.  If a user logs in with Administrator privileges the software works fine.  If a user logs in with User privileges then they get "Error -1074395988 occurred at IMAQ WriteJPEGFile.  Unable to write data.  Possible reasons:  IMAQ VIsion: (Hex 0xBFF604AC) Unable to write data."  I have had the customer write the file to their Desktop and to their My Documents folder with the same results.  Does anyone know where this comes from?
 
Steve
0 Kudos
Message 1 of 6
(4,986 Views)
Hi Steve,

Thanks for posting to the NI forums.  Based on the fact that your program works when logged in as the Administrator, I am assuming this problem has to do with how the privileges are set on the target.  One possible explanation could be that the destination of the jpeg file requires Admin privileges.  Could you give more information about where the program is writing to, such as the file path input that you have going into the write VI?  You could also try contacting your IT department to find out what read/write privileges the user has.

Thanks,

Message Edited by Maclean on 07-31-2007 02:19 PM

Maclean G.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 6
(4,971 Views)

I have asked the user to save the jpg to random locations on the C drive, plus to their Desktop and to their My Documents folder.  They couldn't save to any of these locations.  However, they could use Labview to save ascii and binary files to their hard drive.  As far as I know, they have read/write privileges.

Thanks,

Steve

0 Kudos
Message 3 of 6
(4,963 Views)
Hi Steve,

Check the permissions on the NIVision.dll and make sure that the User has read/write privileges.  The dll should be located under "RT Images\CommonVision\" in the NI folder, and you can view the privileges by right clicking and going to properties.  Also, instead of the Write JPEG File VI, try using  IMAQ Write File.vi and input JPEG for the file type?

Thanks,

Maclean G.
National Instruments
Applications Engineer
Message 4 of 6
(4,956 Views)
I have the same problem but I have tried changing the write permissions on NIVision.dll and changing IMAQ Write JPEG and IMAQ Write File and I still get error -1074395988 Unable to write data.  Is there anything else permissions would need to be changed on?
0 Kudos
Message 5 of 6
(3,862 Views)
Hi Tiff,

Can you write a text file to the same directory you are trying to save the JPEG to? Can you log in as Admin and try it?

Regards,
Maclean G.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 6
(3,843 Views)