National Instruments 320682C Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software National Instruments 320682C herunter. National Instruments 320682C User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 454
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - LabWindows

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

Seite 2

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

Seite 3 - Trademarks

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

Seite 4

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

Seite 5

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

Seite 6

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

Seite 7

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

Seite 8

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

Seite 9

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

Seite 10 - RS-232 Library

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

Seite 11 - Chapter 6

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

Seite 12 - Utility Library

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

Seite 13 - Contents

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

Seite 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

Seite 15 - Glossary

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

Seite 16

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

Seite 17 - About This Manual

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

Seite 18

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

Seite 19

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

Seite 20 - Related Documentation

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

Seite 21 - ANSI C Library

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

Seite 22 - Standard Language Additions

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

Seite 23

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

Seite 24 - ANSI C Library Chapter 1

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

Seite 25 - String Processing

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

Seite 26 - Time and Date Functions

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

Seite 27 - Control Functions

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

Seite 28

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

Seite 29 - Chapter 1 ANSI C Library

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

Seite 30

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

Seite 31 - Formatting and I/O Library

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

Seite 32

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

Seite 33

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

Seite 34 - ArrayToFile

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

Seite 35

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

Seite 36

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

Seite 37 - CompareBytes

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

Seite 38 - CompareStrings

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

Seite 39 - CopyBytes

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

Seite 40 - CopyString

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

Seite 41 - FileToArray

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

Seite 42

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

Seite 43 - FindPattern

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

Seite 44

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

Seite 45

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

Seite 46

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

Seite 47 - GetFileInfo

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

Seite 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

Seite 49 - GetFmtIOErrorString

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

Seite 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

Seite 51

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

Seite 52 - ReadFile

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

Seite 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

Seite 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

Seite 55 - ScanFile

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

Seite 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

Seite 57

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

Seite 58 - StringLowerCase

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

Seite 59 - WriteFile

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

Seite 60 - WriteLine

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

Seite 61

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

Seite 62 - Formatting Functions

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

Seite 63

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

Seite 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

Seite 65

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

Seite 66

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

Seite 67

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

Seite 68

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

Seite 69

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

Seite 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

Seite 71

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

Seite 72

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

Seite 73

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

Seite 74

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

Seite 75

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

Seite 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

Seite 77

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

Seite 78

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

Seite 79

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

Seite 80

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

Seite 81

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

Seite 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

Seite 83

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

Seite 84

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

Seite 85

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

Seite 86

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

Seite 87

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

Seite 88

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

Seite 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

Seite 90

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

Seite 91

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

Seite 92

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

Seite 93

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

Seite 94

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

Seite 95

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

Seite 96

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

Seite 97

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

Seite 98

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

Seite 99

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

Seite 100

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

Seite 101

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

Seite 102 - Analysis Library

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

Seite 103 - Analysis Library Chapter 3

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

Seite 104 - Chapter 3 Analysis Library

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

Seite 105 - Reporting Analysis Errors

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

Seite 106

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

Seite 107

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

Seite 108

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

Seite 109

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

Seite 110

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

Seite 111

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

Seite 113

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

Seite 114

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

Seite 115

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

Seite 116

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

Seite 117 - Determinant

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

Seite 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

Seite 119 - DotProduct

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

Seite 120 - Histogram

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

Seite 121 - InvMatrix

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

Seite 122

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

Seite 123

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

Seite 124 - Parameter Discussion

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

Seite 125 - MaxMin2D

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

Seite 126

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

Seite 127

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

Seite 128

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

Seite 129

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

Seite 130

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

Seite 131

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

Seite 132

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

Seite 133 - Subset1D

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

Seite 134 - ToPolar1D

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

Seite 135

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

Seite 136 - ToRect1D

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

Seite 137 - Transpose

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

Seite 138 - Error Conditions

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

Seite 139 - GPIB/GPIB-488.2 Library

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

Seite 140

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

Seite 141

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

Seite 142

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

Seite 143 - GPIB Library Concepts

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

Seite 144

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

Seite 145 - Automatic Serial Polling

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

Seite 146

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

Seite 147 - Timeouts

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

Seite 148

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

Seite 149 - Multithreading

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

Seite 150

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

Seite 151 - GPIB Function Reference

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

Seite 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

Seite 153

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

Seite 154

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

Seite 155

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

Seite 156

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

Seite 157

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

Seite 158

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

Seite 159

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

Seite 160 - ThreadIbcntl

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

Seite 161 - ThreadIberr

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

Seite 162

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

Seite 163 - ThreadIbsta

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

Seite 164

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

Seite 165

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

Seite 166 - RS-232 Library Chapter 5

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

Seite 167 - Troubleshooting

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

Seite 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

Seite 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

Seite 170 - Handshaking

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

Seite 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

Seite 172 - CloseCom

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

Seite 173 - ComFromFile

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

Seite 174

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

Seite 175

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

Seite 176 - ComRdTerm

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

Seite 177

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

Seite 178 - ComSetEscape

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

Seite 179 - ComToFile

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

Seite 180

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

Seite 181 - ComWrtByte

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

Seite 182 - FlushInQ

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

Seite 183 - GetComStat

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

Seite 184 - GetInQLen

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

Seite 185 - GetOutQLen

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

Seite 186 - InstallComCallback

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

Seite 187

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

Seite 188

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

Seite 189

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

Seite 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

Seite 191

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

Seite 192 - ReturnRS232Err

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

Seite 193 - SetComTime

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

Seite 194 - SetCTSMode

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

Seite 195 - XModemConfig

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

Seite 196

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

Seite 197 - XModemReceive

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

Seite 198 - XModemSend

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

Seite 199

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

Seite 200

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

Seite 201

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

Seite 202

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

Seite 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

Seite 204

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

Seite 205 - DDE Links

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

Seite 206 - Chapter 6 DDE Library

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

Seite 207 - AdviseDDEDataReady

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

Seite 208

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

Seite 209 - BroadcastDDEDataReady

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

Seite 210 - ClientDDEExecute

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

Seite 211 - ClientDDERead

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

Seite 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

Seite 213

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

Seite 214 - ConnectToDDEServer

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

Seite 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

Seite 216 - GetDDEErrorString

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

Seite 217 - RegisterDDEServer

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

Seite 218

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

Seite 219

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

Seite 220 - ServerDDEWrite

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

Seite 221 - SetUpDDEHotLink

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

Seite 222 - SetUpDDEWarmLink

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

Seite 223 - TerminateDDELink

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

Seite 224

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

Seite 225

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

Seite 226

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

Seite 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

Seite 228 - ClientTCPRead

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

Seite 229 - ClientTCPWrite

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

Seite 230 - ConnectToTCPServer

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

Seite 231 - TCP_DATAREADY

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

Seite 232 - DisconnectTCPClient

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

Seite 233 - RegisterTCPServer

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

Seite 234 - TCP_CONNECT

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

Seite 235 - ServerTCPRead

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

Seite 236 - UnregisterTCPServer

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

Seite 237

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

Seite 238

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

Seite 239 - Utility Library Chapter 8

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

Seite 240 - Chapter 8 Utility Library

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

Seite 241

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

Seite 242

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

Seite 243 - CloseCVIRTE

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

Seite 244 - CopyFile

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

Seite 245

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

Seite 246

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

Seite 247 - DeleteFile

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

Seite 248 - DisableBreakOnLibraryErrors

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

Seite 249 - DisableTaskSwitching

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

Seite 250

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

Seite 251

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

Seite 252 - EnableInterrupts

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

Seite 253 - ExecutableHasTerminated

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

Seite 254 - GetBreakOnLibraryErrors

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

Seite 255 - GetCVIVersion

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

Seite 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

Seite 257 - GetDrive

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

Seite 258 - GetExternalModuleAddr

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

Seite 259

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

Seite 260 - GetFileAttrs

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

Seite 261 - GetFileDate

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

Seite 262 - GetFileSize

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

Seite 263 - GetFileTime

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

Seite 264 - GetFirstFile

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

Seite 265

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

Seite 266 - GetFullPathFromProject

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

Seite 267 - GetInterruptState

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

Seite 268 - GetModuleDir

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

Seite 269

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

Seite 270 - GetPersistentVariable

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

Seite 271 - GetProjectDir

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

Seite 272 - GetStdioWindowOptions

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

Seite 273 - GetStdioWindowPosition

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

Seite 274 - GetStdioWindowVisibility

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

Seite 275 - GetSystemDate

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

Seite 276 - GetWindowDisplaySetting

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

Seite 277 - InitCVIRTE

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

Seite 278

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

Seite 279

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

Seite 280 - InStandaloneExecutable

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

Seite 281 - LaunchExecutable

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

Seite 282

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

Seite 283

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

Seite 284 - LaunchExecutableEx

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

Seite 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

Seite 286 - LoadExternalModule

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

Seite 287

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

Seite 288

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

Seite 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

Seite 290

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

Seite 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

Seite 292 - MakePathname

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

Seite 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

Seite 294 - ReadFromPhysicalMemory

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

Seite 295 - ReadFromPhysicalMemoryEx

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

Seite 296 - ReleaseExternalModule

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

Seite 297 - RenameFile

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

Seite 298 - RoundRealToNearestInteger

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

Seite 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

Seite 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

Seite 301 - SetBreakOnProtectionErrors

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

Seite 302

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

Seite 303 - SetDrive

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

Seite 304 - SetFileAttrs

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

Seite 305 - SetFileDate

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

Seite 306

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

Seite 307 - SetFileTime

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

Seite 308 - SetStdioPort

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

Seite 309 - SetStdioWindowOptions

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

Seite 310

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

Seite 311 - SetStdioWindowPosition

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

Seite 312 - SetStdioWindowSize

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

Seite 313 - SetSystemDate

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

Seite 314 - SplitPath

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

Seite 315

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

Seite 316 - SystemHelp

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

Seite 317

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

Seite 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

Seite 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

Seite 320

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

Seite 321 - UnloadExternalModule

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

Seite 322 - WriteToPhysicalMemory

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

Seite 323 - WriteToPhysicalMemoryEx

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

Seite 324

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

Seite 325

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

Seite 326 - X Interclient Communication

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

Seite 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

Seite 328 - Error Codes

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

Seite 329 - Chapter 9 X Property Library

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

Seite 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

Seite 331 - ConnectToXDisplay

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

Seite 332

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

Seite 333 - CreateXProperty

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

Seite 334 - CreateXPropType

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

Seite 335

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

Seite 336 - DestroyXProperty

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

Seite 337 - DestroyXPropType

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

Seite 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

Seite 339 - GetXPropertyName

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

Seite 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

Seite 341 - GetXPropTypeName

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

Seite 342 - GetXPropTypeSize

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

Seite 343 - GetXPropTypeUnit

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

Seite 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

Seite 345

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

Seite 346 - GetXWindowPropertyValue

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

Seite 347

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

Seite 348

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

Seite 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

Seite 350 - PropertyCallbackTypeX

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 357 - UninstallXPropertyCallback

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 362

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

Seite 363 - Command Strings

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

Seite 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

Seite 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

Seite 366

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

Seite 367

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

Seite 368

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

Seite 369 - x x

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

Seite 370 - AIAcquireWaveforms

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

Seite 371

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

Seite 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

Seite 373 - AIReadAcquisition

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

Seite 374 - AISampleChannel

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

Seite 375 - AISampleChannels

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

Seite 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

Seite 377 - AOClearWaveforms

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

Seite 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

Seite 379 - AOUpdateChannel

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

Seite 380 - AOUpdateChannels

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

Seite 381 - ContinuousPulseGenConfig

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

Seite 382

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

Seite 383 - CounterEventOrTimeConfig

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

Seite 384

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

Seite 385

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

Seite 386 - CounterMeasureFrequency

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

Seite 387

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

Seite 388

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

Seite 389 - CounterRead

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

Seite 390 - CounterStart

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

Seite 391 - DelayedPulseGenConfig

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

Seite 392

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

Seite 393

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

Seite 394 - FrequencyDividerConfig

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

Seite 395

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

Seite 396

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

Seite 397 - GetAILimitsOfChannel

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

Seite 398 - GetChannelIndices

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

Seite 399 - GetChannelNameFromIndex

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

Seite 400 - GetDAQErrorString

© National Instruments Corporation v LabWindows/CVI Standard LibrariesContents________________________________________________________________________

Seite 401 - GroupByChannel

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

Seite 402 - ICounterControl

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

Seite 403

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

Seite 404 - PlotLastAIWaveformsPopup

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

Seite 405 - PulseWidthOrPeriodMeasConfig

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

Seite 406 - ReadFromDigitalLine

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

Seite 407

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

Seite 408 - ReadFromDigitalPort

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

Seite 409

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

Seite 410 - WriteToDigitalLine

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

Seite 411 - "SCx!MDy!0"

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

Seite 412 - WriteToDigitalPort

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

Seite 413

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

Seite 414

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

Seite 415

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

Seite 416

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

Seite 417

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

Seite 418

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

Seite 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

Seite 420

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

Seite 421

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

Seite 422

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

Seite 423

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

Seite 424

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

Seite 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

Seite 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

Seite 427 - Other Products

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

Seite 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

Seite 429

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

Seite 430

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

Seite 431

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

Seite 432

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

Seite 433

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

Seite 434

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

Seite 435

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

Seite 436 - Numbers/Symbols

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

Seite 437

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

Seite 438

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

Seite 439

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

Seite 440

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

Seite 441

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

Seite 442

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

Seite 443

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

Seite 444

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

Seite 445

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

Seite 446

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

Seite 447

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

Seite 448

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

Seite 449

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

Seite 450

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

Seite 451

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

Seite 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

Seite 453

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

Seite 454

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

Kommentare zu diesen Handbüchern

Keine Kommentare