I am in the process of converting an old DOS data acquisition program into Windows 2000/XP for ComputerBoards, Inc. data acquisition boards. I have written a VxD device driver so that the board will work in Win95/98. I have also written a Visual C++ interface that talks to the VxD. To get it to work with Win2000/XP, I know that I need to port the VxD to WDM (not too fun!).
Recently, my boss visited a lab which uses the NI-660x board. He wants me to try to use this board in my application instead of the Compuboard.
So, my question is this....what is the best/easiest solution? I want to reuse as much code as possible, so I don't want to trash my VC++ interface code. Also, I don't want to write a device dri
ver for the NI board. I looked on the NI web site, and it appears that there is a NI-DAQ software library that would allow me to control the NI board. I also saw on the web site that there is LabView, LabWindows, Measurement Studio, etc, etc. But, these seem to yield the most benefit when you are designing an interface. Another disadvantage is that they cost a lot of money, whereas it looks like NI-DAQ ships with the board. Therefore, it looks like NI-DAQ is the way to go???
Any suggestions (or horror stories about programming with the NI-DAQ library) would be welcomed.
Thanks,
Trina