Basic projector control
Al Arthur
Posts: 1
Dear all,
After attending the AMX beginner course over a year ago I?ve finally got my hands on some kit to have a play with (NI 2000 and MVP 7500)
I?m trying to control a Hitachi CP-X 605 with some basic commands; the touch panel interacts with the NI 2000 and the TX on the port also lights up but the projector is not responding to the commands.
I?ve sent the commands directly from a PC to the projector using some other software and they seem to work fine.
Any thoughts would be much appreciated.
After attending the AMX beginner course over a year ago I?ve finally got my hands on some kit to have a play with (NI 2000 and MVP 7500)
I?m trying to control a Hitachi CP-X 605 with some basic commands; the touch panel interacts with the NI 2000 and the TX on the port also lights up but the projector is not responding to the commands.
I?ve sent the commands directly from a PC to the projector using some other software and they seem to work fine.
Any thoughts would be much appreciated.
PROGRAM_NAME='New prj test' (***********************************************************) (***********************************************************) (* FILE_LAST_MODIFIED_ON: 04/05/2006 AT: 09:00:25 *) (***********************************************************) (* System Type : NetLinx *) (***********************************************************) (* REV HISTORY: *) (***********************************************************) (* $History: $ *) (***********************************************************) (* DEVICE NUMBER DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_DEVICE dvTP = 10001:1:0 dvprj = 5001:1:0 (***********************************************************) (* CONSTANT DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_CONSTANT (***********************************************************) (* DATA TYPE DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_TYPE (***********************************************************) (* VARIABLE DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_VARIABLE (***********************************************************) (* LATCHING DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_LATCHING (***********************************************************) (* MUTUALLY EXCLUSIVE DEFINITIONS GO BELOW *) (***********************************************************) DEFINE_MUTUALLY_EXCLUSIVE (***********************************************************) (* SUBROUTINE/FUNCTION DEFINITIONS GO BELOW *) (***********************************************************) (* EXAMPLE: DEFINE_FUNCTION <RETURN_TYPE> <NAME> (<PARAMETERS>) *) (* EXAMPLE: DEFINE_CALL '<NAME>' (<PARAMETERS>) *) (***********************************************************) (* STARTUP CODE GOES BELOW *) (***********************************************************) DEFINE_START (***********************************************************) (* THE EVENTS GO BELOW *) (***********************************************************) DEFINE_EVENT data_event[dvprj] { ONLINE: { send_command dvprj, "'SET BAUD 19200,N,8,1'" } } BUTTON_EVENT[dvTP,1] { PUSH: { SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $BA, $D2, $01, $00, $00, $60, $01, $00'" //ON } } BUTTON_EVENT[dvTP,2] { PUSH: { SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $2A, $D3, $01, $00, $00, $60, $00, $00'" //OFF } } BUTTON_EVENT[dvTP,3] { PUSH: { SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $FE, $D2, $01, $00, $00, $20, $00, $00'" //RGB 1 } } BUTTON_EVENT[dvTP,4] { PUSH: { SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $3E, $D0, $01, $00, $00, $20, $04, $00'" //RGB 2 } } BUTTON_EVENT[dvTP,5] { PUSH: { SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $6E, $D3, $01, $00, $00, $20, $01, $00'" //VIDEO } } (***********************************************************) (* THE ACTUAL PROGRAM GOES BELOW *) (***********************************************************) DEFINE_PROGRAM (***********************************************************) (* END OF PROGRAM *) (* DO NOT PUT ANY CODE BELOW THIS COMMENT *) (***********************************************************)
0
Comments