Machine Vision Camera SDK (C) Developer Guide
6.1.7 Why is there error code returned during debug process? ........................................ 255
6.1.8 Why is no data error returned when calling API MV_CC_GetOneFrameTimeout? .. 255
6.1.9 Why is there always no data when calling MV_CC_GetOneFrameTimeout? ............ 255
6.1.10 Why can't open the camera after finishing debugging abnormally? ...................... 255
6.2 USB3 Vision Camera ........................................................................................................... 256
6.2.1 Why can't the MVS get the data or why is the frame rate far smaller the actual frame
rare? ................................................................................................................................... 256
Appendix A. Error Code .......................................................................................................... 257
Appendix B. Sample Code ....................................................................................................... 263
B.1 Perform Basic Functions of CamLink Cameras ................................................................... 263
B.2 Get Chunk Information ...................................................................................................... 269
B.3 Connect to Cameras via IP Address ................................................................................... 274
B.4 Convert Pixel Format ......................................................................................................... 278
B.5 Call APIs Dynamically ......................................................................................................... 284
B.6 Get Camera Events ............................................................................................................. 293
B.7 Get Images Via Precision Time Protocol ............................................................................ 297
B.8 Get Images in Callback Function ........................................................................................ 304
B.9 Get Images Directly ............................................................................................................ 308
B.10 Get Images Directly with High Performance .................................................................... 313
B.11 Display the Acquired Images ............................................................................................ 318
B.12 Get Images by Strategy .................................................................................................... 325
B.13 Lossless Decoding ............................................................................................................ 332
B.14 Correct Lens Shading ....................................................................................................... 337
B.15 Set Multicast Mode .......................................................................................................... 345
B.16 Open GUI of Camera Property Settings ........................................................................... 350
B.17 File Access ........................................................................................................................ 354
B.18 Import/Export Camera Property File ............................................................................... 359
B.19 Recording ......................................................................................................................... 362
x
    "