Configuring the Camera4-4 BASLER A102kDRAFT4.2 Configuring the Camera with BinaryProgramming CommandsConfiguration commands can be issued to the A102k via the RS-644 serial connection in theCamera Link interface between the frame grabber and the camera. Commands are issued usinga binary protocol. With this protocol, data is placed into a frame and sent to the camera. Once thedata is received it is checked for validity. If valid, the data is extracted and the command isexecuted.If the command issued to the camera was a read command, the camera will respond by placingthe requested data into a frame and sending it to the host computer.A standard application programmer’s interface (API) for asynchronous serial reading and writingvia the RS-644 port on the frame grabber has been defined in the Camera Link standard(Appendix B, API Functions). All Camera Link compatible frame grabbers provide a softwarelibrary (.dll file) named clser***.dll where *** is specific to the frame grabber vendor. There are fourfunctions within that DLL:• ISerialInit - Initialize the serial communication for a specific board.• clSerialRead - Read bytes from the camera.• clSerialWrite - Write bytes to the camera.• clSerialClose - Close the serial communication.To execute the binary programming commands, you can load the DLL for the frame grabber youare using into your programming tool. If you are using your camera with an optional Basler Interface Converter (k-BIC), youcan configure the camera via the RS-232 serial connection between your PC and thek-BIC.