Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how to retrieve settings informations from a basler A501k camera using "imaq serial read"from labview?

I want to access all settings of a basler A501k camera (CMOS). one solution appears to be to send commands to the camera using "imaq serial write.vi". apparently it works, but I'd like also to read the camera settings... probalbly using "imaq serial read" but it doesn't work ?? anybody knows? thanks for helping.
0 Kudos
Message 1 of 3
(3,240 Views)
I've just done basically the same thing for my DVC camera. I've attached the VI for reference. Basically it's just IMAQ Init the interface, IMAQ Serial Write the command, IMAQ Serial Read the response and IMAQ CLOSE the interface.

Make sure the command you send is in the format required for your camera.

The only problem I have is the Serial Read command always generates an error even though the command works fine. I always get back the correct response. Try it and see if it works for you.
0 Kudos
Message 2 of 3
(3,240 Views)
thanks,
you're right, it works but we get this timeout error message each time. apparently the port waits for a terminal character that is not sent.
if anybody knows how to avoid the timeout, let me know. Tanks again cabman.
0 Kudos
Message 3 of 3
(3,240 Views)