04-29-2024 04:55 AM
We have a test system up and running with a Balluff BVS-CA industrial camera. This camera is already obsolete so we bough a new one also sold by Balluff and advertised as fully compatible (Matrix vision mvBlueFOX-2124aC).
We replaced the BVS-CA with the new one and started our app. If we want to take a full sized (4096x3008) picture then new camera works just fine. If we need the subset of the full sized image (so image size and offset values are changed) then the IMAQdx driver returned an "attribute out of range" error.
The error is reproducible in MAX:
This message is somewhat confusing as the "mv Blockscan Lines Per Block" is 2008 which is the upper limit of the parameter (which is calculated, not entered by us).
If I select the old BVS-CA camera from the menu (which I assume loads the previously saved parameters of the BVS-CA) then the Matrix Vision cam works just fine, although the parameter values look exactly the same including the "mv Blockscan Lines Per Block"
I'm certainly not an expert in the cameras, so I'm a bit lost.
All ideas are welcome.
04-30-2024 12:56 AM
04-30-2024 02:18 AM
I have no idea what is the blockscan mode, we just used the cameras with their factory settings. The exeptions are that we control some of their digital lines and sometimes we set the offset and size parameters.
I solved the problem by overwriting the icd file of the matrix camera with the icd file of the bvs-ca. After this I have not seen the popup error message in MAX and our program just worked fine. I've noticed that the AcquisitionAttributes::AdvancedGenicam::IgnoreCameraValidationErrors parameter of the bvs-ca was set to true while on the matrix it was false. I assume that setting this parameter to true causing the error message to disappear altough I could not test it.
Our problem is solved, but the root cause is unknown which bothers me quite a bit.
04-30-2024 05:05 AM
Since you have a very specific error, you could check the documentation about Block Mode and contact the manufacturer.