2.1.4 - CloseAll | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Tuesday, March 31st, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

2.1.4 - CloseAll

Closing all devices will remove all device handles from the LJM library, free all previously open devices to be opened again, and free allocated system resources.

Syntax

LJM_ERROR_RETURN LJM_CloseAll()

Parameters

None

Returns

LJM errorcode or 0 for no error.

Remarks

LJM_CloseAll is useful on program exit. Use LJM_Close to close an individual device handle. 

Examples

[C/C++] Closing all open devices

int LJMError;
LJMError = LJM_CloseAll();