IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the 48-bit MAC address of the selected interface.
Name |
GevInterfaceMACAddress[InterfaceSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
0 …281474976710655 Increment: 1 |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Code Example
C++
// Before accessing GevInterfaceMACAddress, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("InterfaceSelector")->SetValue(0);
// Determine the current GevInterfaceMACAddress
int64_t value = nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("GevInterfaceMACAddress")->Value();
C#
// Before accessing GevInterfaceMACAddress, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("InterfaceSelector").SetValue(0);
// Determine the current GevInterfaceMACAddress
long value = nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("GevInterfaceMACAddress").Value();
Python
# Before accessing GevInterfaceMACAddress, make sure InterfaceSelector is set correctly
# Set InterfaceSelector to 0 (int)
nodeMapSystem.FindNode("InterfaceSelector").SetValue(0)
# Determine the current GevInterfaceMACAddress (int)
value = nodeMapSystem.FindNode("GevInterfaceMACAddress").Value()