I have recently been resuming work on a setup after the pandemic, but have had some issues using matlab to communicate with the devices for code that was working before. I am loading the NI control functions through the dll nicaiu.dll as a library function, and I am able to call the library function "DAQmxCreateTask" to create a task; however, when I try to do any further action with this task, for example "DAQmxCreateCICountEdgesChan", an error -200088 (task specified is invalid or does not exist) occurs. Does anyone have ideas about what the issue might be? Thanks a lot!
↧