MC PCIe-DIO96H Guia do Utilizador Página 28

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 205
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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);
Vista de página 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 204 205

Comentários a estes Manuais

Sem comentários