Factory for devices
See class VIB::VIBSystem in the VisionBox Interface Library for a detailed description.
- Examples
-
◆ VIBSystem() [1/3]
VIB_NET::VIBSystem::VIBSystem |
( |
void |
| ) |
|
◆ VIBSystem() [2/3]
Creates a factory instance for the specified hardware entity.
- Parameters
-
◆ VIBSystem() [3/3]
Creates a factory instance for a specific hardware entity.
- Parameters
-
HardwareType | Desired hardware type |
Index | Index for the specified hardware type, 0 ... |
◆ ~VIBSystem()
VIB_NET::VIBSystem::~VIBSystem |
( |
void |
| ) |
|
◆ CloseDevice()
◆ GetDeviceInfo()
Returns the information for the specified device type
- Parameters
-
- Returns
- Device information including the type and number of entities
- Example:
- C#: VIBSystem_Example.cs
Visual Basic: VIBSystem_Example.vb
◆ GetSystemInfo()
Returns information about installed system types
The function returns a SystemInfo object for the specified system type that are provided by the hardware.
- Parameters
-
- Returns
- System information containing the number of installed entities of the given type
◆ OpenDevice()
Opens a device and creates a device object
After this call there is no relationship between the factory and the device instance. Closing the factory will not close the device, it must be closed manually.
Each device can only be opened once at the same time. This is ensured for all processes running on the system. A device must be closed before it can be reopened again.
- Parameters
-
- Returns
- Pointer to the new device object
- Example:
- C#: VIBSystem_Example.cs
Visual Basic: VIBSystem_Example.vb
◆ API_Version
VIB_NET::VIBSystem::API_Version |
|
getset |
◆ DeviceInfoList
VIB_NET::VIBSystem::DeviceInfoList |
|
get |
◆ FirmwareVersion
VIB_NET::VIBSystem::FirmwareVersion |
|
get |
Returns a list of Version4Parts containing firmware versions for all components of this hardware entity
◆ HardwareType
VIB_NET::VIBSystem::HardwareType |
|
get |
Contains the specific hardware type associated with the factory for this hardware entity
◆ NumberOfDeviceTypes
VIB_NET::VIBSystem::NumberOfDeviceTypes |
|
get |
Contains the number of different device types
For example, if the VisionBox has two Strobe units and one RS-422 interface, the value is 2.
- Example:
- C#: VIBSystem_Example.cs
Visual Basic: VIBSystem_Example.vb
◆ PlatformString
VIB_NET::VIBSystem::PlatformString |
|
staticget |
Returns a string with a list of all available systems and their entities.
◆ SystemInfoList
VIB_NET::VIBSystem::SystemInfoList |
|
staticget |
Returns information about the installed systems
The function returns a list of VIB_NET::SystemInfo containing all installed systems or hardware entities. Each item holds information about a different system type.
- Example:
System.Collections.ArrayList SysList =
VIBSystem.SystemInfoList;
{
if (sysInfo.Type ==
VIB_NET.eSYSTEM_TYPE.CL)
System.Console.WriteLine("Number of CL-Cards:" + sysInfo.NumberOfEntities );
}
◆ SystemString
VIB_NET::VIBSystem::SystemString |
|
get |
◆ VersionString
VIB_NET::VIBSystem::VersionString |
|
get |
Contains a string with version data from all components. (DLL, driver, FPGA, ...)
Do not parse or interpret this string to do any assumption. Use the string only to give the user a human readable overview about the versions. The layout and 'keywords' can be different for each hardware type.
- Example:
- C#: VIBSystem_Example.cs
Visual Basic: VIBSystem_Example.vb
◆ VIB_NET_Version
VIB_NET::VIBSystem::VIB_NET_Version |
|
getset |