ACI_SetConnection

Top  Previous  Next

ACI_FUNC ACI_SetConnection(ACI_Connection_Params * params);

 

Description

 

This function identifies a current device programmer connection. Use this function when you control a number of device programmers by means of multiple calls of the ACI_Launch function. Each connection gets its own unique identifier. Executing of the ACI_Launch function returns the ConnectionId as part of the ACI_Launch_Params structure.

 

After establishing the connection, all the ACI functions following the ACI_SetConnection function will work exclusively with the established connection.

 

When ACI controls only one ChipProg programmer it is not necessary to execute the ACI_SetConnection function; the  ACI_Launch function automatically assigns a ConnectionId that is the next one in order.

 

The ConnectionId can be always checked by executing the function ACI_GetConnection.