I am attempting to resurrect several instrument control programs I have used successfully in the past.
They are written in GWBASIC (because that is what I have and what I know how to use) and I am running them on an old Win98 machine (because it has worked in the past).
The GWBASIC programs include the required statements from: "DECL.BAS" and "bib.m" is present in the directory where I am running the programs.
I believe my problem lies in the configuration file created by ibconf.exe
When I exit ibconf.exe I get the following warning:
CAUTION: Board GPIB0 is not present in this machine at address 02B8H. Do you still wish to exit ibconf? (y/n). When I say "y" I get: "Handler file unchanged".
I can't find a base I/O address for the GPIO0 that ibconf likes.
Device Manager says the board is installed and working properly with no conflicts. Under Resources it says:
Memory Range: DFFDF800 - DFFDFFFF
Memory Range: DFFD8000 - DFFDBFFF
These addresses will not fit in the ibconf field for base I/O address.
As a result, my application program can not talk to my device (HP59313A A/D Converter) and I cannot access the device using ibic. I see no bus activity on NI Spy when I try to access the device using either of these methods. When I do an ibfind I get error: EDVR(2).
However, when I run the "Getting Started Wizard" to verify the hardware and software installation it says: Software Presence Verified, Hardware Presence Verified, GPIB Interface Sequentially Verified. GPIB Name: GPIO0, Interface Type: PCI-GPIB, Status: Passed.
When I use "Measurement & Automation Explorer" and scan for instruments it finds my device and says it is at primary address 16 (which is where I have it set up in ibconf). I can communicate with the device using "NI-488.2 Communicator" and when I do, the bus activity is seen on NI Spy.
It seems that neither my application program nor IBIC can communicate with my device while "Measurement and Automation Explorer" can. I suspect the difference is that "Measurement and Automation Explorer" does not rely on the configuration created by ibconf.exe while the other two methods do.
Any help would be appreciated.