background image

Installing Your GPIB Hardware and NI-488.2 for Solaris

12

ni.com

Troubleshooting Error Messages

If 

ibtsta

 fails, the program generates common error messages that appear 

on your screen. These error messages explain what went wrong when you 
ran

ibtsta

 and describe how you can correct the problem. For example, the 

following message might appear on your screen if you forgot to disconnect 
all your GPIB cables:

The fact that the ENOL error was not received when expected 

indicates the possible presence of other devices on the bus. 

Please disconnect ALL GPIB cables from the GPIB board, then 

run this test again.

If you are still unable to run 

ibtsta

 and/or 

ibtstb

 successfully after you follow 

the recommended actions from the error messages, contact National Instruments.

Using NI-488.2 with Solaris

This section helps you get started with NI-488.2 for Solaris.

Using ibic

The NI-488.2 software includes the Interface Bus Interactive Control utility, 

ibic

You can use 

ibic

 to enter NI-488 functions and IEEE 488.2-style functions (also 

known as NI-488.2 routines) interactively and display the results of the function 
calls automatically. Without writing an application, you can use 

ibic

 to do the 

following:

Verify GPIB communication with your device quickly and easily

Become familiar with the commands of your device

Receive data from your GPIB device

Содержание PCI-GPIB

Страница 1: ... Refer to the section that describes the installation for your particular board Other documentation including the software reference manual is available on your NI 488 2 software for Solaris CD in the documentation folder Before you install your GPIB controller consult the manual that came with your workstation for specific instructions and warnings You must have superuser privileges to install th...

Страница 2: ... typing the following commands at the command line prompt sync sync shutdown 3 Power off your computer after it has shut down Keep the computer plugged in so that it remains grounded while you install the GPIB board 4 Remove the top cover or other access panels to give yourself access to the computer expansion slots 5 Find an unused PCI or PCI Express slot in your computer 6 Remove the correspondi...

Страница 3: ...National Instruments Corporation 3 Installing Your GPIB Hardware and NI 488 2 for Solaris Figure 1 Installing the PCI GPIB and NI PCIe GPIB PCI GPIB Shown 1 PCI Board 2 PCI Slot 3 Personal Computer 3 1 2 ...

Страница 4: ...he following commands at the command line prompt sync sync shutdown 3 Power off your PXI or CompactPCI chassis after it has shut down Keep the chassis plugged in so that it remains grounded while you install the PXI GPIB 4 Choose an unused PXI or CompactPCI peripheral slot For maximum performance the PXI GPIB has an onboard DMA controller that can only be used if the board is installed in a slot t...

Страница 5: ...city that might be on your clothes or body 7 Insert the PXI GPIB into the selected slot Use the injector ejector handle to fully inject the device into place Figure 2 shows how to install the PXI GPIB into a PXI or CompactPCI chassis 8 Screw the front panel of the PXI GPIB to the front panel mounting rail of the PXI or CompactPCI chassis 9 Power on your PXI or CompactPCI chassis The PXI GPIB inter...

Страница 6: ... GPIB Hardware and NI 488 2 for Solaris 6 ni com Figure 2 Installing the PXI GPIB 1 Injector Ejector Handle in Down Position 2 PXI GPIB Board 3 PXI Chassis 4 Injector Ejector Rail 8 7 6 5 4 3 2 1 ON ST AN DBY 3 2 3 4 ...

Страница 7: ... down your system by typing the following commands at the command line prompt sync sync shutdown 3 Power off your system 4 Find an unused PMC slot in your system You may need to remove the host from the system to access the slot 5 Remove the corresponding slot filler panel from the host 6 Touch a metal part on your chassis to discharge any static electricity that might be on your clothes or body 7...

Страница 8: ...Installing Your GPIB Hardware and NI 488 2 for Solaris 8 ni com Figure 3 Installing the PMC GPIB 1 Host Face Plate 2 PMC GPIB Board 3 Mounting Screws 1 2 3 ...

Страница 9: ...s feature is disabled on your workstation you must manually mount your CD ROM device b Enter the following command to add NI 488 2 to your system usr sbin pkgadd d cdrom cdrom0 NIpcigpib 4 Follow the instructions on your screen to complete the installation Configuring the Software with ibconf Optional ibconf is an interactive utility you can use to examine or modify the configuration of the driver...

Страница 10: ...Optional If you ever decide to stop using your PCI GPIB PXI GPIB or PMC GPIB you can remove the board and the NI 488 2 software To remove NI 488 2 from the kernel configuration you must have superuser privilege and the driver must not be in use Enter the following command to unload the software pkgrm NIpcigpib Verify the Installation This section describes how to verify the software installation V...

Страница 11: ...tstb ibtsta checks for correct nodes dev gpib and dev gpib0 and correct access to the device driver ibtstb checks for correct DMA and interrupt operation ibtstb requires a GPIB analyzer such as the National Instruments GPIB analyzer You can omit this test if an analyzer is not available Complete the following steps to run the software verification test 1 Type the following command to verify the so...

Страница 12: ...PIB board then run this test again If you are still unable to run ibtsta and or ibtstb successfully after you follow the recommended actions from the error messages contact National Instruments Using NI 488 2 with Solaris This section helps you get started with NI 488 2 for Solaris Using ibic The NI 488 2 software includes the Interface Bus Interactive Control utility ibic You can use ibic to ente...

Страница 13: ...o develop your application you must include certain files statements or global variables at the beginning of your application For example you must include the header file sys ugpib h in your source code if you are using C C You must link the language interface library with your compiled source code Link the GPIB C language interface library using one of the following commands where example c is yo...

Страница 14: ...installing NI 488 2 from the CD ROM Also the file may require read write privileges you do not have or you may have renamed a device Make sure that the device names in your application program match the device names in ibconf What information should I have before I call National Instruments Have the results of the diagnostic test ibtsta You also should have run ibic to try to find the source of yo...

Страница 15: ...and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Free Technical Support All registered users receive free Basic Service which includes access to hundreds of Application Engineers worldwide in the NI Discussion Forums at ni com forums National Instruments Application Eng...

Страница 16: ... call your local NI office or visit ni com alliance Declaration of Conformity DoC A DoC is our claim of compliance with the Council of the European Communities using the manufacturer s declaration of conformity This system affords the user protection for electronic compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com certification Calibration Certificate ...

Отзывы: