LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire images at a set voltage (for OCT)

Hello I am currently doing a project on optical coherence tomography and the first step involves writing a labview program which can grab an image at certain voltages. I have two template programs given to me (which are below) one of which sets a voltage on an NI USB-6008 and the other captures an image from the ccd I am using. How can I create a program with these to capture an image at a certain voltage?

 

volts1.jpg

camera.jpg

 

Thanks

0 Kudos
Message 1 of 6
(2,905 Views)

Do you mean a single .vi running the two functions?

If so see attached. You have to build two parallel loops.

You will set your "data" value and then press the "capture" button.

This should work if I understood your question..

Bye

0 Kudos
Message 2 of 6
(2,896 Views)

Yes that is what I mean. How do I go about in adding the 'capture' button that is linked to the case structure?

0 Kudos
Message 3 of 6
(2,877 Views)

Go to front panel, right-click and select Boolean controls from the palette.

Choose the "OK button" control.

Rename it to Capture or set its boolean text properties (right click the button).

bye!

 

0 Kudos
Message 4 of 6
(2,868 Views)

How can I save the images that have been acquired to disk?

0 Kudos
Message 5 of 6
(2,858 Views)

You have to add a IMAQ vision .vi to your block diagram from the palette as attached picture.

 

http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_write_file_2/#IMAQWriteJPEGFile2

 

Connect it with the "Image" reference wire and set  a saving path in input (File path: e.g. c:\image.jpg ).

 

 

0 Kudos
Message 6 of 6
(2,851 Views)