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.

SCGT Read block

image-20240904-143652.png

Mask

image-20240904-132136.png

Description

Based on a given memory offset, the SCGT Read block accesses to the shared memory to perform the following:

  • Reads PIO (Programmed Input/Output) transfers from GT memory

  • Transfer data from GT memory into the Simulink data buffer.

Parameters

Node ID

The network supports up to 255 nodes. Each node on the GT network has an associated node ID. Node refers to each GT200 card. When a node transmits a native packet, it sends its node ID as part of the packet header. When a node receives a data packet, it compares its own node ID with the node ID in the received packet header. If the node IDs match, the packet is identified as a native packet and is not retransmitted.

Note that this field becomes read-only when a SCGT Init block is present.

PCI slot

If two or more boards of same type are physically present in the target PC, enter the PCI slot number of the board associated with this driver block (if only one card is present in a target PCI slot no will be 0).

Note that this field becomes read-only when a SCGT Init block is present.

Number of words

Number of words to be read from GT200 card is to be mentioned.

Offset address

This parameter is to set the offset address, the memory offset is assigned by block number between 1-128. Total GT200 memory is 128MB. Example, block number 1 is 0-1MB size, start offset address will be 0x0000 from where the data is to be read.

Sample time

The sampling rate in seconds.

Inputs

This block has no inputs.

Outputs

  • Data OUT: Data in the shared memory will be reported using the address specified in the base address and the offset if applicable.

Characteristics and Limitations

Direct Feedthrough

N/A

Discrete sample time

N/A

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