prog.book : chapter1.fm 74 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Status Reporting
1-74 HP E4418B/E4419B Programming Guide
How to Use Registers
There are two methods you can use to access the information in status
groups:
• the polling method, or
• the service request (SRQ) method.
Use the polling method when:
• your language/development environment does not support SRQ
interrupts.
• you want to write a simple, single purpose program and do not
want to add the complexity of setting an SRQ handler.
Use the SRQ method when you:
• need time critical notification of changes.
• are monitoring more than one device which supports SRQ
interrupts.
• need to have the controller do something else while it’s waiting.
• cannot afford the performance penalty inherent to polling.