My code watches for an event where my Toshiba USB stick is unplugged. If the event does not occur within 30 secs, the code times out. However, in the case that there is no disconnection of the USB stick (no event generated), I can't end the program before the timeout period of 30 sec. Is there a way to end the program before the timeout period? Any help is appreciated. Thanks in advance!
I am writing an application to update the numeric value given user's input value and depending on the user's input value the program checks if it is greater than 10 if it is greater than 10 then the program waits for 1 second and then will have a popup message says "true".
My intention was to call the conditional check, printing true every one second if the user's input value is greater than 10; in other words, the case structure was to be called regardless of the event structure in the same loop infinitely.
But it doesn't seem to work the way I expected. Unless there is user's new input value, getting into the event structure, the program doesn't get to the case structure even though the case structure is in a loop.
Is there any way to call the case structure not dependent to the event structure but I want to use a shift register for the numerical value and also having an event structure and a case structure in parallel ?
Research purpose, I am using Imagining Source (DMK 33Ux249) camera to capture the laser beam. I am trying to write a code for auto exposure according to power level of laser beam. I used Vision acquistion for capturing live video image and tried to open the front panel of the vision acquistion.
But, I couldn't figure out how to set the exposure level automatically. Basically whole task is,
1. Capturing live image
2. set the exposure time according to laser beam profile
3. Remember the exposure the time and set again according to next frame or beam profile.
Is anybody previously work or have an idea to solve this issue please let me know.
I would like to know if there is a parameter in line scan camera which allow me to control time trigger along NI MAX or labview with imaqdx.
I mean, I would like to triggering camera during 100ms which specific shutter and specific line/sec.
And if I change shutter or line/sec the time trigger keep being the same (100ms)
I don't know if this is possible with some parameter of line scan camera.
Thanks a lot.