Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

1422 PCI and FLIR camera

Hi all,
    I have an NI 1422 PCI Image Acquisition Card in a PC running Win XP.  When I use NI's Measurement and Automation Explorer to check that all is well, I can see the image from the camera and can even save a frame to disk.
Now I need to write a LabVIEW app (I'm using ver. 8.2.1 with Vision 7.??) to do the same thing: grab one or more images from the camera, then save to disk.  It seems that it should be easy, but playing with the IMAQ library, I can't get anywhere.  Does anyone have an example they're willing to share?  Is there anything special about either the NI 1422 or the FLIR camera I should be taking into account?
 
Thanks for any info.
0 Kudos
Message 1 of 6
(3,996 Views)
Hi Telemaque,

There is an example that will help you get started.  It is called Snap and Save to File.vi.  To get to the example open the example finder (Help>>Find Examples).  And browse to Hardware Input and Output>>IMAQ>>File Input and Output>>Snap and Save to File.vi.  Any of the examples in the IMAQ folder will work with your 1422 card so you may want to look at several of the other examples as well.  One thing that you have to take into consideration with your camera is making sure that you have a working camera file.  But since it is working in MAX it sounds like you already have one.  I hope this helps.

Have a great day,

GG
0 Kudos
Message 2 of 6
(3,976 Views)
Hi!

We are an authorized FLIR systems integrator as well as an NI Alliance Partner. Could you describe in more detail what exactly the problem is that you are facing?
What camera model are you working with?
Also, if you don't mind, post your sample VIs as well, or send your code to us directly, if you prefer.

We also have a LabVIEW/FLIR toolkit that may be useful.

Best,
Markus Tarin

0 Kudos
Message 3 of 6
(3,956 Views)
GG, thanks for the help.  "Snap and save to File.vi" is not there.  The only IMAQ examples are from the IMAQ1394examples.llb library.
When I look on the "functions" palette under "Vision and Motion", the only two choices are Vision Utilities, and IMAQ 1394.  The IMAQ 1394 folder has the functions I am looking for like "snap", and  "init", except, of course, they're for firewire cameras.  My camera connects to the NI 1422 via the 100-pin SCSI cable.
What library is MAX using when it grabs images?  I would like to access the same functions but don't know where to find them.  Any ideas?
I just realized that we don't have the full Vision Development system, only Vision Acquisition (ver. 8.0).

Epsilon, I don't have a VI to post.  I'll get the camera info at work on Monday; if I can't get this to work with the software we have, I'd like to talk to you about the toolkit you mentioned.
0 Kudos
Message 4 of 6
(3,948 Views)
Hi Telemaque,

It looks like you are missing a few pallets in the Vision menu.  I would recommend attempting to reinstall Vision Acquisition Software again.  You do not need VDM to get this to work, so no worries there.  It just seems that something happened during the initial install.  Once you are able to see all your VIs, you should be able to return into the example finder and find what GG was attempting to point you to.  If this does not work, I would recommend calling into National Instruments help to solve this specific problem.

I hope this helps.

Justin
0 Kudos
Message 5 of 6
(3,930 Views)
Dear Telemaque,
 
Did you manage to see images in LabVIEW? Attached is a VI from FLIR, showing how the connections. There are two SubVIs from FLIR, which you can do without - however, this may cost you the accuracy of your images. I'm currently working on this (using PXI 1422 to control and capture images from FLIR SC3000). Maybe you can share some info from what you have learnt so far?
 
 
Shazlan
 
0 Kudos
Message 6 of 6
(3,808 Views)