Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

atmel camera with external trigger

Hi,

I am using a atmel sm2cl2014 camera. i downloaded icd file for the model from ni site. For this model there is no compatability report as for atmel m2cl2010. I hope that this camera works fine with pci-1428.

In MAX when i configure the camera in free run, external trigger or external ITC i can see images captured, even though there is no trigger applied. integration time 100 usec.When i try to use LL VHA ring.vi i can use it only in trigger each buffer else i get error in IMAQ start.vi. but even in this (trigger each buffer)mode the vi does not work( i do not get image and it timesout).

1. In external trigger mode is it possible to view image in MAX or should we use labview program.
2. I am trigerring 1428 using the trigger port in 1428 (D6804 cable) 5 V TTL. I hope this will inturn trigger the camera.
3. Also i saw that few attributes in the example vi are not matching with the attribute for my camera i selected valid attributes by deleting and creating ring constant again.
4. I want to setup my acquisition in variable height acquisition mode.

Am i missing anything, eagerly awaiting response.

Best regards

Bipin




0 Kudos
Message 1 of 5
(4,309 Views)
You say you are using the atmel sm2cl2014 but you asked about the atmel m2cl2014. Both camera files work with the 1428 but first off I'd like to make sure you have to correct camera file.
 
It is not possible to do triggering in MAX.  You have to do it in LabVIEW or another language.  You set it up for triggering mode in MAX but you cannot actually perform any triggering.  You should be able to use that example to trigger the 1428 off of the trigger line.  The example should also allow you to perform variable height acquisition mode. 
 
There may be enums that do not have all of the options because the example may have been written with an older version of the driver before those options were available.
 
What trigger action are you trying to do? What is the size of your image?  Triggering the board should trigger the camera but double check your camera's manual to make sure that this is possible.
 
Christopher W.
0 Kudos
Message 2 of 5
(4,291 Views)
Hi Christopher,

Thank for your reply, I am using the correct icd file as i have down loaded the file from the site below.

ftp://ftp.ni.com/support/imaq/camera_support/camera_files/digital/atmel/ATMEL%20AVIIVA%20SM2%20CL%20201x.icd

I am using atmel sm2cl2014,  I want to use in trigger each buffer or trigger each buffer list. The size of total image will be around 50 MB, this will be acquired over a period of 4-7 second. But for time being i am trying to acheive VHA for smaller image. How does the frame timeout work in VHA mode should timeout value be too high( or -1) as i want acquisition to wait till triggered.

I will check the camera specs again regarding external triggering.

Best Regards,

Bipin
0 Kudos
Message 3 of 5
(4,284 Views)
You will need to configure the the acquisition for trigger each buffer.  The LL VHA Ring.vi is a great example.  You set the timeout for the trigger in the IMAQ Configure Trigger2.vi.  Check out the KnowledgeBase:
 
 
Christopher W.
0 Kudos
Message 4 of 5
(4,263 Views)
Hi Christoper,

Thank you, I will try that once more.

best regards

Bipin
0 Kudos
Message 5 of 5
(4,237 Views)