Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

High speed imaging using PCI-1407 Framegrabber & LabVIEW call Library function,

1. While using PCI-1407, we can able to get high-speed image when the card is been operated in field mode, but there I will lose half of my vertical resolution. How can I get the full frame of the camera (operating at non-interlaced mode) while capturing high speed object images?


2. In LabVIEW, while using 'Call Library' function, how could I pass the 'Structure' (C convention) as a parameter for a class defined in a particular DLL? (provided definition for all classes defined in that particular DLL)


Ex:

Structure definition:

typedef struct
{
int Port[4];
int BoardID;
} IDStruct;

Calling function:

int Adv_DVPAPI_InitSDK(int NoOfDevs, IDStruct* IDList)
Sankar, Team Leader-R&D (Machine Vision Systems)
Premier Evolvics Pvt. Ltd.,
Coimbatore,
India,
0 Kudos
Message 1 of 3
(3,085 Views)
Hi Shankar,

For your first question: To achieve what you have described you will require a progressive scan camera. Interlaced cameras split the image frame into two fields and send alternating fields at 60 fields per second with a combined frame rate of 30 frames per second. Since the two fields are not acquired at the same time you will also see blurring in moving objects. If you want to acquire images of a moving object you need to look into progressive scan cameras. Progressive scan cameras acquire the entire frame at the same time. This will remove any blur you see in your image and you can purchase a camera that meets your frame rate requirements.

Refer to the following document for more information:
Choosing a Camera

The Rev C or later of the PCI/PXI-1407 is able to acquire from Progressive Scan cameras at upto 60 frames per second.

For your second question the following example program will help you out. It demonstrates how to pass structures to and from a C dll in LabVIEW.
Passing a Variety of Data Types from DLL to LabVIEW

Have a nice day!

Regards,
Nipun M
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,071 Views)
Clarification on revision numbers for the 1407:

Revisions E and later of the PCI-1407 and revisions C and later of the PXI-1407 support progressive scan formats 25, 30, 50, and 60 frames per second.

Nipun M
0 Kudos
Message 3 of 3
(3,068 Views)