09-12-2006 03:48 PM
09-12-2006 04:15 PM
09-12-2006 04:19 PM
09-12-2006 04:41 PM
09-13-2006 06:34 PM
09-14-2006 03:03 AM
09-14-2006 08:38 AM
09-14-2006 10:50 AM
Hello,
The SRQ line from the device is used to get the attention of the controller (The PCI-GPIB Card) to let the controller know that it is ready to communicate. More information on how the SRQ line works and how the controller finds the devices which have asserted the SRQ line can be found at the following link Serial Polling and SRQ Servicing.
As for changing the wait time of the "PMC200 Realtime Pos read.vi" sub-VI and seeing no change and also the while loop getting stuck in that sub-VI with highlight execution, the best way to see what is happening on the GPIB line is to use NI-SPY. NI-SPY captures the communication between a device and the controller as you run your VI. This way you will see any errors that are occuring. For steps on using NI-SPY follow this link NI-SPY Capturing for Troubleshooting
Daryl E
National Instruments
Applications Engineer
09-21-2006 03:22 PM
Capture1.spy – queried “*IDN?” using MAX
Capture2.spy – ran “Example Program readloop.vi” from Pcm200.llb driver library with excecution highlighting turned on for both “Example Program readloop.vi” and its sub-VI “PMC Realtime Pos read.vi”. Capture3.spy – ran “Example Program readloop.vi” from Pcm200.llb for less than 1 second then stopped it to prevent the capture file from reaching 1000 lines. It seemed to get stuck while waiting for an SRQ from the controller - any suggestions?09-22-2006 02:52 PM
Hello,
Based off of your first capture, it appears that you are getting an EABO error, I/O operation aborted, in MAX which would lead to the reason why running the VI's would not produce the correct results. The first step is to troubleshoot the capture taken in MAX. There could be several reasons why there is a timeout on ibrd (read function of the controller from the device). One reason could be if your device does not send an EOI (End or Identify) character to the GPIB card after the card reads a message from the device. This would result in a timeout from the GPIB read. The following link discusses what else can be done to solve this error GPIB Error Codes and Common Solutions. Also it would be good to use the interactive control (In MAX go to tools>>NI-488.2>>Interactive Control) and run the example found on the following link GPIB Installation/Configuration Troubleshooter
Daryl E
National Instruments
Applications Engineer