FV4K-DCK-1X User Instructions
DOC-USR-0127-07
______________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
92
if (ch == 'i' || ch == 'I')
{
printf("Zoom In\n");
visca_send(s, cmdVisca[0]);
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 'o' || ch == 'O')
{
printf("Zoom Out\n");
visca_send(s, cmdVisca[1]);
visca_receive(s,buf,sizeof(buf), 1);
}
if (ch == 67) //Right
{
//printf("Right\n");
}
if (ch == 68) //Left
{
//printf("Left\n");
}
if (ch == 86 || ch == 118 )
{
printf("Version Inq\n");
visca_send(s, cmdVisca[3]);
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);
}