Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Random "Error 28" when waiting for SRQ

I have written a VI Server to communicate with a device. It runs for some random amount of time when it gets Error 28 while waiting for an SRQ. There are three ways to check for an SRQ from the device, they all return error 28. I cannot find Error 28 documented. Any ideas?
0 Kudos
Message 1 of 3
(3,123 Views)
Hello,
 
Are you using a GPIB ENET by chance?  I suspect you are, and are seeing an error described in the following NI web document:
 
Title: GPIB-ENET and Error 28
 
If you are using another product, or are having other troubles, definitely repost!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 3
(3,114 Views)
You may be using a GPIB-ENET as JLS suggests, but error 28 in software (LabVIEW) is an EPWR error according to NI-488.2 help under the topic "iberr error codes and solutions".  The EPWR error happens when a system goes into standby mode with GPIB handles open, and then you try to use those handles after a resume.  So, if you could prevent that from happening I bet you'll resolve your error 28.
 
Scott B.
GPIB Software
National Instruments
0 Kudos
Message 3 of 3
(3,108 Views)