06-20-2010 09:09 PM
I have a Basler scA640-70fc camera that I am tiring to connect and get an image with in the Grab and Save to AVI VI.
I can get an image when I test with Measurement and automation explorer with no problem, But I can not connect the camera in the Grab and Save to AVI VI
Within the Measurement program the camera is labeled as Cam5 basler scA640-70fc, I have tried to input this into the but still can not view the camera and get an error of 1074397145 NI-IMAG no interface found. I have tried several different combination of name and description with no success.
I am running Labview 8.6 and Vision Ver 4.3 I have tried using the Vision Acquisition but I can not save this file using this vi.
Any help would be greatly Appreciated
Richard
06-21-2010 11:20 AM
Hello,
If you are using a firewire camera, that uses the IMAQdx driver. I believe that the Grab and Save to AVI uses the IMAQ driver which interfaces with framgrabber boards. This link has the same example written for IMAQdx:
http://decibel.ni.com/content/docs/DOC-3587
-Zach
06-23-2010 07:24 PM
This did the trick thank You.
I am adding it to a existing VI with a timer for the amount of capture, is it possible to just create this within my existing VI or do I have to make a separate While loop for it.
Here is the VI I am going to add it to.
I am not sure how to add the enable to start the recording of the AVI file and stop it after 10 second.
I will keep tiring.
Thank You
Richard
06-23-2010 09:07 PM
Is there a way to not have the VI begin capturing video until I press a button or select to start capturing?
When I added this to the Original VI I can only get one to run, What I am tiring to due is have the VI displaying data from the system and not start taking data or Video until I press the Capture button.
I can not find where to control the Video VI from starting when I start the main VI
I am not sure where to go from here.
Richard
06-24-2010 10:57 AM
Hello,
With what you have now, I think you would be best served to place this within another loop in your same VI. Right now, once your reach your acquisition loop, the outer loop cannot continue executing until the acquisition loop has finished. You could move your initialization code for the acquisition outside of the main loop and then place teh Grab within the loop. Once you do that, you would then have to control starting or stopping the acquisition based on your time requirements.
-Zach
06-24-2010 11:14 AM
Thank you I will try taht now.
I need to finish this today my run is today and I am still working on it.
Richard
06-24-2010 11:29 AM
I have moved the Timer into the AVI loop and moved it outside the main loop, The Data VI runs first but I can not get the AVI or the Write to File to run now.
Here is what I have tried
Thank You
Richard
06-24-2010 11:40 AM
Hello,
By connecting the top loop to the bottom loop with wires, you have made the bottom loop dependent on the top one. This means that the bottom loop cannot run until the top loop has finished.
-Zach
06-24-2010 12:17 PM
How can I not connect the loops together and still beable to let the Main data vi run to display the data and then capture the AVI and Data, I have tried moving the write to Measuement file into the outer loop (AVI) but still only the main loops runs. Do I have to have two capture buttons for each loop? One for Data and one for AVI?
When I run this VI I need to see the Main VI display and then press the Capture button to save my 10 secs of data.
I can not find any thing in the examples of doing any thing like this.
Richard
06-25-2010 11:10 AM
Hello,
It looks as though you have already started to make use of the local variables. Likewise, you can use local variables to exchange information between two parallel loops by linking them to a single button. You could also use property nodes, notifiers (if you only want the most recent value to be read) or queues (if you need to make sure nothing is lost).
-Zach