安捷伦visa用户使用手册_en

所需积分/C币:50 2019-04-23 16:55:48 3.41MB PDF
收藏 收藏
举报

安捷伦visa用户使用手册_en,
Contents Agilent VISA Users Guide Front matter∴ 9 Notice Warranty Information…… U.S. Government Restricted Rights Trademark Information 10 Printing history 0 Col ht Information 10 1. Introduction…11 What's in this guide? 13 VISA OVerview 144 Using VISA and SICL V| SA Support… .15 VISA Documentation 16 Contacting Agilent 16 2. Building a VISA Application in Windows 17 Building a VIsA Program(C/C++) 19 Compiling and Linking VISA Programs(C/C++)......19 Example VISA Program(C/C++).............21 Building aⅥ SA Program(Visual Basic)……………23 isual Basic Programming Considerations 23 Example VISA Program(Visual Basic 25 gging Error Messages…… 29 Using the Event Viewer 29 Using the message viewer .29 Using the Debug Window 30 3. Building a VISA Application in HP-UX.,……,31 Building a VIsA Program in HP-UX.……………33 EXample Source Code ∴33 Example Program Contents 34 Running the Example Program 34 Compiling and Linking a Visa Program…………35 Logging Error Messages 35 Using Online Help “. 6 Using the HyperHelp viewer………… .36 Using HP-UX Manual Pages 36 Contents 3 4. Programming with VIsA .... 37 VISA Resources and attributes 39 VISA Resources 39 VISA Attributes 40 Using Sessions…… 41 Including the Visa Declarations File (C/C++) 41 Adding the visa32, bas File(Visual Basic) 41 Opening a Session............. 41 Addressing a Session 44 Closing a Session 46 Searching for Resources…………… ..47 Sending V/O Commands. ...........49 Types of /O 49 Using Formatted 1/O… 49 Using Non-Formatted/O…… .59 Using Events and Handlers ..........62 Events and attributes 62 Using the Callback Method…….….….……69 Using the Queuing Method 77 Trapping Errors. 82 Trapping Errors……………….…….……82 Exception Events ∴83 Using Locks …….87 5. Programming via GPIB and vxI 93 GPIB and vXi Interfaces overview wwwww 95 General Interface Information........ 95 GPIB Interfaces Overview 96 VXI Interfaces Overview 98 GPIB-VXI Interfaces Overview..ww. 100 Using High-Level Memory Functions 102 Programming the Registers .102 High-Level Memory Functions Examples 104 Using Low-Level Memory Functions……………107 Programming the Registers 07 LOW-Level Memory functions examples 109 Using Low/High-Level Memory I /O Methods 112 Using LoW-Level viPeek/viPoke 12 Using High-level viN/viOut 113 Using High- - level viMoveln/vi Moveout……………….13 Contents Using the Memory Access Resource ................................117 Memory l/O Services 117 MEMACC Attribute Descriptions 120 Using vXl-Specific Attributes 123 Using the Map Address as a Pointer ..............................123 Setting the VXI Trigger Line…………………………125 6. Programming via LAN 127 LAN Interfaces Overview 129 LAN Hardware architecture 129 LAN Software architecture 131 LAN Client Interface Overview 133 VisaLanClientInterfaceOverviewwwwwwwwwwww..136 LAN Server Interface overview 140 Communicating with GPIB Devices via LAN 4141 Addressing a Session . 141 Using Timeouts over LAN..……143 LAN Signal Handling on HP-UX... 145 7. VISA Language Reference 147 VISA Functions Overview 149 VISa Functions by Interface/Resource ..............................149 VISA Functions by Type 153 viAssertIntrSignal 158 viAssertTrigger.....................160 viAssertUtilSignal 163 viBufread 165 viBufwrite 167 viClear …………………169 villose 171 viDisable Event 面国B 173 viDiscard Events 176 viEnableevent .4179 VIEventHandler.…183 viFind Next 188 viFind rsrc 189 viFlush 194 viGetAttribute 196 viGpibCommand 198 viGpibControlATN .200 viGpib ControlREN …….202 viGpibPass Control......................204 viGpibSendIFC 206 vilna, viN 16. and viN 32 207 viInstallHandle 210 Contents 5 clock 212 viMapAddress 216 viMapTrigger.… 219 viMemAlloc 21 viMemFree 223 VIMove .224 viMoveasync 27 viMoveln8. viMoveln 16. and viMoveIn 32..................................231 viMove Out8 viMove out 16, and viMove out....234 viOpen 237 vIOpenDefaultRM…… 241 viOut8. viOut16 and viOut32 243 viParsersrc 246 viPeek8. viPeek16 and viPeek32 248 viPoke8. viPoke 16 and viPoke32,.w. 249 viPrintf 250 viQueryf.. 259 viRead 26 iReadAsync 264 viReadstB 266 viReadtofile w268 viScanf 271 viSetAttribute 281 viSetBuf 283 viSPrintf 285 viSScanf 287 viStatus Desc 289 viTerminate 290 viUninstallHandler∴.292 kiNlock 294 viUnmapAddress .295 viUnmap Trigger ∴…296 viVPrintf……298 viVQueryt 300 viVScanf .... 302 viVSPrintf 304 viVSScanf 306 viVxiCommandQuery.... .308 viWaitonEvent 311 reWrite 317 viWrite Async…….……,……,……………………………319 viWrite FromFile 32 Contents 6 A. VIsA Library Information…,,…, 日量面日量量量日量面日日面日g日面量日 323 VISA Type Definitions 325 VISA Error codes 328 VISA Error Codes(Numerical) 国国国 328 VISA Error Codes( Alphabetical)…… 331 SA Error Codes(by Function) 336 VISA Directories Information 368 Windows Directory Structure................368 Editing the VISA Configuration 370 B. VisA Resource classes 373 Resource classes Overview .375 Resource Classes vs Interface Types ...........................375 Interface Types vs. Resource Classes 376 Resource Class Descriptions 376 Instrument Control(INSTR)Resource............ 377 INSTR Resource overview 377 INSTR Resource ttributes 378 INSTR Resource Attribute Descriptions ........... 384 INSTR Resource Events 391 INSTR Resource Operations 393 Memory Access(MEMACC) Resource...........395 MEMACC Resource Overview 395 MEMACC Resource Attributes 396 MEMACC Resource Attribute Descriptions 398 MEMACC Resource Events 400 MEMACC Resource Operations 401 GPIB Bus Interface(INTFC)Resource 402 INTFC Resource Overview 402 INTFC Resource Attributes 402 INTFC Resource Attribute descriptions .............................404 IntFcResourceEvents...www...wwww.406 INTFC Resource Operations 408 VXI Mainframe Backplane(BACKPLANE)Resource 409 BACKPLANE Resource Overview ..w.. 409 BACKPLANE Resource Attributes BACKPLANE Resource Attribute Descriptions,∴… .410 .411 BACKPLANE Resource events .412 BACKPLANE Resource Operations............412 Contents 7 Servant Device-Side(SERVANT)Resource 413 SERVANT Resource Overview 413 SERVANT Resource Attributes .‘ 414 SERVANT Resource Attribute Descriptions 415 SERVANT Resource events 417 SERVANT Resource Operations 419 TCPIP Socket (SOCKET) Resource 420 SOCKET Resource Overview ....w.......... 420 SOCKET Resource Attributes 420 SOCKET Resource Attribute Descriptions........422 SOCKET Resource Event 423 SOCKET Resource Operations…….……….…….1424 Glossary….………… 425 Index ….431 Contents 8 Notice The information contained in this document is subject to change without notice Agilent Technologies shall not be liable for any errors contained in this document. Agilent Technologies makes no warranties of any kind with regard to this document, whether express or implied. Agilent Technologies specifically disclaims the implied warranties of merchantability and fitness for a particular purpose. Agilent Technologies shall not be liable for any direct, indirect, special, incidental or consequential damages whether based on contract, tort, or any other legal theory, in connection with the furnishing of this document or the use of the information in this document Warranty Information A copy of the specific warranty terms applicable to your agilent Technologies product and replacement parts can be obtained from Agilent Technologies, Inc U.S. Government Restricted rights The Software and Documentation have been developed entirely at private expense. They are delivered and licensed as"commercial computer software"as defined in DFARS 252.227-7013(Oct 1988), DFARS 252. 211 7015 (May 1991)or dFARS 252. Jun 1995 ), as a "commercial item"as defined in FAR 2. 101a), or as"Restricted computer softwares defined in FAR 52.227-19(Jun 1987)(or any equivalent agency regulation or contract clause), whichever is applicable. You have only those rights provided for such Software and Documentation by the applicable Far or DFARS clause or the agilent standard software agreement for the product involved Trademark Information Microsoft. windows e 95, windows r 98. Windows me Windows r 2000, and windows nt are u.s. registered trademarks of Microsoft Corporation all other brand and product names are trademarks or registered trademarks of their respective companies Printing History Edition 1-May 1996 Edition 2- September 1996 Edition 3-February 1998 Edition 4-July 2000 Edition 5- August 2001 Copyright Information Agilent Technologies viSA Users Guide Edition 5 Copyright o 1984-1988 Sun Microsystems, Inc Copyright 1996, 1998, 2000, 2001 Agilent Technologies, Inc All rights reserved

...展开详情
试读 127P 安捷伦visa用户使用手册_en
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    抢沙发
    一个资源只可评论一次,评论内容不能少于5个字
    img
    cxp525277373

    关注 私信 TA的资源

    上传资源赚积分,得勋章
    最新推荐
    安捷伦visa用户使用手册_en 50积分/C币 立即下载
    1/127
    安捷伦visa用户使用手册_en第1页
    安捷伦visa用户使用手册_en第2页
    安捷伦visa用户使用手册_en第3页
    安捷伦visa用户使用手册_en第4页
    安捷伦visa用户使用手册_en第5页
    安捷伦visa用户使用手册_en第6页
    安捷伦visa用户使用手册_en第7页
    安捷伦visa用户使用手册_en第8页
    安捷伦visa用户使用手册_en第9页
    安捷伦visa用户使用手册_en第10页
    安捷伦visa用户使用手册_en第11页
    安捷伦visa用户使用手册_en第12页
    安捷伦visa用户使用手册_en第13页
    安捷伦visa用户使用手册_en第14页
    安捷伦visa用户使用手册_en第15页
    安捷伦visa用户使用手册_en第16页
    安捷伦visa用户使用手册_en第17页
    安捷伦visa用户使用手册_en第18页
    安捷伦visa用户使用手册_en第19页
    安捷伦visa用户使用手册_en第20页

    试读已结束,剩余107页未读...

    50积分/C币 立即下载 >