AllExperts > Qbasic, Quickbasic 
Search      
Qbasic, Quickbasic
Volunteer
Answers to thousands of questions
 Home · More Qbasic, Quickbasic Questions · Answer Library  · Encyclopedia ·
More Qbasic, Quickbasic Answers
Question Library

Ask a question about Qbasic, Quickbasic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
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.

 
   

You are here:  Experts > Computing/Technology > Basic > Qbasic, Quickbasic > qb45/NI-488.2/WindowsXP

Qbasic, Quickbasic - qb45/NI-488.2/WindowsXP


Expert: Don Schullian - 3/23/2009

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.

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.