The Museum of HP Calculators

HP Forum Archive 15

[ Return to Index | Top of Index ]

HP-Basic on HP-85
Message #1 Posted by Sydney on 27 Feb 2006, 8:05 a.m.

I'm working on an old fiber tester from the beginning of the 80's. This has HPIB interface, and I just bought a GPIB-USB interface. Having some problems translating the HP-Basic code to modern GPIB commands. Do someone know how to send equalent commands with the NI-488.2 software?

RESET 7 OUTPUT 708 USING "#,B"; 72,75 ENTER 708; X,Y,Z

      
Re: HP-Basic on HP-85
Message #2 Posted by Etienne Victoria on 27 Feb 2006, 12:35 p.m.,
in response to message #1 by Sydney

Did you run the NI-488 Troubleshooting wizard and did it successfully detect the instrument on HP-IB address 8?

Then you have the choice of:

- either use the Interactive Control Utility to send commands/receive data - or program directly your application.

Then, the correspondence between the NI-488 keywords & Hp-Basic should be:

RESET = ibclr

OUTPUT = ibwrt

ENTER = ibrd

Sorry but as I don't remember the precise syntax, please check the NI-488.2 guide

Or maybe somebody else will help you further.

Etienne

Edited: 27 Feb 2006, 12:59 p.m.

            
Re: HP-Basic on HP-85
Message #3 Posted by Sidney on 28 Feb 2006, 4:27 a.m.,
in response to message #2 by Etienne Victoria

Thanks! I'll try that.

                  
Re: HP-Basic on HP-85
Message #4 Posted by Etienne Victoria on 28 Feb 2006, 5:13 a.m.,
in response to message #3 by Sidney

By the way and if I remember well, there is no equivalent to the "USING" 85' Basic statement in NI 488.2 language.

Therefore, I think you have to make sure your data is correctly formatted before submitting the ibwrt statement.

Good luck.

Etienne


[ Return to Index | Top of Index ]

Go back to the main exhibit hall