11-16-2011 11:32 AM
Hi all!
I am quite new to Labview so I would be very pleased if someone could assist me with my problem.
I am trying to synchronize a rolling shutter on a CMOS camera with a 1d laser scanning mirror.
The scanning mirror is driven by a ramp voltage that is generated by a sawtooth wave and send via the analog out.
The exposure of the camera is triggered by a TTL pulse. This is generated on one of the digital lines of my usb6221.
So far I figured out some of the synchronization features of DAQmx. I tried to follow the examples on this page,
http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
and tried to implement a shared start trigger for the digital pulse and the analog out. As far as I understod,
the "get terminal name with device prfix.vi" tells the start trigger, that it shall initiate the start task.vi of the digital out.
Would this work so far? How accurate is the synchronization, can the time difference of the two outputs be below 1 us?
On what is the the triggering based? I mean, does it somehow utilize the internal 80Mhz timebase?
Thanks a lot in advance!
eloign
11-18-2011 02:39 AM
Hi eloign,
did you already try it with your hardware?
Here are some links about synchronization that may deliver you some detailed information:
http://zone.ni.com/devzone/cda/tut/p/id/9652
http://www.ni.com/pdf/manuals/371931f.pdf
http://zone.ni.com/devzone/cda/tut/p/id/3614
Regards,
Michael
NIG