Library Routines

Library Routines

The Functions

Basic Math Functions

  • Abs() Calculate the absolute value of a number
  • Exp() Calculate exponent of a number
  • Index() Convert a quantity to an INDEX
  • LineOpt() Find a frequency that rejects line (mains) noise
  • Log() Calculate natural logarithm of a number
  • Log10() Calculate base-10 logarithim of a number
  • Modulus() Convert Real, Imaginary to Modulus
  • Phase() Convert Real, Imaginary to Phase
  • Pow() Calculate number raised to a power
  • Rand() Generate a random number
  • Real() Convert quantity to floating point
  • Round() Round off a REAL to N decimal places
  • Sqrt() Calculate square root of a number

Trigonometry Functions

Complex-number Functions

Array Functions

String Functions

  • Ascii() Convert a character to an ASCII number
  • Char() Convert an ASCII number to a character
  • IsAlnum() Check if character is alphanumeric
  • IsAlpha() Check if character is a letter
  • IsDigit() Check if character is numeric
  • IsLower() Check if character is lowercase letter
  • IsPunct() Check if character is a punctuation character
  • IsSpace() Check if character is a white-space character
  • IsXdigit() Check if character is a hexadecimal digit
  • IsUpper() Check if character is uppercase letter
  • StrCmp() Compare two strings
  • StrGet() Get the ith character in a string
  • StrLen() Calculate length of string
  • StrLwr() Convert string to lowercase
  • StrSet() Set ithcharacter in a string
  • StrUpr() Convert string to uppercase

Time Functions

Statistical Functions

  • Mean() Calculate mean of a data set
  • StatsOne() Calculate statistics on one data set
  • StatsTwo() Calculate statistics between two data sets

Delay and Program Control functions

    • Abort() Immediately abort a script
    • Dawdle() Halt script until F2-SKIPbutton selected

  • Execute() Launch a child script
  • ExecWait() Launch a child script and wait for completion
  • Pause() Pause script for a set number of seconds
  • Sleep() Tell a script to sleep until a specified time
  • Suspend() Allows a user to continue or abort
  • WinExec() Start up a Windows® application
  • Yield() Let other Windows programs gain control

Output functions

Video Display functions

Class and Object manipulation functions

Disk File Setup functions

Miscellaneous functions

    • Callin() Dynamically acquire DLL library function

Classes

Mathematical Class

Parameter Classes having Dialog license suitable for Setup

    • CHANNEL Sets up multiplexed experiments

Instrument Driver Classes

    • PSTAT A potentiostat
    • MUX An ECM8 Multiplexer

Classes having Signal licenses used by curve functions

  • ICONST A constant current
  • VCONST A constant-voltage signal

Curve Classes

    • CGEN Generic curve class
    • CURVE A generic name for all this group’s classes
    • IVT Generic IVT curve used for conditioning
    • OCV Curve to measure open-circuit potential

Miscellaneous Classes