Specifications
RIGOL Chapter 4 Programming Demos
4-34 M300 Programming Guide
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 Ocompensated
if (chkOcomp.Checked == true)
{
strCommand = strMeasurement + ":OCOM ON";
strCommand = strCommand + ",(@" + txtChannels.Text + ")";
Device_Send(strCommand);
}
}
//Configure Frequency/period mesurement
else if (rbtnFrequency.Checked == true || rbtnPeriod.Checked == true)
{
if (rbtnFrequency.Checked == true)
{
strMeasurement = "FREQ";
}
else
{
strMeasurement = "PER";
}
//configure measurement
strCommand = "CONF:" + strMeasurement + " (@" + txtChannels.Text + ")";
Device_Send(strCommand);
//configure range
if (chkRangeAuto.Checked == true && txtRange.Text != "")
{
if (chkRangeAuto.Checked == true)
{
strCommand = strMeasurement + "VOLT:RANG:AUTO ON";
}
else
{