About Don Schullian Expertise I`ve worked in BASIC since the Commodore days and maintain a web site part of which is devoted to helping others with thier problems. I`m proficient in all versions of PowerBASIC but cross over to QuickBASIC and Qbasic frequently.
Question I'm trying to get qb45 to talk/listen to test equipment
over the gpib. The system is Windows XP and the GPIB
interface is National Instruments.
I have unremarked "device=<path>\doswin16\gpib-nt.com
in "c:\windows\system32\config.nt".
I have also run "c:\program files\national intsruments\
ni-488.2\doswin16\updatdos.exe".
When I open qb45, WindowsXP gives me an error saying
"Trying to open a 16bit device driver that is not supported". I click on 'IGNORE'.
The following TEST program runs, but nothing happens,
the unit does not go into remote.
REM THIS PROGRAM PUTS THE UUT IN REMOTE
REM $INCLUDE: 'QBDECL.BAS'
UUT = 8
OPEN "GPIB-NT.COM" FOR OUTPUT AS #1
PRINT #1, USING "OUTPUT ##,PR";UUT
END
Answer Sorry, I'm not going to be much help. I never messed that much with serial devices under DOS and have heard that Windoze REALLY doesn't like sharing info with the DOS window. You're best bet, if you've not tried it yet, is going to be to get in touch with the hardware people.