Home AMX User Forum AMX General Discussion

EVI-D100 Problem

I am trying to get this EVI-D100 to work and am having no luck. I am new to AMX and maybe I am missing something. The Lights for port 4 on the NE3000 light up but I get no reaction from the camera. Here is how my code is setup

DEFINE_DEVICE
CAM = 5001:4:0

DEFINE_EVENT
DATA_EVENT[CAM]
{
ONLINE:
{
SEND_COMMAND CAM,'SET BAUD 9600,N,8,1 485 DISABLE'


}

//CAMERA

BUTTON_EVENT[vdvTP,90] //ON
BUTTON_EVENT[vdvTP,91] //OFF
{
PUSH:
{
SWITCH(BUTTON.INPUT.CHANNEL)
{
CASE 90:{SEND_STRING CAM, "$82,$01,$04,$00,$02,$FF"}
CASE 91:{SEND_STRING CAM, "$82,$01,$04,$00,$03,$FF"}
}
}
}

Comments

  • JeffJeff Posts: 374
    Your code looks fine. Are you sure that your cable is terminated correctly and plugged into the VISCA IN and not the VISCA OUT?

    You are missing a closing brace after your SEND_COMMAND, but i'm assuming that you just missed it typing in here, because it wouldn't compile if that wasn't there otherwise . . .
  • Try changing the $82 to $81.
  • Got it thnks for the help

    I think there was a problem with port 4. I moved it to port 2 and all is well. Thanks.

    Is there a way to slow the camera movement down. It is way too fast going up, down, right, & left.
  • UP: "$81,$01,$06,$01,$xx,$xx,$03,$01,$FF"
    DOWN: "$81,$01,$06,$01,$xx,$xx,$03,$01,$FF"
    The spot where $xx,$xx is the speed of the camera. You can change the speed from $01 to $17 (in hex). I recommend making them the same...just easier to read...

    LEFT: "$81,$01,$06,$01,$xx,$xx,$01,$03,$FF"
    RIGHT: "$81,$01,$06,$01,$xx,$xx,$02,$03,$FF"
    The spot where $xx,$xx is the speed of the camera. You can change the speed from $01 to $18 (in hex).

    I've found that $09, $09 is a pretty good speed for both pan and tilt.
Sign In or Register to comment.