VISCA Camera Control Instructions
DOC-USR-0115-01 DRAFT
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
14
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 'f' || ch == 'F')
{
printf("Flip On\n");
visca_send(s, cmdVisca[4]);
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 'n' || ch == 'N')
{
printf("Flip Off\n");
visca_send(s, cmdVisca[5]);
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 'h' || ch == 'H')
{
help();
}
if (ch == 32) //stop zoom
{
printf("Stop Zoom\n");
visca_send(s, cmdVisca[2]);
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 'x' || ch == 'X')
{
break;
}
Sleep(1);
}
}
closesocket(s);
}