Search found 1 match

by mechatronic
Tue Mar 27, 2012 7:29 pm
Forum: C and C++
Topic: dr daq polling digital inputs in c
Replies: 1
Views: 2147

dr daq polling digital inputs in c

Hello i have written a program in c which polls the digital inputs every 20ms ... UsbDrDaqGetInput(g_handle, 1, 0, &value1); UsbDrDaqGetInput(g_handle, 2, 0, &value2); UsbDrDaqGetInput(g_handle, 3, 0, &value3); do some checks Sleep(20); ... this works fine but after a time, sometimes 1min sometimes ...