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.
OpFcn Analog In
Block
Mask
Description
This Analog In functionality block, OpFcnAnalogIn, is used to return acquisition data obtained from the analog input channels of an OP5340 module installed on an OP5130 board.
Parameters
ControllerName | Each functionality block such as the OpFcnAnalogIn block must refer to an OpCtrl block such as the OP5130 Ctrl block, that will manage the data transfer with the IO board. The binding between OpFcn and OpCtrl blocks is performed via the use of the Controller name that each OpCtrl block uniquely defines. This binding is checked during the initialization phase of the model. If no OpCtrl block is found that defines the same Controller Name as this OpFcnAnalogIn block, the OpFcnAnalogIn block is simply disabled and returns 0s. |
---|---|
Selection of Channels | The block will output to the model the acquisition values of the channels listed here. With the OP5130board, the channels numbers are organized as follows: channels 0to 15 of module A are identified as [0:15], while channels 0 to 15of module B are identified as [1000:1015]. |
Sample Time (s) | This parameter allows the user to specify the block sample time in seconds. The default value is 0, which specifies a continuous sample time (note that the sample time is borrowed from the separated subsystem) while -1 specifies an inherited sample time. A functionality block and its associated controller block must execute at the same sample time. |
Inputs
This block has no inputs.
Outputs
This output returns the acquisition data, in Volts, from the channels specified in the mask parameter.
Characteristics and Limitations
Connector Pin Assignments:
The user should refer to the documentation of the IO board that holds the AnalogIn module, such as the OP5130 board, for connector pin assignments.
Direct Feedthrough | No |
---|---|
Discrete sample time | Yes |
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