 johnswan
		
			johnswan
		
		
		
		
		
		
		
		
	
			10-04-2010 08:37 AM
Hi
I am using a USB6212 and CVI 2009. I want to generate a pulse on PFI1 (no problem there) which is delayed by my hardware and is fedback as an input on PFI2. I would like to generate a pulse on PFI3 that is delayed from the falling edge of the input on PFI2 (there are three different delays that I want to use, 0us, 1us, 2us). In addition, I want to use the PFI3 output as the start trigger for an analog acquisition on AI0. I have tried several times to get this to work, but I do not get the pulse on PFI3 and I get errors when trying to use PFI3 as the start trigger for AI0. The attached bimap is a picture of the above.
Any ideas?
Thanks
John
10-05-2010 05:03 PM
Hi John,
If you get errors, it’s generally a good idea to post what errors you get. Do you need the output on PFI 3 to actually exit the device or just trigger the AI task? You could have a counter pulse output task set to trigger from PFI 2 and output to PFI 3. You can specify an initial delay to be what you need for your application. At this point you can loop PFI3 back into the device and start you AI task from another PFI line or use the counter output directly as the start trigger for the AI task. Let me know how that goes.
10-06-2010 06:41 AM
Thank you Matt
I found my errors and now the program is working.