The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

HPIL-RS232 interface
Message #1 Posted by Jon on 12 Jan 2005, 4:08 p.m.

Hi everybody:

I have finally received my HPIL-RS232 interface. Following Emmanuel´s instructions I have connected it to the PC and I have tried HPILCOM. But I have some questions

1) I have been able to send a program to the PC using OUTP. However I see that I send all the programs that I have in the memory, not just the program which label I have in the ALPHA register

2)To get a program from the PC I have to press transmit in HPILCOM and then INP in the calculator(otherwise it doesn´t work and produces a "READ ERR"). Doing this I get the comunication, but all the programs in the calculator are replaced with the transmited information.

Any sugestion?

Thanks in advance

Jon

      
Re: HPIL-RS232 interface
Message #2 Posted by Hans Brueggemann [GER] on 13 Jan 2005, 1:38 p.m.,
in response to message #1 by Jon

hi jon, maybe it's not too difficult to fix. 1) OUTP only sends out the program which is specified in the alpha register. OUTP will then send all code from the specified global alpha label to the following END instruction. you should check whether you did a GTO.. after each program you keyed into the calc. if you did not, (i.e., you used STOP at the end of the program), then all programs are "chained" together and cannot be separated by OUTP. if you do a CAT1, you should always see an END between adjacent programs.

2) above said should also fix the second issue. please check the manual for the "GETP" routine, which automates the process of "INP"ing a program. by using "GETP", it is not necessary to do a "TRANSMIT" on HPILCOM. make sure that HPILCOM is not in "DUMB" mode.

plz do also check the documentation of the program for my e-mail address and drop me a line, if you have further questions.

hope, that helps! cheers, hans 1234

Edited: 13 Jan 2005, 1:39 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall