Specifications

RIGOL Chapter 4 Programming Demos
4-36 M300 Programming Guide
}
else if (cmboxTemp.Text.Substring(0, 2) == "RT" ||
cmboxTemp.Text.Substring(0, 2) == "FR")
{
//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);
}
}
else
{ }
}
else
{
MessageBox.Show("please Select Temperature type");
return;
}
}
//Configure Anysensor mesurement
else if (rbtnAnySensor.Checked == true)
{
if (cmboxAnySensor.Text != "")
{
strMeasurement = "SENSOR";
strCommand = "CONF:AnySensor " + cmboxAnySensor.Text + ",(@" +
txtChannels.Text + ")";
Device_Send(strCommand);
if (cmboxAnySensor.Text != "FREQ")
{
//Configure the intergeration time
if (cmboxNPLC.Text != "" || txtIntertime.Text != "")
{
if (cmboxNPLC.Text != "")
{
strCommand = strMeasurement + ":" +
cmboxAnySensor.Text + ":NPLC " + cmboxNPLC.Text;
}
else
{
strCommand = strMeasurement + ":" +
cmboxAnySensor.Text + ":APER " + txtIntertime.Text;
}
strCommand = strCommand + ",(@" + txtChannels.Text + ")";
Device_Send(strCommand);
}
//Configure the auto zero
if (cmboxAnySensor.Text == "VOLT" || cmboxAnySensor.Text ==
"CURR")