MC PCIe-DIO96H Betriebsanweisung Seite 28

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 205
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 204 205

Kommentare zu diesen Handbüchern

Keine Kommentare