NI4462_CHARACTERISE
Section: User Commands (1)
Updated: July 2012
Index
Return to Main Contents
NAME
ni4462_characterise - experiment and graph the input and trigger-response of the NI4462
DESCRIPTION
ni4462_characterise.sh: Generate a trigger and a loopbacked data-pulse for the NI4462. Configure it, and plot a graph.
This enables characterisation of the exact digital group-delay-length (compensate with arduino_delay), and of the
input characteristics (setup/hold time of the ADC, pre-amp bandwidth, Gibbs phenomenon etc).
The default settings (no args) are selected to give a helpful starting-point.
It does the following:
* Initialise: set the clock to external; enable loopback on analog input (LineClock3->Q3+)
* Set the arduino delay line FIFO.
* Program the PulseBlaster to: trigger the NI; wait; send a data-pulse. Pulse may precede trigger.
* Set up the NI4462 sampling mode.
* Trigger the PB; this triggers the NI. Plot a graph.
USAGE: ni4462_characterise.sh [OPTIONS] #Omit all flags to use defaults.
OPTIONS:
#Pulse timing options: used by 'pb_ni4462_pulse'. Units: ms/us.
-a PULSE_DELAY default: 0ms #Delay between trigger and data pulse. (may be negative)
-b PULSE_LENGTH default: 1ms #Units: ms/us.
#Delay-line fifo length: used by 'arduino_delay' to delay the trigger-pulse.
-c ARDUINO_DELAY_LENGTH default: 0us #Units: ms/us.
#NI4462's sampling parameters: used by ni4462_test (same flags).
-n NUMBER_OF_SAMPLES default: 50 #Total samples to acquire (includes -p, excludes -j).
-p PRETRIGGER_SAMPLES default: 2 #Acquire samples before the trigger.
-j DISCARD_INITIAL_SAMPLES default: 50 #Acquire/discard an extra j initial samples.
-f SAMPLE_FREQUENCY default: 200000 #Hz
-t TRIGGER_EDGE default: fe #Edge for the trigger pulse. (fe/re)
-e INTERNAL_EDGE default: fe #Internal clock edge. (fe/re)
-m TERMINAL_MODE default: pdiff #Mode. Use pdiff, if inverting input floats. (pdiff/diff)
-l ENHANCED_LFAR default: off #Enhanced LF Alias Rejection. (on/off)
-i INPUT_COUPLING default: dc #Input coupling mode (dc/ac)
-v VOLTAGE_RANGE default: 10 #Voltage range (1,3,10)
#Miscellaneous options.
-o FILENAME save data/plot to NAME.dat, NAME.png. Use "auto" to generate name from options.
-d verbose debugging: stdout/stderr of commands won't be redirected to /dev/null.
-h show this help text.
-w wait in foreground for plot window to close; can Ctrl-C it. Default: return the prompt.
-r reset system to default state, and quit. (useful to tidy up; see also: ircam_init).
Note that the "TTL" signal from the opto-isolator has a +ve supply adjustable from 4.5 - 5.0V. The inverting input's level
varies - in differential mode, the dewar pulls it to VRst/2 (~0.35V), or it floats when the dewar is disconnected; in pdiff
mode, it is pulled to 0V by 50-ohm when the dewar is disconnected, when the dewar is plugged in, it clamps VRst/2.
Notwithstanding the amplitude, the TTL signalsare excellent square waves (up to 5 MHz).
AUTHOR
The author of ni4462_characterise and this manual page is Richard Neill, <ni4462#AT(spamblock)#richardneill.org>
Copyright July 2012; this is Free Software (GPL v3+), see the source for copying conditions.
SEE ALSO
pb_ni4462_pulse(1),
arduino_delay(1),
pb_serial_trigger(1),
ni4462_test(1),
filterctl(1),
dataplot(1)
Index
- NAME
-
- DESCRIPTION
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 19:55:53 GMT, March 01, 2014