Picotest M3500A User Manual page 189

6.5 digit
Hide thumbs Also See for M3500A:
Table of Contents

Advertisement

if (hUSBTMCLIB)
{
status = PviRead_usb(m_instr_usbtmc, pStrin, len, &nRead);
if (nRead > 0)
{
for (len=0; len < (long) nRead; len++)
{
}
}
buffer[nRead] = '\0';
printf(" input : %s\n\n",buffer);
}
// Set sample count to 1
strcpy(pStrout, "SAMP:COUN 1");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 12,
&nWritten);
Sleep(30);
// Set configure Voltage AC, range 0.1A
strcpy(pStrout, "CONF:VOLT:AC 0.1,0.01");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 22,
&nWritten);
Sleep(3000);
// 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);
buffer[len] = pStrin[len];
189
189
189
189

Advertisement

Table of Contents
loading

Related Products for Picotest M3500A

Table of Contents