<< mdaqLog Utility functions mdaqPing >>

MicroDAQ toolbox >> MicroDAQ toolbox > Utility functions > mdaqOpen


Creates connection with MicroDAQ

Calling Sequence

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.

Output arguments


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

See Also

Report an issue
<< mdaqLog Utility functions mdaqPing >>