Basic projector control
Al Arthur
Junior Member
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 *)
(***********************************************************)
Comments
-
Any thoughts would be much appreciated.
// what you did... SEND_STRING dvprj,"'$BE, $EF, $03, $06, $00, $BA, $D2, $01, $00, $00, $60, $01, $00'" // correct hex string - no single quotes.... SEND_STRING dvprj,"$BE, $EF, $03, $06, $00, $BA, $D2, $01, $00, $00, $60, $01, $00" // Use of Single Quotes - String Literials SEND_STRING dvTest,"'Hello',$0d,$0a" SEND_STRING dvTest,"'A',$0d,'B',$0d"
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums