Page 1 of 1

Visual Basic code

Posted: Sat Jun 10, 2006 4:37 pm
by Roger
I currently use a DMX transmitter that I run from Visual Basic 6.0

Here is the code I use to output to the serial device.

To initilize the port
MSComm1.CommPort = 1
MSComm1.Settings = "115200,n,8,1"
MSComm1.PortOpen = True

To output the dmx
CHANNEL = 20
DATA = 235
MSComm1.Output = "C" & CHANNEL & "L" & DATA

I need a sample of the Visual Basic code required to output the DMX channel and data information so I can determine if I would be able to use your device using my program.