Bnc 1201 - 6 1/2 Digit Digital Multimeter Uživatelský manuál Strana 177

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 177
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 176
178
printf(" output : READ?\n");
status = PviRead_usb(m_instr_usbtmc, pStrin, 64, &nRead);
if (nRead > 0)
{
for (len=0; len < (long) nRead; len++)
{
buffer[len] = pStrin[len];
}
}
buffer[nRead] = '\0';
printf(" input : %s\n\n", buffer);
// Set device to local mode
strcpy(pStrout, "system:local");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 13,
&nWritten);
free(pStrout);
// Close device
if (!hUSBTMCLIB)
return;
m_nCount = 0;
m_defaultRM_usbtmc = 0;
FreeLibrary (hUSBTMCLIB);
hUSBTMCLIB = NULL;
return;
}
Zobrazit stránku 176
1 2 ... 172 173 174 175 176 177

Komentáře k této Příručce

Žádné komentáře