LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni-488.2 and quickBASIC

I have an old quickBASIC program that worked with an old GPIB. I have
now changed to the Ni-488.2 GPIB and am not sure how to change the
program so that it works with this new board. Do I just need to change
the include file and if so to what? The program is relatively simple
and is used just to communicate with a voltmeter and then analyse the
results.

Thanks
0 Kudos
Message 1 of 3
(2,806 Views)
This isn't even close to a LabVIEW question but I'll try to dust off the old cobwebs in memory. In the future, you should post to the GPIB forum.

First of all, you should read the NI-488.2 User Manual for DOS. A copy shouuld have come with the board but you can also download it here. There is an object file that needs to be linked to and you include a declaration file at the beginning of your app. NI-488 uses commands like ibwrt and ibrd to write and read from the GPIB. If your old program used similar commands then your changes are probably minimal. The manual includes examples and a complete description of all NI-488 commands. The insta
llation should also have included some examples in various languages. Good luck.
0 Kudos
Message 2 of 3
(2,806 Views)
Cheers, I think I should be able to get it finished now.
0 Kudos
Message 3 of 3
(2,806 Views)