06-20-2006 06:19 PM
06-21-2006 05:44 PM
09-12-2006 04:10 PM
09-12-2006 05:06 PM
Hi cpoole-
If you are using the device through NI-DAQmx via MAX then you need to make the firmware change described here to gain access in NI-DAQmx Base. Is there a reason why you want to use cygwin with NI-DAQmx Base? Why not just use NI-DAQmx for Windows? We have not tested the cygwin emulator, and I am somewhat skeptical that it will work correctly. Are you planning to attempt to use NI-DAQmx Base for Linux under cygwin, or are you planning to use NI-DAQmx Base for Windows and just access the incoming data in some way through cygwin?
Regardless, you will need to have NI-DAQmx and NI-DAQmx Base for Windows installed to make the firmware change described in that KB. I would be interested to hear more about your application and software setup.
Thanks-
09-12-2006 05:57 PM
Tom W,
I was able to switch the firmware and got the examples working using the cygwin gcc compiler.
My application is a very simple sensor demo (differential voltage measurments) that may need to run on Linux at some point. I'm constrained in that I don't have access to Visual Studio compilers (other than C#). I'm also using Java as my base language and its easier to do a JNI interface using C than with C# (fewer wrapper layers). I just started looking at this today so you'll have to pardon my limited knowledge at this point concerning all of the various options. I did try the DAQmx API but ran into some compile issues with int64 and uint64 typedefs in the header file - something I can fix but didn't have a lot of time to mess with.
If you have any suggestions please let me know.
Thanks for your help
01-05-2009 06:15 PM
Cpoole,
I found your post am an interested how you were able to acheive the GCC compilation of the NI Base example with CYGWIN on windows. I realize that this posting is 2.5 years old, but if you are still out there I could use a pointer.
Thanks.
01-10-2009 06:01 PM
http://forums.ni.com/ni/board/message?board.id=250&thread.id=10936&view=by_date_ascending&page=1
The above link shows step by step instructions on how to do this. Note, on vista, UAC must be off to avoid Labview errors.