need to enable data streaming for client

This commit is contained in:
Dhanya Maliakal 2017-11-23 10:27:59 +01:00
parent 4749e8c4e4
commit 3b292bdeb6

View File

@ -73,6 +73,9 @@ int main(int argc, char **argv) {
pDetector->registerDataCallback(&dataCallback, NULL);
/** - if receiver exists, enable data streaming from receiver to get the data */
pDetector->enableDataStreamingFromReceiver(1);
/** - create zmq sockets in client to enable data streaming in of data from receiver/different process */
pDetector->enableDataStreamingToClient(1);
/** - ensuring detector status is idle before starting acquisition. exiting if not idle */