02-13-2023 06:57 AM
a) what functions in NIDaqMx do i have to call to set/read a specific line (0..7)?
DAQmxCreateDOChan(g_TaskHandle, Lines, NameToAssignToLines, LineGrouping)
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?
Solved! Go to Solution.
03-17-2023 09:52 AM
I don't understand what you mean by saying 'line'. Did you mean string data type or something different?
In any case the answer for the first question will be this,
a) You should use DAQmxReadTask VI to read data from specified physical channel.
03-17-2023 09:55 AM
"line" means one bit. A typical port has 8 lines.
Meanwhile i solved it by myself.