xPC Target    

Diamond Ruby-MM Digital Input

Scaling Input to Output

Hardware Input
Block Output Data Type
Scaling
TTL
double
TTL low = 0.0
TTL high = 1.0

Driver Block Parameters

Channel vector -- Enter numbers between 1 and 8 to select the digital input lines to be read. This driver allows the selection of up to 8 individual digital input lines in any order. The number of elements defines the number of digital lines used.

For example, to use all of the digital inputs enter

Number the lines beginning with 1 even though the board manufacturer starts numbering lines with 0.

Port -- From the Port list, choose either A, B, or C. The Port parameter defines which port is used for this driver block. Each port has a maximum of 8 digital inputs. In each case, one block is needed for each port.

Sample time -- Enter the base sample time or a multiple of the base sample time.

Base address -- Enter the base address of the board in hexadecimal (such as 0x300) as selected with the hardware jumpers on the board.


  Diamond Ruby-MM Analog Output (D/A) Diamond Ruby-MM Digital Output