The UL Python API for Windows is a wrapper around Universal Library functions. The device discovery functions can be used with Measurement Computing USB, Bluetooth, and Ethernet devices. For other board types that don't support device discovery, use InstaCal to install and configure the hardware. When running Python examples with other board types, set the use_device_detection variable in the example program to False. Refer to the InstaCal, API Detection, or Both? topic for more information about using the UL Python API with InstaCal.
Equivalent Python function calls are added to Ethernet, USB, and Bluetooth hardware topics. For other board types such as CIO and PCI, refer to the Python topics in the Function Reference for equivalent discovery, configuration, and subsystem function calls.
The following UL function calls have no equivalent Python functions. These calls are used mainly by obsolete hardware, so should not impact most users.
UL Functions with No Equivalent Python Functions | |||
cbGetRevision() cbC7266Config() cbC8536Config() cbC9513Config() cbCFreqIn() cbCStatus() cbCStoreOnInt() cbFileAInScan() cbFileGetInfo() |
cbFilePretrig() cbFileRead() cbRS485() cbMemSetDTMode() cbMemReset() cbMemRead() cbMemWrite() cbMemReadPretrig() |
cbSelectSignal() cbGetSignal() cbSetCalCoeff() cbGetCalCoeff() cbLogSetPreferences() cbLogGetPreferences() cbLogGetFileName() cbLogGetFileInfo() cbLogGetSampleInfo() |
cbLogGetAIChannelCount() cbLogGetAIInfo() cbLogGetCJCInfo() cbLogGetDIOInfo() cbLogReadTimeTags() cbLogReadAIChannels() cbLogReadCJCChannels() cbLogReadDIOChannels() cbLogConvertFile() |
Note that cbAConvertData() and cbGetTCValues() also have no equivalent Python functions, as these calls are handled by the UL wrapper.