10-24-2007 12:47 AM
I tried to read the string type attributes of my line scan camera. The serial command is CORR:OFFSET?, I tested this command in NI Camera File Generator, it worked, the returned string was "ON". Then I tried to use imgGetCameraAttributeString in my C++ program to read this attribute, first I added an attribute "Offset Status", I chose it as numeric type, then I added serial action CORR:OFFSET?\r, but it returned some wrong characters. Has anyone have the experience to read the string type attribute from camera? Thank you.
10-24-2007 02:08 PM