Agilent 6k Oscilloscope Configuration File


Each oscilloscope device is represented by the following property tree:

  • DEV![0-9]
    • DEVICE:string
    • CON:string (e.g. "!tcp://127.0.0.1")
    • PORT:int (default 5024)
    • ACQUISITION_MODE:string (possible values are: "NORMAL", "PEAK", "AVERAGE")
    • ACQUISITION_PERCENTAGE:int
    • TRIGGER_SOURCE:string (possible values are: "CHANNEL1|2|3|4", "EXTERNAL")
    • TRIGGER_MODE:string (possible values are: "EDGE", "GLITCH", "DURATION")
    • TRIGGER_EDGE_SLOPE:string (possible values are: "POSITIVE", "NEGATIVE")
    • TRIGGER_LEVEL:double +UNIT=Volt +MIN=-5.0 +MAX=5.0 +STEP=0.2
    • TIME_REFERENCE:string (possible values are: "CENTER", "LEFT")
    • HORIZONTAL_RANGE:double +UNIT=second +MIN=0.000000001 +MAX=2.0 +STEP=0.001
    • HORIZONTAL_UNIT:string= (possible value in only second at the moment)
    • DELAY:double +UNIT=second +MIN=0.00000000 +MAX=2.0 +STEP=0.0001
    • SDIV:double +UNIT=second (generated by the worker service)
    • CURRENT_TRIGGER_SOURCE:string (generated by the service)
    • CURRENT_TRIGGER_MODE:string (generated by the service)
    • CURRENT_TRIGGER_EDGE_SLOPE:string (generated by the service)
    • CURRENT_TRIGGER_LEVEL:double (generated by the service)
    • CURRENT_TIME_REFERENCE:string (generated by the service)
    • CURRENT_HORIZONTAL_RANGE:double (generated by the service)
    • CURRENT_DELAY:double (generated by the service)
    • IS_REACHABLE:Bool (generated by the service)
    • CHANNEL![1-4]
      • CHANNEL:Int (Channel index, e.g. 1)
      • NAME:string (e.g "Voltage Channel 3")
      • UNIT:string (possible value = "Volt" at the moment)
      • VOLTAGE_RANGE:double +MIN=0.10 +MAX=10.0 +STEP=0.1 +DECIMALS=2
      • OFFSET:double +MIN=-10.0 +MAX=10.0 +STEP=0.1 +DECIMALS=2
      • TRIGGER_LEVEL:double +UNIT=volt +MIN=-5.0 +MAX=5.0 +STEP=0.2 +DECIMALS=6
      • VDIV:double +UNIT=volt (generated by the basda service)
      • NUMBER_POINTS:int
      • PROBE:double
      • POINTS_FORMAT:string (possible value at the moment = "ASCII")
      • CURRENT_VOLTAGE_RANGE (generated by the basda service)
      • CURRENT_OFFSET (generated by the basda service)
    • DATA
      • CURVE![1-4]:Nice:: SeqDouble +UNIT=volt (generated by the worker service) +GRID:Bool +TITLES:SeqDouble +X_INCREMENT:Double +X_ZERO_REFERENCE:String +Y_SCALE:SeqDouble
  • SVC
    • CFG
      • INTERVAL:int +UNIT=millisecond
      • RECONNECTION_INTERVAL: int
where

  • VOLTAGE_RANGE sets the full vertical range of the oscilloscope. The range value is eight times the volts per division.
  • TIME_RANGE sets the full scale horizontal time in seconds. The range value is ten times the time per division.
  • TIME_REFERENCE sets the display reference one time division from the left or in the center of the screen.
  • NUMBER_POINTS is the number of points of the curve to retrieve from the buffer. It can be either 100, 250, 500 and so on. Any number in between sets the o$
  • PROBE sets the input probe attenuation.
  • ACQUISITION_MODE sets the acquisition mode to NORMAL, PEAK, or AVERAGE.
  • TRIGGER_SOURCE sets the trigger source.

Simulator

This device is used in the basda service to generate a random curve and simulate the behavior of the Oscilloscope.
It can be used to simulate communication and / or initialization situations.

The simulator has the same properties described above, and adds the following ones:
  • DEV![0-9]
    • INITIAL_CONNECTION_FAILS:bool
    • COMMUNICATION_FAILS_AFTER_CONNECTION:int
    • RECONNECTION_FAILS_AFTER_COMMUNICATION_FAILS:int
where
  • INITIAL_CONNECTION_FAILS set to true causes a connection exception. The service tries to reconnect after (RECONNECTION_INTERVAL) seconds.
  • COMMUNICATION_FAILS_AFTER_CONNECTION causes a communication error while working after N loops.
  • RECONNECTION_FAILS_AFTER_COMMUNICATION_FAILS simulates a reconnection error during N times.
Topic revision: r2 - 08 Aug 2018, AndrewColson
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback