IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Returns the number of network adapters that are connected to the selected interface.
Name |
NetworkAdapterCount[InterfaceSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Guru |
Values |
0 … 4294967295 Increment: 1 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
Code Example
C++
// Before accessing NetworkAdapterCount, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("InterfaceSelector")->SetValue(0);
// Determine the current NetworkAdapterCount
int64_t value = nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("NetworkAdapterCount")->Value();
C#
// Before accessing NetworkAdapterCount, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem.FindNode<IDSImaging.Peak.API.Core.Nodes.IntegerNode>("InterfaceSelector").SetValue(0);
// Determine the current NetworkAdapterCount
long value = nodeMapSystem.FindNode<IDSImaging.Peak.API.Core.Nodes.IntegerNode>("NetworkAdapterCount").Value();
Python
# Before accessing NetworkAdapterCount, make sure InterfaceSelector is set correctly
# Set InterfaceSelector to 0 (int)
nodeMapSystem.FindNode("InterfaceSelector").SetValue(0)
# Determine the current NetworkAdapterCount (int)
value = nodeMapSystem.FindNode("NetworkAdapterCount").Value()