Hi there,
I'm running the NI-DAQmx base on Mac os X with labview 7.1. I'm trying to use the dio C code examples that came with it, in particular writedigport.c (attached)
The thing is, when running the executable I get no signal, instead the program just get stuck. With some prodding I found that the it hangs at the call to DAQmxBaseCreateTask
The line is: DAQmxErrChk (DAQmxBaseCreateTask ("", &taskHandle));
I'm not sure what to do about this and would appreciate it if anyone could help me resolve this issue. All the example vi code runs fine in labview, so ii'm pretty sure the ports are set up right. Also, I'm pretty sure I'm calling the right port (Dev1/port0) so I don't think that's the problem.
Thanks,
Aatish