Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each bitstream using Analog Output channels comes with a configuration file that lists the Data port number and the corresponding OP533X modules location in the system. The configuration file name is the same as the bitstream file name entered in the OpCtrl block, with the extension .conf instead of .bin. This configuration file uses different parameters to describe the location of the OP533X channels, depending on the FPGA associated with the controller they are attached to:

BoardConfiguration
OP48xx

The slot number ranges from 1 to 2. Each slot has an OP48H10 card (fast type) which contains three modules (A, B and C).


The module A corresponds to the digital I/Os and modules B and C correspond to analog output and analog input respectively.


The subsection (1, 2, 3 or 4), is a subset of channels for the card in question. In analogs, subsection '1' returns values for the 8 first channels of the OP48H10, and subsection '2' returns values for the 8 last channels. In digitals, there are 4 subsections, where each subsection represents 8 channels.

OP5142

The slot number ranges from 1 to 4. Each slot has two modules (i.e. two cards). 

The module (A or B) is the location of the OP533X card on the carrier. Module 'A' refers to the card at the front of the simulator and module 'B' refers to the card at the back of the simulator for the slot in question.
The subsection (1 or 2), is a subset of channels for the card in question. Subsection '1' returns values for the 8 first channels of the OP533X, and subsection '2' returns values for the 8 last channels.
ML605

The slot number ranges from 1 to 4. Each slot has two modules (i.e. two cards). 

The module (A or B) is the location of the OP533X card on the carrier. Module 'A' refers to the card at the front of the simulator and module 'B' refers to the card at the back of the simulator for the slot in question.
The subsection (1 or 2), is a subset of channels for the card in question. Subsection '1' returns values for the 8 first channels of the OP533X, and subsection '2' returns values for the 8 last channels.
OP7160/OP7161

The slot number ranges from 1 to 16. Each slot has one module (one card).  

The module (A or B) is obsolete for OP7000 I/O box.
The subsection (1 or 2), is a subset of channels for the card in question. Subsection '1' returns values for the 8 first channels of the OP533X, and subsection '2' returns values for the 8 last channels.
VC707

The slot number ranges from 1 to 4. Each slot has two modules (i.e. two cards).

The module (A or B) is the location of the OP533X card on the carrier. Module 'A' refers to the card at the front of the simulator and module 'B' refers to the card at the back of the simulator for the slot in question.
The subsection (1 or 2), is a subset of channels for the card in question. Subsection '1' returns values for the 8 first channels of the OP533X, and subsection '2' returns values for the 8 last channels.
OP4500 / TE0741

The slot number ranges from 1 to 2. Each slot has two modules (i.e. two cards). 

The module (A or B) is the location of the OP533X card on the carrier. Seen from the back of the simulator, the module 'A' is the leftmost card on the corresponding group and module 'B' is the right-most card.
The subsection (1 or 2), is a subset of channels for the card in question. Subsection '1' returns values for the 8 first channels of the OP533X, and subsection '2' returns values for the 8 last channels.

The user must refer to the configuration file (opened with any text editor) for selecting the DataIn port number for the desired Analog Output channels. The Analog Out block then parses the configuration file and displays the Slot, Section and Sub-section values corresponding to the DataIn port number in the 'Slot infos' parameter.

...

ControllerNameBind this block to an OpCtrl block by entering the same 'Controller Name' as specified in the OpCtrl block. The OpCtrl block controls initialization of the settings of one specific FPGA card in the system.
DataIn port numberEnter the number of the DataIn port to be controlled by this block, in the range [1:64] for the VC707 and TE0741 FPGAs and [1:32] for all others.
Slot infosThis non-editable parameter displays the physical location of the analog output channels related to the selected DataIn port, as obtained from the parsing of the configuration file.
Maximum number of AOut channels controlled by this blockThis non-editable parameter displays the number of channels in one sub-section listed in the configuration file.
Number of AOut channelsEnter the number of channels for which data values will be transmitted at each calculation step. This number must be less than or equal to the value of the 'Maximum number of AOut channels' parameter. The data transfer mechanism between RT-LAB and the FPGA card does not allow the selection of individual channels in the sub-section of channels. The data supplied by the block will thus apply to the N first channels of the sub-section, where N is the value of the 'Number of AOut channels' parameter.
Set Voltage Range from input port

When this option is checked an additional input labeled Voltage Range appears on the block. Three (3) choices are available: +/- 16 V, +/-10 V, +/- 5 V. A constant value should be connected to the input in order to select the Voltage Range, as indicated in the table below.

Note: This option is not available when the selected board type in OpCtrl is OP48xx.

Voltage range

Enter the voltage range that should be used by the Analog Out block. Three (3) choices are available : +/- 16 V, +/-10 V, +/- 5 V.

Note: This option is disabled when the board type selected in OpCtrl is OP48xx. The following voltage range is selected by default: +/-10 V.


Constant ValueVoltage Range Selected
5+/- 5 V
10+/-10 V
Any other number+/- 16 V

...

Background Color
color#D3D3D3


Note:

  • Voltage Range must be the same for all channels. When having two Analog Out blocks driving the same mezzanine (Subsections A and B), both of them must have the same Voltage Range selection. Same constant value should be applied to both of them.
  • The 16-bit resolution for the D/A is maintained when you select any of the three voltage range available.
  • Once this option is checked and the Apply button is hit, the Voltage Range option below disappears.

...

  • .



Inputs

Volts: This input supplies the voltage values, in Volts, for the subset of channels selected. The voltage range of the OP5330 module is specified by the 'Voltage Range' parameter. Out of range values get saturated before being submitted to the card.

...