National Instruments NI-488.2 NI-488.2 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments NI-488.2 NI-488.2, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of National Instruments NI-488.2 NI-488.2 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of National Instruments NI-488.2 NI-488.2. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of National Instruments NI-488.2 NI-488.2 should contain:
- informations concerning technical data of National Instruments NI-488.2 NI-488.2
- name of the manufacturer and a year of construction of the National Instruments NI-488.2 NI-488.2 item
- rules of operation, control and maintenance of the National Instruments NI-488.2 NI-488.2 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of National Instruments NI-488.2 NI-488.2 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of National Instruments NI-488.2 NI-488.2, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the National Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of National Instruments NI-488.2 NI-488.2.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the National Instruments NI-488.2 NI-488.2 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    NI-488.2 TM NI-488.2 User Manual NI-488.2 User Manual January 2007 370428F-01[...]

  • Page 2

    Support Worldwide Technical Support and Product Info rmation ni.com National Instruments Corporate H[...]

  • Page 3

    Important Information Warranty The media on which you receive Natio nal In struments software are wa[...]

  • Page 4

    © National Instruments Corpor ation v NI-488.2 User Manual Contents About This Manual Using the NI-[...]

  • Page 5

    Contents NI-488.2 U ser Manual vi ni.com Chapter 3 GPIB Explorer (Mac OS X and Linux) Starting GPIB [...]

  • Page 6

    Contents © National Instruments Corpor ation vii NI-488.2 User Manual Direct Entry with C .........[...]

  • Page 7

    Contents NI-488.2 User Manual viii ni.com Status Word ............. .............. .............. ..[...]

  • Page 8

    Contents © National Instruments Corporation ix NI- 488.2 User Manual Appendix D Common Questions Ap[...]

  • Page 9

    © National Instruments Corporation xi NI- 488.2 User Manual About This Manual This manual describes[...]

  • Page 10

    About This Manual NI-488.2 U ser Manual xii ni.com Accessing the NI-488.2 Online Help The NI-488.2 H[...]

  • Page 11

    About This Manual © National Instruments Corpor ation xiii NI-488.2 User Manual monospace T ext in [...]

  • Page 12

    © National Instruments Corpor ation 1-1 NI-488.2 User Manual 1 Introduction This chapter describes [...]

  • Page 13

    Chapter 1 Introduction NI-488.2 User Manual 1-2 ni.com Controlling More Than One Interface Figure 1-[...]

  • Page 14

    Chapter 1 Introduction © National Instruments Corpor ation 1-3 NI-488.2 User Manual For high-speed [...]

  • Page 15

    © National Instruments Corpor ation 2-1 NI-488.2 User Manual 2 Measurement & Automation Explore[...]

  • Page 16

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-2 ni.com Starting[...]

  • Page 17

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-3 [...]

  • Page 18

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-4 ni.com Add a Ne[...]

  • Page 19

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-5 [...]

  • Page 20

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-6 ni.com Communic[...]

  • Page 21

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-7 [...]

  • Page 22

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-8 ni.com Advanced[...]

  • Page 23

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-9 [...]

  • Page 24

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-10 ni.com View or[...]

  • Page 25

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-11[...]

  • Page 26

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-12 ni.com View GP[...]

  • Page 27

    Chapter 2 Measurement & Auto mation Explorer (Windows) © National Instruments Corpor ation 2-13[...]

  • Page 28

    Chapter 2 Measur ement & Automa tion Explorer (Windows) NI-488.2 User Manual 2-14 ni.com View or[...]

  • Page 29

    © National Instruments Corpor ation 3-1 NI-488.2 User Manual 3 GPIB Explorer (Mac OS X and Linux) T[...]

  • Page 30

    Chapter 3 GPIB Explorer (Mac OS X and Linux) NI-488.2 User Manual 3-2 ni.com Starting GPIB Explorer [...]

  • Page 31

    Chapter 3 GPIB Explorer (Mac OS X and Li nux) © National Instruments Corpor ation 3-3 NI-488.2 User[...]

  • Page 32

    Chapter 3 GPIB Explorer (Mac OS X and Linux) NI-488.2 User Manual 3-4 ni.com Add a New GPIB Interfac[...]

  • Page 33

    Chapter 3 GPIB Explorer (Mac OS X and Li nux) © National Instruments Corpor ation 3-5 NI-488.2 User[...]

  • Page 34

    Chapter 3 GPIB Explorer (Mac OS X and Linux) NI-488.2 User Manual 3-6 ni.com View or Change GPIB Int[...]

  • Page 35

    Chapter 3 GPIB Explorer (Mac OS X and Li nux) © National Instruments Corpor ation 3-7 NI-488.2 User[...]

  • Page 36

    Chapter 3 GPIB Explorer (Mac OS X and Linux) NI-488.2 User Manual 3-8 ni.com Access Additional Help [...]

  • Page 37

    Chapter 3 GPIB Explorer (Mac OS X and Li nux) © National Instruments Corpor ation 3-9 NI-488.2 User[...]

  • Page 38

    © National Instruments Corpor ation 4-1 NI-488.2 User Manual 4 Developing Y our NI-488.2 Applicatio[...]

  • Page 39

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-2 ni.com Linux 1. T o launch t[...]

  • Page 40

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-3 NI-488.2 U[...]

  • Page 41

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-4 ni.com The set of lo w -le v[...]

  • Page 42

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-5 NI-488.2 U[...]

  • Page 43

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-6 ni.com The language header f[...]

  • Page 44

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-7 NI-488.2 U[...]

  • Page 45

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-8 ni.com General Program Steps[...]

  • Page 46

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-9 NI-488.2 U[...]

  • Page 47

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-10 ni.com Initialization Step [...]

  • Page 48

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-11 NI-488.2 [...]

  • Page 49

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-12 ni.com Borland C/C++ (V ers[...]

  • Page 50

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-13 NI-488.2 [...]

  • Page 51

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-14 ni.com In your Win32 applic[...]

  • Page 52

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-15 NI-488.2 [...]

  • Page 53

    Chapter 4 Developing Your NI-488.2 Application NI-488.2 User Manual 4-16 ni.com Before exiting your [...]

  • Page 54

    Chapter 4 Developing Y our NI-488.2 Appl ication © National Instruments Corpor ation 4-17 NI-488.2 [...]

  • Page 55

    © National Instruments Corpor ation 5-1 NI-488.2 User Manual 5 Debugging Y our Application This cha[...]

  • Page 56

    Chapter 5 Debugging Y our Application NI-488.2 User Manual 5-2 ni.com Configuration Errors Several a[...]

  • Page 57

    Chapter 5 Debugging Y our Application © National Instruments Corpor ation 5-3 NI-488.2 User Manual [...]

  • Page 58

    © National Instruments Corpor ation 6-1 NI-488.2 User Manual 6 NI Spy Utility This chapter introduc[...]

  • Page 59

    Chapter 6 NI Spy Utility NI-488.2 User Manual 6-2 ni.com Monitoring API Calls with NI Spy To display[...]

  • Page 60

    Chapter 6 NI Spy Utility © National Instruments Corpor ation 6-3 NI-488.2 User Manual Debugging Exi[...]

  • Page 61

    © National Instruments Corpor ation 7-1 NI-488.2 User Manual 7 Interactive Control Utility This cha[...]

  • Page 62

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-2 ni.com T o start the Interactive Cont[...]

  • Page 63

    Chapter 7 Interactive Control Utility © National Instruments Corpor ation 7-3 NI-488.2 User Manual [...]

  • Page 64

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-4 ni.com Or , equiv alently: ud0: ibrd [...]

  • Page 65

    Chapter 7 Interactive Control Utility © National Instruments Corpor ation 7-5 NI-488.2 User Manual [...]

  • Page 66

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-6 ni.com Table 7-1. Syntax for Device-L[...]

  • Page 67

    Chapter 7 Interactive Control Utility © National Instruments Corpor ation 7-7 NI-488.2 User Manual [...]

  • Page 68

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-8 ni.com ibnotify mask Start an asynchr[...]

  • Page 69

    Chapter 7 Interactive Control Utility © National Instruments Corpor ation 7-9 NI-488.2 User Manual [...]

  • Page 70

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-10 ni.com TestSys addrlist Cause multip[...]

  • Page 71

    Chapter 7 Interactive Control Utility © National Instruments Corpor ation 7-11 NI-488.2 User Manual[...]

  • Page 72

    Chapter 7 Interactive Control Utility NI-488.2 User Manual 7-12 ni.com Count Information When an I/O[...]

  • Page 73

    © National Instruments Corpor ation 8-1 NI-488.2 User Manual 8 NI-488.2 Programming T echniques Thi[...]

  • Page 74

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-2 ni.com • EOS read method—If[...]

  • Page 75

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-3 NI-488.2 User [...]

  • Page 76

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-4 ni.com W aiting for GPIB Condit[...]

  • Page 77

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-5 NI-488.2 User [...]

  • Page 78

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-6 ni.com ibnotify Programming Exa[...]

  • Page 79

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-7 NI-488.2 User [...]

  • Page 80

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-8 ni.com // If the ERR bit is set[...]

  • Page 81

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-9 NI-488.2 User [...]

  • Page 82

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-10 ni.com Assume that a process h[...]

  • Page 83

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-11 NI-488.2 User[...]

  • Page 84

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-12 ni.com T alker/Listener Applic[...]

  • Page 85

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-13 NI-488.2 User[...]

  • Page 86

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-14 ni.com 4. The polling continue[...]

  • Page 87

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-15 NI-488.2 User[...]

  • Page 88

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-16 ni.com • FindRQS serial poll[...]

  • Page 89

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-17 NI-488.2 User[...]

  • Page 90

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-18 ni.com Parallel Polling with T[...]

  • Page 91

    Chapter 8 NI- 488.2 Program ming T echniques © National Instruments Corpor ation 8-19 NI-488.2 User[...]

  • Page 92

    Chapter 8 NI-488.2 Programmin g T echniques NI-488.2 User Manual 8-20 ni.com 2. Conduct the p aralle[...]

  • Page 93

    © National Instruments Corpor ation A-1 NI-488.2 User Manual A GPIB Basics The ANSI/IEEE Standard 4[...]

  • Page 94

    Appendix A GPIB Basics NI-488.2 U ser Manual A-2 ni.com GPIB Addressing All GPIB devices and interfa[...]

  • Page 95

    Appendix A GPIB Basics © National Instruments Corpor ation A-3 NI-488.2 User Manual Data Lines Eigh[...]

  • Page 96

    Appendix A GPIB Basics NI-488.2 U ser Manual A-4 ni.com SRQ (service request) Any de vice can drive [...]

  • Page 97

    © National Instruments Corpor ation B-1 NI-488.2 User Manual B Status W ord Conditions This appendi[...]

  • Page 98

    Appendix B Status W ord Conditions NI-488.2 U ser Manual B-2 ni.com ERR (dev , brd) ERR is set in th[...]

  • Page 99

    Appendix B Status W ord Conditions © National Instruments Corpor ation B-3 NI-488.2 User Manual SRQ[...]

  • Page 100

    Appendix B Status W ord Conditions NI-488.2 U ser Manual B-4 ni.com REM (brd) REM indicates whether [...]

  • Page 101

    Appendix B Status W ord Conditions © National Instruments Corpor ation B-5 NI-488.2 User Manual LAC[...]

  • Page 102

    © National Instruments Corpor ation C-1 NI-488.2 User Manual C Error Codes and Solutions This appen[...]

  • Page 103

    Appendix C Error Codes and Solutio ns NI-488.2 U ser Manual C-2 ni.com EDVR (0) ED VR is returned wh[...]

  • Page 104

    Appendix C Error Codes and Solutions © National Instruments Corpor ation C-3 NI-488.2 User Manual L[...]

  • Page 105

    Appendix C Error Codes and Solutio ns NI-488.2 U ser Manual C-4 ni.com ENOL (2) ENOL usually occurs [...]

  • Page 106

    Appendix C Error Codes and Solutions © National Instruments Corpor ation C-5 NI-488.2 User Manual E[...]

  • Page 107

    Appendix C Error Codes and Solutio ns NI-488.2 U ser Manual C-6 ni.com Solutions Possible solutions [...]

  • Page 108

    Appendix C Error Codes and Solutions © National Instruments Corpor ation C-7 NI-488.2 User Manual E[...]

  • Page 109

    Appendix C Error Codes and Solutio ns NI-488.2 U ser Manual C-8 ni.com EFSO (12) EFSO results when a[...]

  • Page 110

    Appendix C Error Codes and Solutions © National Instruments Corpor ation C-9 NI-488.2 User Manual E[...]

  • Page 111

    Appendix C Error Codes and Solutio ns NI-488.2 User Manu al C-10 ni .com ELCK (21) ELCK indicates th[...]

  • Page 112

    Appendix C Error Codes and Solutions © National Instruments Corpor ation C-11 NI-488.2 User Manual [...]

  • Page 113

    Appendix C Error Codes and Solutio ns NI-488.2 User Manu al C-12 ni .com Solutions Do not call ibonl[...]

  • Page 114

    © National Instruments Corpor ation D-1 NI-488.2 User Manual D Common Questions This appendix answe[...]

  • Page 115

    Appendix D Common Questions NI-488.2 User Manual D-2 ni.com How do I check f or errors in my NI-488.[...]

  • Page 116

    Appendix D Common Questions © National Instruments Corpor ation D-3 NI-488.2 User Manual Windows Ho[...]

  • Page 117

    © National Instruments Corpor ation E-1 NI-488.2 User Manual E T echnical Support and Professional [...]

  • Page 118

    © National Instruments Corpor ation G-1 NI-488.2 User Manual Glossar y Symbol Pref ix V alue nn a n[...]

  • Page 119

    Glossary NI-488.2 User Manual G-2 ni.com C CFE Configuration Enable—The GPIB command which precede[...]

  • Page 120

    Glossary © National Instruments Corpor ation G-3 NI-488.2 User Manual EOS or EOS Byte A 7- or 8-bit[...]

  • Page 121

    Glossary NI-488.2 User Manual G-4 ni.com hex Hexadecimal—A number represented in base 16. For e xa[...]

  • Page 122

    Glossary © National Instruments Corpor ation G-5 NI-488.2 User Manual L LAD Listen Address. See als[...]

  • Page 123

    Glossary NI-488.2 User Manual G-6 ni.com N ND AC Not Data Accepted—One of the three GPIB handshake[...]

  • Page 124

    Glossary © National Instruments Corpor ation G-7 NI-488.2 User Manual S s Seconds. SDC Selected Dev[...]

  • Page 125

    Glossary NI-488.2 User Manual G-8 ni.com T T AD T alk Address. See also MTA . T alker A GPIB de vice[...]

  • Page 126

    © National Instruments Corpor ation I-1 NI-488.2 User Manual Index Symbols ! (repeat previous funct[...]

  • Page 127

    Index NI-488.2 U ser Manual I-2 ni.com using Measurement & Automatio n Explorer, 2-6 using NI-48[...]

  • Page 128

    Index © National Instruments Corpor ation I-3 NI-488.2 User Manual ELCK error code, C-10 END status[...]

  • Page 129

    Index NI-488.2 U ser Manual I-4 ni.com G global variables count variables (ibcnt and ibcntl ), 4-6 d[...]

  • Page 130

    Index © National Instruments Corpor ation I-5 NI-488.2 User Manual I ibask function, 8-3 ibclr func[...]

  • Page 131

    Index NI-488.2 U ser Manual I-6 ni.com K KnowledgeBase, E-1 L LACS status word condit ion, 4-5, B-1,[...]

  • Page 132

    Index © National Instruments Corpor ation I-7 NI-488.2 User Manual starting, 6-1 viewing properties[...]

  • Page 133

    Index NI-488.2 U ser Manual I-8 ni.com R ReadStatusByte routine, 8-15 Receive function, 4-11 recordi[...]

  • Page 134

    Index © National Instruments Corpor ation I-9 NI-488.2 User Manual ThreadIbcnt function, 8-10 Threa[...]