<< Utility functions Utility functions mdaqFileData >>

MicroDAQ toolbox >> MicroDAQ toolbox > Utility functions > mdaqClose

mdaqClose

Close connection with MicroDAQ

Calling Sequence

mdaqClose();
mdaqClose(link_id);

Description

This function closes connection with MicroDAQ. When called without argument it closes last connection. It should be used in case of "Already connected" error.

Input arguments

Examples

// mdaqClose usage example
link_id = mdaqOpen(); 
mdaqLEDWrite(link_id, 1, 1);
sleep (1000); 
mdaqLEDWrite(link_id, 1, 0);
mdaqClose(link_id);

See Also


Report an issue
<< Utility functions Utility functions mdaqFileData >>