Home AMX User Forum AMX General Discussion

IP module question - no address?

Hi All..

Question from a 'less-than-expert'.

I'm trying to run a module for a Sharp XG-C330 projector. When I load the module files, compile and download (after making a couple of modifications as I am using a AXD-CV10 panel, I get the following error in the diagnostics window...

Line 80 :: com.amx.duet.impl.sharp.genericVP.dr1_0_0.SharpGenericVideoProjector: No IP Address and port are set. Please set an IP Address and - 20:26:37
Line 81 :: port for communication. - 20:26:37

I have set the IP (I think) with the following code in my online event...

data_event[vdvVProj]
{
ONLINE:
{
send_command 41001:1:0, 'PROPERTY-IP_ADDRESS,192.168.0.170'
send_command 41001:1:0, 'PROPERTY-PORT,10002'
send_command 41001:1:0, 'REINIT'
}
}


Any help would be appreciated. It was suggested to try running the module on it's own, before I venture into putting into the real program.

Thanks for help!

Cheers!

Comments

  • a_riot42a_riot42 Posts: 1,624
    As long as 41001:1:0 is a valid address, the problem might be the way the commands are parsed. Try this to see if it helps. Notice the case change as well as double quotes.
    send_command 41001:1:0, "'PROPERTY-IP_Address,192.168.0.170'"
    
  • PyroGuyPyroGuy Posts: 121
    Thanks Riot!

    Gotta love the forum - you got it! I haven't experimented to determine if it was the case or the quotes, but we're talking to the projector! I'll work on that once the sun comes back up (which regrettably is not too long from now!)

    Cheers!
Sign In or Register to comment.