07-15-2016 10:39 AM
Hello, I would like to use the PXI 6229 to setup 3 Digital Pulsed Outputs (Square Waves) with the same frequency.
I would like each digital output to be shifted in time from one another by 50 ms. Is this possible using the LabVIEW DAQmx support?
Thanks so much!
07-18-2016 10:21 AM
Hi Testdesign,
The software side of the project (DAQmx) should be perfectly capable of sending out the 3 square waves- you'll need to have 3 counter output tasks, and you can set it up similarly to this community example. Varying the Initial Delay input for each of the tasks should give you the time shift you're looking for between the pulses.
Because you're trying to run 3 counter tasks, though, I'm concerned that the hardware you're running may not be up to the task. As you can see from the 6229's datasheet, it only has 2 counters available- this leaves you one counter short of what you would need. I'm less familiar with the PXI line of devices, so it's possible that the PXI chassis could provide you with the 3rd counter, but you'll want to check before you assume that there's another available.
07-18-2016 11:58 AM
Instead of counters you can output, using hardware timed digital lines (up to 32 channels, up to 1us resolution).
One task with 3 lines (port0/line0..2), fill 2D boolean array based on channels offsets, time resolution and required period. Convert each line (time point) into U32
Check in Help -> Find Examples, for example Cont Write Dig Port-Int Clk.vi