knicewar
2008-08-06 16:10:14 UTC
I have a DLL that I wrote which uses NIDAQmx calls. I've used NIDAQmxbase on Linux before, so I'm fairly comfortable with using the API. What's new here is that I'm on Windows using MinGW (I'm using the CVI-created NIDAQmx.c method for resolving symbols). When I try to create a task with "6224DIO/port0/line0" as the name, I get an error saying invalid character at position 7. I've tried giving a different name like "mytask" but then that gives me an error saying the name is already in use -- no matter what I pick! But that may be an unrelated problem. With the original string that I want to use, it's as if it doesn't understand the '/'. What am I doing wrong? In the off chance it's a MinGW problem, I'm installing MS Visual C++ 2008 Express to see if building my DLL with MSVC makes any difference (which I doubt).Thanks,Keith.