Bootstrak Skip to main content

Appendix F: CopleyMotionLibrary Object

Streszczenie: Obiekt CopleyMotionLibraryObj: wersja bibliotek Copley Motion Libraries, poziom komunikatów debugowania oraz maksymalny rozmiar i nazwa pliku logu (domyślnie cml.log).
EN: The CopleyMotionLibrary object: library version, debug level and log file settings.

Dotyczy: Copley Motion Objects (CMO, biblioteka COM CMLCOMLib) – sterowanie serwonapędami Copley CANopen z PC (Windows; VB 6.0, VB .NET, LabVIEW)
Źródło: dokumentacja producenta (Copley Motion Objects Programmer’s Guide); tabele przepisane z obrazów na tekst – opracowanie Multiprojekt

This appendix describes CopleyMotionLibraryObj, which includes the ability to log communication traffic for debugging purposes

F.1 CopleyMotionLibraryObj

F.1.1 CopleyMotionLibraryObj

All the methods and properties described below are members of CMLCOMLib.CopleyMotionLibraryObj

MemberDescription
Property VersionString As StringThe version number of the Copley Motion Libraries used by CMO.
Property DebugLevel As LongDebug message level. Setting this property greater than zero results in debug messages being written to a log file as specified by the LogFileName property below. If the level was previously set higher than 0, and is then set to 0, any open log file will be closed. The default log level is 0 (no messages).
Property MaxLogSize As LongMaximum Copley Motion Libraries log file size. Once the log file exceeds MaxLogSize, it is renamed logfilename.bak (where logfilename is replaced by the log file name), and a new log file is started. Old backup log files are overwritten. The default maximum log size is 1,000,000 bytes.
Property LogFileName As StringName of the Copley Motion Libraries debug message log file. This file is used to log debug messages. The file will be created (or truncated if it already exists) when the first message is written to the file. Note that the debug level must be set > 0 for any messages to be written. Note: For C and C++ users, two special file names are also supported. "stdout" causes the messages to be written to the C standard output stream, and "stderr" causes them to be written to C standard error stream. The default log file name is "cml.log".
Original image of the table (from the PDF manual)

Original table image: CopleyMotionLibraryObj › CopleyMotionLibraryObj

Słowa kluczowe

CopleyMotionLibraryObj, VersionString, DebugLevel, LogFileName, MaxLogSize, cml.log, debugowanie, log