LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect PCI1410 to LabVIEW VI, and will the input be digits or photos?

I'm a laser researcher and using PCI 1410 and cameras in our project. The data we need is xy positions and the intensity of laser at each position. Now we do not know how to deal with input of PCI 1410 within LabVIEW. How to connect PCI 1410 in the VI, what the input is like, digits or photos?

0 Kudos
Message 1 of 4
(2,520 Views)

Hi yowill,

 

You can use example finder to find VIs that will help you start your project.  Select Help»Find Examples... in LabVIEW then select your hardware in the bottom left corner of the window.  Limit your examples to hardware selected and then you can navigate the menu to find examples such as HL Snap and HL Grab which will acquire images and display them.  Thanks!
Stephen Meserve
National Instruments
0 Kudos
Message 2 of 4
(2,502 Views)

Thanks, Stiphen, for help us out. Now we can have image from PCI 1410 displayed and stored in LabVIEW VIs, but we still cannot achieve our research goals. We need some vi like Get Image Subset.vi to split the images PCI1410 get ,and output them as .dat, then call another experiment VI we already have to analyse those data. And we want the whole process to be continuous, that is, we keep taking images and keep the experiment VI analysing all the time. Our idea is using the while loop and a sequence structure, which seems correct. But the question is, the PCI 1410 use function IMAQ Create to snap images(we put a while loop on it so it keeps snapping) and the output format is different form yhr input format for Get Image Subset.vi, so we are chocked on this step. Also we don't know how to call the experiment VI, which can only read .dat(because it was not designed for PCI 1410, and we think it can be easier to just call it to read PCI 1410's .dat output than modify the whole set of VIs).

So we need help on:

1.Put function IMAQ Create, Get Image Subset.vi, and save as .dat together.(IMAQ Create output image seems to be .png while Image Subset input needs some what like bmp)

2.modify experiment VI which has a box on front panel to put in path of ,dat, to be able to be called continuously.

 

Thank you.

0 Kudos
Message 3 of 4
(2,479 Views)

Hi yowill,

 

You can use the Region of Interest input on the Snap VI to only get a certain portion of the image.  From there, you'll have to determine how to convert the image into the ".dat" format that you are referring to, as this is not a standard image format.  The experiment VI can be called as a subVI continuously as you wish.  You may want to consult this tutorial on using subVIs to learn more about this solution:

 

Developer Zone Tutorial: SubVIs

Stephen Meserve
National Instruments
0 Kudos
Message 4 of 4
(2,456 Views)