National Instruments NI PCI-GPIB Скачать руководство пользователя страница 14

© 

National Instruments Corporation

13

Installing Your GPIB Hardware and NI-488.2 for Solaris

Learn new NI-488.2 functions and routines before integrating them into your 
application

Troubleshoot problems with your application

Enter the following command to run 

ibic

:

ibic

For more information about 

ibic

, refer to Chapter 6, 

ibic

, of the 

NI-488.2M 

Software Reference Manual

.

Programming Considerations

Depending on the programming language you use to 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 your application name:

cc example.c -lgpib

or

cc example.c -dy -lgpib

or

cc example.c -dn -lgpib

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

Страница 1: ...PCIe GPIB...

Страница 2: ...re 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 t...

Страница 3: ...by 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 insta...

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

Страница 5: ...ollowing 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 inst...

Страница 6: ...at might be on your clothes or body 7 Insert the NI 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 NI PXI GPIB...

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

Страница 8: ...n 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 s...

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

Страница 10: ...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 i...

Страница 11: ...ing your NI PCI GPIB NI PCIe GPIB NI PXI GPIB or NI 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 t...

Страница 12: ...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 so...

Страница 13: ...IB board then run this test again If you still are unable to run ibtsta and or ibtstb successfully after you follow the recommended actions from the error messages contact National Instruments Using N...

Страница 14: ...al Programming Considerations Depending on the programming language you use to develop your application you must include certain files statements or global variables at the beginning of your applicati...

Страница 15: ...odes may not have been created when the driver was loaded Try removing and reinstalling NI 488 2 from the CD ROM Also the file may require read write privileges you do not have or you may have renamed...

Страница 16: ...chable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Registered users also receive access to...

Страница 17: ...constraints limited in house technical resources or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance De...

Отзывы: