|
|
|
|
|
|
|
Analog Trigger Test
|
|
|
|
|
|
A small test program has been implemented to test the analog trigger
facilities on different boards. The program, ATrgTest.exe, is
solely based on the standard data acquisition routines in LabVIEW, i.e.
it should not suffer from any conflicts whith my home made code. It is
available from the same sources as Mr. Kick.
- Survey
- The problem and the solution
- ATrgTest - the program
Survey
Here follows the result of a local survey:
PC |
MIO-Board / Connect |
PreTrig*
|
Slope
|
Result |
41993 |
16E-4 / BNC2090 |
Off
|
Rising
|
OK: 0/320 failed |
knl / Win95B |
On
|
Rising
|
Trig on first level pass, Rising or Falling: 320/320
failed! |
Off
|
Falling
|
OK: 0/320 failed |
On
|
Falling
|
Trig on first level pass, Rising or Falling: 320/320
failed! |
37585 |
16E-4 / BNC2090 |
Off
|
Rising
|
OK: 0/1026 failed. |
pedal / Win95B |
On
|
Rising
|
Trig on first level pass, Rising or Falling:1026/1026
failed! |
Off
|
Falling
|
OK: 0/1026 failed. |
On
|
Falling
|
Trig more often on Falling than Rising Slope: 807/1026
failed! |
41475 |
16E-4 / BNC2090 |
Off
|
Rising
|
OK: 0/800 failed. |
moh / Win95C |
On
|
Rising
|
Trig on first level pass, Rising or Falling: 800/800
failed! |
Off
|
Falling
|
OK: 0/800 failed. |
On
|
Falling
|
Trig on first level pass, Rising or Falling: 800/800
failed! |
44000 |
6071E / BNC2090 |
Off
|
Rising
|
OK: 0/250 failed. |
smil17 / Win98 |
On
|
Rising
|
OK: 0/250 failed. |
Off
|
Falling
|
OK: 0/250 failed. |
On
|
Falling
|
OK: 0/250 failed. |
43078 |
16E-1 / BNC2090 |
Off
|
Rising
|
OK: 0/250 failed. |
ky / Win95C |
On
|
Rising
|
Probably OK: 1/250
failed. |
Off
|
Falling
|
OK: 0/250 failed. |
On
|
Falling
|
OK: 0/250 failed. |
*Note: Mr. Kick uses pretrig internally even when the PreTrig
setting is set to 0 s (zero sec)!
Also note that low-cost boards like 6024E does not support analog trig
at all.
The problem and the solution
National Instruments has acknowleded that there is a bug in the PCI-MIO-16E-4
hardware revision A through C. It should have been fixed as of revision
D. We have tested a revision E board, which passed the above test.
You find the board revision as part of the ASSY-no. printed on the board.
Also an upgrade of the NI-DAQ driver to version 6.6 should contribute
to the solution of the problem.
If you must combine pre-trig with analog trig on a revision A-C board
an alternative solution is to increase the hysteresis parameter to 1 V
or higher.
ATrgTest - the progam
This section has not been writen yet...
- Source signal generated via AO: Haver Sine range 0-5 Volts, period
250 ms, update rate 4 kHz. Each trial performs two tests: One with rising
edge first, another with falling edge first.
- Trigger input via PFI line #0 / Trig-1, DC coupled.
- Trig Level: 2.5 Volts. The above haver sine will rise or fall at
a rate of >60 V/s at this level.
- Hysteresis: 0.16 Volts ~ 2 bits on an 8 bit A/D converter, range
±10 Volts
- Signal sampled via AI channel #0, DC coupled range 0-5 Volts, sample
rate 2 kHz, sweeplength 250 m
|
|
|
|
|
|
|
|
|
|