Hey Guys,
I want to change the Options via a slider - and am using the following -
camera->SetOption(NP_OPTION_NUMERIC_DISPLAY_ON, (CComVariant) iDisplay);
camera->SetOption(NP_OPTION_FRAME_RATE,(CComVariant) dFPS);
camera->SetOption(NP_OPTION_THRESHOLD, (CComVariant) dThresh);
camera->SetOption(NP_OPTION_EXPOSURE_DEFAULT, (CComVariant) dExposure);
camera->SetOption(NP_OPTION_INTENSITY_DEFAULT, (CComVariant) dIntensity);
although when I am viewing the frame via drawframe, I cannot see any changes.
any ideas?
Sean
setOption
-
- Posts: 164
- Joined: Wed Jan 17, 2007 10:31 am
Re: setOption
probably should use the options NT_OPTION_EXPOSURE rather than default! However, that still not display it properly?
Re: setOption
That should work properly. Check out some of the samples as they do the same thing. Let me know if you need more help.
-
- Posts: 164
- Joined: Wed Jan 17, 2007 10:31 am
Re: setOption
Hey doug - thanks for the assistance - I have looked through the tutorials - and it appears as though my settings still do not drive the drawimage - I am slightly concerned they are not being sent to the cam.
Sean
Sean
Re: setOption
Sean,
Here is a small win32 sample (vc8) which should increment the numeric LED using SetOption() for one camera. Does it work for you?
Also, what return codes come back when the SetOption() calls are being made?
Here is a small win32 sample (vc8) which should increment the numeric LED using SetOption() for one camera. Does it work for you?
Also, what return codes come back when the SetOption() calls are being made?
- Attachments
-
- win32_LED_vc8.zip
- (14.87 KiB) Downloaded 307 times
-
- Posts: 164
- Joined: Wed Jan 17, 2007 10:31 am
Re: setOption
Birch -
Thanks for the sample - it works properly.
interestingly my slider works for the LEDs - I change the LED based on the FPS - I wanted to change it something
I just dont see the actual drawn frame doing anything? Should I?
If I change the intensity, I expected the intensity of the image to change a bit.
However, the drawn image is always contant.
Sean
Thanks for the sample - it works properly.
interestingly my slider works for the LEDs - I change the LED based on the FPS - I wanted to change it something

I just dont see the actual drawn frame doing anything? Should I?
If I change the intensity, I expected the intensity of the image to change a bit.
However, the drawn image is always contant.
Sean
Re: setOption
If you are running in greyscale mode then minor changes should be visible. It may be harder to discern changes in thresholded mode.
Changing the exposure value will be much more noticeable than changing the intensity value.
Sometimes there are issues with changing the V100 exposure settings when the cameras are not running at 100 fps. So, if you want to run them with NP_OPTION_FRAME_RATE < 100, it is deal to set it back to 100 before adjusting the exposure. After changing the exposure you can return it to the slower setting again.
BTW, its best to control the amount of IR light emitted by V100s by just changing the exposure while keeping the LEDs in strobe mode (intensity = 15). Reducing the exposure will also reduce the duration that the IR LEDs are strobed for (effectively dimming them), this lets you adjust the brightness while keeping all the motion-freezing benefits of the strobe.
Changing the exposure value will be much more noticeable than changing the intensity value.
Sometimes there are issues with changing the V100 exposure settings when the cameras are not running at 100 fps. So, if you want to run them with NP_OPTION_FRAME_RATE < 100, it is deal to set it back to 100 before adjusting the exposure. After changing the exposure you can return it to the slower setting again.
BTW, its best to control the amount of IR light emitted by V100s by just changing the exposure while keeping the LEDs in strobe mode (intensity = 15). Reducing the exposure will also reduce the duration that the IR LEDs are strobed for (effectively dimming them), this lets you adjust the brightness while keeping all the motion-freezing benefits of the strobe.