GENESIS: Documentation

Related Documentation:

RTXI injector Module Validation

A step by step validation procedure for the RTXI it injector module. This procedure should be run prior to connecting RTXI to an external amplifier. It enables the correct application of scaling factors to match RTXI output and input to the units employed in a source file containing a stimulus signal. The following steps should be initiated from the desktop of your machine that has RTXI installed.

Validation Procedure

Activate the stimulus signal

  1. Start a terminal window.
  2. At the terminal window prompt enter rtxi.
  3. From the RTXI Control drop-down menu select Plugin Loader.
  4. From the Open File dialog box select injector.so.
  5. In the new Open File dialog box go to /home/Suterlab.

    1. Select the folder Desktop/dynamic–clamp/stim-src.
    2. Select and open the validation input file Offset400.txt.
  6. In the Injector control window popup
    1. Set Gain GABA to 1e9.
    2. Set Global Offset to 0.
    3. Set GABA Enabled? to 1.
    4. Click the Modify button at the bottom of the panel. This will cause the altered values to change color from red to black.
    5. Click the Pause button.

The square pulse waveform read from the input file (Offset400.txt) is now being generated internally within RTXI by the injector.so plugin.

Visualize the internally generated signal

  1. From the RTXI Control drop-down menu select Oscilloscope. (The oscilloscope window should appear.)
  2. Right click on the Oscilloscope window, select Properties.
  3. In the Oscilloscope Properties dialog box set the Channel drop-down boxes to the values:
    Injector2OutputGoutGABA
  4. Click the Active button at right hand end of the Channel boxes.
  5. Set the Display Properties Scale to 200 mV/div.
  6. Click the Apply button at the bottom left of the Oscilloscope Properties dialog box.

You should now see the generated square-pulse with an amplitude of 2 divisions on the RTXI oscilloscope screen. The amplitude is equivalent to 400 mV (see the scale in the bottom left of the oscilloscope window). Each pulse is 1 ms in duration to give 5 pulses per 5 ms division (Scale on bottom right hand side of the oscilloscope window gives the absolute temporal duration of the oscilloscope window).

Connect internally generated RTXI signal to the DAQ output

  1. From the RTXI Control drop-down menu select Connector.
  2. In the Connector Panel dialog box set the Output Block to Injector2 and the Channel to GoutGABA.
  3. In the Connector Panel dialog box set the Input Block to the DAQ board name (here NI PCIe–6251 14), and the Channel to Analog Output 0.
  4. Click the right facing arrow “==>” to connect the RTXI output block to the DAQ board input block.

Enable the analog output of the DAQ

  1. From the RTXI Control drop-down menu select System Control and check the Device is the DAQ board (here NI PCIe–6251).
  2. In the System Control panel set the Analog Channel to Output channel number 0.
  3. Click the Active button on the right hand side.
  4. Click the Apply button at the bottom left hand side of the panel.
  5. Configure the hardware oscilloscope to 5 ms and 200 mV.

Configure RTXI software oscilloscope to monitor incoming signal

  1. From the RTXI Control drop-down menu select Oscilloscope.
  2. Right click on the oscilloscope window and select the oscilloscope Properties.
  3. Select:
    NI PCIe–6251 14OutputAnalog Input 0
  4. Click to select Active at right hand end.
  5. Set Display Property Scale to 200 mV/div.
  6. Select Line Property Color “blue.
  7. Click Apply button on lower left hand side of the oscilloscope panel.

Enable the input signal from the DAQ

  1. From the RTXI Control drop-down menu select System Control
  2. Select Device NI PCIe–6251.
  3. Select: Analog Input Channel Input 0.
  4. Click Active button at right hand end.
  5. Click Apply button at bottom left hand side of panel.
  6. The RTXI input signal (identical to the output signal for this validation test) should now appear on the screen of the RTXI software oscilloscope.
  7. We measure 0.1 ms between the input and output traces of the signal.

Hardware Cabling and Switches


PIC

Figure 1: Cabling for RTXI “injector” module validation. AI0: Analog input zero (0), AO0: Analog output zero (0). SE/DIFF switch should be set to DIFF. In DIFF mode the RSE/NRSE switch has no effect.