MC PCIe-DIO96H Guide de l'utilisateur Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 205
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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);
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 204 205

Commentaires sur ces manuels

Pas de commentaire