12-06-2013 09:39 AM
Dear all,
For my research project on a fusion device I've dug into Labview to automize my measurements. Allthough I'm a novice in Labview the program is working as required, except for one part. There is a webcam involved which monitors the inside of the reactor; during operation I want to know what happens inside. I've made a while loop which uses NI-MAXdq VI's to continuously display the webcam images. But next to that I also want to record these videos as .avi files and that is where I'm stuck. I've made a second while loop with a local variable of the images as input that uses the AVI2 VI's to automatically record the images during a measurement. However I keep getting an error at the AVI2 Create VI saying Acces Denied. Any help is very welcome.
Kinds regards,
Mick
P.S. in the attached image you can see the camera and the recorder loop, and also the other event cases of the recorder loop.
12-06-2013 10:26 AM
12-09-2013 04:39 AM
Thank you for the example you provided. However it makes use of older Labview VI's, where I only have acces to Labview 2012. Moreover I've been using the express VI before and I find it makes my program slower than acceptable. Is there any way to circumvent the problem with minor additions to the schematics I drew? Or could you at least help me understand the problem so I can find a solution myself. Until now I fail to see why exactely the AVI2 Create VI can't create the file I specify.
Kind regards,
12-09-2013 04:50 AM
12-12-2013 09:23 AM
Hello Mwijnen,
Please do first try another simple file name (eg.test) and a folder path from which you are 100% sure that you have the privileges to write to.
It could be that Windows is denying your access to that specific User folder and does not allow you to create a file over there.
Can you manually create a file in that exact folder?