# Universal Library for .NET example programs sorted by method call

UL for .NET method name | Example program name | Special features/notes
ACalibrateData() | None | No example programs at this time
AConvertData() | ULAI04 ULAI06 |
AConvertPreTrigData() | ULAI09 ULEV03* |
AIn() AIn32() | ULAI01 ULAI11 ULGT01 |
AInScan() | ULAI02 ULAI03 ULAI04 ULAI05 ULAI06 ULAI10 ULAI12 ULAI13 ULAI14 ULAI15 ULAIO01 ULEV02* ULMM03 | Default mode Background mode with manual data conversion Continuous Background mode ExtClock mode ScaleData mode (ULAI15) Various sampling mode options
ALoadQueue() | ULAI10 |
AOut() | ULAO01 ULAO03 | Demonstrates the difference between the DACUpdate.Immediate and DACUpdate.OnCommand D/A update modes. Board 0 must support DAC update mode settings.
AOutScan() | ULAO02 ULAO04 ULAIO01 ULEV04* | concurrent AInScan() and AOutScan() ScaleData mode (ULAO04)
APretrig() | ULAI08 ULAI09 ULEV03* ULFI03 ULMM01 |
ATrig() | ULAI07 ULMM01 |
C7266Config() | ULCT06 |
C8254Config() | ULCT01 |
C8536Config() | ULCT05 |
C8536Init() | ULCT05 |
C9513Config() | ULCT02 ULCT03 |
C9513Init() | ULCT02 ULCT03 ULCT04 |
CConfigScan() | CInScan02 CInScan03 | Demonstrates how to scan a counter input channel in decrement mode, and then write the data to an array. Board 0 must support counter scans. For CInScan03, board 0 must support counter scans in encoder mode.
CFreqIn() | ULCT04 |
CIn() | ULCT01 ULCT02 ULCT05 |
CIn32() CIn64() | ULCT06 ULCT07 | For ULCT07, board 0 must have an event counter.
CInScan() | CInScan01 CInScan02 CInScan03 | Demonstrates how to scan one or more counter input channels and then write the data to an array. Board 0 must support counter scans. For CInScan03, board 0 must support counter scans in encoder mode.
CLoad() | ULCT01 ULCT02 ULCT03 ULCT05 |
CLoad32() CLoad64() | ULCT06 ULCT07 | For ULCT07, board 0 must have an event counter.
ConvertFile() | ULLOG04 | Demonstrates how to convert a binary log file to a .CSV or .TXT format.
CreateDaqDevice() | DaqDevDiscovery01 DaqDevDiscovery02 |
CStatus() | ULCT06 |
CStoreOnInt() | ULCT03 |
DacUpdate() | ALAO03 | Demonstrates the difference between BoardConfig.DACUpdate.Immediate and BoardConfig.DACUpdate.OnCommand D/A update modes. Board 0 must support DAC update mode settings.
DaqInScan() | DaqInScan01 DaqInScan02 DaqInScan03 DaqSetTrigger01 | Demonstrates how to synchronously scan analog, counter, and thermocouple input channels, and digital input ports. Board 0 must support synchronous input.
DaqOutScan() | DaqOutScan01 | Demonstrates how to synchronously write to an analog output channel and digital output port in the background. Board 0 must support synchronous output.
DaqSetSetpoints() | DaqSetSetpoints01 | Demonstrates how to configure and use setpoints, including how to add the setpoint status to the scan list and perform asynchronous reads of the setpoint status. Board 0 must support DaqInScan().
DaqSetTrigger() | DaqSetTrigger01 | Demonstrates how to set up start and stop trigger events, and display input channel data.
DBitIn() | ULDI02 ULDI05 ULDI06 |
DBitOut() | ULDO02 ULDO05 |
DConfigBit() | ULDI06 |
DConfigPort() | ULDI01 ULDI02 ULDI03 ULDO01 ULDO02 ULDO05 ULEV01* ULEV03* ULEV04* |
DeclareRevision() | All examples | All example programs use this method
DIn() | ULDI01 ULDI03 ULDI04 ULEV01* |
DInScan() | ULDI03 |
DOut() | ULDO01 ULDO02 ULDO04 ULDO05 ULEV03* ULEV04* |
DOutScan() | None | No example programs at this time
EnableEvent() DisableEvent() | ULEV01* ULEV02* ULEV03* ULEV04* | OnDataAvailable OnEndOfInputScan OnEndOfOutputScan OnExternalInterrupt OnPretrigger OnScanError
ErrHandling() | All examples | All example programs use this method
FileAInScan() | ULFI01 ULFI02 | Demonstrates how to scan one or more A/D channels and store the samples in a disk file.
FilePretrig() | ULFI01 ULFI02 ULFI03 | Demonstrates how to stream data continuously to a streamer file until a trigger is received, then continue data streaming until the total number of samples minus the number of pretrigger samples is reached.
FileRead() | ULFI02 ULFI03 |
FlashLED() | ULFL01 | Flashes the onboard LED for visual identification. Board 0 must have an external LED.
FromEngUnits() | ULAO01 ULAO03 ULAI07 ULAI14 ULEV04 |
GetAIInfo() | ULLOG02 | Demonstrates how to retrieve analog input data contained in a binary log file.
GetBoardName() | ULGT03 ULGT04 |
GetCJCInfo() | ULLOG02 ULLOG03 | Demonstrates how to retrieve CJC temperature data contained in a binary log file.
GetDACStartup() | None | No example programs at this time
GetDACUpdateMode() | None | No example programs at this time
GetDaqDeviceInventory() | DaqDevDiscovery01 | Discovers DAQ devices and assigns board numbers to the detected devices.
GetDIOInfo() | ULLOG02 ULLOG03 | Demonstrates how to retrieve digital I/O port data contained in a binary log file.
GetErrMsg() | ULGT01 |
GetFileInfo() | ULLOG02 | Demonstrates how to retrieve the version level and byte size of a binary log file.
GetFileName() | ULLOG01 ULLOG02 ULLOG03 ULLOG04 | Demonstrates how to retrieve the name of a binary log file.
GetNetDeviceDescriptor() | DaqDevDiscovery02 | Discovers network DAQ devices and assigns board numbers to the detected devices.
GetPreferences() | None | No example programs at this time
GetRevision() | None | No example programs at this time
GetSampleInfo() | ULLOG02 ULLOG03 | Demonstrates how to retrieve the sample interval, sample count, and the date and time of the first data point logged in a binary file.
GetStatus() | ULAI03 ULAI04 ULAI05 ULAI06 ULAI09 ULAIO01 ULCT03 ULDI03 |
GetTCValues() | DaqInScan03 | Demonstrates how to retrieve analog. thermocouple, and digital data from a synchronous scan operation. Board 0 must support synchronous input.
InByte() | None | No example programs at this time
InWord() | None | No example programs at this time
MccDaq.MccBoard class properties:BoardConfig, cDIOConfig, and cExpansionConfig | ULGT03 ULGT04 | Use the MccBoard class properties to get configuration information for a board.
MemRead() | ULMM01 ULMM02 ULMM03 |
MemReadPretrig() | ULMM01 |
MemReset() | ULMM03 |
MemSetDTMode() | None | No example programs at this time
MemWrite() | ULMM02 |
OutByte() | None | No example programs at this time
OutWord() | None | No example programs at this time
ReadAIChannels() ReadCJCChannels() ReadDIOChannels() ReadTimeTags() | ULLOG03 | Demonstrates how to retrieve analog input data, CJC data, DIO port data, and date/time values contained in a binary log file, and then store the data in separate arrays.
RS485() | None | No example programs at this time
PulseOutStart() PulseOutStop() | PulseOutStart01 | Demonstrates how to send a frequency output to a timer output channel. Board 0 must have a timer output. You enter a frequency and a duty cycle within the timer's range.
ReleaseDaqDevice() | DaqDevDiscovery01 DaqDevDiscovery02 |
ScaledWinArrayToBuf() | None | No example programs at this time
ScaledWinBufAlloc() ScaledWinBufAllocEx() ScaledWinBufToArray() | ULAI15 | Demonstrates how to store scaled data in an array.
SetDACStartup() | None | No example programs at this time
SetDACUpdateMode() | ULAO03 | Demonstrates difference between BoardConfig.DACUpdate.Immediate and BoardConfig.DACUpdate.OnCommand D/A update modes. Board 0 must support DAC update mode settings.
SetPreferences() | ULLOG03 | Demonstrates how to store preference settings for time stamp data, analog data, and CJC temperature data.
SetTrigger() | ULAI14 |
StopBackground() | ULAI03 ULAI04 ULAI05 ULAI06 ULAI09 ULAIO01 ULCT03 ULDI03 ULEV02* ULEV03* ULEV04 | Concurrent AInScan() and AOutScan()
TIn() | ULTI01 |
TInScan() | ULTI02 |
TimerOutStart() TimerOutStop() | TimerOutStart01 | Demonstrates how to send a frequency output to a timer output channel. Board 0 must have a timer output. You enter a frequency within the timer's range.
ToEngUnits() ToEngUnits32() | ULAI01 ULAI07 ULAI11 ULEV02* ULEV03* |
VIn() VIn32() | VIn01 | Demonstrates how to read an A/D input channel.
VOut() | VOut01 | Demonstrates how to write to a D/A output channel.
WinArrayToBuf() | ULAIO01 ULAO02 ULEV04* |
WinBufAlloc() WinBufAlloc32() WinBufAlloc32Ex() WinBufAlloc64() WinBufAlloc64Ex() WinBufFree() WinBufFreeEx() WinBufToArray() WinBufToArray32() | ULAI02 ULAI03 ULAI04 ULAI05 ULAI06 ULAI08 ULAI09 ULAI010 ULAI012 ULAI013 ULAI014 ULAIO01 ULAO02 ULCT03* ULDI03 ULEV02* ULEV03* ULEV04* | ULEV04 features WinBufAlloc() and WinBufFree() only
WinBufAlloc32() WinBufAlloc32Ex() | CInScan01 CInScan02 | Demonstrates how to allocate a Windows global memory buffer for use with 32-bit or 64-bit scan functions.
WinBufToArray32() | CInScan01 CInScan02 | Demonstrates how to copy 32-bit data from a Windows global memory buffer into an array.
* Example programs ULEV01, ULEV02, ULEV03 and ULEV04 are not available for the C Console. ULEV04 is only available for Visual Basic for Windows.