
#idString HKJ,VirtualLogGenerator,
#name VirtualLogGenerator
#handle VLG
#port none

#helpurl http://lygte-info.dk/project/TestControllerVirtualDevices%20UK.html#Virtual_log__generator_(VLG)

#outputOff on 0

#interfaceType VLG

; Strings to configure device in different modes
; First parameter must match a #value (4 parameter) and second parameter must match what #askMode returns
; First parameter is also used in shortcut menu
;#cmdMode 

; Setup menu functions
; The parameters on the first line is: type name page 
; Settings on the following lines are:
; read: SCPI to read value from device, is used to synchronize when opening setup page or setting equal named fields. Not always used
; askValuesReadFormat: Parse read value.
; write: Send the value to device, this field is used in combination with data fields in the details to send updates to device.
; tip: Add this tip to all components for this input field.

#cmdSetup radio upTime
:read: upTime?
:write: upTime
:update: Frequency,Period
:tip: Time output is high in each period
0s 0
1s 1
3s 3
10s 10
30s 30
100s 100


#cmdSetup radio downTime
:read: downTime?
:write: downTime
:update: Frequency,Period
:tip: Time output is low in each period
0s 0
1s 1
3s 3
10s 10
30s 30
100s 100

#cmdSetup number upTime
:read: upTime?
:write: upTime
:update: Frequency,Period
:tip: Time output is high in each period
sec 0 3600

#cmdSetup number downTime
:read: downTime?
:write: downTime
:update: Frequency,Period
:tip: Time output is low in each period
sec 0 3600


#cmdSetup number upLevel
:read: upLevel?
:write: upLevel
:update: Range,Offset
:tip: Output high level
- 1n 10G

#cmdSetup number downLevel
:read: downLevel?
:write: downLevel
:update: Range,Offset
:tip: Output low level
- 1n 10G

#cmdSetup buttonsOn Output
:read: on?
:write: on
:updatealloff:
Off 0
On 1



#cmdSetup info Wave
:read: freq?
Hz
Frequency

#cmdSetup info Wave
:read: period?
s
Period

#cmdSetup info Level
:read: range?

Range

#cmdSetup info Level
:read: offset?

Offset

