Function Tree, Utility Library
| Class/Panel Name | Function Name |
|---|---|
| Timer/Wait | |
| Timer | Timer |
| Delay | Delay |
| Synchronized Wait | SyncWait |
| Date/Time | |
| CVI Time | |
| Absolute Time | |
| Get Current Absolute Time | GetCurrentCVIAbsoluteTime |
| Absolute Time From Calendar | CVIAbsoluteTimeFromLocalCalendar |
| Absolute Time To Calendar | CVIAbsoluteTimeToLocalCalendar |
| Add To Absolute Time | AddToCVIAbsoluteTime |
| Subtract From Absolute Time | SubtractFromCVIAbsoluteTime |
| Subtract Absolute Times | SubtractCVIAbsoluteTimes |
| Increment Absolute Time | IncrementCVIAbsoluteTime |
| Decrement Absolute Time | DecrementCVIAbsoluteTime |
| Compare Absolute Times | CompareCVIAbsoluteTimes |
| Compare Absolute Times With Tolerance | CompareCVIAbsoluteTimesWithTolerance |
| Time Interval | |
| Time Interval From Seconds | CVITimeIntervalFromSeconds |
| Time Interval To Seconds | CVITimeIntervalToSeconds |
| Time Interval From Time Unit | CVITimeIntervalFromTimeUnit |
| Time Interval To Time Unit | CVITimeIntervalToTimeUnit |
| Time Interval To Fractional Unit Time | CVITimeIntervalToFractionalUnitTime |
| Add Time Intervals | AddCVITimeIntervals |
| Subtract Time Intervals | SubtractCVITimeIntervals |
| Multiply Time Interval | MultiplyCVITimeInterval |
| Divide Time Interval | DivideCVITimeInterval |
| Increment Time Interval | IncrementCVITimeInterval |
| Decrement Time Interval | DecrementCVITimeInterval |
| Compare Time Intervals | CompareCVITimeIntervals |
| Compare Time Intervals With Tolerance | CompareCVITimeIntervalsWithTolerance |
| Date in ASCII Format | DateStr |
| Time in ASCII Format | TimeStr |
| Get System Date | GetSystemDate |
| Set System Date | SetSystemDate |
| Get System Time | GetSystemTime |
| Set System Time | SetSystemTime |
| Keyboard | |
| Key Hit? | KeyHit |
| Get a Keystroke | GetKey |
| Get a Unicode Keystroke | GetKeyUnicode |
| File Utilities | |
| Delete File | DeleteFile |
| Rename File | RenameFile |
| Copy File | CopyFile |
| Get File Size | GetFileSize |
| Get File Date | GetFileDate |
| Set File Date | SetFileDate |
| Get File Time | GetFileTime |
| Set File Time | SetFileTime |
| Get File Attributes | GetFileAttrs |
| Set File Attributes | SetFileAttrs |
| Get First File | GetFirstFile |
| Get Next File | GetNextFile |
| Make Pathname | MakePathname |
| Split Path | SplitPath |
| Is UTF8 Path Length Valid? | IsUTF8PathLengthValid |
| Directory Utilities | |
| Get Directory | GetDir |
| Get Project Directory | GetProjectDir |
| Get Module Directory | GetModuleDir |
| Get Full Path From Project | GetFullPathFromProject |
| Set Directory | SetDir |
| Make Directory | MakeDir |
| Delete Directory | DeleteDir |
| Get Drive | GetDrive |
| Set Drive | SetDrive |
| String Conversion | |
| Multibyte to UTF-8 String | MBStrToUTF8Str |
| Multibyte to UTF-8 String in Buffer | MBStrToUTF8StrBuf |
| UTF-8 to Multibyte String | UTF8StrToMBStr |
| UTF-8 to Multibyte String in Buffer | UTF8StrToMBStrBuf |
| Multithreading | |
| Thread Pool | |
| Call Scheduling Functions | |
| Schedule Function | CmtScheduleThreadPoolFunction |
| Schedule Function Advanced | CmtScheduleThreadPoolFunctionAdv |
| Release Function ID | CmtReleaseThreadPoolFunctionID |
| Get Function Attribute | CmtGetThreadPoolFunctionAttribute |
| Wait For Function To Complete | CmtWaitForThreadPoolFunctionCompletion |
| Wait For Function To Complete (Extended) | CmtWaitForThreadPoolFunctionCompletionEx |
| Exit Thread | CmtExitThreadPoolThread |
| Advanced Functions | |
| New Thread Pool | CmtNewThreadPool |
| Discard Thread Pool | CmtDiscardThreadPool |
| Pre-Allocate Threads | CmtPreAllocThreadPoolThreads |
| Terminate Thread | CmtTerminateThreadPoolThread |
| Get Attribute | CmtGetThreadPoolAttribute |
| Set Attribute | CmtSetThreadPoolAttribute |
| Callbacks | |
| Install Callback | CmtInstallThreadPoolCallback |
| Uninstall Callback | CmtUninstallThreadPoolCallback |
| Thread Safe Queue | |
| General Functions | |
| New Queue | CmtNewTSQ |
| Discard Queue | CmtDiscardTSQ |
| Get Attribute | CmtGetTSQAttribute |
| Set Attribute | CmtSetTSQAttribute |
| Reading/Writing | |
| Write Data | CmtWriteTSQData |
| Get Write Pointer | CmtGetTSQWritePtr |
| Release Write Pointer | CmtReleaseTSQWritePtr |
| Read Data | CmtReadTSQData |
| Get Read Pointer | CmtGetTSQReadPtr |
| Release Read Pointer | CmtReleaseTSQReadPtr |
| Flush Queue | CmtFlushTSQ |
| Callbacks | |
| Install Callback | CmtInstallTSQCallback |
| Uninstall Callback | CmtUninstallTSQCallback |
| Thread Safe Variable | |
| New Thread Safe Variable | CmtNewTSV |
| Discard Thread Safe Variable | CmtDiscardTSV |
| Get Thread Safe Variable Pointer | CmtGetTSVPtr |
| Release Thread Safe Variable Pointer | CmtReleaseTSVPtr |
| Set Thread Safe Variable | CmtSetTSV |
| Thread Lock | |
| New Lock | CmtNewLock |
| Discard Lock | CmtDiscardLock |
| Get Lock | CmtGetLock |
| Get Lock (Extended) | CmtGetLockEx |
| Try To Get Lock | CmtTryToGetLock |
| Release Lock | CmtReleaseLock |
| Get Attribute | CmtGetLockAttribute |
| Thread Local Variable | |
| New Thread Local Variable | CmtNewThreadLocalVar |
| Discard Thread Local Variable | CmtDiscardThreadLocalVar |
| Get Thread Local Variable | CmtGetThreadLocalVar |
| Get Current Thread ID | CmtGetCurrentThreadID |
| Get Main Thread ID | CmtGetMainThreadID |
| Get Number Of Processors | CmtGetNumProcessors |
| Get Error Message | CmtGetErrorMessage |
| Get Current Thread Priority | CmtGetCurrentThreadPriority |
| Set Current Thread Priority | CmtSetCurrentThreadPriority |
| External Modules | |
| Load External Module | LoadExternalModule |
| Load External Module (Extended) | LoadExternalModuleEx |
| Run External Module | RunExternalModule |
| Get External Module Address | GetExternalModuleAddr |
| Get External Module Address (Extended) | GetExternalModuleAddrEx |
| Unload External Module | UnloadExternalModule |
| Release External Module | ReleaseExternalModule |
| Port IO | |
| Input Byte From Port | inp |
| Input Word From Port | inpw |
| Input Double Word From Port | inpd |
| Output Byte To Port | outp |
| Output Word To Port | outpw |
| Output Double Word To Port | outpd |
| Standard Input/Output Window | |
| Clear Screen | Cls |
| Get Stdio Window Options | GetStdioWindowOptions |
| Set Stdio Window Options | SetStdioWindowOptions |
| Get Stdio Window Position | GetStdioWindowPosition |
| Set Stdio Window Position | SetStdioWindowPosition |
| Get Stdio Window Size | GetStdioWindowSize |
| Set Stdio Window Size | SetStdioWindowSize |
| Get Stdio Window Visibility | GetStdioWindowVisibility |
| Set Stdio Window Visibility | SetStdioWindowVisibility |
| Get Stdio Port | GetStdioPort |
| Set Stdio Port | SetStdioPort |
| Debugging and Run-time Error Reporting | |
| Set Break On Library Errors | SetBreakOnLibraryErrors |
| Get Break On Library Errors | GetBreakOnLibraryErrors |
| Set Break On Protection Errors | SetBreakOnProtectionErrors |
| Get Break On Protection Errors | GetBreakOnProtectionErrors |
| Set Break On First Chance Exceptions | SetBreakOnFirstChanceExceptions |
| Get Break On First Chance Exceptions | GetBreakOnFirstChanceExceptions |
| Set Enable Resource Tracking | SetEnableResourceTracking |
| Get Enable Resource Tracking | GetEnableResourceTracking |
| Breakpoint | Breakpoint |
| DebugPrintf | DebugPrintf |
| ErrorPrintf | ErrorPrintf |
| Is The Process Being Debugged by CVI? | BeingDebuggedByCVI |
| Dynamic Memory Information | CVIDynamicMemoryInfo |
| Old-Style Functions | |
| Enable Break on Library Errors | EnableBreakOnLibraryErrors |
| Disable Break on Library Errors | DisableBreakOnLibraryErrors |
| Profiling | |
| Set Profiling | CVIProfSetCurrentThreadProfiling |
| Get Profiling | CVIProfGetCurrentThreadProfiling |
| Interrupts | |
| Disable Interrupts | DisableInterrupts |
| Enable Interrupts | EnableInterrupts |
| Get Interrupt State | GetInterruptState |
| Physical Memory Access | |
| Read From Physical Memory | ReadFromPhysicalMemory |
| Read From Physical Memory (Extended) | ReadFromPhysicalMemoryEx |
| Write To Physical Memory | WriteToPhysicalMemory |
| Write To Physical Memory (Extended) | WriteToPhysicalMemoryEx |
| Map Physical Memory | MapPhysicalMemory |
| Unmap Physical Memory | UnMapPhysicalMemory |
| Task Switching | |
| Disable Task Switching | DisableTaskSwitching |
| Enable Task Switching | EnableTaskSwitching |
| Launching Executables | |
| Launch Executable | LaunchExecutable |
| Extended Functions | |
| Launch Executable (Extended) | LaunchExecutableEx |
| Has Executable Terminated? | ExecutableHasTerminated |
| Terminate Executable | TerminateExecutable |
| Retire Executable Handle | RetireExecutableHandle |
| Miscellaneous | |
| System Help | SystemHelp |
| Get CVI Version | GetCVIVersion |
| Get CVI Version Year | GetCVIVersionYear |
| Get Current Platform | GetCurrentPlatform |
| In Standalone Executable? | InStandaloneExecutable |
| Runtime Detached? | CVIRTEHasBeenDetached |
| Low-Level Support Driver Loaded | CVILowLevelSupportDriverLoaded |
| Initialize CVI Runtime | InitCVIRTE |
| Close CVI Runtime | CloseCVIRTE |
| Beep | Beep |
| Round Real To Nearest Integer | RoundRealToNearestInteger |
| Truncate Real Number | TruncateRealNumber |
| Get Window Display Setting | GetWindowDisplaySetting |
| Check for Duplicate Instance | CheckForDuplicateAppInstance |
| Get Current Thread Id | CurrThreadId |
| Get Main Thread Id | MainThreadId |
| Pack KeyCode Unicode | PackKeyCodeUnicode |
| Unpack KeyCode Unicode | UnpackKeyCodeUnicode |
| Deprecated | |
| Query an RT Controller | RTControllerQuery |
| Reboot an RT Controller | RTControllerReboot |