Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to monitor a pulse generated by GPCTR0_OUT with a DIO input (6052E card)?

I have a piece of code I would like to execute when a pulse is generated by the "Generate Delayed Pulse.vi". The pulse lasts 40 us. When I tried to monitor the generated pulse with a DIO connected onto the same node, the voltage I get is around 0.7 mV (versus 5V if I monitor the Voltage without the DIO connected). I am considering to add an op-amp (buffer configuration) to see if it prevents the voltage from taking the voltage dip. Should I try a different strategy? I need the 40us signal to drive a transistor, and I need to perform the data acquisition while the 40us pulse is driving the transistor. Should my attached LabVIEW code work? Or, do you see anything wrong about it?
I know for sure that the code withing the Sequence stucture (frame #0) does what I expect it to do, I am concerned with executing the analog input while the 40us pulse is on.
0 Kudos
Message 1 of 2
(3,175 Views)
Greetings,

I think that there may be a better approach to your application. You need to output a 40 us pulse from a counter and acquire analog input data while this pulse is high. The best way to accomplish this task may be to use scan clock gating. Below I have included a link to a document that discusses this topic:

Continuous Waveform Acquisition Using Scan Clock Gating


Thus, you could use the output of your counter to gate your scan clock and be guaranteed that you are only acquiring analog input data while the pulse that you are outputting is high.

Good luck with your application.

Spencer S.
Message 2 of 2
(3,175 Views)