National Instruments 320682C Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie National Instruments 320682C. National Instruments 320682C User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - LabWindows

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

Strona 2

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

Strona 3 - Trademarks

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

Strona 4

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

Strona 5

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

Strona 6

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

Strona 7

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

Strona 8

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

Strona 9

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

Strona 10 - RS-232 Library

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

Strona 11 - Chapter 6

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

Strona 12 - Utility Library

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

Strona 13 - Contents

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

Strona 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

Strona 15 - Glossary

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

Strona 16

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

Strona 17 - About This Manual

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

Strona 18

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

Strona 19

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

Strona 20 - Related Documentation

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

Strona 21 - ANSI C Library

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

Strona 22 - Standard Language Additions

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

Strona 23

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

Strona 24 - ANSI C Library Chapter 1

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

Strona 25 - String Processing

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

Strona 26 - Time and Date Functions

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

Strona 27 - Control Functions

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

Strona 28

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

Strona 29 - Chapter 1 ANSI C Library

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

Strona 30

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

Strona 31 - Formatting and I/O Library

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

Strona 32

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

Strona 33

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

Strona 34 - ArrayToFile

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

Strona 35

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

Strona 36

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

Strona 37 - CompareBytes

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

Strona 38 - CompareStrings

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

Strona 39 - CopyBytes

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

Strona 40 - CopyString

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

Strona 41 - FileToArray

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

Strona 42

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

Strona 43 - FindPattern

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

Strona 44

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

Strona 45

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

Strona 46

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

Strona 47 - GetFileInfo

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

Strona 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

Strona 49 - GetFmtIOErrorString

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

Strona 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

Strona 51

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

Strona 52 - ReadFile

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

Strona 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

Strona 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

Strona 55 - ScanFile

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

Strona 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

Strona 57

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

Strona 58 - StringLowerCase

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

Strona 59 - WriteFile

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

Strona 60 - WriteLine

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

Strona 61

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

Strona 62 - Formatting Functions

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

Strona 63

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

Strona 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

Strona 65

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

Strona 66

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

Strona 67

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

Strona 68

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

Strona 69

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

Strona 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

Strona 71

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

Strona 72

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

Strona 73

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

Strona 74

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

Strona 75

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

Strona 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

Strona 77

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

Strona 78

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

Strona 79

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

Strona 80

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

Strona 81

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

Strona 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

Strona 83

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

Strona 84

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

Strona 85

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

Strona 86

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

Strona 87

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

Strona 88

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

Strona 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

Strona 90

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

Strona 91

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

Strona 92

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

Strona 93

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

Strona 94

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

Strona 95

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

Strona 96

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

Strona 97

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

Strona 98

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

Strona 99

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

Strona 100

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

Strona 101

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

Strona 102 - Analysis Library

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

Strona 103 - Analysis Library Chapter 3

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

Strona 104 - Chapter 3 Analysis Library

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

Strona 105 - Reporting Analysis Errors

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

Strona 106

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

Strona 107

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

Strona 108

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

Strona 109

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

Strona 110

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

Strona 111

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

Strona 113

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

Strona 114

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

Strona 115

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

Strona 116

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

Strona 117 - Determinant

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

Strona 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

Strona 119 - DotProduct

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

Strona 120 - Histogram

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

Strona 121 - InvMatrix

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

Strona 122

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

Strona 123

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

Strona 124 - Parameter Discussion

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

Strona 125 - MaxMin2D

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

Strona 126

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

Strona 127

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

Strona 128

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

Strona 129

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

Strona 130

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

Strona 131

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

Strona 132

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

Strona 133 - Subset1D

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

Strona 134 - ToPolar1D

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

Strona 135

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

Strona 136 - ToRect1D

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

Strona 137 - Transpose

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

Strona 138 - Error Conditions

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

Strona 139 - GPIB/GPIB-488.2 Library

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

Strona 140

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

Strona 141

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

Strona 142

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

Strona 143 - GPIB Library Concepts

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

Strona 144

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

Strona 145 - Automatic Serial Polling

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

Strona 146

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

Strona 147 - Timeouts

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

Strona 148

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

Strona 149 - Multithreading

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

Strona 150

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

Strona 151 - GPIB Function Reference

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

Strona 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

Strona 153

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

Strona 154

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

Strona 155

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

Strona 156

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

Strona 157

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

Strona 158

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

Strona 159

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

Strona 160 - ThreadIbcntl

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

Strona 161 - ThreadIberr

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

Strona 162

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

Strona 163 - ThreadIbsta

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

Strona 164

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

Strona 165

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

Strona 166 - RS-232 Library Chapter 5

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

Strona 167 - Troubleshooting

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

Strona 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

Strona 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

Strona 170 - Handshaking

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

Strona 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

Strona 172 - CloseCom

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

Strona 173 - ComFromFile

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

Strona 174

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

Strona 175

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

Strona 176 - ComRdTerm

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

Strona 177

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

Strona 178 - ComSetEscape

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

Strona 179 - ComToFile

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

Strona 180

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

Strona 181 - ComWrtByte

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

Strona 182 - FlushInQ

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

Strona 183 - GetComStat

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

Strona 184 - GetInQLen

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

Strona 185 - GetOutQLen

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

Strona 186 - InstallComCallback

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

Strona 187

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

Strona 188

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

Strona 189

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

Strona 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

Strona 191

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

Strona 192 - ReturnRS232Err

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

Strona 193 - SetComTime

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

Strona 194 - SetCTSMode

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

Strona 195 - XModemConfig

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

Strona 196

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

Strona 197 - XModemReceive

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

Strona 198 - XModemSend

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

Strona 199

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

Strona 200

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

Strona 201

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

Strona 202

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

Strona 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

Strona 204

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

Strona 205 - DDE Links

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

Strona 206 - Chapter 6 DDE Library

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

Strona 207 - AdviseDDEDataReady

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

Strona 208

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

Strona 209 - BroadcastDDEDataReady

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

Strona 210 - ClientDDEExecute

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

Strona 211 - ClientDDERead

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

Strona 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

Strona 213

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

Strona 214 - ConnectToDDEServer

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

Strona 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

Strona 216 - GetDDEErrorString

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

Strona 217 - RegisterDDEServer

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

Strona 218

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

Strona 219

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

Strona 220 - ServerDDEWrite

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

Strona 221 - SetUpDDEHotLink

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

Strona 222 - SetUpDDEWarmLink

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

Strona 223 - TerminateDDELink

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

Strona 224

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

Strona 225

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

Strona 226

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

Strona 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

Strona 228 - ClientTCPRead

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

Strona 229 - ClientTCPWrite

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

Strona 230 - ConnectToTCPServer

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

Strona 231 - TCP_DATAREADY

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

Strona 232 - DisconnectTCPClient

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

Strona 233 - RegisterTCPServer

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

Strona 234 - TCP_CONNECT

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

Strona 235 - ServerTCPRead

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

Strona 236 - UnregisterTCPServer

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

Strona 237

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

Strona 238

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

Strona 239 - Utility Library Chapter 8

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

Strona 240 - Chapter 8 Utility Library

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

Strona 241

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

Strona 242

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

Strona 243 - CloseCVIRTE

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

Strona 244 - CopyFile

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

Strona 245

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

Strona 246

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

Strona 247 - DeleteFile

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

Strona 248 - DisableBreakOnLibraryErrors

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

Strona 249 - DisableTaskSwitching

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

Strona 250

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

Strona 251

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

Strona 252 - EnableInterrupts

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

Strona 253 - ExecutableHasTerminated

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

Strona 254 - GetBreakOnLibraryErrors

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

Strona 255 - GetCVIVersion

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

Strona 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

Strona 257 - GetDrive

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

Strona 258 - GetExternalModuleAddr

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

Strona 259

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

Strona 260 - GetFileAttrs

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

Strona 261 - GetFileDate

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

Strona 262 - GetFileSize

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

Strona 263 - GetFileTime

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

Strona 264 - GetFirstFile

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

Strona 265

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

Strona 266 - GetFullPathFromProject

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

Strona 267 - GetInterruptState

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

Strona 268 - GetModuleDir

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

Strona 269

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

Strona 270 - GetPersistentVariable

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

Strona 271 - GetProjectDir

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

Strona 272 - GetStdioWindowOptions

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

Strona 273 - GetStdioWindowPosition

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

Strona 274 - GetStdioWindowVisibility

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

Strona 275 - GetSystemDate

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

Strona 276 - GetWindowDisplaySetting

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

Strona 277 - InitCVIRTE

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

Strona 278

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

Strona 279

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

Strona 280 - InStandaloneExecutable

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

Strona 281 - LaunchExecutable

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

Strona 282

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

Strona 283

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

Strona 284 - LaunchExecutableEx

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

Strona 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

Strona 286 - LoadExternalModule

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

Strona 287

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

Strona 288

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

Strona 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

Strona 290

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

Strona 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

Strona 292 - MakePathname

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

Strona 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

Strona 294 - ReadFromPhysicalMemory

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

Strona 295 - ReadFromPhysicalMemoryEx

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

Strona 296 - ReleaseExternalModule

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

Strona 297 - RenameFile

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

Strona 298 - RoundRealToNearestInteger

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

Strona 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

Strona 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

Strona 301 - SetBreakOnProtectionErrors

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

Strona 302

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

Strona 303 - SetDrive

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

Strona 304 - SetFileAttrs

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

Strona 305 - SetFileDate

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

Strona 306

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

Strona 307 - SetFileTime

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

Strona 308 - SetStdioPort

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

Strona 309 - SetStdioWindowOptions

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

Strona 310

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

Strona 311 - SetStdioWindowPosition

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

Strona 312 - SetStdioWindowSize

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

Strona 313 - SetSystemDate

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

Strona 314 - SplitPath

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

Strona 315

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

Strona 316 - SystemHelp

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

Strona 317

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

Strona 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

Strona 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

Strona 320

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

Strona 321 - UnloadExternalModule

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

Strona 322 - WriteToPhysicalMemory

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

Strona 323 - WriteToPhysicalMemoryEx

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

Strona 324

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

Strona 325

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

Strona 326 - X Interclient Communication

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

Strona 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

Strona 328 - Error Codes

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

Strona 329 - Chapter 9 X Property Library

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

Strona 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

Strona 331 - ConnectToXDisplay

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

Strona 332

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

Strona 333 - CreateXProperty

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

Strona 334 - CreateXPropType

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

Strona 335

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

Strona 336 - DestroyXProperty

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

Strona 337 - DestroyXPropType

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

Strona 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

Strona 339 - GetXPropertyName

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

Strona 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

Strona 341 - GetXPropTypeName

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

Strona 342 - GetXPropTypeSize

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

Strona 343 - GetXPropTypeUnit

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

Strona 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

Strona 345

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

Strona 346 - GetXWindowPropertyValue

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

Strona 347

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

Strona 348

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

Strona 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

Strona 350 - PropertyCallbackTypeX

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 357 - UninstallXPropertyCallback

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 362

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

Strona 363 - Command Strings

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

Strona 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

Strona 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

Strona 366

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

Strona 367

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

Strona 368

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

Strona 369 - x x

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

Strona 370 - AIAcquireWaveforms

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

Strona 371

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

Strona 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

Strona 373 - AIReadAcquisition

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

Strona 374 - AISampleChannel

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

Strona 375 - AISampleChannels

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

Strona 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

Strona 377 - AOClearWaveforms

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

Strona 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

Strona 379 - AOUpdateChannel

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

Strona 380 - AOUpdateChannels

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

Strona 381 - ContinuousPulseGenConfig

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

Strona 382

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

Strona 383 - CounterEventOrTimeConfig

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

Strona 384

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

Strona 385

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

Strona 386 - CounterMeasureFrequency

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

Strona 387

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

Strona 388

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

Strona 389 - CounterRead

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

Strona 390 - CounterStart

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

Strona 391 - DelayedPulseGenConfig

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

Strona 392

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

Strona 393

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

Strona 394 - FrequencyDividerConfig

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

Strona 395

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

Strona 396

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

Strona 397 - GetAILimitsOfChannel

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

Strona 398 - GetChannelIndices

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

Strona 399 - GetChannelNameFromIndex

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

Strona 400 - GetDAQErrorString

© National Instruments Corporation v LabWindows/CVI Standard LibrariesContents________________________________________________________________________

Strona 401 - GroupByChannel

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

Strona 402 - ICounterControl

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

Strona 403

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

Strona 404 - PlotLastAIWaveformsPopup

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

Strona 405 - PulseWidthOrPeriodMeasConfig

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

Strona 406 - ReadFromDigitalLine

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

Strona 407

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

Strona 408 - ReadFromDigitalPort

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

Strona 409

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

Strona 410 - WriteToDigitalLine

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

Strona 411 - "SCx!MDy!0"

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

Strona 412 - WriteToDigitalPort

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

Strona 413

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

Strona 414

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

Strona 415

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

Strona 416

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

Strona 417

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

Strona 418

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

Strona 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

Strona 420

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

Strona 421

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

Strona 422

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

Strona 423

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

Strona 424

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

Strona 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

Strona 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

Strona 427 - Other Products

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

Strona 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

Strona 429

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

Strona 430

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

Strona 431

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

Strona 432

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

Strona 433

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

Strona 434

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

Strona 435

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

Strona 436 - Numbers/Symbols

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

Strona 437

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

Strona 438

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

Strona 439

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

Strona 440

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

Strona 441

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

Strona 442

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

Strona 443

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

Strona 444

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

Strona 445

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

Strona 446

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

Strona 447

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

Strona 448

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

Strona 449

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

Strona 450

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

Strona 451

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

Strona 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

Strona 453

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

Strona 454

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

Komentarze do niniejszej Instrukcji

Brak uwag