02-09-2010 04:55 PM
I am trying to synchronize an inertia measurement unit (IMU) to a PCI 1428 framegrabber card such that whenever an image is acquired, a trigger signal is sent from the framegrabber to the IMU, using the RTSI bus. The actual imaging is run by a different program developed by the camera maker years ago. I am assuming that this code should simply work along with the imaging software (if you know of a way to streamline this and make just one piece of code, let me know of any ideas). Looking at example code, LL Pulse Generation.VI and LL Trigger Drive.VI , I have put together the following VI:
The reason that I am posting is that I do not have access to the framegrabber card yet for any testing, and I would like some feed back on my program before I connect everything (this is my first time using IMAQ in LabVIEW, so I may have made mistakes with some of the sub-VIs). Please let me know if I need to make changes, or if it is totally wrong. Thanks for your help.
02-10-2010 05:19 PM
Hi noahEEUND,
The code seems ok to me. I would also make sure the Signal Type is set to status to make sure you're sending the pulse on the Start of the Frame grab. Additionally, this VI will send exactly one pulse, so you'll need to set the Pulse Mode to Rearmed Pulse for more than one pulse to be sent.
I don't know if the imaging software will work correctly with this VI, so you may just want to test the LL Pulse Generation.vi when you get the card.
02-18-2010 12:38 PM
Thanks for your help. Why should the signal type be set to status? I may have missed something in all of the help windows and other documentations that I have gone through, but I thought that was for telling the framegrabber to output the signal on the RTSI cable. Thanks,
-Noah
02-19-2010 08:56 AM
Hi Noah,
Sorry, I had a brain fart typing. I meant to make sure that the Status Signal is selected for Frame Start so that you send the pulse at the beginning of the frame..