VXi VT1422A 사용자 설명서

다운로드
페이지 529
472 VT1529A/B Verification & Calibration  
Procedure
If necessary, send the *CAL? query to the VT1422A (required if more than 
eight hours has elapsed since the last *CAL? command). The expected 
return value is “+0”.
Each channel of the VT1529A/B must be tested individually. Follow the 
steps below for each channel to be tested.
Use the VT1422A VXIplug&play Soft Front Panel to select Reset from the 
System menu. Then, select Algorithm from the Panels menu. Create the 
algorithm below. Note that this algorithm assumes the VT1531A SCP is in 
SCP position 1; it is necessary to modify the VT1531A channel numbers 
(O108, O109, O110, O111) if the VT1531A is in a different SCP location. 
It is also necessary to modify the VT1529A/B channel (I10000) depending 
on the channel to be tested. When algorithm creation is finished, click on the 
Down Load... button to download the algorithm.
static float loop = 0.0;
static float wrote_fifo = 0.0;
if (First_loop)
{
   loop = 0;
   O108 = 0;
   O109 = 0;
   O110 = 0;
   O111 = 0;
}
else
{
    loop = loop + 1.0;
    if (loop == 1000.0)
    {
        if (I10000 > 0.001)
        {
             writefifo(-2);
             wrote_fifo = 1;
        }
        O108 = -1.0;
        O109 = -1.0;
        O110 = -1.0;
        O111 = -1.0;
    }
    if (!wrote_fifo)
    {
        if (loop > 1000.0 && I10000 > .39)
        {
            writefifo(1093.75 / (loop - 1000));
            wrote_fifo = 1.0;
        }
        else if (loop == 1999.0)
            writefifo(-1.0);
    }
}