Go to documentation repository
...
Below is an example of how the IIDK is used in the Axxon One Demo DEMO module.
Code Block |
---|
CString port = "1100"; CString ip = "127.0.0.1"; CString id = ""; BOOL IsConnect = Connect (ip, port, id, myfunc); if (!IsConnect) { // connection failed AfxMessageBox("Error"); Return; } SendMsg(id,"CAM|1|REC"); // turn on recording for camera 1 SendMsg(id, "Axxon One DemoDEMO|1|RESTORE"); // restore the connection with the Axxon One DemoDEMO object //turn on the DEMO_DEVICE with address 1 SendMsg(id,"DEMO_DEVICE|1|ON|params<1>,param0_name<address>,param0_val<1>"); Disconnect(id); |
...