Creates connection with MicroDAQ
linkID = mdaqOpen();
This function creates connection with MicroDAQ device. Function uses IP address which was set during MicroDAQ toolbox setup (see microdaq_setup()) or with mdaqSetIP() call. On error function will return negative value. To close connection mdaqClose() function should be used.
linkID: Connection link ID (negative if unable to connect)
// mdaqOpen usage example link_id = mdaqOpen(); mdaqLEDWrite(link_id, 1, 1); sleep (1000); mdaqLEDWrite(link_id, 1, 0); mdaqClose(link_id);