FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Set_Source_IP_Address Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Byte
The first byte of the address.
Type: System.Byte
The second byte of the address.
Type: System.Byte
The third byte of the address.
Type: System.Byte
The fourth byte of the address.
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Set_Source_IP_Address Method
    In This Topic
    Warning: The use of this function can affect the factory calibration of the USB device.
    Sets the source IP address stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Set_Source_IP_Address( _
       ByVal DeviceHandle As IntPtr, _
       ByVal Address1 As Byte, _
       ByVal Address2 As Byte, _
       ByVal Address3 As Byte, _
       ByVal Address4 As Byte, _
       Optional ByVal ChannelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim Address1 As Byte
    Dim Address2 As Byte
    Dim Address3 As Byte
    Dim Address4 As Byte
    Dim ChannelNumber As Byte
    Dim value As String
     
    value = instance.Set_Source_IP_Address(DeviceHandle, Address1, Address2, Address3, Address4, ChannelNumber)

    Parameters

    DeviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    Address1
    Type: System.Byte
    The first byte of the address.
    Address2
    Type: System.Byte
    The second byte of the address.
    Address3
    Type: System.Byte
    The third byte of the address.
    Address4
    Type: System.Byte
    The fourth byte of the address.
    ChannelNumber
    Type: System.Byte
    The channel number associated with the USB device.

    Return Value

    Type: System.String
    A value equal to 0; otherwise Error
    Remarks
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also