05-28-2010 10:52 AM
I would like to know if it is possible to use a PFI output on a USB-6212 as a static output and then pulse the output? I am using the output as a control to a switch and need to generate a pulse to interrupt the switch.
Thank you
John
06-01-2010 05:12 PM - edited 06-01-2010 05:12 PM
06-01-2010 05:23 PM
Thanks, could you give me some steps or an example?
I am using CVI 9.1.
Regards
John
06-02-2010 05:16 PM
06-02-2010 08:39 PM
Maybe my question was not clear.
I need to use the digital line as an on/off signal that drives a FET. When the line is low the FET is OFF, when high the FET is ON. I need to pulse the line (while it is high) at various low pulse widths (from 10us to 10ms). The FET is being used as a power switch that I need to interrupt by setting it low for the specified times then return high to keep power ON.
I know how to use the lines statically and how to use them to generate pulses. Is there a way this can be done without doing a DAQmxWriteDigitalLines() to set it high or low and using Delay() for the pulse width? The Delay() function is not accurate in the 10us range.
Thanks
John
06-04-2010 04:56 PM
Hello John,
Can you clarify with an image of pulse the line (while it is high) at various low pulse widths (from 10us to 10ms)?
06-07-2010 08:47 AM
Glenn
I hope this clarifies what I am trying to do.
Regards
John
06-07-2010 09:10 AM
Hi John,
no software command will be guaranteed to work on such short time scales; instead you should consider using one of the two hardware timers of your instrumentation.
Wolfgang
06-11-2010 03:25 PM