Manuals
/
Brands
/
Baby
/
Musical Toy Instrument
/
National Instruments
/
Baby
/
Musical Toy Instrument
National Instruments
320682C manual
1
1
454
454
Download
454 pages, 1.05 Mb
© Copyright 1994, 1996 National Instruments Corporation.
All rights reserved.
LabWindows
®
/CVI
Standard Libraries
Reference Manual
July 1996 Edition
Part Number 320682C-01
Contents
Main
Page
Warranty
Copyright
Trademarks
Page
Contents
About This Manual
Chapter 1 ANSI C Library
Chapter 2 Formatting and I/O Library
Page
Page
Chapter 3 Analysis Library
Chapter 4 GPIB/GPIB-488.2 Library
Chapter 5 RS-232 Library
Chapter 6 DDE Library
Chapter 7 TCP Library
Chapter 8 Utility Library
Page
Chapter 9 X Property Library
Chapter 10 Easy I/O for DAQ Library
Appendix A Customer Communication Glossary Index
Tables
About This Manual
Organization of This Manual
Page
Conventions Used in This Manual
italic monospace
The LabWindows/CVI Documentation Set
Related Documentation
Customer Communication
Chapter 1 ANSI C Library
Low-Level I/O Functions
Standard Language Additions
Page
Page
Character Processing
String Processing
Input/Output Facilities
errno Set by File I/O Functions
Mathematical Functions
Time and Date Functions
Control Functions
Page
ANSI C Library Function Reference
fdopen
Page
Chapter 2 Formatting and I/O Library
Formatting and I/O Library Function Overview
The Formatting and I/O Library Function Panels
Page
The String Manipulation Functions
The Special Nature of the Formatting and Scanning Functions
Formatting and I/O Library Function Reference
ArrayToFile
Page
Page
CloseFile
CompareBytes
CompareStrings
CopyBytes
CopyString
FileToArray
Page
FillBytes
FindPattern
Fmt
FmtFile
FmtOut
GetFileInfo
GetFmtErrNdx
GetFmtIOError
GetFmtIOErrorString
NumFmtdBytes
OpenFile
Page
ReadFile
ReadLine
Scan
ScanFile
ScanIn
SetFilePtr
Page
StringLength
StringLowerCase
StringUpperCase
WriteFile
WriteLine
Using the Formatting and Scanning Functions
Introductory Formatting and Scanning Examples
Formatting Functions
Page
Page
Page
Page
in
Page
Page
Scanning Functions
Page
Page
Page
Page
Page
Page
Page
Page
Formatting and I/O Library Programming Examples
Fmt/FmtFile/FmtOut Examples in C
Page
Page
Page
Page
Page
Concatenating Two Strings
Page
Page
Scan/ScanFile/ScanIn Examples in C
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Chapter 3 Analysis Library
Analysis Library Function Overview
The Analysis Library Function Panels
Page
Page
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
Parameter Discussion
MaxMin1D
MaxMin2D
Mean
Mul1D
Mul2D
Neg1D
Set1D
Sort
StdDev
Sub1D
Sub2D
Subset1D
ToPolar
ToPolar1D
ToRect
ToRect1D
Transpose
Page
Chapter 4 GPIB/GPIB-488.2 Library
GPIB Library Function Overview
GPIB Functions Library Function Panels
Page
Page
Page
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
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
Limitations on Transfer Size
Multithreading
Notification of SRQ and Other GPIB Events
GPIB Function Reference
CloseDev
CloseInstrDevs
ibInstallCallback
Page
Page
ibNotify
Page
Page
Page
OpenDev
ThreadIbcnt
ThreadIbcntl
ThreadIberr
Page
ThreadIbsta
Page
Chapter 5 RS-232 Library
RS-232 Library Function Overview
The RS-232 Library Function Panels
Page
Using RS-485
Reporting RS-232 Errors
XModem File Transfer Functions
Troubleshooting
RS-232 Cable Information
Page
Handshaking
Page
RS-232 Library Function Reference
CloseCom
ComBreak
ComFromFile
Page
ComRd
ComRdByte
ComRdTerm
Page
ComSetEscape
ComToFile
ComWrt
ComWrtByte
FlushInQ
FlushOutQ
GetComStat
GetInQLen
GetOutQLen
GetRS232ErrorString
InstallComCallback
Page
Page
OpenCom
OpenComConfig
Page
ReturnRS232Err
SetComTime
SetCTSMode
SetXMode
XModemConfig
Page
XModemReceive
XModemSend
Page
Page
Page
Chapter 6 DDE Library
DDE Library Function Overview
The DDE Library Function Panels
DDE Clients and Servers
The DDE Callback Function
Page
DDE Links
A DDE Library Example Using Microsoft Excel and LabWindows/CVI
DDE Library Function Reference
AdviseDDEDataReady
Page
BroadcastDDEDataReady
ClientDDEExecute
ClientDDERead
ClientDDEWrite
Page
ConnectToDDEServer
Page
DisconnectFromDDEServer
GetDDEErrorString
RegisterDDEServer
Page
Page
ServerDDEWrite
SetUpDDEHotLink
SetUpDDEWarmLink
TerminateDDELink
UnregisterDDEServer
Page
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
Page
DisconnectFromTCPServer
DisconnectTCPClient
GetTCPErrorString
RegisterTCPServer
Page
ServerTCPRead
ServerTCPWrite
UnregisterTCPServer
Page
Chapter 8 Utility Library
The Utility Library Function Panels
Page
Page
Page
Utility Library Function Reference
Beep
Breakpoint
CloseCVIRTE
Cls
CopyFile
CVILowLevelSupportDriverLoaded
DateStr
Delay
DeleteDir
DeleteFile
DisableBreakOnLibraryErrors
DisableInterrupts
DisableTaskSwitching
Page
Page
EnableBreakOnLibraryErrors
EnableInterrupts
EnableTaskSwitching
ExecutableHasTerminated
GetBreakOnLibraryErrors
GetBreakOnProtectionErrors
GetCVIVersion
GetCurrentPlatform
GetDir
GetDrive
GetExternalModuleAddr
Page
GetFileAttrs
GetFileDate
GetFileSize
GetFileTime
GetFirstFile
Page
GetFullPathFromProject
GetInterruptState
GetKey
GetModuleDir
Page
GetNextFile
GetPersistentVariable
GetProjectDir
GetStdioPort
GetStdioWindowOptions
GetStdioWindowPosition
GetStdioWindowSize
GetStdioWindowVisibility
GetSystemDate
GetSystemTime
GetWindowDisplaySetting
InitCVIRTE
Page
inp
inpw
InStandaloneExecutable
KeyHit
LaunchExecutable
Page
Page
LaunchExecutableEx
Page
LoadExternalModule
Page
Page
LoadExternalModuleEx
Page
MakeDir
MakePathname
outp
outpw
ReadFromPhysicalMemory
ReadFromPhysicalMemoryEx
ReleaseExternalModule
RenameFile
RetireExecutableHandle
RoundRealToNearestInteger
RunExternalModule
SetBreakOnLibraryErrors
SetBreakOnProtectionErrors
Page
SetDir
SetDrive
SetFileAttrs
SetFileDate
Page
SetFileTime
SetPersistentVariable
SetStdioPort
SetStdioWindowOptions
Page
SetStdioWindowPosition
SetStdioWindowSize
SetStdioWindowVisibility
SetSystemDate
SetSystemTime
SplitPath
Page
SyncWait
SystemHelp
Page
Page
TerminateExecutable
Timer
TimeStr
TruncateRealNumber
UnloadExternalModule
WriteToPhysicalMemory
WriteToPhysicalMemoryEx
Page
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
Page
Page
Using the Library Outside of LabWindows/CVI
X Property Library Function Reference
ConnectToXDisplay
Page
CreateXProperty
CreateXPropType
Page
TYPE
DestroyXProperty
DestroyXPropType
DisconnectFromXDisplay
GetXPropErrorString
GetXPropertyName
GetXPropertyType
GetXPropTypeName
GetXPropTypeSize
GetXPropTypeUnit
GetXWindowPropertyItem
Page
GetXWindowPropertyValue
Page
Page
InstallXPropertyCallback
win
prop
PutXWindowPropertyItem
Page
PutXWindowPropertyValue
Page
RemoveXWindowProperty
Page
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
Page
Device Numbers
Channel String for Analog Input Functions
Page
Command Strings
Channel String for Analog Output Functions
Valid Counters for the Counter/Timer Functions
Easy I/O for DAQ Function Reference
AIAcquireTriggeredWaveforms
Page
Page
Page
Page
AIAcquireWaveforms
Page
AICheckAcquisition
AIClearAcquisition
AIReadAcquisition
AISampleChannel
AISampleChannels
AIStartAcquisition
AOClearWaveforms
AOGenerateWaveforms
AOUpdateChannel
AOUpdateChannels
ContinuousPulseGenConfig
Page
CounterEventOrTimeConfig
Page
Page
CounterMeasureFrequency
Page
Page
CounterRead
CounterStart
CounterStop
DelayedPulseGenConfig
Page
Page
FrequencyDividerConfig
Page
Page
GetAILimitsOfChannel
GetChannelIndices
GetChannelNameFromIndex
GetDAQErrorString
GetNumChannels
GroupByChannel
ICounterControl
Page
PlotLastAIWaveformsPopup
PulseWidthOrPeriodMeasConfig
ReadFromDigitalLine
Page
ReadFromDigitalPort
Page
SetEasyIOMultitaskingMode
WriteToDigitalLine
Page
WriteToDigitalPort
Page
Error Conditions
Page
Page
Page
Page
Page
Page
Page
Page
Page
Appendix A Customer Communication
Electronic Services
Bulletin Board Support
FaxBack Support
FTP Support
Fax and Telephone Support
Telephone Fax
Technical Support Form
Hardware and Software Configuration Form
National Instruments Products
Other Products
Documentation Comment Form
Glossary
Numbers/Symbols
A
B
C
D
E
F
G
H
I
Page
R
S
Page
Index
Numbers/Symbols
A
Page
B
C
D
Page
E
F
Page
G
H
I
K
L
M
N
O
P
R
S
Page
T
U
Page
V
W
X