LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

uS event timing with DaqMX help

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 

0 Kudos
Message 1 of 4
(2,753 Views)
Bump
0 Kudos
Message 2 of 4
(2,724 Views)

What OS is this PCIe board going to be running under? What hardware?

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 4
(2,716 Views)

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?:

 

 timing diagram.PNG

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!

 

0 Kudos
Message 4 of 4
(2,706 Views)