Close connection with MicroDAQ
mdaqClose(); mdaqClose(link_id);
This function closes connection with MicroDAQ. When called without argument it closes last connection. It should be used in case of "Already connected" error.
linkID: Valid connection link ID
// mdaqClose usage example link_id = mdaqOpen(); mdaqLEDWrite(link_id, 1, 1); sleep (1000); mdaqLEDWrite(link_id, 1, 0); mdaqClose(link_id); |