Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ set black/white reference voltage property on PCI1408

I have come across this annoying quirk that has taken me days to track down! I would call it a bug; if you could point me to a document that explains otherwise, please let me know.

If I attempt to use a property node to set values for "White Reference (volts)", then the new value is NOT used by an "IMAQ Snap" call that immediately follows; it seems to get applied by the hardware (PCI1408) only _AFTER_ this call.

If, instead, I replace this property node with the old "IMAQ Get/Set Attribute" which is no longer available in the 6.1 Functions Palette (actually I grabbed it from inside 'IMAQ Snap'), then the property is correctly changed for all subsequent snaps.

If you want to look into this, but are unable to
replicate, I can email a program (just not handy at the moment).
0 Kudos
Message 1 of 2
(2,825 Views)
Hello,

I wrote the attached VI to reproduce the problem you described but wasn't able to see it. Please take a look at the VI and let me know if you are doing something different. In both cases I was able to change the white level properly.

Regards,

Yusuf C.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,825 Views)