Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec
Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec
Baumer-GAPI2 SDK Programmer's Guide - Site ftp Elvitec
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.2.2<br />
Interface<br />
Interface<br />
Inherits from:<br />
Interface EventControl<br />
INode<br />
The class Interface represents a physical interface, e.g.<br />
GEV or a logical interface, such as USB.<br />
Functions of the class Interface<br />
B<strong>GAPI2</strong>::Interface:: ...<br />
Open();<br />
Close();<br />
GetDevices();<br />
GetID();<br />
GetDisplayName();<br />
Open an Interface.<br />
Close the Interface.<br />
Returns the list of available devices for this interface (DeviceList).<br />
Returns the unique string ID which is used in InterfaceList.<br />
Returns a meaningful name of the Interface for display only.<br />
GetTLType(); Returns interface type (GEV, USB, ...).<br />
3.2.3<br />
Device<br />
Device<br />
Inherits from:<br />
Device EventControl<br />
INode<br />
The main class Device is used to retrieve information<br />
(e.g. model, manufacturer, access modes) of the device<br />
(camera) and also to control the device.<br />
Functions of the class Device<br />
B<strong>GAPI2</strong>::Device:: ...<br />
OpenReadOnly();<br />
Open();<br />
OpenExclusive();<br />
Close();<br />
IsOpen();<br />
StartStacking();<br />
WriteStack();<br />
GetDataStreams();<br />
GetID();<br />
GetVendor();<br />
Open as read only, no parameters can be changed.<br />
Open a device with read and write access.<br />
Open a device exclusively with read and write access, the<br />
device is blocked for other software tools.<br />
Close the device.<br />
Open a device with read only access, changing parameters<br />
is denied.<br />
Start command for parameter stacking (parameters will be<br />
queued).<br />
Single write command to transmit all stacked parameters<br />
at once.<br />
Returns a list of available DataStreams.<br />
Returns the unique string ID of device (such as MAC address<br />
on GEV).<br />
Returns the vendor of the camera.<br />
15