![Z3 Technology FV2K-1XA User Manual Download Page 92](http://html1.mh-extra.com/html/z3-technology/fv2k-1xa/fv2k-1xa_user-manual_3099565092.webp)
FV2K-1XA User Guide
DOC-USR-0262-05
______________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
92
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 FV2K-1XA.
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");
}
Figure 80 Running the Example Application