Extended existing client, tutorial_six, added in main():
camera_client->setBLOBMode(B_ALSO, MYCCD, NULL);
while (1)
{
sleep(10);
printf("Main: startBlob()\n");
camera_client->takeExposure();
}
cout << "Press any key to terminate the client.\n";
also changed MyClient::takeExposure()
to:
IDLog("Taking a 1 second exposure.\n"); // now at 0.1 sec
//was: ccd_exposure->np[0].value = 1;
ccd_exposure->np[0].value = 0.1;
ccd_exposure->nnp = 1;
sendNewNumber(ccd_exposure);
But does not change exposure value of 1. Exposure stays as 1 second. What needs to be done to change exposure?
Thanks in advance.
camera_client->setBLOBMode(B_ALSO, MYCCD, NULL);
while (1)
{
sleep(10);
printf("Main: startBlob()\n");
camera_client->takeExposure();
}
cout << "Press any key to terminate the client.\n";
also changed MyClient::takeExposure()
to:
IDLog("Taking a 1 second exposure.\n"); // now at 0.1 sec
//was: ccd_exposure->np[0].value = 1;
ccd_exposure->np[0].value = 0.1;
ccd_exposure->nnp = 1;
sendNewNumber(ccd_exposure);
But does not change exposure value of 1. Exposure stays as 1 second. What needs to be done to change exposure?
Thanks in advance.