National Instruments 320682C Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software National Instruments 320682C. National Instruments 320682C User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 454
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - LabWindows

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

Strany 2

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

Strany 3 - Trademarks

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

Strany 4

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

Strany 5

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

Strany 6

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

Strany 7

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

Strany 8

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

Strany 9

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

Strany 10 - RS-232 Library

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

Strany 11 - Chapter 6

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

Strany 12 - Utility Library

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

Strany 13 - Contents

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

Strany 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

Strany 15 - Glossary

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

Strany 16

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

Strany 17 - About This Manual

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

Strany 18

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

Strany 19

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

Strany 20 - Related Documentation

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

Strany 21 - ANSI C Library

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

Strany 22 - Standard Language Additions

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

Strany 23

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

Strany 24 - ANSI C Library Chapter 1

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

Strany 25 - String Processing

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

Strany 26 - Time and Date Functions

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

Strany 27 - Control Functions

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

Strany 28

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

Strany 29 - Chapter 1 ANSI C Library

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

Strany 30

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

Strany 31 - Formatting and I/O Library

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

Strany 32

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

Strany 33

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

Strany 34 - ArrayToFile

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

Strany 35

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

Strany 36

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

Strany 37 - CompareBytes

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

Strany 38 - CompareStrings

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

Strany 39 - CopyBytes

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

Strany 40 - CopyString

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

Strany 41 - FileToArray

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

Strany 42

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

Strany 43 - FindPattern

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

Strany 44

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

Strany 45

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

Strany 46

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

Strany 47 - GetFileInfo

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

Strany 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

Strany 49 - GetFmtIOErrorString

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

Strany 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

Strany 51

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

Strany 52 - ReadFile

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

Strany 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

Strany 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

Strany 55 - ScanFile

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

Strany 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

Strany 57

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

Strany 58 - StringLowerCase

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

Strany 59 - WriteFile

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

Strany 60 - WriteLine

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

Strany 61

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

Strany 62 - Formatting Functions

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

Strany 63

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

Strany 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

Strany 65

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

Strany 66

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

Strany 67

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

Strany 68

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

Strany 69

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

Strany 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

Strany 71

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

Strany 72

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

Strany 73

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

Strany 74

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

Strany 75

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

Strany 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

Strany 77

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

Strany 78

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

Strany 79

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

Strany 80

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

Strany 81

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

Strany 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

Strany 83

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

Strany 84

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

Strany 85

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

Strany 86

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

Strany 87

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

Strany 88

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

Strany 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

Strany 90

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

Strany 91

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

Strany 92

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

Strany 93

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

Strany 94

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

Strany 95

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

Strany 96

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

Strany 97

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

Strany 98

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

Strany 99

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

Strany 100

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

Strany 101

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

Strany 102 - Analysis Library

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

Strany 103 - Analysis Library Chapter 3

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

Strany 104 - Chapter 3 Analysis Library

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

Strany 105 - Reporting Analysis Errors

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

Strany 106

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

Strany 107

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

Strany 108

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

Strany 109

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

Strany 110

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

Strany 111

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

Strany 113

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

Strany 114

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

Strany 115

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

Strany 116

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

Strany 117 - Determinant

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

Strany 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

Strany 119 - DotProduct

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

Strany 120 - Histogram

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

Strany 121 - InvMatrix

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

Strany 122

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

Strany 123

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

Strany 124 - Parameter Discussion

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

Strany 125 - MaxMin2D

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

Strany 126

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

Strany 127

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

Strany 128

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

Strany 129

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

Strany 130

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

Strany 131

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

Strany 132

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

Strany 133 - Subset1D

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

Strany 134 - ToPolar1D

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

Strany 135

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

Strany 136 - ToRect1D

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

Strany 137 - Transpose

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

Strany 138 - Error Conditions

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

Strany 139 - GPIB/GPIB-488.2 Library

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

Strany 140

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

Strany 141

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

Strany 142

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

Strany 143 - GPIB Library Concepts

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

Strany 144

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

Strany 145 - Automatic Serial Polling

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

Strany 146

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

Strany 147 - Timeouts

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

Strany 148

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

Strany 149 - Multithreading

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

Strany 150

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

Strany 151 - GPIB Function Reference

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

Strany 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

Strany 153

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

Strany 154

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

Strany 155

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

Strany 156

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

Strany 157

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

Strany 158

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

Strany 159

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

Strany 160 - ThreadIbcntl

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

Strany 161 - ThreadIberr

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

Strany 162

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

Strany 163 - ThreadIbsta

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

Strany 164

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

Strany 165

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

Strany 166 - RS-232 Library Chapter 5

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

Strany 167 - Troubleshooting

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

Strany 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

Strany 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

Strany 170 - Handshaking

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

Strany 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

Strany 172 - CloseCom

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

Strany 173 - ComFromFile

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

Strany 174

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

Strany 175

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

Strany 176 - ComRdTerm

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

Strany 177

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

Strany 178 - ComSetEscape

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

Strany 179 - ComToFile

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

Strany 180

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

Strany 181 - ComWrtByte

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

Strany 182 - FlushInQ

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

Strany 183 - GetComStat

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

Strany 184 - GetInQLen

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

Strany 185 - GetOutQLen

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

Strany 186 - InstallComCallback

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

Strany 187

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

Strany 188

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

Strany 189

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

Strany 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

Strany 191

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

Strany 192 - ReturnRS232Err

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

Strany 193 - SetComTime

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

Strany 194 - SetCTSMode

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

Strany 195 - XModemConfig

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

Strany 196

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

Strany 197 - XModemReceive

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

Strany 198 - XModemSend

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

Strany 199

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

Strany 200

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

Strany 201

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

Strany 202

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

Strany 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

Strany 204

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

Strany 205 - DDE Links

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

Strany 206 - Chapter 6 DDE Library

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

Strany 207 - AdviseDDEDataReady

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

Strany 208

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

Strany 209 - BroadcastDDEDataReady

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

Strany 210 - ClientDDEExecute

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

Strany 211 - ClientDDERead

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

Strany 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

Strany 213

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

Strany 214 - ConnectToDDEServer

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

Strany 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

Strany 216 - GetDDEErrorString

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

Strany 217 - RegisterDDEServer

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

Strany 218

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

Strany 219

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

Strany 220 - ServerDDEWrite

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

Strany 221 - SetUpDDEHotLink

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

Strany 222 - SetUpDDEWarmLink

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

Strany 223 - TerminateDDELink

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

Strany 224

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

Strany 225

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

Strany 226

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

Strany 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

Strany 228 - ClientTCPRead

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

Strany 229 - ClientTCPWrite

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

Strany 230 - ConnectToTCPServer

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

Strany 231 - TCP_DATAREADY

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

Strany 232 - DisconnectTCPClient

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

Strany 233 - RegisterTCPServer

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

Strany 234 - TCP_CONNECT

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

Strany 235 - ServerTCPRead

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

Strany 236 - UnregisterTCPServer

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

Strany 237

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

Strany 238

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

Strany 239 - Utility Library Chapter 8

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

Strany 240 - Chapter 8 Utility Library

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

Strany 241

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

Strany 242

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

Strany 243 - CloseCVIRTE

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

Strany 244 - CopyFile

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

Strany 245

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

Strany 246

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

Strany 247 - DeleteFile

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

Strany 248 - DisableBreakOnLibraryErrors

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

Strany 249 - DisableTaskSwitching

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

Strany 250

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

Strany 251

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

Strany 252 - EnableInterrupts

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

Strany 253 - ExecutableHasTerminated

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

Strany 254 - GetBreakOnLibraryErrors

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

Strany 255 - GetCVIVersion

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

Strany 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

Strany 257 - GetDrive

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

Strany 258 - GetExternalModuleAddr

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

Strany 259

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

Strany 260 - GetFileAttrs

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

Strany 261 - GetFileDate

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

Strany 262 - GetFileSize

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

Strany 263 - GetFileTime

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

Strany 264 - GetFirstFile

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

Strany 265

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

Strany 266 - GetFullPathFromProject

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

Strany 267 - GetInterruptState

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

Strany 268 - GetModuleDir

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

Strany 269

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

Strany 270 - GetPersistentVariable

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

Strany 271 - GetProjectDir

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

Strany 272 - GetStdioWindowOptions

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

Strany 273 - GetStdioWindowPosition

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

Strany 274 - GetStdioWindowVisibility

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

Strany 275 - GetSystemDate

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

Strany 276 - GetWindowDisplaySetting

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

Strany 277 - InitCVIRTE

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

Strany 278

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

Strany 279

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

Strany 280 - InStandaloneExecutable

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

Strany 281 - LaunchExecutable

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

Strany 282

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

Strany 283

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

Strany 284 - LaunchExecutableEx

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

Strany 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

Strany 286 - LoadExternalModule

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

Strany 287

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

Strany 288

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

Strany 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

Strany 290

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

Strany 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

Strany 292 - MakePathname

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

Strany 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

Strany 294 - ReadFromPhysicalMemory

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

Strany 295 - ReadFromPhysicalMemoryEx

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

Strany 296 - ReleaseExternalModule

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

Strany 297 - RenameFile

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

Strany 298 - RoundRealToNearestInteger

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

Strany 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

Strany 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

Strany 301 - SetBreakOnProtectionErrors

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

Strany 302

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

Strany 303 - SetDrive

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

Strany 304 - SetFileAttrs

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

Strany 305 - SetFileDate

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

Strany 306

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

Strany 307 - SetFileTime

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

Strany 308 - SetStdioPort

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

Strany 309 - SetStdioWindowOptions

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

Strany 310

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

Strany 311 - SetStdioWindowPosition

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

Strany 312 - SetStdioWindowSize

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

Strany 313 - SetSystemDate

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

Strany 314 - SplitPath

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

Strany 315

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

Strany 316 - SystemHelp

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

Strany 317

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

Strany 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

Strany 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

Strany 320

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

Strany 321 - UnloadExternalModule

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

Strany 322 - WriteToPhysicalMemory

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

Strany 323 - WriteToPhysicalMemoryEx

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

Strany 324

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

Strany 325

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

Strany 326 - X Interclient Communication

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

Strany 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

Strany 328 - Error Codes

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

Strany 329 - Chapter 9 X Property Library

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

Strany 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

Strany 331 - ConnectToXDisplay

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

Strany 332

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

Strany 333 - CreateXProperty

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

Strany 334 - CreateXPropType

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

Strany 335

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

Strany 336 - DestroyXProperty

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

Strany 337 - DestroyXPropType

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

Strany 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

Strany 339 - GetXPropertyName

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

Strany 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

Strany 341 - GetXPropTypeName

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

Strany 342 - GetXPropTypeSize

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

Strany 343 - GetXPropTypeUnit

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

Strany 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

Strany 345

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

Strany 346 - GetXWindowPropertyValue

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

Strany 347

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

Strany 348

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

Strany 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

Strany 350 - PropertyCallbackTypeX

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 357 - UninstallXPropertyCallback

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 362

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

Strany 363 - Command Strings

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

Strany 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

Strany 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

Strany 366

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

Strany 367

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

Strany 368

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

Strany 369 - x x

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

Strany 370 - AIAcquireWaveforms

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

Strany 371

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

Strany 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

Strany 373 - AIReadAcquisition

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

Strany 374 - AISampleChannel

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

Strany 375 - AISampleChannels

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

Strany 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

Strany 377 - AOClearWaveforms

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

Strany 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

Strany 379 - AOUpdateChannel

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

Strany 380 - AOUpdateChannels

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

Strany 381 - ContinuousPulseGenConfig

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

Strany 382

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

Strany 383 - CounterEventOrTimeConfig

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

Strany 384

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

Strany 385

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

Strany 386 - CounterMeasureFrequency

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

Strany 387

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

Strany 388

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

Strany 389 - CounterRead

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

Strany 390 - CounterStart

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

Strany 391 - DelayedPulseGenConfig

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

Strany 392

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

Strany 393

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

Strany 394 - FrequencyDividerConfig

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

Strany 395

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

Strany 396

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

Strany 397 - GetAILimitsOfChannel

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

Strany 398 - GetChannelIndices

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

Strany 399 - GetChannelNameFromIndex

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

Strany 400 - GetDAQErrorString

© National Instruments Corporation v LabWindows/CVI Standard LibrariesContents________________________________________________________________________

Strany 401 - GroupByChannel

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

Strany 402 - ICounterControl

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

Strany 403

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

Strany 404 - PlotLastAIWaveformsPopup

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

Strany 405 - PulseWidthOrPeriodMeasConfig

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

Strany 406 - ReadFromDigitalLine

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

Strany 407

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

Strany 408 - ReadFromDigitalPort

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

Strany 409

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

Strany 410 - WriteToDigitalLine

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

Strany 411 - "SCx!MDy!0"

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

Strany 412 - WriteToDigitalPort

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

Strany 413

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

Strany 414

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

Strany 415

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

Strany 416

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

Strany 417

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

Strany 418

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

Strany 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

Strany 420

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

Strany 421

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

Strany 422

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

Strany 423

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

Strany 424

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

Strany 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

Strany 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

Strany 427 - Other Products

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

Strany 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

Strany 429

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

Strany 430

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

Strany 431

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

Strany 432

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

Strany 433

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

Strany 434

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

Strany 435

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

Strany 436 - Numbers/Symbols

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

Strany 437

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

Strany 438

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

Strany 439

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

Strany 440

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

Strany 441

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

Strany 442

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

Strany 443

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

Strany 444

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

Strany 445

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

Strany 446

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

Strany 447

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

Strany 448

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

Strany 449

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

Strany 450

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

Strany 451

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

Strany 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

Strany 453

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

Strany 454

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

Komentáře k této Příručce

Žádné komentáře