Download NI-488.2 Function Reference Manual for Windows
Transcript
Appendix C Error Codes and Solutions EDVR (0) EDVR is returned when the interface or device name passed to ibfind, or the interface index passed to ibdev, cannot be accessed. The global variable ibcntl contains an error code. This error occurs when you try to access an interface or device that is not installed or configured properly. EDVR is also returned if an invalid unit descriptor is passed to any traditional NI-488.2 call. Solutions Possible solutions for this error are as follows: • Use ibdev to open a device without specifying its symbolic name. • Use only device or interface names that are configured in the NI-488.2 Configuration utility as parameters to the ibfind function. • Use the NI-488.2 Troubleshooting Wizard to ensure that each interface you want to access is working properly. To start the NI-488.2 Troubleshooting Wizard, select Start»Programs»National Instruments NI-488.2»Explore GPIB, select Measurement & Automation in the left window frame, then choose Help» Troubleshooting»NI-488.2 Troubleshooting Wizard. • Use the unit descriptor returned from ibdev or ibfind as the first parameter in subsequent traditional NI-488.2 calls. Examine the variable before the failing function to make sure its value has not been corrupted. • Refer to the NI-488.2 for Windows Online Help. For instructions on accessing the online help, refer to the Using the NI-488.2 Documentation section in About This Manual. ECIC (1) ECIC is returned when one of the following interface functions is called while the interface is not CIC: • Any device-level traditional NI-488.2 calls that affect the GPIB. • Any board-level traditional NI-488.2 calls that issue GPIB command bytes: ibcmd, ibcmda, ibln, and ibrpp. • ibcac and ibgts. • Any NI-488.2 multi-device calls that issue GPIB command bytes: SendCmds, PPoll, Send, and Receive. NI-488.2 Function Reference Manual for Windows C-2 www.natinst.com