National Instruments NI-488.2 用户手册
Contents
vi
www.natinst.com
NI-488.2 Online Help ..................................................................................... 2-14
National Instruments GPIB Web Site ............................................................. 2-15
National Instruments GPIB Web Site ............................................................. 2-15
Assign IP Address ........................................................................................... 2-15
Configure Advanced IP Settings..................................................................... 2-15
Update GPIB-ENET Firmware ....................................................................... 2-16
Configure Advanced IP Settings..................................................................... 2-15
Update GPIB-ENET Firmware ....................................................................... 2-16
Simple Instrument Control ............................................................................................ 3-1
Interactive Instrument Control ...................................................................................... 3-2
Choosing Your Programming Methodology ................................................................. 3-3
Interactive Instrument Control ...................................................................................... 3-2
Choosing Your Programming Methodology ................................................................. 3-3
Communicating with a Single GPIB Device .................................... 3-4
Using Multiple Interfaces and/or Multiple Devices ......................... 3-5
Using Multiple Interfaces and/or Multiple Devices ......................... 3-5
Status Word (ibsta).......................................................................................... 3-5
Error Variable (iberr) ...................................................................................... 3-7
Count Variables (ibcnt and ibcntl) .................................................................. 3-7
Error Variable (iberr) ...................................................................................... 3-7
Count Variables (ibcnt and ibcntl) .................................................................. 3-7
Using Interactive Control to Communicate with Devices............................................. 3-7
Programming Models .................................................................................................... 3-8
Programming Models .................................................................................................... 3-8
Microsoft Visual C/C++ (Version 2.0 or Later) ............................................. 3-12
Borland C/C++ (Version 4.0 or Later)............................................................ 3-12
Visual Basic (Version 4.0 or Later) ................................................................ 3-13
Direct Entry with C ......................................................................................... 3-13
Borland C/C++ (Version 4.0 or Later)............................................................ 3-12
Visual Basic (Version 4.0 or Later) ................................................................ 3-13
Direct Entry with C ......................................................................................... 3-13