The IUtil type exposes the following members.

Methods

  NameDescription
Public methodArrayToVariantArray
Convert an array of .NET built-in types to an equivalent Variant arrray (array of .NET Objects)
Public methodDateJulianToLocal
Convert Julian date to local-time Date
Public methodDateJulianToUTC
Convert Julian date to UTC Date
Public methodDateLocalToJulian
Convert local-time Date to Julian date
Public methodDateLocalToUTC
Convert local-time Date to UTC Date
Public methodDateUTCToJulian
Convert UTC Date to Julian date
Public methodDateUTCToLocal
Convert UTC Date to local-time Date
Public methodDegreesToDM
Convert degrees to sexagesimal degrees and minutes with the specified number of minute decimal places
Public methodDegreesToDMS
Convert degrees to sexagesimal degrees, minutes and seconds with specified second decimal places
Public methodDegreesToHM
Convert degrees to sexagesimal hours and minutes with supplied number of minute decimal places
Public methodDegreesToHMS
Convert degrees to sexagesimal hours, minutes, and seconds with the specified number of second decimal places
Public methodDMSToDegrees
Convert sexagesimal degrees to binary double-precision degrees
Public methodHMSToDegrees
Convert sexagesimal hours to binary double-precision hours
Public methodHMSToHours
Convert sexagesimal hours to binary double-precision hours
Public methodHoursToHM
Convert hours to sexagesimal hours and minutes with supplied number of minute decimal places
Public methodHoursToHMS
Convert hours to sexagesimal hours, minutes, and seconds with specified number of second decimal places
Public methodIsMinimumRequiredVersion
Tests whether the current platform version is at least equal to the supplied major and minor version numbers, returns false if this is not the case
Public methodToIntegerCollection
Converts a safearray of integers to a collection that can be used in scripting languages. This is required to handle properties that are returned as safearrays of integers, for example FilterWheel.FocusOffsets SafeArrays don't work in scripting languages.
Public methodToStringCollection
Converts a safearray of strings to a collection that can be used in scripting. This is required to do things such as handling the array of names returned by the FilterWheel.Names property. This string array won't work in scripting languages.
Public methodWaitForMilliseconds
Pauses for a given interval in milliseconds.

Properties

  NameDescription
Public propertyBuildNumber
Platform build number
Public propertyJulianDate
Current Julian date
Public propertyMajorVersion
Platform major version number
Public propertyMinorVersion
Platform minor version number
Public propertyPlatformVersion
Current Platform version in m.n form
Public propertySerialTrace
Enable/disable serial I/O tracing
Public propertySerialTraceFile
Change the serial trace file (default C:\SerialTrace.txt)
Public propertyServicePack
Platform service pack number
Public propertyTimeZoneName
The name of the computer's time zone
Public propertyTimeZoneOffset
UTC offset (hours) for the computer's clock
Public propertyUTCDate
The current UTC Date

See Also