Picotest M3500A User Manual page 188

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

Advertisement

PviOpen_usb(m_defaultRM_usbtmc,
&m_instr_usbtmc);
status
VI_ATTR_TMO_VALUE, m_Timeout);
}
}
if (!hUSBTMCLIB)
{
printf("M3500 device connect failed.\n");
return;
}
// Write command "*IDN?" and read the M3500 identification string
len = 64;
pStrout = new char[len];
ZeroMemory(pStrout, len);
strcpy(pStrout, "*idn?");
status = PviWrite_usb(m_instr_usbtmc, (unsigned char *)pStrout, 6,
&nWritten);
Sleep(30);
if (status != VI_SUCCESS)
{
MessageBox(NULL, "Write to device error.", "M3500 multimeter
device test", MB_OK);
PviClose_usb(m_defaultRM_usbtmc);
hUSBTMCLIB = NULL;
m_defaultRM_usbtmc = 0;
return;
}
else
{
printf(" output : *IDN?\n");
}
Sleep(1000);
// Read data from device
len = 64;
=
PviSetAttribute_usb(m_instr_usbtmc,
188
188
188
188
instrDescriptor,
0,
0,

Advertisement

Table of Contents
loading

Related Products for Picotest M3500A

Table of Contents