EasyManua.ls Logo

Basler acA2040-55 - Page 334

Basler acA2040-55
373 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Features AW00123409000
324 Basler ace USB 3.0
You can read the values for all of the device information parameters and set the controls from within
your application software by using the Basler pylon API. The following code snippets illustrate using
the API:
// Read the Device Vendor Name parameter
GenICam::gcstring s = camera.DeviceVendorName.GetValue();
// Read the Device Model Name parameter
GenICam::gcstring s = camera.DeviceModelName.GetValue();
// Read the Device Manufacturer Info parameter
GenICam::gcstring s = camera.DeviceManufacturerInfo.GetValue();
// Read the Device Version parameter
GenICam::gcstring s = camera.DeviceVersion.GetValue();
// Read the Device Firmware Version parameter
GenICam::gcstring s = camera.DeviceFirmwareVersion.GetValue();
// Read the Device Serial Number parameter
GenICam::gcstring s = camera.DeviceSerialNumber.GetValue();
// Write and read the Device User ID parameter, e.g. to CAM_1
camera.DeviceUserID.SetValue("CAM_1");
GenICam::gcstring s = camera.DeviceUserID.GetValue();
// Read the Device Scan Type parameter
DeviceScanTypeEnums e = camera.DeviceScanType.GetValue();
// Set the Device Link Selector parameter
camera.DeviceLinkSelector.SetValue(0);
// Set the Device Link Speed parameter
camera.DeviceLinkSelector.SetValue(0);
// Set the Device Link Throughput Limit Mode parameter
camera.DeviceLinkSelector.SetValue(0);
camera.DeviceLinkThroughputLimitMode.SetValue(DeviceLinkThroughputLimitMode_On);
// Set the Device Link Throughput Limit parameter ([Bps])

Table of Contents

Related product manuals