« Close

Datasheets and User Guides

App Notes

Software & Driver

 

LJM_AUTO_RECONNECT_STICKY_CONNECTION

Summary

LJM_AUTO_RECONNECT_STICKY_CONNECTION is a numerical readable-writable LJM library configuration that sets whether or not LJM attempts to reconnect disrupted / disconnected connections according to same connection type as the original handle. When LJM_AUTO_RECONNECT_STICKY_CONNECTION is disabled, the ConnectionType that was used during the initial LJM_Open or LJM_OpenS call will be used to reconnect.

The constant LJM_AUTO_RECONNECT_STICKY_CONNECTION can be used interchangeably with the string "LJM_AUTO_RECONNECT_STICKY_CONNECTION".

Details

0 - false/disabled  -  Reconnects according to the ConnectionType parameter that was passed to the Open call

1 - true/enabled (Default)  -  Reconnects via the actual connection type that was used to connect to the device

Relevant Functions

To read LJM_AUTO_RECONNECT_STICKY_CONNECTION, use LJM_ReadLibraryConfigS.

To write LJM_AUTO_RECONNECT_STICKY_CONNECTION, use LJM_WriteLibraryConfigS or LJM_LoadConfigurationFile.

See also: LJM_AUTO_RECONNECT_STICKY_SERIAL.

For more LJM configurations, see Library Configuration Functions.