12-28-2009 03:05 PM
Greetings. My Labview experience has been largely cFP and cRIO so my DaqMX experience is limited. I have a program for my PCIe-6353 that will operate like this:
DO1 high
wait a period as low as 700 uS
DO2 and DO 3 high
wait 700 uS
DO3 low DO4 high
Take analog voltage data at 40 kHz
DO2 low
DO1 low
This is all quite simple but I am not sure what architecture to use for the timing. Any ideas or examples would be helpful and greatly appreciated. I have been playing with using multiple timed sequences with different offsets but not sure if this is the best way. I'm spoiled with the FPGA pallette where I can just drop a uS delay and move on.
Thank you for any input you may have.
Dave B
12-29-2009 01:58 PM
12-29-2009 02:49 PM
What OS is this PCIe board going to be running under? What hardware?
12-29-2009
05:28 PM
- last edited on
04-12-2024
11:38 AM
by
Content Cleaner
Hi Dave,
I think that you would have better luck on the Multifunction DAQ forum. But to address your issue, there are a couple ways to do that. First, you could do a Digital Output using a 10kHz clock on your 4 lines. For this, you could use an example like "Write Dig Chan-Int Clk-Dig Start.vi" found in the NI Example Finder under Hardware Input/Output»DAQmx»Digital Generation. That example would need to be modified to include the waveform that you've built (either from a waveform constant, or from the Digial Waveform Editor).
Is this generally what your timing diagram would look like?:
Your other option would be to use 4 counters. Hopefully that gets you started- let me know what you're interested in pursuing. But again, I would recommend migrating this post to the DAQ forum. Have a good one!