National InstrumentsメーカーVXI-1394の使用説明書/サービス説明書
ページ先へ移動 of 74
VXI VXI-1394 Use r Manual for Windows VXI-139 4 User Manual for Win dows March 2005 370533B-01.
Supp ort Worl dwide Tec hnical Su pport and Pr oduct Informatio n ni.com Nati onal In strum ents C orpor ate Headqu art ers 11500 Nor th Mop ac Expressway Austin, T exas 787 59-35 04 USA Te l: 512 683.
Important Information Warrant y The VXI -1394 is warr anted a gainst de fects in ma terials a nd workma nship for a period of one year fr om the date of shipment, as e videnc ed by receipts o r other documenta tion. Nation al Instrume nts will, at it s option, repair or re place equip ment that prov es to be defect ive du ring the warra nty period.
Compliance Compliance with FCC/Can ada Radio Fr equency Interfer ence Regulations Determining FCC Class The Fed eral Co mmunica tions Co mmission (FCC) has rule s to pro tect wir eles s communic ations from in terfer ence. Th e FCC places digi tal electron ics into two classes.
© Nationa l Instrume nts Cor poration v VXI-1394 U ser Man ual for Wind ows Contents About This M anual How to Use the Manual Set ................. ........... ........... ................. ............ ................. ...... vii Convention s .....
Contents VXI-1394 U ser M anual f or W indows vi ni.com NI-VXI API Notes .............. ........... ............ ................. ........... ........... .............. 3-8 Compiler Symbo ls ........... ............ ................. ........... ....
© Nationa l Instrume nts Cor poration vii VXI-1394 User M anual for Wi ndows About This Manual This manual co ntains i nstructions for in stalling an d conf iguring the National Instrumen ts VXI-1394.
About This Ma nual VXI-1394 U ser M anual f or W indows viii ni.com When you h av e successf ully set up y our system, y ou can be gin to de ve lop applications in NI-VISA or NI-VXI. NI-VISA online manuals are includ ed in your kit in the form of Adobe Acrobat por table docu ment format (PDF) files.
About This Ma nual © Nationa l Instrume nts Cor poration ix VXI-1 394 User Man ual for Wi ndows monospace T ext in this font denotes text or characters that you should enter from the ke yboard, sections of code, pro gramming e xamples , and syntax e xampl es.
© Nationa l Instrume nts Cor poration 1-1 VXI-1394 User M anual fo r Windows 1 Introduction This chapter descr ibes your VXI-1 394 interf ace kit, lists what you need to get started, an d includes a brief desc ription of the hardwa re and so ftware.
Chapter 1 Introduction VXI-1394 U ser M anual f or W indows 1-2 ni.com ❑ National Ins truments sof tware CD ❑ This manual VXI-1394 Interface Kit Overview The interface k it described in this manual links a 1394-equ ipped computer directly t o the VXIbus using t he IEEE 1394 bus.
Chap ter 1 Int rodu ct ion © Nationa l Instrume nts Cor poration 1-3 VXI-1394 User M anual fo r Windows Caution An improper S lot 0 s etting may damag e the VXI-1 394 module an d/or t he VXI chassis. The VX I-1 394 li nk s the c omp ute r to th e VXIb us and con verts 1394 data transfers into VXIbu s data transfers and vice v ersa.
Chapter 1 Introduction VXI-1394 U ser M anual f or W indows 1-4 ni.com Software Description The NI-VISA/NI-VXI bus interface software includes a Resource Manager, an i nteractive configur ation and t .
Chap ter 1 Int rodu ct ion © Nationa l Instrume nts Cor poration 1-5 VXI-1394 User M anual fo r Windows LabVIEW is an easy-to-use, graphical programmin g en vironment yo u can use to acquire data from thousands of different instruments, including IEEE 488.
© Nationa l Instrume nts Cor poration 2-1 VXI-1394 User M anual fo r Windows 2 Installation and Configuration This chapt er explai ns how to s et up you r test system.
Chapter 2 Installat ion and Conf igurat ion VXI-1394 U ser M anual f or W indows 2-2 ni.com Setup is an interacti ve, self-gu i ding program that installs the NI-VXI and NI-VISA softwar e and conf igures your syst em to use the so ftware with the VXI-1394.
Chapter 2 Installat ion and Confi guration © Nationa l Instrume nts Cor poration 2-3 VXI-1394 User M anual fo r Windows Completin g the So ftware Inst allation 1. Please rev ie w the information in any README f i les that Setu p prompts you to read. 2.
Chapter 2 Installat ion and Conf igurat ion VXI-1394 U ser M anual f or W indows 2-4 ni.com Figu re 2- 1. T ypical VX I-13 94 Sys tem Installing Y our PCI-1394 I nterface Board To install the PCI-1 394 interface bo ard, complete the followin g steps. 1.
Chapter 2 Installat ion and Confi guration © Nationa l Instrume nts Cor poration 2-5 VXI-1394 User M anual fo r Windows 5. Align the b us connector on the bottom o f the host adapter with the PCI bus slot. Figu re 2-2 . Installin g the PCI-1 394 Host Adapte r 6.
Chapter 2 Installat ion and Conf igurat ion VXI-1394 U ser M anual f or W indows 2-6 ni.com Installing Y our VXI-1394 I nterface Board All kits contain a VXI-1394 interface module. T o inst all the VXI- 1394 in Slo t 0 of yo ur VXI chas sis, complete t he following steps.
Chapter 2 Installat ion and Confi guration © Nationa l Instrume nts Cor poration 2-7 VXI-1394 User M anual fo r Windows Some 139 4 de vices require dif ferent cables t han others . Y our kit includes one 6-t o-6-pin cabl e to link t he VXI-139 4 to you r computer .
© Nationa l Instrume nts Cor poration 3-1 VXI-1394 User M anual fo r Windows 3 Developing Y our Application This chapter discusses th e software utili ties you can use to start develo ping applications that use NI- VXI. After installing the NI-VXI software, you can begin de veloping your VXI/VME application.
Chapte r 3 Dev eloping Y our A pplic atio n VXI-1394 U ser M anual f or W indows 3-2 ni.com prov ide a high le vel of performance; ho wev er , there may be s ome slight ch anges in beha vior fo r certain appl ications.
Chapte r 3 Deve loping Y our Ap plic ation © Nationa l Instrume nts Cor poration 3-3 VXI-1394 User M anual fo r Windows Options dialog box in the Tools»NI-VXI menu, you can als o use MAX to conf igure Resman to run o n all VXI system s autom ati cally when the computer boots.
Chapte r 3 Dev eloping Y our A pplic atio n VXI-1394 U ser M anual f or W indows 3-4 ni.com Device Interaction You can interact w ith your V XI/VME devices using the VISA Inter act ive Control (VISAIC) utility .
Chapte r 3 Deve loping Y our Ap plic ation © Nationa l Instrume nts Cor poration 3-5 VXI-1394 User M anual fo r Windows Open the selected resource and na vigate to the R egister I/O tab . In this tab, you can r ead registers on your device, s uch as the VXI de vice conf iguration regis t ers.
Chapte r 3 Dev eloping Y our A pplic atio n VXI-1394 U ser M anual f or W indows 3-6 ni.com Programming for VXI NI-VISA and the NI-VXI API are the two National Instruments programming interfaces for access ing your VXI/VME inst ruments. With NI-VXI 3.
Chapte r 3 Deve loping Y our Ap plic ation © Nationa l Instrume nts Cor poration 3-7 VXI-1394 User M anual fo r Windows T able 3-1 summarizes the topics the e xample progr ams address. All f iles are in the VXIpnpWinNTNIvisaExamples directory , in the subdirector ies listed below .
Chapte r 3 Dev eloping Y our A pplic atio n VXI-1394 U ser M anual f or W indows 3-8 ni.com Note viMemAlloc() or VXImemAlloc() returns 32-bit aligned, page-lock ed, continuous b uffers which work ef ficiently with the mov e operations.
Chapte r 3 Deve loping Y our Ap plic ation © Nationa l Instrume nts Cor poration 3-9 VXI-1394 User M anual fo r Windows Compatibi lity Layer Opt ions Although NI-VXI supports mu ltiple VXI controllers thr ough NI-VI SA, the NI-VXI A PI support s only a s ingle controll er.
Chapte r 3 Dev eloping Y our A pplic atio n VXI-1394 U ser M anual f or W indows 3-10 ni.com Debugging NI Spy and VISAIC are useful utili ties for identifying the causes of problem s in your ap plication. NI Spy tracks the calls your application makes to National Instrum ents programming interfaces, including NI-V ISA , NI-VXI, and NI-488.
Chapte r 3 Deve loping Y our Ap plic ation © Nationa l Instrume nts Cor poration 3-11 VXI -1394 Use r Manual for Wind ows VISAIC, di scussed in the Device Interaction section, is an excellent platform for qu ickly testing ins trume nts and learning how to com municate with them.
© Nationa l Instrume nts Cor poration A-1 VXI-1394 U ser Man ual for Wind ows A Specifications This appendix lists the sp ecifications for the VXI-1394 module. VXI Requi rements VXIbus configura t ion space.......... ......... 64 B A24 or A32 s pace .
Appendix A Spec ification s VXI-1394 U ser M anual f or W indows A -2 ni.com I/O connectors 6-pin 1394................. ................. ...... 3 SMB ............... ....................... ...........3 GPIB (optional) .................... ..........
Appendix A Specific ations © Nationa l Instrume nts Cor poration A-3 VXI-1394 U ser Man ual for Wind ows Shock and Vibratio n Operational shock .................... .............. 30 g peak, half-sine, 11 ms pulse (Tested in accordance with IEC-6006 8-2-27.
Appendix A Spec ification s VXI-1394 U ser M anual f or W indows A -4 ni.com CE Compliance This product meets the ess ential requ irements of applicab le European Directi ves, as amended for CE marking, as follo ws: Low-Voltage Directive (saf ety) ...
Appendix A Specific ations © Nationa l Instrume nts Cor poration A-5 VXI-1394 U ser Man ual for Wind ows RMW (mast er) VMEbus master read/mo d ify/write transfers RMW (sla ve) VMEbus slave read/mod i.
Appendix A Spec ification s VXI-1394 U ser M anual f or W indows A -6 ni.com LOCK Can lock the VMEb us for indivisi ble transfers.
© Nationa l Instrume nts Cor poration B-1 VXI-1394 U ser Man ual for Wind ows B Default Settings This appendix summarizes the default settings for the hardware and softw are in the VXI-1 394 kit.
Appendix B Def ault Setti ngs VXI-1394 U ser M anual f or W indows B -2 ni.com Software Settings Table B -2. MAX Device T ab Default S e ttings Editor Field Defa ult Set ting Logical address 0 Device class Message based Size of Serva n t area 0 System interru pt le vel Disabled Number of handlers 1 Number of interrupters 0 Table B -3.
Appendix B Default Settings © Nationa l Instrume nts Cor poration B-3 VXI-1394 U ser Man ual for Wind ows Table B -4. MAX VXI Bus T ab De fault Settin gs Editor Fi eld Defa ult Sett ing Bus timeo ut .
© Nationa l Instrume nts Cor poration C-1 VXI-1394 U ser Man ual for Wind ows C Advanced Hardware Configuration Settings This append ix describ es the fact ory-defau lt and alternate hardw are conf iguration settin gs of the VXI-1 394. The board is set at the f actory for the most commonl y used conf iguratio n.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C -2 ni.com Figu re C-1. VXI-139 4 Default Configur ation Setti ngs EXT CLK10 TERMINATE YN SMB TRIG TERM OUT.
Appendix C Advan ced Hard ware Config uration Settings © Nationa l Instrume nts Cor poration C-3 VXI-1394 U ser Man ual for Wind ows VXIbus Slot 0/Non-Slot 0 The VXI-1394 is conf igured at the factor y to automatically detect if it is install ed in Slot 0 of a VX Ib us mainframe.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C -4 ni.com Figu re C-2. VXIbus Slot Configu ration When the VXI-1394 is ins talled in Slot 0, it becomes th e VXIbus System Controller .
Appendix C Advan ced Hard ware Config uration Settings © Nationa l Instrume nts Cor poration C-5 VXI-1394 U ser Man ual for Wind ows As required b y the VXIbus spe cification, the VXI-1394 dri ves the 10 MHz signal C LK10 on a di ff erential ECL output w hen installed in Slot 0.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C -6 ni.com VXIbus CLK10 Routing When the VXI-1394 is installed in Slot 0 of your mainframe, it s upplies the V XIb us CLK10 signal. The V XI-1394 has four hardware switches t hat wor k together to control var i ous aspect s of CLK10 routing.
Appendix C Advan ced Hard ware Config uration Settings © Nationa l Instrume nts Cor poration C-7 VXI-1394 U ser Man ual for Wind ows T able C -1 summari zes the most commo n conf iguration type s. Figure C-4 shows the default settings f or the CLK10 switche s.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C -8 ni.com Figur e C-4. Generate Interna l CLK10 and Dr ive to the Backplane In Figures C-5 and C-6, switch S5 uses the alternate co nfigu ration to generate t he VXIb us CLK10 signal.
Appendix C Advan ced Hard ware Config uration Settings © Nationa l Instrume nts Cor poration C-9 VXI-1394 U ser Man ual for Wind ows Figure C -5. Receive Extern al CLK SMB an d Driv e to the Backp lane Untermi nated Figur e C-6.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C-10 ni.com Figures C-7 and C -8 sho w two config u rations for driving the e x ternal CLK SMB from the VXIb us CLK10 signal b y changing s wit ch S2 to its alternate setting.
Appendix C Advan ced Hard ware Config uration Settings © Nationa l Instrume nts Cor poration C-11 VXI-1394 U ser Man ual for Wind ows Figu re C-8. Drive Noni nver ted Ex ter nal CL K SMB EXT CLK10 TE.
Appendix C Advance d Hardwa re Configura tion Settings VXI-1394 U ser M anual f or W indows C-12 ni.com T rigger Input T ermination Located within the group of CLK1 0 switches is switch S4 , which controls whe ther t o pu t a 50 Ω terminatio n on the external trigger input SMB.
© Nationa l Instrume nts Cor poration D-1 VXI-1 394 User M anual fo r Windows D Common Questions This append ix addresses common question s you may have about usi ng the NI-VXI/NI-VISA software on the VXI-1 394 platform.
Appendix D Comm on Questions VXI-1394 U ser M anual f or W indows D-2 ni.com I need more de vices than can fit in one chassis. Ho w can I expand my VXI-139 4 system? Y ou can add another VXI-1394 to the system, but the additional chassis will not share the same VXI b us.
Appendix D Common Questio ns © Nationa l Instrume nts Cor poration D-3 VXI-1 394 User M anual fo r Windows Which NI-V XI utility program must I us e to configure the VXI-1394? Use MAX to configure the VXI-1394. MAX is in the Nation al Instru ments program group f older .
Appendix D Comm on Questions VXI-1394 U ser M anual f or W indows D-4 ni.com What sh ould I do i f I get a Configuration EEPROM is Invalid message? There are se veral reas ons why you might get the Configuration EEPROM is Invalid message.
Appendix D Common Questio ns © Nationa l Instrume nts Cor poration D-5 VXI-1 394 User M anual fo r Windows What is shared memory and dual-ported memory? These terms refer to a block of memory t hat is accessible to b oth a client and a serv er . The memory block o perates as a message b uffer f or communications .
© Nationa l Instrume nts Cor poration E-1 VXI-1394 User M anual fo r Windows E T echnical Support and Professional Ser vices Visit the followin g sections of the Nation al Instrument s Web site at ni.com for technical suppor t and prof essional services: • Support — Online technical support resources at ni.
Appendix E T echni cal Support and Prof ession al Ser vices VXI-1394 U ser M anual f or W indows E-2 ni.com • Calibration Certificate —If your prod uct supports calibrat ion, you can obtain the calibr ation certifi cate for your product at ni.com/calibration .
© Nationa l Instrume nts Cor poration G-1 VXI-1 394 User M anual fo r Windows Glossar y Symbol Pref ix V alue pp i c o 1 0 –1 2 nn a n o 1 0 –9 µ mic ro 10 –6 m milli 10 –3 k kilo 10 3 Mm e g a 1 0 6 Gg i g a 1 0 9 Tt e r a 1 0 12 Symbols ° Degrees.
Gloss ar y VXI-1394 U ser M anual f or W indows G-2 ni.com address mod i fier One of six sign al s in the VMEb us specification u sed by VMEb us masters to indicate the address s pace in which a data trans fer is to take place.
Glossary © Nationa l Instrume nts Cor poration G-3 VXI-1 394 User M anual fo r Windows block-mode transfer An unint errupted transf er of data elements in which the master sources only the fi rst address at the be ginning of the c ycle.
Gloss ar y VXI-1394 U ser M anual f or W indows G-4 ni.com Commander A message-based de vice that is also a bus master and can control one or more Serv ants. conf iguration re gisters A set of registers thro ugh which the system can i dentify a module de vice type, model, man ufacturer , address s pace, and memory requirements.
Glossary © Nationa l Instrume nts Cor poration G-5 VXI-1 394 User M anual fo r Windows EMI Electromagnetic interference. external trig ger A vo l tage pulse from an external source that trig gers an e vent.
Gloss ar y VXI-1394 U ser M anual f or W indows G-6 ni.com IDE Integr at ed Dri ve Electron i cs. Denotes the most common interface to the hard drive on PCs . IEC Internation al Electrotechnical Commission . The IEC publis hes internat ionally recog nized standards.
Glossary © Nationa l Instrume nts Cor poration G-7 VXI-1 394 User M anual fo r Windows K K Kilo—(1) the standard metric prefi x for 1,000, or 10 3 , used with units of measure such as vo lts, hertz, and meters ; (2) the pref ix for 1,024, or 2 10 , used w it h B (byt e) in qua nti fyin g dat a or com pute r m emor y .
Gloss ar y VXI-1394 U ser M anual f or W indows G-8 ni.com NI-VXI The National Instruments b us interface software fo r VME/VXIbus systems . Non-Slot 0 de vice A de vice conf igured for i n stallatio n in any slot in a VXIb us mainframe other than Slot 0.
Glossary © Nationa l Instrume nts Cor poration G-9 VXI-1 394 User M anual fo r Windows S s Seconds. SIMM Single In-line Memory Module. slav e A functional par t of a VME/VXIb u s de vice that detects data transfer c ycles initiated by a VMEb us master and respo nds to the transfers when the address sp ecifies on e of the device’ s regis ters.
Gloss ar y VXI-1394 U ser M anual f or W indows G-10 ni.com VIC VXI Interacti ve Control program, a part of the NI-VXI b us interface softw are. Used to progr am VXI de vices and de velop an d debug VXI application prog rams. VISA V irtual Instru ment Software Archit ecture.
© Nationa l Instrume nts Cor poration I-1 VXI-1394 Use r Manual fo r Windows Index Numerics 1394 6-p in connectors, 1-3 1394 LED, 1 -3 A advanced hardware configuration settin gs, C-1 application dev.
Index VXI-1394 U ser M anual f or W indows I-2 ni.com NI resources, E-1 related documentation, ix drivers (NI resources), E-1 E EEPROM configu ration, C- 5 Config uration EEPRO M is Inval id messag e,.
Index © Nationa l Instrume nts Cor poration I-3 VXI-1394 Use r Manual fo r Windows NI su ppor t an d s ervi ces , E- 1 NI-V IS A defini tion, 3-1 installing, 2-1 NI-VISA/NI-VXI software example prog .
Index VXI-1394 U ser M anual f or W indows I-4 ni.com V viIn access in VISAIC (figure), 3-5 VISAIC figure, 3-11 selecting a contro ller in (figure), 3 -4 VMEbus capability codes, A-4 VXI bus tab defau.
デバイスNational Instruments VXI-1394の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
National Instruments VXI-1394をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはNational Instruments VXI-1394の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。National Instruments VXI-1394の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。National Instruments VXI-1394で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
National Instruments VXI-1394を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はNational Instruments VXI-1394の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、National Instruments VXI-1394に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちNational Instruments VXI-1394デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。