
286 Chapter 18 
PSA Programming Examples
Using C for Saving and Recalling Instrument State Data
PSA Programming Examples
 viPrintf(viVSA, "*RST;*wai\n");
/*Set the instrument to continuous sweep */
  viPrintf(viVSA, "INIT:CONT 1\n");
/* close session */
viClose (viVSA);
viClose (defaultRM);
}