youngwater
2008-07-18 22:10:08 UTC
hello,
i am trying to run <a href="ftp://ftp.ni.com/pub/devzone/epd/retrigg_ai_analogtrigger.vi" target="_blank">retrigg_ai_analogtrigger.vi</a> 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,
i am trying to run <a href="ftp://ftp.ni.com/pub/devzone/epd/retrigg_ai_analogtrigger.vi" target="_blank">retrigg_ai_analogtrigger.vi</a> 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,