Script to send data to comport for DMX4ALL controller
Posted: Wed Feb 27, 2013 11:24 pm
I`m trying to make a script to send data to com10 (dmx4all interface) to control PAR-LED fixtures. But i`m not shure how to do this
I have found an example but it is not working yet
Can anyone explain what to do, this is my first attempt on making a script
I have installed SerialMon and during an ASCII scan i get the following values
266 2 255 ( 266=unknown 2=channelnr 255=level)
When the interface is idle i see an G and C ? passing by

I have found an example but it is not working yet
Code: Select all
sub main
Dim err
err = hs.OpenComPort(3,"115200,N,8,1", 0, "", "")
If err <> "" Then
hs.writelog "DMX","Unable to Open COM3"
Else
hs.writelog "DMX","COM3 Successfully Opened"
End If
hs.SendToComPort 3,chr(64)&"010"
hs.closecomport 3
hs.writelog "DMX", "Scene 10 activated"
end sub
Can anyone explain what to do, this is my first attempt on making a script
I have installed SerialMon and during an ASCII scan i get the following values
266 2 255 ( 266=unknown 2=channelnr 255=level)
When the interface is idle i see an G and C ? passing by
