157
157
157
157
&nWritten);
Sleep(3000);
// Fetch the M3510 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;
Summary of Contents for M3500
Page 6: ......
Page 10: ......
Page 12: ...w a r ...
Page 13: ......
Page 14: ......
Page 16: ......
Page 29: ......
Page 37: ......
Page 41: ......
Page 42: ...In Short Condition ...
Page 43: ......
Page 44: ......
Page 109: ...104 104 104 104 651 Panel Program Checksum Error The checksum from the panel is incorrect ...
Page 110: ...K U S A M ME C O ...
Page 148: ...K U S A M M E C O K U S A M M E C O ...
Page 155: ...K U S A M M E C O ...
Page 163: ...158 158 158 158 m_nCount 0 m_defaultRM_usbtmc 0 FreeLibrary hUSBTMCLIB hUSBTMCLIB NULL return ...
Page 164: ......