AMX NXP-CPI16 Network Card User Manual


 
Send_Commands
Use the Send_Commands listed in the table below to program the NXP-CPI16.
Send_Commands
BMODE
Configures either
set of 8 outputs as
an 8-segment bar-
graph display.
Syntax:
‘BMODE <bargraph #> <bargraph mode>’
Variables:
Where <bargraph #>
1 - Selects bargraph 1 (outputs 1 - 8)
2 - Selects bargraph 2 (outputs 9 - 16)
Where <bargraph mode>
0 - normal bar mode
1 - normal dot mode (only one peak LED on at a time)
2 - special bar mode (a level of 1 - 15 still has the first LED on)
3 - special dot mode (a level of 1 -15 still has the first LED on)
4 - inverse normal bar mode
5 - inverse normal dot mode
6 - inverse special bar mode
7 - inverse special dot mode
8 - individual element, discrete mode
9 - inverse individual element, discrete mode
OFF - disables bargraph mode [default]
The command is used to configure either set of 8 outputs as an 8-segment bargraph dis-
play. By default, Bargraph mode is OFF and all outputs are discrete outputs that are con-
trolled via CHANNEL ON/OFF messages. If this command is received, the selected bank
of 8 outputs will respond according to the selected mode.
In modes 8 and 9, the discrete LEDs that are ON correspond to the bit mask sent via a
Send_Level command. For Example:
SEND_LEVEL CPI16, 3, $5A
Turns on LEDs 2, 4, 5, and 7 of bargraph #1.
Example:
SEND_COMMAND ‘BMODE 1 0’
Reconfigures Outputs 1 - 8 such that they now act as an 8-segment bargraph.
LEVOFF
Keeps any level
value from trans-
mitting.
Syntax:
‘LEVOFF’
The NXP-CPI16 will not transmit any level value messages after the receipt of this com-
mand until the receipt of another LEVON command.
LEVON Syntax:
‘LEVON’
The NXP-CPI16 transmits level value messages after the receipt of this command.