Specifications
RIGOL Chapter 4 Programming Demos
4-32 M300 Programming Guide
}
//configure measurement
strCommand = "CONF:" + strMeasurement + " (@" + txtChannels.Text + ")";
Device_Send(strCommand);
//configure range
if (chkRangeAuto.Checked == true || txtRange.Text != "")
{
if (chkRangeAuto.Checked == true)
{
strCommand = strMeasurement + ":RANG:AUTO ON";
}
else
{
strCommand = strMeasurement + ":RANG " + txtRange.Text;
}
strCommand = strCommand + ",(@" + txtChannels.Text + ")";
Device_Send(strCommand);
}
else { }
//configure intergeration time
if (cmboxNPLC.Text != "" || txtIntertime.Text != "")
{
if (cmboxNPLC.Text != "")
{
strCommand = strMeasurement + ":NPLC " + cmboxNPLC.Text;
}
else
{
strCommand = strMeasurement + ":APER " + txtIntertime.Text;
}
strCommand = strCommand + ",(@" + txtChannels.Text + ")";
Device_Send(strCommand);
}
else { }
//configure auto az
if (chkAZ.Checked == true)
{
strCommand = "ZERO:AUTO ON";
strCommand = strCommand + ",(@" + txtChannels.Text + ")";
Device_Send(strCommand);
}
//configure Input impedance
if (rbtnDCV.Checked == true)
{
if (chkInputimp.Checked == true)
{
strCommand = "INP:IMP:AUTO ON," + "(@" + txtChannels.Text +
")";
Device_Send(strCommand);
}
}
}
//Configure ACV/ACI mesurement
else if (rbtnACV.Checked == true || rbtnACI.Checked == true)
{
if (rbtnACV.Checked == true)
{
strMeasurement = rbtnACV.Text;