Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Retriggerable AI retrigg_ai_analogtrigger.vi gives ERROR 200284

hello,
 
i am trying to run retrigg_ai_analogtrigger.vi as it is.
 
my analog input is connected to ai10 (pin 31), NI test&measurement tool test panel sees the signal.
the analog trigger input (0-5V pulse train generated by a signal generator) is connected to APFI0 (pin11), again NI test&measurement tool test panel can count pulses ==> there is no problem in physical connections.
 
I use the predefined parameters:
rate=10000
samples to read=1000
 
I set the period of my external analog trigger pulses on the signal generator to 0.2second
the last block (DAQread) gives ERROR 200284, other blocks seem  work.
(i tried different configurations of these three parameters without success to eliminate ERROR 200284).
 
i read the related questions, changing the timeout constant of the DAQread didn't help.
 
 
in the explanations I couldn't understand the concept behind the following step (step4):
4.  Set the source of the Pulse Train Trigger to be the AnalogComparisionEvent which is generated by the analog trigger in step 3.
 
where is the problem?
could you give me... for example a combination of these 3 parameters (rate, samples to read, and period of the analog trigger pulses) which does not give this error?
 
note: I tried to define a simple analog input acquisition task from NI test&measurement tool WITH TRIGGER (this option exists in the menu). I selected APFI0 as trigger source (I set also rising edge and trigger level=4V in the same menu).
runnning the task (analog voltage input, N samples) gives the same error (200284)
 
regards,

 
0 Kudos
Message 1 of 4
(2,901 Views)

a correction:

I meant NI measurement&automation explorer (saying NI test&measurement tool).

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

a second comment on my previous question:

for the moment I tried to run the Retriggerable AI retrigg_ai_analogtrigger.vi with the predefined parameters.

BUT in my application,

the analog input is a photodiode signal,

I'll try to acquire a finite number of analog input samples (~10000) at a sample rate around 100kHz after a trigger that runs at 5Hz. 

the hardware trigger will be TTL compatible from a signal generator.

0 Kudos
Message 3 of 4
(2,896 Views)
Greetings youngwater,

You can find an example that might better fits your needs here. This one is a retriggerable AI but this time with a digital trigger instead of an analog one. Be aware that you need to wire your TTL triggering signal on PFI0 instead of APFI0.
In this case you trigger a counter to give out a pulse train and at the same time you tell the Analog Input to use an external clock, which is the internal output of the counter. Everytime you trigger the counter to give out the pulse train, you will acquire an equal amount of samples on the analog input.

At the following link, you can find information and solutions about error 200284.


Kind Regards,
Wouter
National Instruments


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