Use this example to send serial commands to a Camera Link camera and read back the response.
All Camera Link cameras use an RS-232 port for configuring settings. This port does not enumerate as a normal COM port in your computer, but you can use IMAQ Serial Write.vi and IMAQ Serial Read.vi to send commands to your camera that is connected to an NI Camera Link frame grabber. This example performs a simple write and read allowing you to communicate with your camera in order to set attributes that are not available in NI MAX.
LabVIEW 2014 or later
NI-IMAQ 15.0 or later (included in Vision Acquisition Software)
NI Camera Link frame grabber
Camera Link camera
Front Panel:
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi!
I want to communicate with the serial port on a camera link camera (Ninox 640 SU by Raptor Photonics).
As the two attached pictures show, I cannot communicate by using CLwriteread.vi although it works fine when I use the test serial settings in camera file generator.
Could anybody explain the reason?
Best regards
Choi