Hello,
a) what functions in NIDaqMx do i have to call to set/read a specific line (0..7)?
DAQmxClearTask(TaskHandle)
DAQmxCreateTask(TaskName, TaskHandle)
DAQmxResetDevice(DeviceName)
DAQmxCreateDOChan(g_TaskHandle, Lines, NameToAssignToLines, LineGrouping)
DAQmxStartTask(g_TaskHandle)
...
DAQmxStopTask(g_dwTaskHandle)
b) What happens to the line state if a line was set to true and then the Task is stopped. Does this also set the bit back to default state?
Thanks
BR