Hello,
We do not have a HP 8510C instrument at our offices so it is very difficult to help you concerning a specific instrument driver programming question. It seems that you are using the instrument driver available at the following link:
* HP8510C Plug and Play Instrument Driver
http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E914C659CE034080020E74861This driver has been developed and is supported by Agilent/HP. You should ask them if there is already a function in their driver that request the instrument status during the loading process. At the end of the loading process, your instrument should asynchronously request service from the Controller by asserting the bus management line SRQ. On the GPIB, there is a line separate from the data lines called SRQ line. Any device on the GPIB bus can assert this line which informs the Controller that a device needs attention. If you request data from your instrument that takes a long time to process, you will get an error because the Receive function could not read any data. When SRQ is asserted, it is the Controller responsability to determine who requested service by checking all devices individually. This event is known as polling the devices (serial polling). When you Serial Poll, the Controller send a special command message to the device, directing it to return its serial poll status byte. The content of the status byte is different for each instrument. You must refer to the instrument user manual for information on the serial poll status byte. After the Controller reads the status byte, it sends another command message to disable Serial Poll to the device. Then the device unasserts the SRQ line. You will find more details and examples on the tutorial below:
* Using Instrument Status Registers and Service Requests in LabVIEW
http://zone.ni.com/devzone/conceptd.nsf/webmain/1a760883eef23d7e86256dba006c9c00Greetings from Paris.
Matthieu G.
National Instruments France
Message Edité par Kerouac le 06-22-2005 11:05 AM