Start a new topic

VISCA Over IP Response

I am trying to build a simple Python script to control my camera(s) via VISCA over IP. I have the control commands working (save/load presets, p/t/z, etc), but am having trouble getting a response from inquiry commands. I am listening for UDP packets, can someone help me figure out how to listen for a VISCA response with python?

Hi Eric,

When setting up your UDP Server Socket for listening are you listening on the same port that the command was sent out on?

Yes, port 52381 I believe. I’ve also tried a few others, just for fun but haven’t had any luck.

Hi Eric,

So with each connection the port can change, just making sure you're monitoring the outgoing port used and then listening back on that same UDP port?

I'll also throw out there the possibility of utilizing TCP in Python as it was built with the ability to handle the responses in an easier fashion.

Happy to continue to assist as I do love when people are building their own solutions to accompanying the PTZOptics cameras :-)

Login or Signup to post a comment