IC Imaging Control .NET

ICImagingControl.LoadShowSaveDeviceState Method

ICImagingControl.LoadShowSaveDeviceState Method

This executes the sequence ICImagingControl.LoadDeviceStateFromFile then ICImagingControl.ShowDeviceSettingsDialog and when a device was opened ICImagingControl.SaveDeviceStateToFile while ignoring errors. Then it returns the state of ICImagingControl.DeviceValid.
Syntax:
[C#]
public Sub LoadShowSaveDeviceState( filename As String ) As Boolean
[C#]
public bool LoadShowSaveDeviceState( string filename );
Parameter Description
filename

The name of a device settings file to be passed to LoadDeviceStateFromFile and SaveDeviceStateToFile. If this is nullptr this parameter is ignored, and neither LoadDeviceStateFromFile nor SaveDeviceStateToFile is executed.

Return Value:

This function returns the value of ICImagingControl.DeviceValid.

Remarks::

This function is used to reduce the code to write small sample applications.

Information:

Introduced in version 3.5

See also: ICImagingControl, ICImagingControl.LoadDeviceStateFromFile, ICImagingControl.SaveDeviceStateToFile, ICImagingControl.ShowDeviceSettingsDialog, ICImagingControl.DeviceValid

<< ICImagingControl

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us