The problems with using RS232 & VB6 are..
- Getting the 250K baud rate
- Generating the BREAK and MAB correctly
- General code speed since VB6 would not support
threads very nicely even though there may be a
way get around that.
If you wish to use VB code, the simpler & faster though slightly expensive method would be to get a commercially available DMX hardware engine running off the USB2.0 port. I used VB6 to run fairly complicated code which controls a musical fountain with 512 DMX channels including DMX water nozzles, lights , pumps , solonoids at pretty good speed. I used a Sunlite SUIDI 5C.
I've attached a photo of the control room. The little black box behind the laptop contains the SUIDI 5C which comes as a PCB. The DMX dimmers in the background are from my company, DATALITE.
Notice my silly smile, when the coding gets tough !!
cheerio
Ujjal Kar
Message Thread