Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a retriggered analog input on M-series DAQ in LabWindows

Solved!
Go to solution
I'm trying to create a hardware-triggered analog input task that will acquire N samples whenever I give it a hardware trigger using a USB-6229 DAQ. As far as I can tell from reading through previous posts, the board does not natively support retriggered tasks like this, so I'm supposed to create a counter which will serve as the internal clock for a second task (presumably a continuous acquisition task). My problem is that it is not at all clear how to go about doing this. I've tried going into MAX and creating a Counter output, but all options for the "Start Trigger" are dimmed. Also, I am not sure what mode to put the pulses in - 1 pulse, continuous pulses, etc. Which one of these counters is going to be hardware-retriggerable? The documentation I've found to date all mostly deals with LabView and I can't really understand how the tasks are configured based on the pictures they show.
0 Kudos
Message 1 of 3
(3,374 Views)
Solution
Accepted by topic author PaulGanssle

Hi Paul,

 

Try the following DeveloperZone:

 

DAQmx -- Retriggerable AI Using Retriggerable Counter

 

 

I'm not sure why the files have such ambiguous names--I believe the one you will want is named 3018.zip.

 

 

Best Regards,

John Passiak
Message 2 of 3
(3,354 Views)

This works well! Thanks very much. Took me forever to actually get around to finishing this.

 

(And 3018 was indeed the correct file).

0 Kudos
Message 3 of 3
(3,251 Views)