Agilent Technologies Agilent E5810A Guía de usuario Pagina 99

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 192
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 98
99
Programming Your Instruments
Example Programs
strcpy(SCPIcmd, "FUNCtion:SHAPe USER\n"); /* Output the selected
arb waveform */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "OUTPut:LOAD 50\n"); /* Output termination is 50 Ohms
*/
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "FREQuency 5000;VOLTage 5\n"); /* Output frequency
is 5 kHz @ 5 Vpp */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "OUTPut ON\n"); /* Enable output */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
CHECK(viClose(Instrument));
CHECK(viClose(viDefaultRM));
}
Vista de pagina 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 191 192

Comentarios a estos manuales

Sin comentarios