Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Triggering

Hi

I am using the NI-DAQ-16E-4 card and I am trying to start my data acquisition by applying the trigger signal on the PFI0/TRIG1 pin.The program DAQsingleBufExtTrig_Eseries says that after the DAQ_start function apply the trigger signal.How am I going to manage that?Because once I run the program with the compiler it starts the execution and how am i going to know at what instant i should apply my trigger?Is it the required that i apply my trigger signal at particular instant?

I want to do the data acquisition at every 1ms(that means i am applying the trigger signal on PFI0/TRIG1 pin every 1 ms). By mixing the programs DAQsingleBufExtTrig_Eseries.c and SCANsingleBufAsync.c
I managed to write the program for start the data acquisition f
or 1 external trigger(Program is attached).Wat should I do if i want to repeat this process at every 1ms?IS there any way to configure the DAQ card for this application?

Another question about the program i have attached is when i say start the multi channel scan acquistion on the PFI0/TRIG1 signal that means it will do 100 scans(if i have chosen 2 channel and 200 total data points)after the positive edge of the trigger signal.

Thanks


Thanks
0 Kudos
Message 1 of 4
(2,756 Views)
Unfortunately, the analog inputs do not have the retriggerable circuitry built into them. So you have to use the counters to control the external clock source for the analog inputs. I have include one example that I found for CVI that illustrates this concept, but there are several others on www.ni.com for LabVIEW that you could use as a refernce.

I hope this helps.

Joshua
0 Kudos
Message 2 of 4
(2,755 Views)
Thanks.
Can you give me the exact URL where I can find more these kind of programs.Do i need to have Labview installed?I dont have Labview and in which program I can open these .vi files?
0 Kudos
Message 3 of 4
(2,756 Views)
Hi

You said that "you have to use the counters to control the external clock source for the analog inputs."

I am not sure whether I have understood you correctly but this program will generate the timing using counters.In my case my trigger signal is coming at every 1 ms so i think i dont want to generate the timing signal,what i want is the way to configure the DAQ card so that it can take measurements on multiple triggering.Because on one external triggering I am doing 9 scans(total 72 points,9*8 channels).and after one sequence is completed I am going to move these 72 data points to some other buffer and repeat the process few more times,and then I am going to process these data points.

Does that makes sense?

Thanks
0 Kudos
Message 4 of 4
(2,756 Views)