User manual
2.3.32  AcqrsD1_closeAll (DEPRECATED) 
Purpose 
Closes all instruments in preparation for closing the application. See Acqrs_closeAll. 
Return Value 
Name Type  Description 
Status ViStatus Refer to Table 2-1 for error codes. 
Discussion 
This function should be the last call to the driver, before closing an application. Make sure to stop all 
instruments beforehand. 
If this function is not called, closing the application might crash the computer in some situations, 
particularly in multi-threaded applications. 
LabWindowsCVI/Visual C++ Representation 
ViStatus status = AcqrsD1_closeAll(void); 
LabVIEW Representation 
See 
Acqrs_closeAll. 
Visual Basic Representation 
CloseAll ( ) As Long 
Visual Basic .NET Representation 
AcqrsD1_closeAll ( ) As Int32 
MATLAB MEX Representation 
[status]= Aq_closeAll() 
Programmer’s Reference Manual    Page 58 of 210 










