GDGIOSETPWM1 |
Setup the first PWM output |
Seven data bytes
- Bytes 1 thru 4: Frequency in 0.1Hz increments (range
is from about 0.3Hz to 78.4kHz)
- Bytes 5 and 6: Initial value in 0.01% increments
- Byte 7: Mode
0 -> off
1 -> PWM output to digital output 1 (pin 1)
2 -> PWM output to variable voltage (pin 9)
3 -> PWM output to both of above
|
GDGIOSETCAP1 |
Setup the first frequency input |
Four data bytes
- Byte 1: Rising/Falling edge trigger (0/1)
- Byte 2: Triggers per cycle/revolution (1 to 16)
- Bytes 3 and 4: Maximum time in milliseconds between
triggers. If this time is exceeded, the frequency is set
to zero. A maximum value of 65,535ms corresponds to about
0.015Hz if byte 2 is equal to 2.
|
GDGIOSETPER1 |
Setup the first periodic transmission |
Variable number of data bytes
- Bytes 1 and 2: The number of milliseconds
between each transmission.
- Byte 3: The number of messages to transmit.
Must be between 1 and 12.
- Bytes 4 through 15: The ID (header) codes for the
data to be periodically transmitted by the card.
|
GDGIOSETPER2 |
Setup the second periodic transmission |
Variable number of data bytes
- Bytes 1 and 2: The number of milliseconds
between each transmission.
- Byte 3: The number of messages to transmit.
Must be between 1 and 12.
- Bytes 4 through 15: The ID (header) codes for the
data to be periodically transmitted by the card.
|
GDGIOSETPER3 |
Setup the third periodic transmission |
Variable number of data bytes
- Bytes 1 and 2: The number of milliseconds
between each transmission.
- Byte 3: The number of messages to transmit.
Must be between 1 and 12.
- Bytes 4 through 15: The ID (header) codes for the
data to be periodically transmitted by the card.
|
GDGIOSETPER4 |
Setup the fourth periodic transmission |
Variable number of data bytes
- Bytes 1 and 2: The number of milliseconds
between each transmission.
- Byte 3: The number of messages to transmit.
Must be between 1 and 12.
- Bytes 4 through 15: The ID (header) codes for the
data to be periodically transmitted by the card.
|
GDGIOGETGAIN |
Get the gain of the specified analog channel |
Two data bytes
- Byte 1: The analog channel number (0 through 7).
- Byte 2: The channel's current gain value.
|
GDGIOSETGAIN |
Set the gain of the specified analog channel |
Two data bytes
- Byte 1: The analog channel number (0 through 7).
- Byte 2: The channel's new gain value. Must be 1,
2, 4, 5, 8, 10 or 16. The default value is 1.
|
GDGIOGETSTATE |
Get the scan state of the requested analog channel |
Two data bytes
- Byte 1: The analog channel number (0 through 7).
- Byte 2: The channel's current scan state,
0 = off (not scanning); 1 = on (scanning).
|
GDGIOSETSTATE |
Set the scan state of the requested analog channel |
Two data bytes
- Byte 1: The analog channel number (0 through 7).
- Byte 2: The channel's new scan state, 0 = off
(not scanning); 1 = on (scanning). Defaults to off.
|