National Instruments 320682C Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel National Instruments 320682C. National Instruments 320682C User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 454
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - LabWindows

© Copyright 1994, 1996 National Instruments Corporation.All rights reserved.LabWindows®/CVIStandard LibrariesReference ManualJuly 1996 EditionPart Num

Page 2

ContentsLabWindows/CVI Standard Libraries x © National Instruments CorporationThreadIberr...

Page 3 - Trademarks

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-70 © National Instruments CorporationRemarksThis example shows how a subrout

Page 4

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-71 LabWindows/CVI Standard Librarieswriting beyond the end of filename. Noti

Page 5

© National Instruments Corporation 3-1 LabWindows/CVI Standard LibrariesChapter 3Analysis LibraryThis chapter describes the functions in the LabWindow

Page 6

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-2 © National Instruments CorporationTable 3-1. The Analysis Library Function Tree (Con

Page 7

Chapter 3 Analysis Library© National Instruments Corporation 3-3 LabWindows/CVI Standard LibrariesThe classes and subclasses in the function tree are

Page 8

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-4 © National Instruments Corporationlarge amounts of data. Large double-precision arra

Page 9

Chapter 3 Analysis Library© National Instruments Corporation 3-5 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTab

Page 10 - RS-232 Library

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-6 © National Instruments CorporationPurposeAdds two (2D) arrays. The function obtains

Page 11 - Chapter 6

Chapter 3 Analysis Library© National Instruments Corporation 3-7 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTab

Page 12 - Utility Library

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-8 © National Instruments CorporationParametersInputxRealdouble-precision Real part of x

Page 13 - Contents

Contents© National Instruments Corporation xi LabWindows/CVI Standard LibrariesChapter 6DDE Library ...

Page 14 - Easy I/O for DAQ Library

Chapter 3 Analysis Library© National Instruments Corporation 3-9 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTab

Page 15 - Glossary

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-10 © National Instruments CorporationCxDiv1Dint status = CxDiv1D (double arrayXReal[],

Page 16

Chapter 3 Analysis Library© National Instruments Corporation 3-11 LabWindows/CVI Standard LibrariesCxLinEv1Dint status = CxLinEv1D (double arrayXReal[

Page 17 - About This Manual

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-12 © National Instruments CorporationCxMulint status = CxMul (double xReal, double xIma

Page 18

Chapter 3 Analysis Library© National Instruments Corporation 3-13 LabWindows/CVI Standard LibrariesThe function performs the operations in place; that

Page 19

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-14 © National Instruments CorporationParametersInputxRealdouble-precision Real part of

Page 20 - Related Documentation

Chapter 3 Analysis Library© National Instruments Corporation 3-15 LabWindows/CVI Standard LibrariesCxSub1Dint status = CxSub1D (double arrayXReal[], d

Page 21 - ANSI C Library

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-16 © National Instruments CorporationDeterminantint status = Determinant (void *inputMa

Page 22 - Standard Language Additions

Chapter 3 Analysis Library© National Instruments Corporation 3-17 LabWindows/CVI Standard LibrariesParametersInputarrayXdouble-precisionarrayInput arr

Page 23

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-18 © National Instruments CorporationReturn Valuestatusinteger Refer to error codes inT

Page 24 - ANSI C Library Chapter 1

ContentsLabWindows/CVI Standard Libraries xii © National Instruments CorporationChapter 8Utility Library ...

Page 25 - String Processing

Chapter 3 Analysis Library© National Instruments Corporation 3-19 LabWindows/CVI Standard LibrariesGetAnalysisErrorStringchar *message = GetAnalysisEr

Page 26 - Time and Date Functions

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-20 © National Instruments CorporationParametersInputinputArraydouble-precisionarrayInpu

Page 27 - Control Functions

Chapter 3 Analysis Library© National Instruments Corporation 3-21 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes in n

Page 28

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-22 © National Instruments CorporationLinEv2Dint status = LinEv2D (void *inputArray, int

Page 29 - Chapter 1 ANSI C Library

Chapter 3 Analysis Library© National Instruments Corporation 3-23 LabWindows/CVI Standard LibrariesMatrixMulint status = MatrixMul (void *matrixX, voi

Page 30

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-24 © National Instruments CorporationMaxMin1Dint status = MaxMin1D (double inputArray[]

Page 31 - Formatting and I/O Library

Chapter 3 Analysis Library© National Instruments Corporation 3-25 LabWindows/CVI Standard LibrariesParametersInputinputArraydouble-precision2D arrayIn

Page 32

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-26 © National Instruments CorporationParametersInputinputArraydouble-precisionarrayInpu

Page 33

Chapter 3 Analysis Library© National Instruments Corporation 3-27 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTa

Page 34 - ArrayToFile

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-28 © National Instruments CorporationNeg1Dint status = Neg1D (double inputArray[], int

Page 35

Contents© National Instruments Corporation xiii LabWindows/CVI Standard LibrariesGetSystemDate...

Page 36

Chapter 3 Analysis Library© National Instruments Corporation 3-29 LabWindows/CVI Standard LibrariesSortint status = Sort (double inputArray[], int num

Page 37 - CompareBytes

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-30 © National Instruments CorporationParametersInputinputArraydouble-precisionarrayInpu

Page 38 - CompareStrings

Chapter 3 Analysis Library© National Instruments Corporation 3-31 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTa

Page 39 - CopyBytes

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-32 © National Instruments CorporationSubset1Dint status = Subset1D (double inputArray[]

Page 40 - CopyString

Chapter 3 Analysis Library© National Instruments Corporation 3-33 LabWindows/CVI Standard LibrariesParametersInputxRealdouble-precision X coordinate.y

Page 41 - FileToArray

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-34 © National Instruments CorporationParametersInputarrayXRealdouble-precisionarrayX co

Page 42

Chapter 3 Analysis Library© National Instruments Corporation 3-35 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTa

Page 43 - FindPattern

Analysis Library Chapter 3LabWindows/CVI Standard Libraries 3-36 © National Instruments CorporationTransposeint status = Transpose (void *inputMatrix

Page 44

Chapter 3 Analysis Library© National Instruments Corporation 3-37 LabWindows/CVI Standard LibrariesError ConditionsIf an error condition occurs during

Page 45

© National Instruments Corporation 4-1 LabWindows/CVI Standard LibrariesChapter 4GPIB/GPIB-488.2 LibraryThis describes the NI-488 and NI-488.2 functio

Page 46

ContentsLabWindows/CVI Standard Libraries xiv © National Instruments CorporationUnloadExternalModule...

Page 47 - GetFileInfo

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-2 © National Instruments CorporationTable 4-1. The GPIB Functions Library Funct

Page 48 - GetFmtIOError

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-3 LabWindows/CVI Standard LibrariesTable 4-1. The GPIB Functions Library Functi

Page 49 - GetFmtIOErrorString

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-4 © National Instruments CorporationTable 4-1. The GPIB Functions Library Funct

Page 50 - OpenFile

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-5 LabWindows/CVI Standard Libraries• The Bus Control function panels provide lo

Page 51

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-6 © National Instruments Corporationdrivers are packaged with your GPIB interfac

Page 52 - ReadFile

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-7 LabWindows/CVI Standard LibrariesNote: When writing instrument modules, you mu

Page 53 - ReadLine

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-8 © National Instruments Corporationincluded in the wait mask. Aside from the d

Page 54

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-9 LabWindows/CVI Standard Libraries• The last GPIB call was a board call. Autop

Page 55 - ScanFile

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-10 © National Instruments CorporationGlobal Variables for the GPIB LibraryThe fo

Page 56 - SetFilePtr

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-11 LabWindows/CVI Standard LibrariesIf you want to use GPIB under Windows 95 and

Page 57

Contents© National Instruments Corporation xv LabWindows/CVI Standard LibrariesChannel String for Analog Output Functions ...

Page 58 - StringLowerCase

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-12 © National Instruments CorporationNotification of SRQ and Other GPIB EventsSy

Page 59 - WriteFile

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-13 LabWindows/CVI Standard LibrariesGPIB Function ReferenceMost of the functions

Page 60 - WriteLine

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-14 © National Instruments CorporationCloseInstrDevsint result = CloseInstrDevs (

Page 61

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-15 LabWindows/CVI Standard LibrariesThe callback function is called when any of

Page 62 - Formatting Functions

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-16 © National Instruments CorporationReturn Valuestatusinteger(short integer onW

Page 63

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-17 LabWindows/CVI Standard LibrariesCallbackFunctionThe callback function must h

Page 64 - %s %100f %i[b2u]

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-18 © National Instruments CorporationOnly one callback function can apply for ea

Page 65

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-19 LabWindows/CVI Standard LibrariesSRQI, RQS, and Auto Serial PollingIf you wan

Page 66

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-20 © National Instruments CorporationIf invoked because an asynchronous I/O oper

Page 67

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-21 LabWindows/CVI Standard LibrariesOpenDevint bd = OpenDev (char *deviceName, c

Page 68

ContentsLabWindows/CVI Standard Libraries xvi © National Instruments CorporationTablesTable 1-1. ANSI C Standard Library Classes ...

Page 69

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-22 © National Instruments CorporationThreadIbcntint threadSpecificCount = Thread

Page 70 - Scanning Functions

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-23 LabWindows/CVI Standard LibrariesIf you are not using multiple threads, the v

Page 71

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-24 © National Instruments CorporationReturn CodesDefinedConstant Value Descripti

Page 72

Chapter 4 GPIB/GPIB-488.2 Library© National Instruments Corporation 4-25 LabWindows/CVI Standard LibrariesSee AlsoThreadIbsta, ThreadIbcnt, ThreadIbcn

Page 73

GPIB/GPIB-488.2 Library Chapter 4LabWindows/CVI Standard Libraries 4-26 © National Instruments CorporationReturn CodesThe return value is a sum of th

Page 74

© National Instruments Corporation 5-1 LabWindows/CVI Standard LibrariesChapter 5RS-232 LibraryThis chapter describes the functions in the LabWindows/

Page 75

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-2 © National Instruments CorporationTable 5-1. The RS-232 Library Function Tree (Continu

Page 76

Chapter 5 RS-232 Library© National Instruments Corporation 5-3 LabWindows/CVI Standard LibrariesUsing RS-485You can use all of the functions in the RS

Page 77

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-4 © National Instruments CorporationAll functions, except the Open and Close functions, r

Page 78

Chapter 5 RS-232 Library© National Instruments Corporation 5-5 LabWindows/CVI Standard LibrariesAll serial devices are either of the type Data Communi

Page 79

© National Instruments Corporation xvii LabWindows/CVI Standard LibrariesAbout This Manual

Page 80

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-6 © National Instruments Corporationapplication. Refer to the Hardware Handshaking secti

Page 81

Chapter 5 RS-232 Library© National Instruments Corporation 5-7 LabWindows/CVI Standard LibrariesHardware HandshakingThe SetCTSMode function enables ha

Page 82

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-8 © National Instruments Corporation– If the input queue of the port is nearly full, the

Page 83

Chapter 5 RS-232 Library© National Instruments Corporation 5-9 LabWindows/CVI Standard LibrariesParameter DiscussionThe function does nothing if the p

Page 84

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-10 © National Instruments CorporationParametersInputCOMPortinteger Range 1 through 32.fil

Page 85

Chapter 5 RS-232 Library© National Instruments Corporation 5-11 LabWindows/CVI Standard LibrariesComRdint nbytes = ComRd (int COMPort, char buffer[],

Page 86

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-12 © National Instruments CorporationComRdByteint byte = ComRdByte (int COMPort);PurposeR

Page 87

Chapter 5 RS-232 Library© National Instruments Corporation 5-13 LabWindows/CVI Standard LibrariesParametersInputCOMPortinteger Range 1 through 32.coun

Page 88

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-14 © National Instruments CorporationComSetEscapeint result = ComSetEscape (int COMPort,

Page 89

Chapter 5 RS-232 Library© National Instruments Corporation 5-15 LabWindows/CVI Standard LibrariesThe following values may be used only with the RS-485

Page 90

About This ManualLabWindows/CVI Standard Libraries xviii © National Instruments Corporation• Chapter 5, RS-232 Library, describes the functions in th

Page 91

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-16 © National Instruments Corporationfor ComRdTerm. If both count and terminationByte are

Page 92

Chapter 5 RS-232 Library© National Instruments Corporation 5-17 LabWindows/CVI Standard Librariesthe port, call GetOutQLen. GetOutQLen returns the nu

Page 93

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-18 © National Instruments CorporationParameter DiscussionThis function times out if the o

Page 94

Chapter 5 RS-232 Library© National Instruments Corporation 5-19 LabWindows/CVI Standard LibrariesFlushOutQint status = FlushOutQ (int COMPort);Purpos

Page 95

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-20 © National Instruments CorporationTable 5-5. Bit Definitions for the GetComStat Funct

Page 96

Chapter 5 RS-232 Library© National Instruments Corporation 5-21 LabWindows/CVI Standard LibrariesParameterInputCOMPortinteger Range 1 through 32.Retur

Page 97

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-22 © National Instruments CorporationGetRS232ErrorStringchar *message = GetRS232ErrorStri

Page 98

Chapter 5 RS-232 Library© National Instruments Corporation 5-23 LabWindows/CVI Standard LibrariesNote: The callback function may receive more than one

Page 99

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-24 © National Instruments CorporationReturn Valuestatusinteger Refer to error codes in Ta

Page 100

Chapter 5 RS-232 Library© National Instruments Corporation 5-25 LabWindows/CVI Standard LibrariesThe following table further describes the events.Even

Page 101

About This Manual© National Instruments Corporation xix LabWindows/CVI Standard LibrariesConventions Used in This ManualThe following conventions are

Page 102 - Analysis Library

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-26 © National Instruments CorporationReturn Valueresultinteger Refer to error codes in Ta

Page 103 - Analysis Library Chapter 3

Chapter 5 RS-232 Library© National Instruments Corporation 5-27 LabWindows/CVI Standard LibrariesParametersInputCOMPortinteger Range 1 through 32.devi

Page 104 - Chapter 3 Analysis Library

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-28 © National Instruments CorporationUnder UNIX, the inputQueueSize and outputQueueSize p

Page 105 - Reporting Analysis Errors

Chapter 5 RS-232 Library© National Instruments Corporation 5-29 LabWindows/CVI Standard LibrariesSetComTimeint result = SetComTime (int COMPort, doubl

Page 106

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-30 © National Instruments CorporationSetCTSModeint result = SetCTSMode (int COMPort, int

Page 107

Chapter 5 RS-232 Library© National Instruments Corporation 5-31 LabWindows/CVI Standard LibrariesSetXModeint result = SetXMode (int COMPort, int mode)

Page 108

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-32 © National Instruments CorporationParametersInputCOMPortinteger Range 1 through 32.sta

Page 109

Chapter 5 RS-232 Library© National Instruments Corporation 5-33 LabWindows/CVI Standard Librariesfor an acknowledgment before it re-sends the current

Page 110

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-34 © National Instruments CorporationXModemReceive tries ((maximum#ofTries + 1) / 2) time

Page 111

Chapter 5 RS-232 Library© National Instruments Corporation 5-35 LabWindows/CVI Standard LibrariesReturn Valueresultinteger Result of the XModem sendop

Page 113

About This ManualLabWindows/CVI Standard Libraries xx © National Instruments CorporationThe LabWindows/CVI Documentation SetFor a detailed discussion

Page 114

RS-232 Library Chapter 5LabWindows/CVI Standard Libraries 5-36 © National Instruments CorporationError ConditionsIf an error condition occurs during

Page 115

Chapter 5 RS-232 Library© National Instruments Corporation 5-37 LabWindows/CVI Standard LibrariesTable 5-6. RS-232 Library Error Codes (Continued)-25

Page 116

© National Instruments Corporation 6-1 LabWindows/CVI Standard LibrariesChapter 6DDE LibraryThis chapter describes the functions in the LabWindows/CVI

Page 117 - Determinant

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-2 © National Instruments CorporationDDE Clients and ServersInterprocess communication with D

Page 118

Chapter 6 DDE Library© National Instruments Corporation 6-3 LabWindows/CVI Standard LibrariesDDE callback functions used in a program that acts as a D

Page 119 - DotProduct

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-4 © National Instruments CorporationTable 6-2. DDE Transaction Types (xType)xType Server Cl

Page 120 - Histogram

Chapter 6 DDE Library© National Instruments Corporation 6-5 LabWindows/CVI Standard LibrariesA DDE Library Example Using Microsoft Excel and LabWindow

Page 121 - InvMatrix

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-6 © National Instruments CorporationWhen the DDE_DATAREADY transaction is received in the ca

Page 122

Chapter 6 DDE Library© National Instruments Corporation 6-7 LabWindows/CVI Standard LibrariesParameter DiscussiondataFormat must be a valid data forma

Page 123

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-8 © National Instruments CorporationIf successful, this function returns the number of bytes

Page 124 - Parameter Discussion

© National Instruments Corporation 1-1 LabWindows/CVI Standard LibrariesChapter 1ANSI C Library

Page 125 - MaxMin2D

Chapter 6 DDE Library© National Instruments Corporation 6-9 LabWindows/CVI Standard LibrariesParameter DiscussionserverName, topicName, and itemName m

Page 126

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-10 © National Instruments CorporationPurposeCalled by client to send a command to be execute

Page 127

Chapter 6 DDE Library© National Instruments Corporation 6-11 LabWindows/CVI Standard LibrariesdataFormatunsigned integer Valid data format; for exampl

Page 128

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-12 © National Instruments CorporationPurposeCalled by client to write data to a DDE server a

Page 129

Chapter 6 DDE Library© National Instruments Corporation 6-13 LabWindows/CVI Standard LibrariesSee AlsoConnectToDDEServer, ClientDDEReadConnectToDDESer

Page 130

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-14 © National Instruments CorporationclientCallbackFunction defines a callback function thro

Page 131

Chapter 6 DDE Library© National Instruments Corporation 6-15 LabWindows/CVI Standard LibrariesDisconnectFromDDEServerint status = DisconnectFromDDESe

Page 132

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-16 © National Instruments CorporationReturn Valuemessagestring Explanation of error.Register

Page 133 - Subset1D

Chapter 6 DDE Library© National Instruments Corporation 6-17 LabWindows/CVI Standard LibrariesDDE_DISCONNECTDDE_DATAREADYDDE_REQUESTDDE_ADVISELOOPDDE_

Page 134 - ToPolar1D

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-18 © National Instruments CorporationThis function registers your program as a DDE server wi

Page 135

ANSI C Library Chapter 1LabWindows/CVI Standard Libraries 1-2 © National Instruments CorporationTable 1-1. ANSI C Standard Library Classes (Continu

Page 136 - ToRect1D

Chapter 6 DDE Library© National Instruments Corporation 6-19 LabWindows/CVI Standard LibrariesServerDDEWriteint status = ServerDDEWrite (unsigned int

Page 137 - Transpose

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-20 © National Instruments CorporationRefer to Microsoft programmers' documention for Wi

Page 138 - Error Conditions

Chapter 6 DDE Library© National Instruments Corporation 6-21 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes in Table

Page 139 - GPIB/GPIB-488.2 Library

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-22 © National Instruments CorporationParameter DiscussionThe itemName represents the informa

Page 140

Chapter 6 DDE Library© National Instruments Corporation 6-23 LabWindows/CVI Standard LibrariesUnregisterDDEServerint status = UnregisterDDEServer (ch

Page 141

DDE Library Chapter 6LabWindows/CVI Standard Libraries 6-24 © National Instruments CorporationTable 6-3. DDE Library Error CodesCode Error Message 0

Page 142

© National Instruments Corporation 7-1 LabWindows/CVI Standard LibrariesChapter 7TCP LibraryThis chapter describes the functions in the LabWindows/CVI

Page 143 - GPIB Library Concepts

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-2 © National Instruments CorporationTCP Clients and ServersNetwork communication using the TC

Page 144

Chapter 7 TCP Library© National Instruments Corporation 7-3 LabWindows/CVI Standard Librariesprogram is invoked to process the request. The parameter

Page 145 - Automatic Serial Polling

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-4 © National Instruments CorporationParametersInputconversationHandleunsigned integer Uniquel

Page 146

Chapter 1 ANSI C Library© National Instruments Corporation 1-3 LabWindows/CVI Standard LibrariesTable 1-2. C Locale Information ValuesName Type C loca

Page 147 - Timeouts

Chapter 7 TCP Library© National Instruments Corporation 7-5 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Returns the number of byteswrit

Page 148

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-6 © National Instruments CorporationReturn Valuestatusinteger Refer to error codes inTable 7-

Page 149 - Multithreading

Chapter 7 TCP Library© National Instruments Corporation 7-7 LabWindows/CVI Standard LibrariesSee AlsoRegisterTCPServer, DisconnectFromTCPServerDisconn

Page 150

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-8 © National Instruments CorporationSee AlsoRegisterTCPServerGetTCPErrorStringchar *message =

Page 151 - GPIB Function Reference

Chapter 7 TCP Library© National Instruments Corporation 7-9 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Refer to error codes inTable 7-

Page 152 - CloseInstrDevs

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-10 © National Instruments CorporationIt is up to you to define the meaning of the callback da

Page 153

Chapter 7 TCP Library© National Instruments Corporation 7-11 LabWindows/CVI Standard LibrariesServerTCPWriteint status = ServerTCPWrite (unsigned int

Page 154

TCP Library Chapter 7LabWindows/CVI Standard Libraries 7-12 © National Instruments CorporationReturn Valuestatusinteger Refer to error codes in Table

Page 155

© National Instruments Corporation 8-1 LabWindows/CVI Standard LibrariesChapter 8Utility LibraryThis chapter describes the functions in the LabWindows

Page 156

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-2 © National Instruments CorporationTable 8-1. The Utility Library Function Tree (Continu

Page 157

ANSI C Library Chapter 1LabWindows/CVI Standard Libraries 1-4 © National Instruments CorporationUnder Windows, LabWindows/CVI implements the default

Page 158

Chapter 8 Utility Library© National Instruments Corporation 8-3 LabWindows/CVI Standard LibrariesTable 8-1. The Utility Library Function Tree (Continu

Page 159

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-4 © National Instruments CorporationTable 8-1. The Utility Library Function Tree (Continu

Page 160 - ThreadIbcntl

Chapter 8 Utility Library© National Instruments Corporation 8-5 LabWindows/CVI Standard Libraries• Standard Input/Output Window functions control vari

Page 161 - ThreadIberr

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-6 © National Instruments CorporationBreakpointvoid Breakpoint (void);PurposeDuring execut

Page 162

Chapter 8 Utility Library© National Instruments Corporation 8-7 LabWindows/CVI Standard LibrariesClsvoid Cls (void);PurposeIn the LabWindows/CVI envir

Page 163 - ThreadIbsta

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-8 © National Instruments CorporationParameter DiscussionsourceFileName and targetFileName

Page 164

Chapter 8 Utility Library© National Instruments Corporation 8-9 LabWindows/CVI Standard LibrariesReturn Valueloadedinteger Indicates whether the LabWi

Page 165

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-10 © National Instruments CorporationParameterInputnumberofSecondsdouble-precision Number

Page 166 - RS-232 Library Chapter 5

Chapter 8 Utility Library© National Instruments Corporation 8-11 LabWindows/CVI Standard LibrariesParameterInputfileNamestring File to delete.Return V

Page 167 - Troubleshooting

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-12 © National Instruments CorporationYou can use this function in conjunction with Enable

Page 168 - RS-232 Cable Information

Chapter 1 ANSI C Library© National Instruments Corporation 1-5 LabWindows/CVI Standard Libraries• islower maps to the Windows function isCharLower.• i

Page 169 - Chapter 5 RS-232 Library

Chapter 8 Utility Library© National Instruments Corporation 8-13 LabWindows/CVI Standard Libraries• The <Alt-Tab>, <Alt-Esc>, or <Ctrl

Page 170 - Handshaking

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-14 © National Instruments Corporationyour standalone application to be brought up in plac

Page 171

Chapter 8 Utility Library© National Instruments Corporation 8-15 LabWindows/CVI Standard Libraries• Do not use the Standard I/O Window in your final

Page 172 - CloseCom

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-16 © National Instruments CorporationNote: For you to be able to use this function under

Page 173 - ComFromFile

Chapter 8 Utility Library© National Instruments Corporation 8-17 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Result of operation.Return

Page 174

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-18 © National Instruments CorporationGetBreakOnProtectionErrorsint state = GetBreakOnProt

Page 175

Chapter 8 Utility Library© National Instruments Corporation 8-19 LabWindows/CVI Standard LibrariesReturn CodesNnn Where N.nn is the LabWindows/CVI ver

Page 176 - ComRdTerm

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-20 © National Instruments CorporationGetDirint result = GetDir (char currentDirectory[]);

Page 177

Chapter 8 Utility Library© National Instruments Corporation 8-21 LabWindows/CVI Standard LibrariesReturn Valueresultinteger Result of operation.Return

Page 178 - ComSetEscape

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-22 © National Instruments CorporationReturn Codes 0Success. -1Out of memory. -4Invalid f

Page 179 - ComToFile

ANSI C Library Chapter 1LabWindows/CVI Standard Libraries 1-6 © National Instruments CorporationInput/Output FacilitiesThe function rename fails if

Page 180

Chapter 8 Utility Library© National Instruments Corporation 8-23 LabWindows/CVI Standard LibrariesGetFileAttrsint result = GetFileAttrs (char fileName

Page 181 - ComWrtByte

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-24 © National Instruments CorporationParameter DiscussionEach attribute parameter will co

Page 182 - FlushInQ

Chapter 8 Utility Library© National Instruments Corporation 8-25 LabWindows/CVI Standard LibrariesReturn Codes 0 Success.-1 File not found or director

Page 183 - GetComStat

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-26 © National Instruments CorporationReturn Codes 0 Success.-1 File not found or director

Page 184 - GetInQLen

Chapter 8 Utility Library© National Instruments Corporation 8-27 LabWindows/CVI Standard LibrariesReturn Codes 0 Success.-1 File not found or director

Page 185 - GetOutQLen

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-28 © National Instruments CorporationUnder Windows, all of the attributes are honored. Th

Page 186 - InstallComCallback

Chapter 8 Utility Library© National Instruments Corporation 8-29 LabWindows/CVI Standard LibrariesParameter DiscussionsearchPath may contain the wildc

Page 187

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-30 © National Instruments CorporationUsing This FunctionThis function is useful when your

Page 188

Chapter 8 Utility Library© National Instruments Corporation 8-31 LabWindows/CVI Standard LibrariesParametersNoneReturn Valuekinteger Key code.Using Th

Page 189

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-32 © National Instruments CorporationPurposeThis function obtains the name of the directo

Page 190 - OpenComConfig

Chapter 1 ANSI C Library© National Instruments Corporation 1-7 LabWindows/CVI Standard LibrariesThe AAA and BBB fields specify the names of the standa

Page 191

Chapter 8 Utility Library© National Instruments Corporation 8-33 LabWindows/CVI Standard LibrariesGetNextFileint result = GetNextFile (char fileName[]

Page 192 - ReturnRS232Err

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-34 © National Instruments CorporationGetProjectDirint result = GetProjectDir (char direct

Page 193 - SetComTime

Chapter 8 Utility Library© National Instruments Corporation 8-35 LabWindows/CVI Standard LibrariesGetStdioPortvoid GetStdioPort (int *stdioPort);Purpo

Page 194 - SetCTSMode

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-36 © National Instruments CorporationParametersOutputmaxNumLinesinteger The maximum numbe

Page 195 - XModemConfig

Chapter 8 Utility Library© National Instruments Corporation 8-37 LabWindows/CVI Standard LibrariesParametersOutputtopinteger The current distance, in

Page 196

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-38 © National Instruments CorporationParametersOutputvisibleinteger 1 = Standard I/O wind

Page 197 - XModemReceive

Chapter 8 Utility Library© National Instruments Corporation 8-39 LabWindows/CVI Standard LibrariesGetSystemTimeint status = GetSystemTime(int *hours,

Page 198 - XModemSend

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-40 © National Instruments CorporationParametersOutputvisibleinteger 0, if window is to be

Page 199

Chapter 8 Utility Library© National Instruments Corporation 8-41 LabWindows/CVI Standard LibrariesParametersInputhInstancevoidpointer0 if called from

Page 200

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-42 © National Instruments Corporation /* your other DETACH code */

Page 201

ANSI C Library Chapter 1LabWindows/CVI Standard Libraries 1-8 © National Instruments Corporationor by creating another .pif file. Refer to your Mic

Page 202

Chapter 8 Utility Library© National Instruments Corporation 8-43 LabWindows/CVI Standard LibrariesParametersInputportNumberinteger The port.Return Val

Page 203 - The DDE Callback Function

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-44 © National Instruments CorporationReturn Codes0Key has not been pressed.1Key has been

Page 204

Chapter 8 Utility Library© National Instruments Corporation 8-45 LabWindows/CVI Standard LibrariesRefer to your DOS documentation for further help wit

Page 205 - DDE Links

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-46 © National Instruments CorporationReturn Codes under Microsoft Windows 0Command was su

Page 206 - Chapter 6 DDE Library

Chapter 8 Utility Library© National Instruments Corporation 8-47 LabWindows/CVI Standard LibrariesLaunchExecutableExint result = LaunchExecutableEx (c

Page 207 - AdviseDDEDataReady

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-48 © National Instruments CorporationA handle can be passed to ExecutableHasTerminated an

Page 208

Chapter 8 Utility Library© National Instruments Corporation 8-49 LabWindows/CVI Standard LibrariesLoadExternalModuleint module_id = LoadExternalModule

Page 209 - BroadcastDDEDataReady

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-50 © National Instruments CorporationReturn Codes (Continued)-21Could not load the DLL.-2

Page 210 - ClientDDEExecute

Chapter 8 Utility Library© National Instruments Corporation 8-51 LabWindows/CVI Standard Libraries• You can call RunExternalModule. This requires tha

Page 211 - ClientDDERead

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-52 © National Instruments Corporation3. If the file has not been found and its extension

Page 212 - ClientDDEWrite

Chapter 1 ANSI C Library© National Instruments Corporation 1-9 LabWindows/CVI Standard LibrariesThe UNIX version of LabWindows/CVI works with all the

Page 213

Chapter 8 Utility Library© National Instruments Corporation 8-53 LabWindows/CVI Standard LibrariesParametersInputpathNamestring Relative or absolute p

Page 214 - ConnectToDDEServer

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-54 © National Instruments Corporationcommand in the Build menu of the Project Window to c

Page 215 - DDE Library Chapter 6

Chapter 8 Utility Library© National Instruments Corporation 8-55 LabWindows/CVI Standard LibrariesExample/* make a new directory named \DATA\WAVEFORM

Page 216 - GetDDEErrorString

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-56 © National Instruments Corporationoutpchar byteWritten = outp(int portNumber, char byt

Page 217 - RegisterDDEServer

Chapter 8 Utility Library© National Instruments Corporation 8-57 LabWindows/CVI Standard LibrariesReadFromPhysicalMemoryint status = ReadFromPhysicalM

Page 218

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-58 © National Instruments CorporationReadFromPhysicalMemoryExint status = ReadFromPhysica

Page 219

Chapter 8 Utility Library© National Instruments Corporation 8-59 LabWindows/CVI Standard LibrariesReleaseExternalModuleint status = ReleaseExternalMod

Page 220 - ServerDDEWrite

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-60 © National Instruments CorporationRenameFileint result = RenameFile (char existingFile

Page 221 - SetUpDDEHotLink

Chapter 8 Utility Library© National Instruments Corporation 8-61 LabWindows/CVI Standard LibrariesUnder UNIX, if the arguments to RenameFile specify f

Page 222 - SetUpDDEWarmLink

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-62 © National Instruments CorporationReturn Valuenlong Result of the rounding operation.E

Page 223 - TerminateDDELink

WarrantyThe media on which you receive National Instruments software are warranted not to fail to execute programminginstructions, due to defects in m

Page 224

ANSI C Library Chapter 1LabWindows/CVI Standard Libraries 1-10 © National Instruments CorporationParameter Discussionmode is the same as the mode pa

Page 225

Chapter 8 Utility Library© National Instruments Corporation 8-63 LabWindows/CVI Standard LibrariesParameter DiscussionmoduleID is the value LoadExtern

Page 226

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-64 © National Instruments CorporationIf debugging is disabled, this function has no effec

Page 227 - The TCP Callback Function

Chapter 8 Utility Library© National Instruments Corporation 8-65 LabWindows/CVI Standard LibrariesYou can use this function to prevent LabWindows/CVI

Page 228 - ClientTCPRead

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-66 © National Instruments CorporationSetDirint result = SetDir (char directoryName[]);Pur

Page 229 - ClientTCPWrite

Chapter 8 Utility Library© National Instruments Corporation 8-67 LabWindows/CVI Standard LibrariesReturn Valueresultinteger Result of operation.Return

Page 230 - ConnectToTCPServer

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-68 © National Instruments CorporationReturn Valueresultreturn value Result of operation.R

Page 231 - TCP_DATAREADY

Chapter 8 Utility Library© National Instruments Corporation 8-69 LabWindows/CVI Standard LibrariesParametersInputfileNamestring File to set attributes

Page 232 - DisconnectTCPClient

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-70 © National Instruments CorporationSetFileTimeint result = SetFileTime (char fileName[]

Page 233 - RegisterTCPServer

Chapter 8 Utility Library© National Instruments Corporation 8-71 LabWindows/CVI Standard LibrariesSetPersistentVariablevoid SetPersistentVariable (int

Page 234 - TCP_CONNECT

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-72 © National Instruments CorporationParametersInputstdioPortinteger CVI_STDIO_WINDOW (0)

Page 235 - ServerTCPRead

© National Instruments Corporation 2-1 LabWindows/CVI Standard LibrariesChapter 2Formatting and I/O LibraryThis chapter describes the functions in the

Page 236 - UnregisterTCPServer

Chapter 8 Utility Library© National Instruments Corporation 8-73 LabWindows/CVI Standard LibrariesParametersInputmaxNumLinesinteger The maximum number

Page 237

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-74 © National Instruments CorporationshowLineNumbers—In an executable, the default value

Page 238

Chapter 8 Utility Library© National Instruments Corporation 8-75 LabWindows/CVI Standard LibrariesParameter DiscussionTo vertically center the Standar

Page 239 - Utility Library Chapter 8

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-76 © National Instruments CorporationSetStdioWindowVisibilityvoid SetStdioWindowVisibilit

Page 240 - Chapter 8 Utility Library

Chapter 8 Utility Library© National Instruments Corporation 8-77 LabWindows/CVI Standard LibrariesSetSystemTimeint status = SetSystemTime(int hours, i

Page 241

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-78 © National Instruments CorporationParametersInputpathNamestring Path name to be split.

Page 242

Chapter 8 Utility Library© National Instruments Corporation 8-79 LabWindows/CVI Standard LibrariesSyncWaitvoid SyncWait (double beginTime, double inte

Page 243 - CloseCVIRTE

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-80 © National Instruments CorporationParametersInputhelpFilestring Points to a string con

Page 244 - CopyFile

Chapter 8 Utility Library© National Instruments Corporation 8-81 LabWindows/CVI Standard LibrariesHELP_CONTEXTPOPUP—Displays in a pop-up window a part

Page 245

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-82 © National Instruments CorporationTerminateExecutableint status = TerminateExecutable

Page 246

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-2 © National Instruments CorporationTable 2-1. The Formatting and I/O Libra

Page 247 - DeleteFile

Chapter 8 Utility Library© National Instruments Corporation 8-83 LabWindows/CVI Standard LibrariesTimerdouble t = Timer (void);PurposeReturns the numb

Page 248 - DisableBreakOnLibraryErrors

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-84 © National Instruments CorporationTruncateRealNumberdouble y = TruncateRealNumber (dou

Page 249 - DisableTaskSwitching

Chapter 8 Utility Library© National Instruments Corporation 8-85 LabWindows/CVI Standard LibrariesExampleint module_id;int status;char *pathname'

Page 250

Utility Library Chapter 8LabWindows/CVI Standard Libraries 8-86 © National Instruments CorporationReturn Valuestatus integer Indicates whether the fun

Page 251

Chapter 8 Utility Library© National Instruments Corporation 8-87 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Indicates whether the func

Page 252 - EnableInterrupts

© National Instruments Corporation 9-1 LabWindows/CVI Standard LibrariesChapter 9X Property Library___________________________________________________

Page 253 - ExecutableHasTerminated

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-2 © National Instruments CorporationTable 9-1. The X Property Library Function TreeAc

Page 254 - GetBreakOnLibraryErrors

Chapter 9 X Property Library© National Instruments Corporation 9-3 LabWindows/CVI Standard LibrariesWith the LabWindows/CVI X Property Library functio

Page 255 - GetCVIVersion

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-4 © National Instruments Corporationnot delete it, the property remains there indefini

Page 256 - GetCurrentPlatform

Chapter 9 X Property Library© National Instruments Corporation 9-5 LabWindows/CVI Standard LibrariesTable 9-3. X Property Library Error Types and Desc

Page 257 - GetDrive

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-3 LabWindows/CVI Standard Libraries• The Data Formatting function panels perf

Page 258 - GetExternalModuleAddr

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-6 © National Instruments CorporationTable 9-3. X Property Library Error Types and Desc

Page 259

Chapter 9 X Property Library© National Instruments Corporation 9-7 LabWindows/CVI Standard LibrariesUsing the Library Outside of LabWindows/CVIYou can

Page 260 - GetFileAttrs

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-8 © National Instruments CorporationParametersInputdisplayNamestring Determines the X

Page 261 - GetFileDate

Chapter 9 X Property Library© National Instruments Corporation 9-9 LabWindows/CVI Standard LibrariesSee AlsoRefer to the Xlib Programming Manual or to

Page 262 - GetFileSize

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-10 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 263 - GetFileTime

Chapter 9 X Property Library© National Instruments Corporation 9-11 LabWindows/CVI Standard LibrariesThere are three predefined property types that yo

Page 264 - GetFirstFile

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-12 © National Instruments CorporationParameter DiscussionUsually, you can use the expr

Page 265

Chapter 9 X Property Library© National Instruments Corporation 9-13 LabWindows/CVI Standard LibrariesParameterInputpropertyPropertyHandleXHandle to th

Page 266 - GetFullPathFromProject

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-14 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 267 - GetInterruptState

Chapter 9 X Property Library© National Instruments Corporation 9-15 LabWindows/CVI Standard LibrariesSee AlsoRefer to the Xlib Programming Manual or t

Page 268 - GetModuleDir

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-4 © National Instruments Corporationdescribed in detail in the Using the For

Page 269

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-16 © National Instruments CorporationWarning: The propertyName pointer points to memor

Page 270 - GetPersistentVariable

Chapter 9 X Property Library© National Instruments Corporation 9-17 LabWindows/CVI Standard LibrariesReturn ValuesThe return value indicates the succe

Page 271 - GetProjectDir

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-18 © National Instruments CorporationSee AlsoCreateXPropTypeGetXPropTypeSizePropLibXEr

Page 272 - GetStdioWindowOptions

Chapter 9 X Property Library© National Instruments Corporation 9-19 LabWindows/CVI Standard LibrariesGetXPropTypeUnitPropLibXErrType status = GetXProp

Page 273 - GetStdioWindowPosition

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-20 © National Instruments CorporationGetXWindowPropertyItemPropLibXErrType status = Ge

Page 274 - GetStdioWindowVisibility

Chapter 9 X Property Library© National Instruments Corporation 9-21 LabWindows/CVI Standard LibrariesReturn ValuesThe return value indicates the succe

Page 275 - GetSystemDate

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-22 © National Instruments CorporationSee AlsoRefer to the Xlib Programming Manual or t

Page 276 - GetWindowDisplaySetting

Chapter 9 X Property Library© National Instruments Corporation 9-23 LabWindows/CVI Standard LibrariesParametersInputdisplayDisplayPtrXA pointer to the

Page 277 - InitCVIRTE

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-24 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 278

Chapter 9 X Property Library© National Instruments Corporation 9-25 LabWindows/CVI Standard LibrariesSee AlsoRefer to the Xlib Programming Manual or t

Page 279

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-5 LabWindows/CVI Standard LibrariesReturn Valuestatusinteger Indicates succes

Page 280 - InStandaloneExecutable

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-26 © National Instruments CorporationParameters (Continued)numberofPropertiesunsigned

Page 281 - LaunchExecutable

Chapter 9 X Property Library© National Instruments Corporation 9-27 LabWindows/CVI Standard Librariesdefault root window of the display used by LabWin

Page 282

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-28 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 283

Chapter 9 X Property Library© National Instruments Corporation 9-29 LabWindows/CVI Standard LibrariesPutXWindowPropertyValuePropLibXErrType status = P

Page 284 - LaunchExecutableEx

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-30 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 285 - CVI arg1 arg2 arg3

Chapter 9 X Property Library© National Instruments Corporation 9-31 LabWindows/CVI Standard LibrariesThe following values are valid for the mode param

Page 286 - LoadExternalModule

X Property Library Chapter 9LabWindows/CVI Standard Libraries 9-32 © National Instruments CorporationReturn ValuesThe return value indicates the succe

Page 287

Chapter 9 X Property Library© National Instruments Corporation 9-33 LabWindows/CVI Standard LibrariesUninstallXPropertyCallbackPropLibXErrType status

Page 288

© National Instruments Corporation 10-1 LabWindows/CVI Standard LibrariesChapter 10Easy I/O for DAQ Library

Page 289 - LoadExternalModuleEx

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-2 © National Instruments CorporationThe Easy I/O for DAQ functions are devic

Page 290

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-6 © National Instruments Corporation•VAL_GROUPS_TOGETHER—all points of each

Page 291

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-3 LabWindows/CVI Standard LibrariesTable 10-1. Easy I/O for DAQ Function Tre

Page 292 - MakePathname

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-4 © National Instruments CorporationDevice NumbersThe first parameter to mos

Page 293

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-5 LabWindows/CVI Standard Libraries• If you are using a Lab-PC+, DAQCard-500

Page 294 - ReadFromPhysicalMemory

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-6 © National Instruments CorporationCommand StringsYou can use command strin

Page 295 - ReadFromPhysicalMemoryEx

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-7 LabWindows/CVI Standard LibrariesChannel String for Analog Output Functions

Page 296 - ReleaseExternalModule

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-8 © National Instruments CorporationEasy I/O for DAQ Function ReferenceThis

Page 297 - RenameFile

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-9 LabWindows/CVI Standard LibrariesParametersInputdeviceshort integer Assigne

Page 298 - RoundRealToNearestInteger

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-10 © National Instruments CorporationParameter DiscussionchannelString is th

Page 299 - RunExternalModule

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-11 LabWindows/CVI Standard LibrariesFor example, if the A/D conversions (repr

Page 300 - SetBreakOnLibraryErrors

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-12 © National Instruments CorporationWhen the A/D conversions are placed sid

Page 301 - SetBreakOnProtectionErrors

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-7 LabWindows/CVI Standard LibrariesCloseFileint status = CloseFile (int fileH

Page 302

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-13 LabWindows/CVI Standard Librarieswaveforms is an array containing the volt

Page 303 - SetDrive

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-14 © National Instruments CorporationReturn ValueerrorshortintegerRefer to e

Page 304 - SetFileAttrs

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-15 LabWindows/CVI Standard LibrariesAICheckAcquisitionshort error = AICheckAc

Page 305 - SetFileDate

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-16 © National Instruments CorporationAIReadAcquisitionshort error = AIReadAc

Page 306

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-17 LabWindows/CVI Standard Librariesfrom the internal circular buffer, where

Page 307 - SetFileTime

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-18 © National Instruments CorporationParameter DiscussionsingleChannel is th

Page 308 - SetStdioPort

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-19 LabWindows/CVI Standard LibrariesAIStartAcquisitionshort error = AIStartAc

Page 309 - SetStdioWindowOptions

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-20 © National Instruments CorporationAOClearWaveformsshort error = AOClearWa

Page 310

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-21 LabWindows/CVI Standard LibrariesAOGenerateWaveformsshort error = AOGenera

Page 311 - SetStdioWindowPosition

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-22 © National Instruments CorporationupdatesPerChannel is the number of D/A

Page 312 - SetStdioWindowSize

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-8 © National Instruments CorporationReturn Valueresultinteger Result of the

Page 313 - SetSystemDate

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-23 LabWindows/CVI Standard LibrariesParametersInputdeviceshort integer Assign

Page 314 - SplitPath

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-24 © National Instruments CorporationParameter DiscussionchannelString is th

Page 315

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-25 LabWindows/CVI Standard LibrariesParametersInputdeviceshortintegerAssigned

Page 316 - SystemHelp

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-26 © National Instruments CorporationgateMode specifies how the signal on th

Page 317

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-27 LabWindows/CVI Standard LibrariesParametersInputdeviceshortintegerAssigned

Page 318

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-28 © National Instruments Corporation• If you use TWO_COUNTERS, counter+1 i

Page 319 - TerminateExecutable

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-29 LabWindows/CVI Standard LibrariessourceEdge is the edge of the counter sou

Page 320

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-30 © National Instruments CorporationTable 10-4. Adjacent CountersAm9513cou

Page 321 - UnloadExternalModule

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-31 LabWindows/CVI Standard LibrariesParametersInputdeviceshortintegerAssigned

Page 322 - WriteToPhysicalMemory

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-32 © National Instruments CorporationReturn ValueerrorshortintegerRefer to e

Page 323 - WriteToPhysicalMemoryEx

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-9 LabWindows/CVI Standard LibrariesReturn Valueresultinteger Result of the co

Page 324

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-33 LabWindows/CVI Standard LibrariesParametersInputtaskIDunsigned longinteger

Page 325

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-34 © National Instruments CorporationCounterStopshort error = CounterStop (u

Page 326 - X Interclient Communication

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-35 LabWindows/CVI Standard LibrariesParametersInputdeviceshort integer Assign

Page 327 - The Hidden Window

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-36 © National Instruments Corporation• pulseWidth is the desired duration o

Page 328 - Error Codes

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-37 LabWindows/CVI Standard LibrariesFrequencyDividerConfigshort error = Frequ

Page 329 - Chapter 9 X Property Library

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-38 © National Instruments CorporationParametersInputdeviceshort integer Assi

Page 330 - X Property Library Chapter 9

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-39 LabWindows/CVI Standard LibrariestimebaseDivisor is the source frequency d

Page 331 - ConnectToXDisplay

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-40 © National Instruments CorporationGetAILimitsOfChannelshort error = GetAI

Page 332

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-41 LabWindows/CVI Standard LibrariesinitialHighLimitVolts specifies the maxim

Page 333 - CreateXProperty

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-42 © National Instruments CorporationParametersInputdeviceshort integer Assi

Page 334 - CreateXPropType

WARNING REGARDING MEDICAL AND CLINICAL USEOF NATIONAL INSTRUMENTS PRODUCTSNational Instruments products are not designed with components and testing i

Page 335

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-10 © National Instruments CorporationParameter DiscussionBoth sourceIndex an

Page 336 - DestroyXProperty

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-43 LabWindows/CVI Standard LibrariesParametersInputdeviceshort integer Assign

Page 337 - DestroyXPropType

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-44 © National Instruments CorporationGetNumChannelsshort error = GetNumChann

Page 338 - DisconnectFromXDisplay

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-45 LabWindows/CVI Standard LibrariesIf you acquire data in "grouped by s

Page 339 - GetXPropertyName

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-46 © National Instruments CorporationParametersInputdeviceshort integer Assi

Page 340 - GetXPropertyType

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-47 LabWindows/CVI Standard Libraries• 5: I_HARDWARE_TRIGGERED_STROBE—similar

Page 341 - GetXPropTypeName

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-48 © National Instruments CorporationPulseWidthOrPeriodMeasConfigshort error

Page 342 - GetXPropTypeSize

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-49 LabWindows/CVI Standard LibrariesParameter DiscussiontypeOfMeasurement ide

Page 343 - GetXPropTypeUnit

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-50 © National Instruments CorporationParametersInputdeviceshort integer Assi

Page 344 - GetXWindowPropertyItem

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-51 LabWindows/CVI Standard Libraries• The portWidth for the 8255-based digit

Page 345

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-52 © National Instruments CorporationReturn Valueerrorshort integer Refer to

Page 346 - GetXWindowPropertyValue

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-11 LabWindows/CVI Standard LibrariesFileToArrayint status = FileToArray (char

Page 347

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-53 LabWindows/CVI Standard LibrariesSetEasyIOMultitaskingModevoid SetEasyIOMu

Page 348

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-54 © National Instruments CorporationParametersInputdeviceshort integer Assi

Page 349 - InstallXPropertyCallback

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-55 LabWindows/CVI Standard Libraries• The portWidth for the 8255-based digit

Page 350 - PropertyCallbackTypeX

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-56 © National Instruments CorporationReturn Valueerrorshort integer Refer to

Page 351 - PutXWindowPropertyItem

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-57 LabWindows/CVI Standard LibrariesError ConditionsAll of the functions in t

Page 352

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-58 © National Instruments CorporationTable 10-5. Easy I/O for DAQ Error Cod

Page 353 - PutXWindowPropertyValue

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-59 LabWindows/CVI Standard LibrariesTable 10-5. Easy I/O for DAQ Error Codes

Page 354

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-60 © National Instruments CorporationTable 10-5. Easy I/O for DAQ Error Cod

Page 355 - RemoveXWindowProperty

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-61 LabWindows/CVI Standard LibrariesTable 10-5. Easy I/O for DAQ Error Codes

Page 356

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-62 © National Instruments CorporationTable 10-5. Easy I/O for DAQ Error Cod

Page 357 - UninstallXPropertyCallback

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-12 © National Instruments CorporationParameter DiscussionFileName may be an

Page 358

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-63 LabWindows/CVI Standard LibrariesTable 10-5. Easy I/O for DAQ Error Codes

Page 359

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-64 © National Instruments CorporationTable 10-5. Easy I/O for DAQ Error Cod

Page 360

Chapter 10 Easy I/O for DAQ Library© National Instruments Corporation 10-65 LabWindows/CVI Standard LibrariesTable 10-5. Easy I/O for DAQ Error Codes

Page 361 - Device Numbers

Easy I/O for DAQ Library Chapter 10LabWindows/CVI Standard Libraries 10-66 © National Instruments CorporationTable 10-5. Easy I/O for DAQ Error Cod

Page 362

© National Instruments Corporation A-1 LabWindows/CVI Standard LibrariesAppendix ACustomer CommunicationFor your convenience, this appendix contains f

Page 363 - Command Strings

Customer Communication Appendix ALabWindows/CVI Standard Libraries A-2 © National Instruments CorporationFTP SupportTo access our FTP site, log on to

Page 364

Technical Support FormPhotocopy this form and update it each time you make changes to your software or hardware, and use the completedcopy of this for

Page 365 - AIAcquireTriggeredWaveforms

Hardware and Software Configuration FormRecord the settings and revisions of your hardware and software on the line to the right of each item. Comple

Page 366

Documentation Comment FormNational Instruments encourages you to comment on the documentation supplied with our products. Thisinformation helps us pr

Page 367

© National Instruments Corporation G-1 LabWindows/CVI Standard LibrariesGlossaryPrefix Meaning Valuen- nano-10-9µ-micro-10-6m- milli-10-3k- kilo-103M-

Page 368

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-13 LabWindows/CVI Standard LibrariesFillBytesvoid FillBytes (char buffer[], i

Page 369 - x x

GlossaryLabWindows/CVI Standard Libraries G-2 © National Instruments Corporationin hardware, no data is transferred to system memory until the trigge

Page 370 - AIAcquireWaveforms

Glossary© National Instruments Corporation G-3 LabWindows/CVI Standard LibrariesDD/A Digital-to-analog.DAC D/AconverterAn electronic device, often an

Page 371

GlossaryLabWindows/CVI Standard Libraries G-4 © National Instruments CorporationGG gain The factor by which a signal is amplified, sometimes expresse

Page 372 - AIClearAcquisition

Glossary© National Instruments Corporation G-5 LabWindows/CVI Standard LibrariesKKB Kilobytes of memory.kS 1,000 samples.ksamples 1,000 samples.LLSB L

Page 373 - AIReadAcquisition

GlossaryLabWindows/CVI Standard Libraries G-6 © National Instruments Corporationpretriggering The technique used on a DAQ board to keep a continuous

Page 374 - AISampleChannel

Glossary© National Instruments Corporation G-7 LabWindows/CVI Standard LibrariesTTC Terminal count.throughput rate The data, measured in bytes/s, for

Page 375 - AISampleChannels

© National Instruments Corporation I-1 LabWindows/CVI Standard LibrariesIndex

Page 376 - AIStartAcquisition

IndexLabWindows/CVI Standard Libraries I-2 © National Instruments CorporationMaxMin2D, 3-24 to 3-25Mean, 3-25 to 3-26Mul1D, 3-26 to 3-27Mul2D, 3-27Neg

Page 377 - AOClearWaveforms

Index© National Instruments Corporation I-3 LabWindows/CVI Standard LibrariesBBeep function, 8-5board control functions, GPIB, 4-7board control functi

Page 378 - AOGenerateWaveforms

IndexLabWindows/CVI Standard Libraries I-4 © National Instruments CorporationCxRecip, 3-13 to 3-14CxSub, 3-14CxSub1D, 3-15ToPolar, 3-32 to 3-33ToPolar

Page 379 - AOUpdateChannel

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-14 © National Instruments CorporationReturn ValuendxintegerIndex in buffer w

Page 380 - AOUpdateChannels

Index© National Instruments Corporation I-5 LabWindows/CVI Standard LibrariesDateStr, 8-9GetSystemDate, 8-38GetSystemTime, 8-39SetSystemDate, 8-76SetS

Page 381 - ContinuousPulseGenConfig

IndexLabWindows/CVI Standard Libraries I-6 © National Instruments CorporationDisconnectTCPClient function, 7-7Div1D function, 3-16 to 3-17Div2D functi

Page 382

Index© National Instruments Corporation I-7 LabWindows/CVI Standard Librarieserror conditionsAnalysis Library functions, 3-37DDE Library functions, 6-

Page 383 - CounterEventOrTimeConfig

IndexLabWindows/CVI Standard Libraries I-8 © National Instruments Corporationusing literals, 2-40scanning functions, 2-41 to 2-43examples, 2-41form of

Page 384

Index© National Instruments Corporation I-9 LabWindows/CVI Standard Librariesinteger modifiers (%i, %d, %x, %o, %c),2-35 to 2-37string modifiers (%s),

Page 385

IndexLabWindows/CVI Standard Libraries I-10 © National Instruments Corporationhardware interrupts and autopolling, 4-8to 4-9overview, 4-1platform and

Page 386 - CounterMeasureFrequency

Index© National Instruments Corporation I-11 LabWindows/CVI Standard Librarieshardware interrupts and autopolling, 4-8to 4-9InvMatrix function, 3-20 t

Page 387

IndexLabWindows/CVI Standard Libraries I-12 © National Instruments CorporationNNeg1D function, 3-28null modem cable, 5-5NumFmtdBytes function, 2-20Oon

Page 388

Index© National Instruments Corporation I-13 LabWindows/CVI Standard LibrariesRread termination, GPIB, 4-9ReadFile function, 2-22 to 2-23ReadFromDigit

Page 389 - CounterRead

IndexLabWindows/CVI Standard Libraries I-14 © National Instruments CorporationSscanning function programming examplesASCII file to two integers with e

Page 390 - CounterStart

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-15 LabWindows/CVI Standard LibrariesParametersInputformatStringString.source1

Page 391 - DelayedPulseGenConfig

Index© National Instruments Corporation I-15 LabWindows/CVI Standard LibrariesSetStdioWindowOptions function, 8-72to 8-74SetStdioWindowPosition functi

Page 392

IndexLabWindows/CVI Standard Libraries I-16 © National Instruments Corporationsynchronous callbacks, 4-12SyncWait function, 8-79system control functio

Page 393

Index© National Instruments Corporation I-17 LabWindows/CVI Standard LibrariesDeleteDir, 8-10DeleteFile, 8-10 to 8-11DisableBreakOnLibraryErrors, 8-11

Page 394 - FrequencyDividerConfig

IndexLabWindows/CVI Standard Libraries I-18 © National Instruments CorporationTruncateRealNumber, 8-84UnloadExternalModule, 8-84 to 8-85WriteToPhysica

Page 395

Index© National Instruments Corporation I-19 LabWindows/CVI Standard LibrariesPutXWindowPropertyValue, 9-29to 9-31RemoveXWindowProperty, 9-31to 9-32Un

Page 396

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-16 © National Instruments CorporationReturn Valueninteger Number of source f

Page 397 - GetAILimitsOfChannel

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-17 LabWindows/CVI Standard LibrariesUsing This FunctionThe return value indic

Page 398 - GetChannelIndices

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-18 © National Instruments CorporationGetFmtErrNdxint n = GetFmtErrNdx (void)

Page 399 - GetChannelNameFromIndex

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-19 LabWindows/CVI Standard Librarieserror). If the last function that perform

Page 400 - GetDAQErrorString

© National Instruments Corporation v LabWindows/CVI Standard LibrariesContents________________________________________________________________________

Page 401 - GroupByChannel

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-20 © National Instruments CorporationNumFmtdBytesint n = NumFmtdBytes (void)

Page 402 - ICounterControl

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-21 LabWindows/CVI Standard LibrariesParametersInputfileNamestring Pathname.re

Page 403

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-22 © National Instruments CorporationfileType specifies whether to treat fil

Page 404 - PlotLastAIWaveformsPopup

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-23 LabWindows/CVI Standard LibrariesUsing This FunctionThe return value can b

Page 405 - PulseWidthOrPeriodMeasConfig

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-24 © National Instruments Corporationcarriage-return/linefeed combination wi

Page 406 - ReadFromDigitalLine

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-25 LabWindows/CVI Standard LibrariesScanFileint n = ScanFile (int fileHandle,

Page 407

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-26 © National Instruments CorporationParametersInputformatStringString.Outpu

Page 408 - ReadFromDigitalPort

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-27 LabWindows/CVI Standard LibrariesReturn Valuepositionlong integer Offset o

Page 409

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-28 © National Instruments Corporationresult = WriteFile(handle, "Hello,

Page 410 - WriteToDigitalLine

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-29 LabWindows/CVI Standard LibrariesReturn ValueNoneStringUpperCasevoid Strin

Page 411 - "SCx!MDy!0"

ContentsLabWindows/CVI Standard Libraries vi © National Instruments CorporationGetFmtErrNdx...

Page 412 - WriteToDigitalPort

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-30 © National Instruments CorporationReturn Code-1Error.Parameter Discussion

Page 413

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-31 LabWindows/CVI Standard LibrariesReturn Code-1I/O error.Parameter Discussi

Page 414

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-32 © National Instruments CorporationConvert the integer value 23 to its ASC

Page 415

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-33 LabWindows/CVI Standard LibrariesEach of these formatting functions return

Page 416

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-34 © National Instruments CorporationFormat specifiers describe the inputs a

Page 417

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-35 LabWindows/CVI Standard Librariesf real number. This source or target spe

Page 418

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-36 © National Instruments Corporationthe integer is converted to a string fo

Page 419

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-37 LabWindows/CVI Standard LibrariesNote: When using both the bn and on modi

Page 420

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-38 © National Instruments Corporationt Truncate. The t floating-point modif

Page 421

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-39 LabWindows/CVI Standard Librariestn Terminate on Character. When applied

Page 422

Contents© National Instruments Corporation vii LabWindows/CVI Standard LibrariesInteger Array to Binary File, Assuming a FixedNumber of Elements...

Page 423

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-40 © National Instruments CorporationFmt, FmtFile, FmtOut—Literals in the Fo

Page 424

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-41 LabWindows/CVI Standard LibrariesScanning Functions—Format StringConsider

Page 425 - Fax and Telephone Support

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-42 © National Instruments Corporationformatcode is specified with one of the

Page 426 - Technical Support Form

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-43 LabWindows/CVI Standard Librariesf real number. As a source or target spe

Page 427 - Other Products

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-44 © National Instruments Corporationrn Specify Radix. The r integer modifi

Page 428 - Documentation Comment Form

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-45 LabWindows/CVI Standard Librariesshort int instr_buf[100];short int prog_b

Page 429

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-46 © National Instruments CorporationIf the pn modifier is omitted, a defaul

Page 430

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-47 LabWindows/CVI Standard Librariesthan the number of bytes available from t

Page 431

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-48 © National Instruments Corporationx Discard Terminator. When applied to

Page 432

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-49 LabWindows/CVI Standard LibrariesSome formats may have been correctly dete

Page 433

ContentsLabWindows/CVI Standard Libraries viii © National Instruments CorporationChapter 3Analysis Library ...

Page 434

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-50 © National Instruments CorporationString to Integer and RealString to Str

Page 435

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-51 LabWindows/CVI Standard LibrariesFmt (buf, "%s<%i[w6p0]", a);

Page 436 - Numbers/Symbols

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-52 © National Instruments CorporationFmt (buf, "%s<%f[p0]", x);

Page 437

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-53 LabWindows/CVI Standard LibrariesInteger and Real to String with Literalsc

Page 438

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-54 © National Instruments Corporationif ((i % 5) == 4)WriteFile (file_handle

Page 439

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-55 LabWindows/CVI Standard LibrariesReal Array to Binary File, Assuming a Var

Page 440

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-56 © National Instruments CorporationConcatenating Two Stringschar buf[30];i

Page 441

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-57 LabWindows/CVI Standard Librariescase 2:Fmt (buf, "%s<TRIANGLE;&qu

Page 442

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-58 © National Instruments CorporationWriting a Line Containing an Integer wi

Page 443

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-59 LabWindows/CVI Standard LibrariesScan/ScanFile/ScanIn Examples in CThis se

Page 444

Contents© National Instruments Corporation ix LabWindows/CVI Standard LibrariesToPolar1D...

Page 445

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-60 © National Instruments CorporationScan considers the occurrence of a non-

Page 446

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-61 LabWindows/CVI Standard LibrariesWhen locating a real number in a string,

Page 447

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-62 © National Instruments CorporationString to Stringchar *s;char buf[10];in

Page 448

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-63 LabWindows/CVI Standard LibrariesString to Integer and Stringchar *s;char

Page 449

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-64 © National Instruments CorporationString to Real, After Finding a Semicol

Page 450

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-65 LabWindows/CVI Standard LibrariesString with Comma-Separated ASCII Numbers

Page 451

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-66 © National Instruments CorporationThis code shows how to insert an ASCII

Page 452

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-67 LabWindows/CVI Standard LibrariesThe first call to Scan treats the 1-byte

Page 453

Formatting and I/O Library Chapter 2LabWindows/CVI Standard Libraries 2-68 © National Instruments CorporationThe first call to Scan assumes that the

Page 454

Chapter 2 Formatting and I/O Library© National Instruments Corporation 2-69 LabWindows/CVI Standard Librariesthen reads the correct number of elements

Commentaires sur ces manuels

Pas de commentaire