MC PCIe-DIO96H Podręcznik Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 205
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 27
Universal Library User's Guide Universal Library for .NET Description & Use
28
Data Logger methods
In 32-bit Windows applications, you access information contained in binary log files by calling the API
functions. In .NET applications, you access this information by calling the DataLogger class and its methods.
The following example demonstrates how to retrieve the name of the first binary log file using the
cbLogGetFileName() function and GetFileName() method.
C/C++ application
C# application
char filename(50);
char* path = "C:\\LogData";
int retval = 0;
retval =
cbLogGetFileName(GetFirst, path,
filename);
string filename = new string('\0',50);
string path = "C:\\LogData";
ErrorInfo status;
status =
DataLogger.GetFileName(MccService.GetFirst,
ref path, ref filename);
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 204 205

Komentarze do niniejszej Instrukcji

Brak uwag