RTG Passthrough Template
- Updated2025-07-24
- 2 minute(s) read
The top level RTG Passthrough Template VI serves as a good starting point for creating a custom Coprocessor application. It provides everything required to interface with the RTG and custom processing can be easily added to the diagram. The major components are as follows.
IFW Interface
Data Processing
Data comes from the VST through the read VI. After the read, any custom data processing can occur. This data processing must meet the following criteria:
- Capable of processing multiple samples per clock cycle (8 or 16)
- Capable of handling clocks where there is not valid data
- Receives an input valid signal
- Generates an output valid signal
Input Trigger Processing
The following figure shows how to read and process input triggers. The physical trigger source will be configured by the host.
Set the input trigger processing in the INI file or with an option string.
INI file example:
[5841_1] pxi_trigger_output = PXI_Trig7
Option string example:
5841_1=pxi_trigger_output:PXI_Trig7
Data Path Disabled
The following figure shows a simple method using a front panel control to replace the data path with all 0’s when data path is disabled.
Related Information
- Configuring RTG with the INI File or Through an Option String
RTG provides two ways to construct and apply certain initial configurations at initialization—through an INI file and option string.