BNC 1105 Universal Counter User Manual
Page 177
177
177
177
177
/*----------------------------------------------------------------------------------*/
/*------------------------------- Period measure --------------------------------*/
stat = viWrite(sesn, (unsigned char *)("CONF:PER (@1)"), 13, &ret);
// stat = viWrite(sesn, "CONF:PER (@2)", 13, &ret);
// stat = viWrite(sesn, "CONF:PER (@3)", 13, &ret);
/*--------------------------------- Gate Time ------------------------------------*/
stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:SOUR IMM"), 17,
&ret);
stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:STOP:SOUR TIM"), 22,
&ret);
stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:STOP:TIM 1"), 19,
&ret);
/*--------------------------------- Gate Ext --------------------------------------*/
// stat = viWrite(sesn, "FREQ:ARM:SOUR Ext", 17, &ret);
// stat = viWrite(sesn, "FREQ:ARM:SLOP POS", 17, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR Ext", 22, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR TIM", 22, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:TIM 1", 18, &ret);
/*--------------------------------- Gate Auto ------------------------------------*/
// stat = viWrite(sesn, "FREQ:ARM:SOUR IMM", 17, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR IMM", 22, &ret);
/*--------------------------------- Gate Digits -----------------------------------*/
// stat = viWrite(sesn, "FREQ:ARM:SOUR IMM", 17, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR DIG", 17, &ret);
// stat = viWrite(sesn, "FREQ:ARM:STOP:DIG 5", 17, &ret);
/*----------------------------------------------------------------------------------*/
/*------------------- Rise/Fall Time, POS/NEG Width measure ----------------*/
// stat = viWrite(sesn, "CONF:RISE:Time", 14, &ret);
// stat = viWrite(sesn, "CONF:FALL:TIME", 14, &ret);
// stat = viWrite(sesn, "CONF:PWID", 9, &ret);
// stat = viWrite(sesn, "CONF:NWID", 9, &ret);
/*-------------------------------- Gate Ext ---------------------------------------*/
// stat = viWrite(sesn, "TINT:ARM:ESTART:LAY2:SOUR IMM", 29, &ret);
// stat = viWrite(sesn, "TINT:ARM:ESTART:LAY2:SOUR EXT", 29, &ret);
// stat = viWrite(sesn, "TINT:ARM:ESTART:LAY2:SLOP POS", 29, &ret);