Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Polling without checking with RQS bit in the SRQ byte

$
0
0

Hello

 

Our machine consists of many seperate hardware parts. One of them is what we call the 'handler'. The handler is connected to an outside hardware that helps in our production.

This connection can be achieved with several connections, one of which is GPIB.

 

In GPIB the connection is a Master-Slave type, with the outside hardware been the Master and the handler been the slave.

Only one handler can be connected to this outside hardware.

The procedure we follow is the following:

-Outside hardware is polling for the RQS bit.

-When handler is ready for production it raises the RQS bit.

-Once RQS bit is read it resets back to 0.

-A special query command (implemented by us) is send from the outside hardware to handler. The handler gives a meaningfull response to that command only when the RQS bit was/is up.

-The procedure follows to the production.

 

I made a simulator of that hardware. This simulator functions by following that procedure with no problems.

One of our customers does not want to follow this procedure and the way he polls the handler is by asking only for that special command. This command will give meaningfull information when the RQS bit is up so technically it works like that as well. He faced some critical erros because of some safety nets we had in our software program from that machine. We altered these safety nets and when we put it to test to see if our changes work we faced with the following problem.

After about  5 minutes of polling with that special command the habdler GPIB communication is stuck with the last command send is that the RQS bit is up.

My question is, will there be a HW problem from the GPIB if the RQS bit is up from the Slave and the Master doesnt read it, while sending and receing data from the Slave ?

 

Thank you in advance.

Kind Regards

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles