Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronized analog output and with counter?

Hello, everybody, I want to synchronize the counter readings and the analog input with sampling in an analog output scanning operation via the internal sampleclock. I have the pci 6251 card and Igor pro. Now, I can synchronize the analog input and analog output.

 

DAQmx_Scan/DEV="dev1"  /AVE=(stepsperpoint) /CLK={"/Dev1/ao/SampleClock",0} FIFO=Scanpara

 

and I created one FIFO channel to store the data.

NewFIFOChan /D $FIFONamen, $Channame0, 0, 1, -10, +10, "V"

 

My questions is  if I want to store the counter readings into the FIFO,  should I just create an another channel or create a new FIFO and new channel for this FIFO. If I should create a new FIFO, what is the parameters for the channel, for example for the AI is -10, +10, "V", but I don't know the parameters for the counter channel?

 

Thanks a lot!

0 Kudos
Message 1 of 1
(2,701 Views)