Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I access the camera registers in version 1.1 of the IMAQ 1394 driver?

I need to be able to access the camera registers in a Point Grey 1394 camera. Version 1.0 of the IMAQ 1394 driver didn't support this and it's supported in the SDK from the manufacturer. However, I can't use their SDK calls with your driver loaded. If this isn't in this version, please put it into the next version.
0 Kudos
Message 1 of 5
(3,592 Views)
You can access the registers with the following calls to the imaq1394.dll. If you are using LabVIEW, you can find the VIs in the imaq1394.llb library, but they will not be in the function pallete by default.

long img1394WriteBlock(unsigned long hDev, unsigned long address, unsigned long length, unsigned long *block);

long img1394ReadBlock(unsigned long hDev, unsigned long address, unsigned long length, unsigned long *block);

Regards,

Brent R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,592 Views)
I'm using C to call the DLL from my program and the calls you specified aren't in the function reference of the documentation or in the C header file NIIMAQ1394.h.Where are they declared?
0 Kudos
Message 3 of 5
(3,592 Views)
As far as I know, these functions are not documented or declared. I got the declarations from the LabVIEW function calls. They are exported by imaq1394.dll and you should be able to use them in C.

Regards,

Brent R.
0 Kudos
Message 4 of 5
(3,592 Views)
I have 2 questions about your function prototypes:

1. What is the hDev parameter and where do I get an hDev? Is it the session ID?

2. Do you have a sample declare to call this from VB?

Thanks in advance,

Steve Carll
0 Kudos
Message 5 of 5
(3,592 Views)