Rigol DS1204B Specifiche Pagina 123

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 122
RIGOL
Programming Guide for DS1000B Series
3-3
Example 2 Setting the basic measurement
/*Save the character string of equipment identifier the *IDN command
returned*/
char s8IDNString[256];
void BasicSetup(void)
{
/*Firstly acquire the equipment identifier*/
viQueryf(g_vi,"*IDN?\n","%t",s8IDNString);
/*Send the command :AUTO, and the equipment sets automatically
according to the current signal to display best*/
viPrintf(g_vi,":AUTO\n");
/*Send the command :CHANnel<n>:PROBe to set the probe
attenuation factor*/
viPrintf(g_vi,":CHAN1:PROB 10X\n");
/*Send the command :CHANnel<n>:OFFSet to set the vertical
offset*/
viPrintf(g_vi,":CHAN2:OFFS 20\n");
/*Send the command :TIMebase[:MAIN]:SCALe to set the horizontal
scale*/
viPrintf(g_vi,":TIM:SCAL 1e-8\n");
/*Send the command :TIMebase[:MAIN]:OFFSet to set the horizontal
timebase*/
viPrintf(g_vi,":TIM:OFFS 2e-6\n");
/*Send the command :TRIGger:MODE to set the trigger mode*/
viPrintf(g_vi,"TRIG:MODE EDGE\n");
/*Send the command :TRIGger:EDGE:SLOPe to set the edge type of
edge trigger*/
viPrintf(g_vi,"TRIG:EDGE:SLOP POS\n");
}
Vedere la pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 131 132

Commenti su questo manuale

Nessun commento