Home › Forums › V-Control Show Case › [DRIVER][V4] AnalogWay Midra Series › Reply To: [DRIVER][V4] AnalogWay Midra Series
Hi Jonas,
I have no Idea jet why you have to send some commands twice. Anyhow, I found a bug in your driver.
LoadPreset and all following commands up to AutoQuickFrame:
The command has an Ack Length of 3 and an ACK Command defined, but no timeout
LastPrevied and all following commands:
The commands have an ACK command defined, but no “Ack in Hex” or Ack Length and Timeout.
If you don’t want to wait for an Acknowledge, Timeout, Ack Length and Ack in Hex have to be empty / 0
Freeze Screen:
dim i,v as string
if P1 = "ON" then i = "1"
if P1 = "OFF" then i ="0"
if P1 = "S1" then v = "0"
if P1 = "S2" then v ="1"
ScriptResult = i +","+v+"GCfsc"+ chr(10)
P1 coud never be “S1” or “S2” it must be P2
dim i,v as string
if P1 = "ON" then i = "1"
if P1 = "OFF" then i ="0"
if P2 = "S1" then v = "0"
if P2 = "S2" then v ="1"
ScriptResult = i +","+v+"GCfsc"+ chr(10)