
141
// Set configure frequency, range Auto
strcpy(pStrout, "CONF:FREQ");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 10, &nWritten);
Sleep(3000);
// Set configure Current DC, range 0.1A
strcpy(pStrout, "CONF:CURR:DC 1,0.01");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 20, &nWritten);
Sleep(3000);
// Fetch the DL-2060 measure value ( screen value )
// Set Voltage DC measure
strcpy(pStrout, "CONF:VOLT:DC 0.1,0.1");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 21, &nWritten);
Sleep(1000);
// Send read command
strcpy(pStrout, "READ?");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 6, &nWritten);
Sleep(30);
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;
}
Содержание DL-2060
Страница 1: ...B71 0110 41 INSTRUCTION MANUAL 6 1 2 DIGITAL MULTIMETER DL 2060 DL 2060G DL 2060VG DL 2060R DL 2060VR...
Страница 37: ...31 Figure 3 17 1 2 3 5 5 4...
Страница 135: ...129 C Tree Diagram Please refer to G Notice of Scanner Card if your firmware version is 1 05 or upward...
Страница 136: ...130...
Страница 137: ...131...
Страница 138: ...132 D DL 2060 s Dimension...
Страница 152: ...7F Towa Fudosan Shin Yokohama Bild 2 18 13 Shin Yokohama Kohoku ku Yokohama Kanagawa 222 0033 Japan http www texio co jp...