Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_SetAutoCfgIpSetup

uEye Camera Manual Version 3.80

is_SetAutoCfgIpSetup

Windows_Logo

Linux_Logo

GigE

GigE

Syntax

INT is_SetAutoCfgIpSetup (INT iAdapterID,
const UEYE_ETH_AUTOCFG_IP_SETUP* pSetup,
UINT uStructSize)

Description

You can use is_SetAutoCfgIpSetup() to set the IP auto configuration properties of a network adapter. The IP configuration can also be changed using the uEye Camera Manager.

 

Hinweis

The is_SetAutoCfgIpSetup() function is only supported by cameras of the GigE uEye series.

Input Parameters

iAdapterID

Internal adapter ID of the network adapter. It is returned by the is_GetEthDeviceInfo() function in the UEYE_ETH_ADAPTER_INFO structure.

pSetup

Pointer to a UEYE_ETH_AUTOCFG_IP_SETUP object

uStructSize

Size of the UEYE_ETH_AUTOCFG_IP_SETUP structure in bytes

Contents of the UEYE_ETH_AUTOCFG_IP_SETUP Structure

UEYE_ETH_ADDR_IPV4

ipAutoCfgIpRangeBegin

First IPv4 address of the auto configuration range

UEYE_ETH_ADDR_IPV4

ipAutoCfgIpRangeEnd

Last IPv4 address of the auto configuration range

BYTE

reserved[4]

reserved

Return Values        

IS_SUCCESS

General message indicating successful execution

IS_INVALID_PARAMETER

pSetup is invalid.

IS_BAD_STRUCTURE_SIZE

The structure size you specified is invalid.

IS_CANT_OPEN_DEVICE

Driver could not be found.

IS_IO_REQUEST_FAILED

Driver communication failed.

Related Functions

is_SetPersistentIpCfg()
is_GetEthDeviceInfo()

Code Sample

UEYE_ETH_AUTOCFG_IP_SETUP autocfgip;

 

// Specify the IP address 192.168.10.15 in hexadecimal format

autocfgip.ipAutoCfgIpRangeBegin.dwAddr= 0xC0A80A0F;

 

// Specify the IP address 192.168.10.35 in hexadecimal format

autocfgip.ipAutoCfgIpRangeEnd.dwAddr= 0xC0A80A23;

 

// Set IP address

INT nRet= is_SetAutoCfgIpSetup( iAdapterId, &autocfgip, sizeof(UEYE_ETH_AUTOCFG_IP_SETUP));


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com