Inherits NetOceanDirect::ManagedObject< EthernetAPI >.
|
| Ethernet (EthernetAPI *instance) |
|
bool | getGigabitEthernetEnableStatus (long deviceID, int% errorCode) |
|
bool | getGigabitEthernetEnableStatus (long deviceID, int% errorCode, unsigned int interfaceIndex) |
|
array< unsigned char > | getMACAddress (long deviceID, int% errorCode) |
|
array< unsigned char > | getMACAddress (long deviceID, int% errorCode, unsigned int interfaceIndex) |
|
void | setGigabitEthernetEnableStatus (long deviceID, int% errorCode, bool enable) |
|
void | setGigabitEthernetEnableStatus (long deviceID, int% errorCode, unsigned int interfaceIndex, bool enable) |
|
void | setMACAddress (long deviceID, int% errorCode, array< unsigned char >^% macAddress) |
|
void | setMACAddress (long deviceID, int% errorCode, unsigned int interfaceIndex, array< unsigned char >^% macAddress) |
|
| ManagedObject (EthernetAPI *instance) |
|
EthernetAPI * | GetInstance () |
|
◆ getGigabitEthernetEnableStatus()
bool Ethernet::getGigabitEthernetEnableStatus |
( |
long |
deviceID, |
|
|
int% |
errorCode, |
|
|
unsigned int |
interfaceIndex |
|
) |
| |
Return the status on whether the gigabit ethernet is enabled or not.
- See also
- setGigabitEthernetEnableStatus()
- Parameters
-
deviceID | the ID of the device returned by getDeviceIDs. |
errorCode | on exit this contains zero on success, nonzero otherwise. |
interfaceIndex[in] | The ethernet interface to look at. |
- Returns
- The interface status.
◆ getMACAddress()
array< unsigned char > Ethernet::getMACAddress |
( |
long |
deviceID, |
|
|
int% |
errorCode, |
|
|
unsigned int |
interfaceIndex |
|
) |
| |
Read the ethernet 6-byte mac address from the spectrometer.
- See also
- setMACAddress()
- Attention
- For devices with a single interface, the interfaceIndex parameter is ignored.
- Parameters
-
deviceID | the ID of the device returned by getDeviceIDs. |
errorCode | on exit this contains zero on success, nonzero otherwise. |
interfaceIndex[in] | The ethernet interface to look at. |
- Returns
- The ethernet mac address.
◆ setGigabitEthernetEnableStatus()
void Ethernet::setGigabitEthernetEnableStatus |
( |
long |
deviceID, |
|
|
int% |
errorCode, |
|
|
unsigned int |
interfaceIndex, |
|
|
bool |
enable |
|
) |
| |
Enable or disable the gigabit ethernet status.
- See also
- getGigabitEthernetEnableStatus()
- Parameters
-
deviceID | the ID of the device returned by getDeviceIDs. |
errorCode | on exit this contains zero on success, nonzero otherwise. |
interfaceIndex[in] | The ethernet interface to look at. |
enable[in] | True will enable gigabit ethernet. False disable the ethernet. |
◆ setMACAddress()
void Ethernet::setMACAddress |
( |
long |
deviceID, |
|
|
int% |
errorCode, |
|
|
unsigned int |
interfaceIndex, |
|
|
array< unsigned char >^% |
macAddress |
|
) |
| |
Writes a new ethernet 6-byte mac address into the spectrometer.
- See also
- getMACAddress()
- Attention
- For devices with a single interface, the interfaceIndex parameter is ignored.
- Parameters
-
deviceID | the ID of the device returned by getDeviceIDs. |
errorCode | on exit this contains zero on success, nonzero otherwise. |
interfaceIndex[in] | The ethernet interface to look at. |
macAddress[in] | The new mac address. |
The documentation for this class was generated from the following files: