Appendix C: Example Camera Controller Application; Figure 61 Running The Example Application - Z3 Technology ZCube-SC User Manual

Table of Contents

Advertisement

APPENDIX C: Example Camera Controller Application

If you do not have camera control software it is quite straight-forward to write your own. Below is a simple
example application on how to send VISCA commands from a Windows PC to the ZCube-SC.
The following example code connects to the TCP socket of the unit and is capable of sending several VISCA
commands to the unit. The interface looks like the following:
The example application code is as follows:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <fcntl.h>
#include <time.h>
#include <sys/types.h>
#include<winsock2.h>
#include <conio.h>
#define FALSE 0
#define TRUE 1
int status;
void usage()
{
printf("Usage: z3visca cameraip port\n");
}
______________________________________________________________________________________
Z3 Technology, LLC ♦ 100 N 8
Figure 58 Running the Example Application
th
ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702
75
ZCube-SC User Guide
DOC-USR-0265-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZCube-SC and is the answer not in the manual?

Table of Contents