Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
OpSyncNI6602
Block
Mask
Description
This block enables hardware synchronization of the model where it is inserted.
NOTE: this block is also supported in XHP mode.
Depending on the Output signal waveform parameter value, the block makes use of one or two of the timers of a NI6602 card. When the waveform selected is Squarewave, the block uses counter 0 for its primary counter and counter1 for its slave counter if the counter-selected in the Counter number parameter is counter 0. If the counter selected is counter1, counter 1 becomes the primary counter and counter 0 the slave counter:
The primary counter is used to output a pulse-train, the period of which is equal to the calculation step of the model. The slave counter reads in the output signal of the primary counter and synchronizes the model on the rising edges of this signal. The only connection required is thus between OUT0 and GATE1, or between OUT1 and GATE0.
When the waveform option is set to Pulses, the block uses only one primary counter, counter 0 or counter 1 depending on the selection in the Counter number parameter. In this mode, the primary counter generates a 50ns pulse at the end of each time step:
The output signal of the primary counter can be used to synchronize acquisition of other I/O blocks, such as the OpNI6602 Event Generator block, or the OpNI6602 Event Detector block, or for triggering the acquisition of Analog Input channels (for example, see the OpNI60xE AnalogIn block), or the update of Analog Output channels (for example,see the OpNI671x Analog Out block). When the synchronization signal (output of the primary counter) is used directly at the output of the 68pin connector and is connected to multipleNI6602 Event Detector or Event Generator counters proper conditioning of the signal is required (see Characteristics section below).
The synchronization signal can also be routed to the RTSI bus for synchronization of multiple cards. The OpNI6602 Event Detector, OpNI6602 Event Generator, and OpNI671x Analog Out blocks support the option to read this signal from the RTSI bus.
Parameters
Bus | Specify the type of the bus (PCI or PXI) of the target computer. |
---|---|
PCI index | Enter the PCI index (see definition)of the card on the PCI (or PXI) bus. |
Counter number | Select the counter number, 0 or 1, for the primary counter. When the block uses two counters (see Description above), the slave counter is automatically set to counter 1 when the primary counter is counter 0, and counter 0 when the primary counter is set to counter1. |
Output signal waveform | Select between Square wave or Pulses. See the Description section above for a functional description of each mode. |
Route synchronization signal to RTSI bus | When this option is selected, the output of the primary counter is routed to signalRTSI0 of the RTSI bus. Note that the output signal remains also available at the 68pin connector. |
Inputs
This block has no inputs.
Outputs
This block has no outputs.
Characteristics and Limitations
Connection Requirements
As mentioned in the functional description above, when the block outputs a square wave signal, the output pin of counter 0 or counter 1, OUT0 or OUT1, produces the reference signal. If the output signal is not routed to the RTSI bus, it must be connected to GATE1 or GATE0 (the gate pins of counter 0 and 1) at the 68pin IO connector.
Note: In this case, some conditioning of the synchronization signal is necessary to ensure the stability of the signals. For this purpose, a 7414 Schmitt Inverter should be added after OUT0 or OUT1. For more information, please contact support@opal-rt.com.
Connector Pin Assignments
NI6602 68-pin connector
Pin Description | Number | Pin Description | Number |
---|---|---|---|
SOURCE2 | 34 | GND | 68 |
GND | 33 | GATE2 | 67 |
OUT2 | 32 | UP_DOWN2 | 66 |
SOURCE3 | 31 | GND | 65 |
GND | 30 | GATE3 | 64 |
OUT3 | 29 | UP_DOWN3 | 63 |
SOURCE4 | 28 | GND | 62 |
GND | 27 | GATE4 | 61 |
OUT4 | 26 | UP_DOWN4 | 60 |
SOURCE5 | 25 | GND | 59 |
GND | 24 | GATE5 | 58 |
OUT5 | 23 | UP_DOWN5 | 57 |
SOURCE6 | 22 | Reserved | 56 |
GATE6 | 21 | GND | 55 |
GND | 20 | UP_DOWN6 | 54 |
Reserved | 19 | OUT6 | 53 |
GND | 18 | SOURCE7 | 52 |
UP_DOWN7 | 17 | GATE7 | 51 |
OUT7 | 16 | GND | 50 |
DIO7 | 15 | GND | 49 |
GND | 14 | DIO6 | 48 |
DIO4 | 13 | DIO5 | 47 |
DIO3 | 12 | GND | 46 |
GND | 11 | DIO2 | 45 |
DIO0 | 10 | DIO1 | 44 |
OUT1 | 9 | Reserved | 43 |
GATE1 | 8 | GND | 42 |
SOURCE1 | 7 | GND | 41 |
UP_DOWN1 | 6 | UP_DOWN0 | 40 |
OUT0 | 5 | GND | 39 |
Reserved | 4 | Reserved | 38 |
GATE0 | 3 | Reserved | 37 |
SOURCE0 | 2 | GND | 36 |
+5V | 1 | Reserved | 25 |
Direct Feedthrough | No |
---|---|
Discrete sample time | No |
XHP support | Yes |
Work offline | No |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter