National Instruments Labwindows Cvi Standard Livraries 320682C Users Manual LabWindows/CVI Libraries Reference
320682C to the manual b19b62d7-9ee8-4757-bf40-01be868283ea
2015-02-05
: National-Instruments National-Instruments-Labwindows-Cvi-Standard-Livraries-320682C-Users-Manual-493688 national-instruments-labwindows-cvi-standard-livraries-320682c-users-manual-493688 national-instruments pdf
Open the PDF directly: View PDF
Page Count: 454 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- LabWindows/CVI Standard Libraries Reference Manual
- Contents
- About This Manual
- Chapter 1 ANSI C Library
- Chapter 2 Formatting and I/O Library
- Formatting and I/O Library Function Overview
- The Formatting and I/O Library Function Panels
- The String Manipulation Functions
- The Special Nature of the Formatting and Scanning Functions
- Formatting and I/O Library Function Reference
- ArrayToFile
- CloseFile
- CompareBytes
- CompareStrings
- CopyBytes
- CopyString
- FileToArray
- FillBytes
- FindPattern
- Fmt
- FmtFile
- FmtOut
- GetFileInfo
- GetFmtErrNdx
- GetFmtIOError
- GetFmtIOErrorString
- NumFmtdBytes
- OpenFile
- ReadFile
- ReadLine
- Scan
- ScanFile
- ScanIn
- SetFilePtr
- StringLength
- StringLowerCase
- StringUpperCase
- WriteFile
- WriteLine
- Using the Formatting and Scanning Functions
- Introductory Formatting and Scanning Examples
- Formatting Functions
- Formatting Functions—Format String
- Formatting Modifiers
- Formatting Integer Modifiers (%i, %d, %x, %o, %c)
- Formatting Floating-Point Modifiers (%f)
- Formatting String Modifiers (%s)
- Fmt, FmtFile, FmtOut—Asterisks (*) Instead of Constants in Format Specifiers
- Fmt, FmtFile, FmtOut—Literals in the Format String
- Scanning Functions
- Scanning Functions—Format String
- Scanning Modifiers
- Scanning Integer Modifiers (%i, %d, %x, %o, %c)
- Scanning Floating-Point Modifiers (%f)
- Scanning String Modifiers (%s)
- Scan, ScanFile, ScanIn—Asterisks (*) Instead of Constants in Format Specifiers
- Scan, ScanFile, ScanIn—Literals in the Format String
- Formatting and I/O Library Programming Examples
- Fmt/FmtFile/FmtOut Examples in C
- Integer to String
- Long Integer to String
- Real to String in Floating-Point Notation
- Real to String in Scientific Notation
- Integer and Real to String with Literals
- Two Integers to ASCII File with Error Checking
- Real Array to ASCII File in Columns and with Comma Separators
- Integer Array to Binary File, Assuming a Fixed Number of Elements
- Real Array to Binary File, Assuming a Fixed Number of Elements
- Real Array to Binary File, Assuming a Variable Number of Elements
- A Variable Portion of a Real Array to a Binary File
- Concatenating Two Strings
- Appending to a String
- Creating an Array of File Names
- Writing a Line Containing an Integer with Literals to the Standard Output
- Writing to the Standard Output without a Linefeed/Carriage Return
- Scan/ScanFile/ScanIn Examples in C
- String to Integer
- String to Long Integer
- String to Real
- String to Integer and Real
- String to String
- String to Integer and String
- String to Real, Skipping over Non-Numeric Characters in the String
- String to Real, After Finding a Semicolon in the String
- String to Real, After Finding a Substring in the String
- String with Comma-Separated ASCII Numbers to Real Array
- Scanning Strings That Are Not NUL-Terminated
- Integer Array to Real Array
- Integer Array to Real Array with Byte Swapping
- Integer Array Containing 1-Byte Integers to Real Array
- String Containing Binary Integers to Integer Array
- String Containing an IEEE-Format Real Number to a Real Variable
- ASCII File to Two Integers with Error Checking
- ASCII File with Comma Separated Numbers to Real Array, with Number of Elements at Beginning of File
- Binary File to Integer Array, Assuming a Fixed Number of Elements
- Binary File to Real Array, Assuming a Fixed Number of Elements
- Binary File to Real Array, Assuming a Variable Number of Elements
- Reading an Integer from the Standard Input
- Reading a String from the Standard Input
- Reading a Line from the Standard Input
- Chapter 3 Analysis Library
- Analysis Library Function Overview
- The Analysis Library Function Panels
- Hints for Using Analysis Function Panels
- Reporting Analysis Errors
- Analysis Library Function Reference
- Abs1D
- Add1D
- Add2D
- Clear1D
- Copy1D
- CxAdd
- CxAdd1D
- CxDiv
- CxDiv1D
- CxLinEv1D
- CxMul
- CxMul1D
- CxRecip
- CxSub
- CxSub1D
- Determinant
- Div1D
- Div2D
- DotProduct
- GetAnalysisErrorString
- Histogram
- InvMatrix
- LinEv1D
- LinEv2D
- MatrixMul
- MaxMin1D
- MaxMin2D
- Mean
- Mul1D
- Mul2D
- Neg1D
- Set1D
- Sort
- StdDev
- Sub1D
- Sub2D
- Subset1D
- ToPolar
- ToPolar1D
- ToRect
- ToRect1D
- Transpose
- Error Conditions
- Chapter 4 GPIB/GPIB-488.2 Library
- GPIB Library Function Overview
- GPIB Functions Library Function Panels
- GPIB Library Concepts
- GPIB Libraries and the GPIB Dynamic Link Library/Device Driver
- Guidelines and Restrictions for Using the GPIB Libraries
- Device and Board Functions
- Automatic Serial Polling
- Autopolling Compatibility
- Hardware Interrupts and Autopolling
- Read and Write Termination
- Timeouts
- Global Variables for the GPIB Library
- Different Levels of Functionality Depending on Platform and GPIB Board
- Windows 95
- Native 32-Bit Driver
- Compatibility Driver
- Windows NT
- Limitations on Transfer Size
- Multithreading
- Notification of SRQ and Other GPIB Events
- Synchronous Callbacks
- Asynchronous Callbacks
- Driver Version Requirements
- GPIB Function Reference
- CloseDev
- CloseInstrDevs
- ibInstallCallback
- SRQI, RQS, and Auto Serial Polling
- CallbackFunction
- ibNotify
- eventMask
- SRQI, RQS, and Auto Serial Polling
- CallbackFunction
- Restrictions on Operations in Asynchronous Callbacks
- OpenDev
- ThreadIbcnt
- ThreadIbcntl
- ThreadIberr
- ThreadIbsta
- Chapter 5 RS-232 Library
- RS-232 Library Function Overview
- The RS-232 Library Function Panels
- Using RS-485
- Reporting RS-232 Errors
- XModem File Transfer Functions
- Troubleshooting
- RS-232 Cable Information
- Handshaking
- Software Handshaking
- Hardware Handshaking
- RS-232 Library Function Reference
- CloseCom
- ComBreak
- ComFromFile
- ComRd
- ComRdByte
- ComRdTerm
- ComSetEscape
- ComToFile
- ComWrt
- ComWrtByte
- FlushInQ
- FlushOutQ
- GetComStat
- GetInQLen
- GetOutQLen
- GetRS232ErrorString
- InstallComCallback
- OpenCom
- OpenComConfig
- ReturnRS232Err
- SetComTime
- SetCTSMode
- SetXMode
- XModemConfig
- XModemReceive
- XModemSend
- Error Conditions
- Chapter 6 DDE Library
- DDE Library Function Overview
- The DDE Library Function Panels
- DDE Clients and Servers
- The DDE Callback Function
- DDE Links
- A DDE Library Example Using Microsoft Excel and LabWindows/CVI
- DDE Library Function Reference
- AdviseDDEDataReady
- BroadcastDDEDataReady
- ClientDDEExecute
- ClientDDERead
- ClientDDEWrite
- ConnectToDDEServer
- DisconnectFromDDEServer
- GetDDEErrorString
- RegisterDDEServer
- ServerDDEWrite
- SetUpDDEHotLink
- SetUpDDEWarmLink
- TerminateDDELink
- UnregisterDDEServer
- Error Conditions
- Chapter 7 TCP Library
- TCP Library Function Overview
- The TCP Library Function Panels
- TCP Clients and Servers
- The TCP Callback Function
- TCP Library Function Reference
- ClientTCPRead
- ClientTCPWrite
- ConnectToTCPServer
- DisconnectFromTCPServer
- DisconnectTCPClient
- GetTCPErrorString
- RegisterTCPServer
- ServerTCPRead
- UnregisterTCPServer
- Error Conditions
- Chapter 8 Utility Library
- The Utility Library Function Panels
- Utility Library Function Reference
- Beep
- Breakpoint
- CloseCVIRTE
- Cls
- CopyFile
- CVILowLevelSupportDriverLoaded
- DateStr
- Delay
- DeleteDir
- DeleteFile
- DisableBreakOnLibraryErrors
- DisableInterrupts
- DisableTaskSwitching
- EnableBreakOnLibraryErrors
- EnableInterrupts
- EnableTaskSwitching
- ExecutableHasTerminated
- GetBreakOnLibraryErrors
- GetBreakOnProtectionErrors
- GetCVIVersion
- GetCurrentPlatform
- GetDir
- GetDrive
- GetExternalModuleAddr
- GetFileAttrs
- GetFileDate
- GetFileSize
- GetFileTime
- GetFirstFile
- GetFullPathFromProject
- GetInterruptState
- GetKey
- GetModuleDir
- GetNextFile
- GetPersistentVariable
- GetProjectDir
- GetStdioPort
- GetStdioWindowOptions
- GetStdioWindowPosition
- GetStdioWindowSize
- GetStdioWindowVisibility
- GetSystemDate
- GetSystemTime
- GetWindowDisplaySetting
- InitCVIRTE
- inp
- inpw
- InStandaloneExecutable
- KeyHit
- LaunchExecutable
- LaunchExecutableEx
- LoadExternalModule
- LoadExternalModuleEx
- MakeDir
- MakePathname
- outp
- outpw
- ReadFromPhysicalMemory
- ReadFromPhysicalMemoryEx
- ReleaseExternalModule
- RenameFile
- RetireExecutableHandle
- RoundRealToNearestInteger
- RunExternalModule
- SetBreakOnLibraryErrors
- SetBreakOnProtectionErrors
- SetDir
- SetDrive
- SetFileAttrs
- SetFileDate
- SetFileTime
- SetPersistentVariable
- SetStdioPort
- SetStdioWindowOptions
- SetStdioWindowPosition
- SetStdioWindowSize
- SetStdioWindowVisibility
- SetSystemDate
- SetSystemTime
- SplitPath
- SyncWait
- SystemHelp
- TerminateExecutable
- Timer
- TimeStr
- TruncateRealNumber
- UnloadExternalModule
- WriteToPhysicalMemory
- WriteToPhysicalMemoryEx
- Chapter 9 X Property Library
- X Property Library Overview
- The X Property Library Function Panels
- X Interclient Communication
- Property Handles and Types
- Communicating with Local Applications
- The Hidden Window
- Property Callback Functions
- Error Codes
- Using the Library Outside of LabWindows/CVI
- X Property Library Function Reference
- ConnectToXDisplay
- CreateXProperty
- CreateXPropType
- DestroyXProperty
- DestroyXPropType
- DisconnectFromXDisplay
- GetXPropErrorString
- GetXPropertyName
- GetXPropertyType
- GetXPropTypeName
- GetXPropTypeSize
- GetXPropTypeUnit
- GetXWindowPropertyItem
- GetXWindowPropertyValue
- InstallXPropertyCallback
- PutXWindowPropertyItem
- PutXWindowPropertyValue
- RemoveXWindowProperty
- UninstallXPropertyCallback
- Chapter 10 Easy I/O for DAQ Library
- Easy I/O for DAQ Library Function Overview
- Advantages of Using the Easy I/O for DAQ Library
- Limitations of Using the Easy I/O for DAQ Library
- Easy I/O for DAQ Library Function Panels
- Device Numbers
- Channel String for Analog Input Functions
- Command Strings
- Channel String for Analog Output Functions
- Valid Counters for the Counter/Timer Functions
- Easy I/O for DAQ Function Reference
- AIAcquireTriggeredWaveforms
- AIAcquireWaveforms
- AICheckAcquisition
- AIClearAcquisition
- AIReadAcquisition
- AISampleChannel
- AISampleChannels
- AIStartAcquisition
- AOClearWaveforms
- AOGenerateWaveforms
- AOUpdateChannel
- AOUpdateChannels
- ContinuousPulseGenConfig
- CounterEventOrTimeConfig
- CounterMeasureFrequency
- CounterRead
- CounterStart
- CounterStop
- DelayedPulseGenConfig
- FrequencyDividerConfig
- GetAILimitsOfChannel
- GetChannelIndices
- GetChannelNameFromIndex
- GetDAQErrorString
- GetNumChannels
- GroupByChannel
- ICounterControl
- PlotLastAIWaveformsPopup
- PulseWidthOrPeriodMeasConfig
- ReadFromDigitalLine
- ReadFromDigitalPort
- SetEasyIOMultitaskingMode
- WriteToDigitalLine
- WriteToDigitalPort
- Error Conditions
- Appendix A Customer Communication
- Glossary
- Index
- Tables
- Table 1-1. ANSI C Standard Library Classes
- Table 1-2. C Locale Information Values
- Table 2-1. The Formatting and I/O Library Function Tree
- Table 3-1. The Analysis Library Function Tree
- Table 3-2. Analysis Library Error Codes
- Table 4-1. The GPIB Functions Library Function Tree
- Table 5-1. The RS-232 Library Function Tree
- Table 5-2. PC Cable Configuration
- Table 5-3. DTE to DCE Cable Configuration
- Table 5-4. PC to DTE Cable Configuration
- Table 5-5. Bit Definitions for the GetComStat Function
- Table 5-6. RS-232 Library Error Codes
- Table 6-1. DDE Library Function Tree
- Table 6-2. DDE Transaction Types (xType)
- Table 6-3. DDE Library Error Codes
- Table 7-1. The TCP Library Function Tree
- Table 7-2. TCP Transaction Types (xType)
- Table 7-3. TCP Library Error Codes
- Table 8-1. The Utility Library Function Tree
- Table 9-1. The X Property Library Function Tree
- Table 9-2. Predefined Property Types
- Table 9-3. X Property Library Error Types and Descriptions
- Table 9-4. Status Values for InstallXPropertyCallback
- Table 10-1. Easy I/O for DAQ Function Tree
- Table 10-2. Valid Counters
- Table 10-3. Definition of Am 9513: Counter +1
- Table 10-4. Adjacent Counters
- Table 10-5. Easy I/O for DAQ Error Codes