Table of Contents
Basler pilot iii
8.8 Acquisition Timing Chart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
8.9 Maximum Allowed Acquisition Frame Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
9 Pixel Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
9.1 Setting the Pixel Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
9.2 Pixel Data Formats for Mono Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
9.2.1 Mono 8 Format (Equivalent to DCAM Mono 8) . . . . . . . . . . . . . . . . . . . . . . . 109
9.2.2 Mono 16 Format (Equivalent to DCAM Mono 16) . . . . . . . . . . . . . . . . . . . . . 110
9.2.3 Mono 12 Packed Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
9.2.4 YUV 4:2:2 Packed Format (Equivalent to DCAM YUV 4:2:2) . . . . . . . . . . . . 114
9.2.5 YUV 4:2:2 (YUYV) Packed Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
9.3 Pixel Data Output Formats for Color Cameras. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
9.3.1 The Bayer Color Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
9.3.1.1 Color Filter Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
9.3.2 Bayer GB 8 Format (Equivalent to DCAM Raw 8) . . . . . . . . . . . . . . . . . . . . . 117
9.3.3 Bayer BG 8 Format (Equivalent to DCAM Raw 8) . . . . . . . . . . . . . . . . . . . . . 119
9.3.4 Bayer GB 16 Format (Equivalent to DCAM Raw 16) . . . . . . . . . . . . . . . . . . . 121
9.3.5 Bayer BG 16 Format (Equivalent to DCAM Raw 16) . . . . . . . . . . . . . . . . . . . 123
9.3.6 Bayer GB 12 Packed Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
9.3.7 Bayer BG 12 Packed Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
9.3.8 YUV 4:2:2 Packed Format (Equivalent to DCAM YUV 4:2:2) . . . . . . . . . . . . 129
9.3.9 YUV 4:2:2 (YUYV) Packed Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
9.3.10 Mono 8 Format (Equivalent to DCAM Mono 8) . . . . . . . . . . . . . . . . . . . . . . . 134
10 I/O Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
10.1 Configuring Input Lines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
10.1.1 Assigning an Input Line to Receive a Hardware Trigger Signal. . . . . . . . . . . 137
10.1.2 Using an Unassigned Input Line to Receive a User Input Signal. . . . . . . . . . 138
10.2 Configuring Output Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
10.2.1 Assigning a Camera Output Signal to a Physical Output Line. . . . . . . . . . . . 139
10.2.2 Setting the State of User Settable Output Lines . . . . . . . . . . . . . . . . . . . . . . 140
10.2.3 Setting an Output Line for Invert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
10.2.4 Working with Timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
10.2.4.1 Setting the Trigger Source for a Timer . . . . . . . . . . . . . . . . . . . . . 142
10.2.4.2 Setting a Timer Delay Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
10.2.4.3 Setting a Timer Duration Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
10.3 Checking the State of the I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
10.3.1 Checking the State of a Single Output Line . . . . . . . . . . . . . . . . . . . . . . . . . . 147
10.3.2 Checking the State of All Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
11 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
11.1 Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
11.2 Black Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
11.3 White Balance (on Color Models). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155