writing signals to serial port

1.1k views Asked by At

I am trying to write data to a DMX receiver via USB to RS485 cable. I can see the correct data frames, but for the packet to follow the DMX protocol, I need a break and MAB signal. So my question is, is there a way to generate such signals? My thoughts were to write hi and lo signals with delays to the serial port but I have not found a way to do this in VS C#.

1

There are 1 answers

2
Jon On

There is an example (though not in .NET but you can translate it) here:

How to control DmxSimple over serial

And use the SerialPort class to send the data down your cable