samples for encoders to display cams on touch panels
Does anyone have code examples in Netlinx that uses a AXIS encoder to display cameras on the touch panel. I have seen some code using PTZ(pan tilt zoom) but what if the cams do not support PTZ.
So code like this - this one has PTZ code so I am looking for no PTZ code
also use Dynamic images or not use dynamic images.
Note:
dvIPCams - is my device
sMyBase64 - is the encoded userid/password
SEND_STRING dvIPCams,"'GET /axis-cgi/com/ptz.cgi?camera=1&',13,10,'Connection: Keep-Alive',13,10,13,10";;
SEND_STRING dvIPCams, "'Authorization: Basic ', sMyBase64, 13,10";
like this
0
Comments
well I bought a AXIS P7214 Encoder and got my cams to show on AMX panel. Here is how:
1) connect to the AXIS encoder
slCONNECT_STATUS = IP_CLIENT_OPEN(dvIPCams.PORT,'192.168.1.75',80,TCP_IP);
2) cVideoStr = "'GET /axis-cgi/mjpg/video.cgi'";
3) SEND_STRING dvIPCams,cVideoStr;
4) holdPic = "'^BMF-500,1,%JB0,180,100,%Pcam5'" -- this positions the dynamic pic on the panel
5) send_command dTP_CAMERAS, holdPic;
dynamic images:
thats it. very simple. I am now going to try to get it working with my other encoder the
AVIGILON ENCODER , which is a little more complex as authentication seems to be required need to ask the AVIGILON tech support what the syntax isa to get a successful connection
has anyone used 2 - different encoders to show video on AMX touch panels?
I have 2 encoders -
1- AXIS encoder
2- AVIGILON P2742 encoder
I have the AXIS working but not the AVIGILON P2742