Sensoray526 Dual AD block
Simulink® Real-Time™ Library for Sensoray
To perform simultaneous conversion with two boards, control both boards simultaneously with the Sensoray526 Dual AD block. Each board does not have to wait for the other to finish converting data before starting its own conversion. Acquisition overlaps result in considerable time savings.
Block Output Data Type
For each board, enter a vector of numbers between 1 and 8. Do not repeat channel numbers. For example, to use the first, second and fifth channels, enter
[1, 2, 5]
Note, for better performance, equally split the active channels between the two boards. If you need eight channels, use four channels on each board.
Number the channels beginning with 1 even if this board manufacturer numbers them beginning with 0.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
Enter the base address of the board. This entry must correspond to the base address DIP switch settings on the board. For example, if the base address is 2C0 (hexadecimal), enter
Note that the Sensoray 526 board ships from the manufacturer with a base address of 0x2C0. If you want to change the base address, see the board manufacturer documentation for allowed values. For dual boards, change the base address of at least one of the boards. The boards cannot have the same base address.