MccService class
Contains all of the members for calling utility UL functions.
The MccService class is a member of the MccDaq namespace. Refer to the Universal Library Language Interface for an explanation of the MccDaq namespace.
Methods
The MccService class contains the following static methods. You do not need to create an instance of the MccService class to call these methods.
- DeclareRevision() – Declares the revision number of the Universal Library for .NET with which the program was written.
- ErrHandling()
– Sets the method of reporting and handling errors for all function calls.
- FileGetInfo()
– Reads streamer file information on how much data is in the file, and the conditions under which it was collected (sampling rate, channels, etc.).
- FileRead()
– Reads a selected number of data points from a streamer file into an array.
- GetBoardName()
– Returns the board name of a specified board.
- GetRevision() – Returns the revision number of the Universal Library DLL and SSVXD.
- All Windows Memory Management methods; refer to the topics in the UL for .NET "Windows Memory Management methods" section.
The following code demonstrates how to call a Windows memory management method from within a UL for .NET program:
WindowHandle=MccService.WinBuffAlloc32(1000)
MccService.WinBuffFree(WindowHandle)