CameraLink Line Scan Camera
·
User Manual
14
The camera parameters can be set via the MVS client, frame grabber or serial port tool, but
you cannot use them at same time.
The default value of the camera’s baud rate is 9600 bps.
The command for setting camera parameters via port is sent in the format of ASCII code. The
camera setting commands are send by user’s application. After receiving commands, the camera
will return a value (success or fail). The specific command format is shown below.
Table 5-4
Command Description
Command Format:
< Command > < Node Name > < Value> <\r>
Note: Simply put, input the command and press Enter.
If the writing command has been set, the returned value is as follows.
Success! <\r> <\n>
If the reading command has been set, the returned value is as follows.
Success! <\r> <\n> <\r> <\n>
get < Note Name > : <Value> <\r> <\n>
If setting the writing or reading command fails, the returned value is as follows.
Failed! <\r> <\n> <\r> <\n>
Wrong input format. <\r> <\n>
Executing the reading or writing command is as follows.
Table 5-5
Command for Writing or Reading
Command for writing:
The following example is to set the exposure as 1000 us.
Command:
w ExposureTime 1000 <\r>
Returned value:
Success! <\r> <\n> (Setting succeeded.)
Failed! <\r> <\n> <\r> <\n>
Wrong input format. <\r> <\n> (Setting failed.)
Command for reading:
The following example is to get the exposure as 1000 us.
Command:
r ExposureTime <\r>
Returned value:
Success! <\r> <\n> <\r> <\n>
get ExposureTime: 1000 <\r> <\n> (Reading succeeded.)
Failed! <\r> <\n> <\r> <\n>
Wrong input format. <\r> <\n> (Reading failed.)