My main test bench computer runs Windows 98SE and DOS (it’s necessary, not worth explaining). One of the GPIB cards has to be an AT/GPIB TNT (required by a particular analyzer, which interfaces with it directly). For other instruments I use a GPIB-PCII/IIA card which uses the same NI driver as the TNT in Windows (ver 1.70) and DOS.
In DOS, HTBasic has its own drivers for these cards, and they work flawlessly. And so I write most of my software so that it will run in DOS HTBasic (yeah, I know, but hey, whatever works).
In Win98SE (and XP), HTbasic interfaces with these cards through NI’s drivers. Over the years I have never been able to get reliable GPIB communications with NI’s drivers in 98SE using the HTB GPIBNI driver. Other apps which talk directly to the NI drivers work fine, but not HTB. I think I’ve tried every combination of interrupt, DMA, programmed I/O, changing slots in the computer, etc etc. But maybe I’ve missed something.
If you have an NI card working reliably with HTB in Windows 98SE (or XP) using the GPIBNI driver, please share the setup and configuration you’re using.