Visual Basic code

*DISCONTINUED* SLESA - SL512EC - SL512BC - SLMEV

Moderators: simonB, dylan, florent

Roger

Visual Basic code

Post 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.