06-12-2009 12:04 PM
Alain S wrote:I think there's an even better way than the "delay" method of Ray.R 🙂
I would check the status of the equipment.
I'm sure there's a status bit somewhere that tells you that your equipment is busy.
So make a loop that check the status bit every let say 0.1sec.
Once the status bit said that the measurement is ready ask for the data.
Excellent suggestion Alain.
That is the preferred method. (--- what was I thinking? ---)
I was thinking of the last instrument I wrote automation which was a Spectrum Analyzer, where based on the sweep time I calculated how long to wait before requesting data. That one didn't have a status bit (older HP).
🙂
06-15-2009 01:15 AM
Gregory 45,
Les fonctions hardcopy et a=mpower sont des fonctions de retour. Si je l'ai met pas l'appareil ne repond pas. Pour etre plus precise, Hardcopy est sortie du contenu instantanée de l'écran et a=mpower une affectation.
j'ai mis un tempo entre mes 2 visa.
06-15-2009 07:50 AM
Stagiaire,
Est-ce que cela a solutionner le probleme?
06-15-2009 08:53 AM
Ray.R,
Je tiens a vous remercié vous et les autres d'avoir essayer de m'aider. J'ai réussi à faire répondre mon appareil mais j'ai toujours ces histoires d'erreur. Je fais avec merci
06-15-2009 01:48 PM
Quel genre d'erreur? Est-ce que tu peux expliquer?
Est-ce le meme probleme de celui qu'on discute depuis le debut?
R
06-16-2009 01:13 AM
06-16-2009 01:42 AM
06-16-2009 02:02 AM
Alain,
be careful of the RQS. in the EARLY 1960's this handshaking line meant that NO LOWER addressed LISTENERS were requesting service! Today the HBIP has gone through many revisions. Not the least of which is the changing of (HP"Hewlit-Packard" to GB= General- Purpose) [OMG HP hated THAT!, but when you jump that far ahead<GPIB is still the fastest common instrument bus> IEEE might ask you to share]
OK, RQS, watch the SRQ's from the lower addressed units
the bus was designed to mask RQS's from the higher addressesed listeners and if you don't respect that LAW, you will get burned by a masked SRQ.
06-16-2009 08:00 AM
Alain,
Quel est l'age de l'appareil? Est-c e un vieil instrument? Si oui, il faudra suivre le conseil de Jeff. Et la solution sera ce que j'ai proposer ici.
Il y a-t'il une facon de determiner combien de temps l'instrument a beson afin d'effectuer ses mesures?
06-16-2009 08:09 AM
Bon je vous laisse avec Alain