From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-27-2015 08:13 PM
Hi,
I wrote a LabView program to control the CCD camera. The program has 2 purpose, first upload a picture on the SLM( the device that introduces the phase shift to the laser light) and then takes pictures of the corresponding laser( the pictures are supposed to look different). However, when I run the program, it only gave me same picture, so I think the program does not really control the camera. Can someone help me explain why?( the name of the program is autosnapshot.vi)
Thanks,
Toan
08-28-2015 10:51 AM
You need to incorporate some logic to see if you actually have a new picture or not. I usually just check if the buffer number has changed since the previous iteration. Also, if you want people to put a certain extension at the end of the file, you can make "pattern" input to be "*.bmp" or whatever file extension you would like.
08-28-2015 10:54 AM
I do not see where you are controlling your phase shift device.
08-28-2015 11:07 AM
Computer understands the SLM as the secondary monitor. The part that uploading picture to a window which is open in a secondary window actually upload the pictures to the SLM
08-28-2015 11:08 AM
@Gregory wrote:
I do not see where you are controlling your phase shift device.
Computer understands the SLM as the secondary monitor. The part that uploading picture to a window which is open in a secondary window actually upload the pictures to the SLM
08-28-2015 11:10 AM
@Gregory wrote:
You need to incorporate some logic to see if you actually have a new picture or not. I usually just check if the buffer number has changed since the previous iteration. Also, if you want people to put a certain extension at the end of the file, you can make "pattern" input to be "*.bmp" or whatever file extension you would like.
The buffer number does change, the only thing that does not change is pictures of the beam which are suppose to be different.
08-28-2015 11:43 AM
Can you upload the two pictures you are getting when you run the program?