HP Drive Manual de usuario Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 32
Using IVI with Visual C# and Visual Basic
33
Configure the Instrument
To set the range to 1.5 volts and the resolution to 1 millivolt, type
dmm.DCVoltage.Configure(1.5, 0.001);
Set the Trigger Delay
To set the trigger delay to 0.01 seconds, type
dmm.Trigger.Delay = 0.01;
Set the Reading Timeout/Display the Reading
Create a variable to represent the reading and display the reading:
1 Type double reading;
2 To trigger the multimeter and take a reading with a timeout of 1 second, type
reading = dmm.Measurement.Read(1000);
3 Type Console.WriteLine("The measurement is {0}", reading);
4 Type Console.ReadLine();
Close the Session
To close out the instance of the driver to free resources, type
dmm.Close();
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 113 114

Comentarios a estos manuales

Sin comentarios