I just installed NI-DAQ 5.0.5 on a 386 running Windows 3.1. I'm hoping to get a bit more speed out of a 5+ year old application as well as take advantage of any bug fixes. Previously I had 4.6.1 installed. I'm using Borland C++ V4.52.
I've had nothing but problems:
1. NI-PNP produces a list of three items even though I have only two boards, an MIO-16E and a PC-TIO-10. The MIO-16E is listed twice, once as a board and once as "Logical Device #1".
2. My application, which I've done with EasyWin, crashes Windows hard when recompiled and relinked against the new version. In fact, it crashes before it even runs; I have a breakpoint set at the first executable line of main(), and it never gets th
ere. All I changed was the #include of "wdaq-bc.h" to "nidaq.h", and the link library from "\nidaqwin\lib\nidaq.lib" to "\nidaqwin\lib\nidaqbc.lib". I also had to change some casts; for example, under 4.6.1 I had to cast a "short *" buffer to "int far *" in DAQ_Start(). This cast was eliminated.
3. I can't get the Borland examples to compile at all. The main problem is that the link line in the batch file exceeds 128 characters and so gets truncated by COMMAND.COM. How did anyone at NI ever get this to work?
Thanks for listening. And thanks to the MKS Toolkit, which allowed me to make a complete cpio backup of my system on an Exabyte tape from which I restored when the new setup didn't work!