LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering data acquisition simultaneously with cameras

Hello all,
 
I am trying to setup a program that triggers two cameras simultaneously with a pulse train generated by the daq board (PCI-6035E).  I also need to acquire data from 5 channels to match up with each image taken.  I tried to configure AI Start so that it thought an external trigger was being used when it was actually the pulse train sent to the cameras.  With this setup, I get error -10089 at VI Control that says'totla count is inconsistent with buffer size and pretrigger scan count or with board type.' 
 
My question is: what is the issue here? Is it impossible to self trigger a daq board? Are my parameters wrong? Is it the summer solstice?
 
FYI- I am using labview 6.  My goal is to be able to capture data and images simultaneously at 500-1000hz for a period of one second.
 
Thank you!
Paul
0 Kudos
Message 1 of 6
(3,500 Views)

Not the summer solstice.  Sounds like you are trying to trigger WAY too fast.  What camera are you using and what are the specifications.  Most cameras unless specific for high speed run at about 100 FPS.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 6
(3,494 Views)
Sorry, i should have specified- the cameras are Fastvision, capable of speeds up to 1000fps.  They are not the issue as they can be triggered with the pulse train no problem.  The problem is something with triggering the daq board to read theanalog input from 5 channels.
 
Thanks,
Paul
0 Kudos
Message 3 of 6
(3,481 Views)
Hello Paul,

It sounds like you are just getting started with your application, so I would recommend using the NI-DAQmx driver instead of the Traditional NI-DAQ (Legacy) driver.  In NI-DAQmx, you can select the counter output for the digital edge trigger source by changing the I/O Name Filtering options of the Triggering Source.  You can start with one of the AI Digital Start shipping examples, on the block diagram you'll right click the Source terminal and select I/O Name Filtering and check Include Advanced Terminals.  Click OK and the Source list will include the counter terminals.

Post again if this doesn't clear up your question.

Regards,
Micaela N
National Instruments
0 Kudos
Message 4 of 6
(3,465 Views)

2 things: one, i haven't just started this application.  I'm tring to add stuff to an old program (which i didn't write, so it's been a bit tricky).  two, I don't know which driver i'm currently using or even how to find out.

Thanks again,

paul

0 Kudos
Message 5 of 6
(3,458 Views)

hi there

like Micaela i also strongly recommend to use DAQmx instead of traditional DAQ because for the much higher performance. See MAX for your installed software. Run the device drivers CD #1 or download DAQmf from NI (it's free). you can examine your installed software with MAX (see attachment).

if you have DAQmx installed on your system you can simply some of the example VIs (like Micaela mentioned). i tested the one marked in the second attachment, it should work with your setup.

(sorry for german GUI)

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Download All
0 Kudos
Message 6 of 6
(3,453 Views)