HE4K-DCK-1X User Instructions
DOC-USR-0123-06
______________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
81
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 HE4K-DCK-1X.
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");
}
void help()
Figure 70 Running the Example Application