SDK Application Reference

Before running the example program, first use ListDevices to obtain the camera’s TL version information:

  • TL version = Gige_2_1: The camera is compliant with the GenICam standard. Please use the sample_genicam_sfnc example program.

  • TL version = Gige_2_0: The camera is not compliant with the GenICam standard. Please use either the sample_v1 or sample_v2 example program.

Sample Program Descriptions

  • sample_read_calibration_data: reads camera calibration parameters.

  • sample_binocular_streamceStorage: displays left and right grayscale images with speckle patterns.

  • sample_parameters_depthrange: filters the depth map based on the set minimum and maximum depth thresholds, and displays the processed depth image in real time.

  • sample_parameters_exp_time: selects the color image format and display the color image after setting the exposure time.

  • sample_parameters_laser: sets laser brightness.

  • sample_rw_feature: reads or sets camera features via command lines.

  • sample_stream: selects a specified image format and resolution, and outputs the image data.

  • sample_ForceDeviceIP: forcibly sets the IP address of a network depth camera.

  • sample_trigger: selects the camera work mode and outputs image data.

  • sample_userset_ctl: demonstrates how to obtain the number of User Sets supported for selection and loading by the camera. It uses the User Set 0 (value 8) as an example to perform operations such as adding a description, saving, and reading the description.

  • sample_UserSetCurrent: reads the User Set currently used by the camera and iterates through all the User Sets that can be loaded.

  • sample_UserSetDefault: sets the default User Set to be loaded when the camera powers on.

  • sample_UserSetDescription: sets the description of a User Set.

  • sample_UserSetLoad: iterates through all User Sets and provides a method to determine whether a User Set can be loaded.

  • sample_UserSetSave: adds descriptions to all User Sets supported by the camera.

  • 3sample_UserSetSelector: reads the name, tool tip, descriptor, and display name of the User Sets supported by the camera.