I am using LV 7.1 and PCI-6024E.
I want to generate a single DO and after a delay to read a corresponding AI...and this to be repeated.
I thought that a clock (1khz) can act as a trigger..the DO to use the rising and AI to use the falling edge..
so the high clock's period will be equal to the delay I want..and the low clock's period will be equal to the time I need for appropriate AI sampling..
I don't have an external clock, so one idea is to have a counter, that produces pulses..and these pulses to be my clock..
In a single vi, I have three different tasks (DO, AI, counter) and the counter's output is the trigger in order to start a single DO-AI sequence. By running the vi continuously, I obtain the repeatative process that I need..
It seems easy, but when I try to implement it, doesn't work..
I am a beginner in the use of DAQ...do i loss sth in the implementation of my process?
Thank you in advance for any suggestions.