Lighting USB OpenDMX FTD2XX DMXking

后端 未结 5 562
一向
一向 2021-01-21 00:44

Couple of quick questions. I have a DMX king USB lighting controller that I\'m trying to control.

It\'s based on the Open DMX protocol (from Entec) who make available a

5条回答
  •  庸人自扰
    2021-01-21 01:07

    I wrote the C# class on the open dmx site. It was based on Hippy's Open DMX driver written in VB.

    // Old broken link:
    http://members.westnet.com.au/rowanmac/opendmx.html#tx
    // Working link: https://web.archive.org/web/20150217155014/http://members.westnet.com.au:80/rowanmac/opendmx.html

    The C# Class in not initializing something on the FDDI chip.

    This has been tormenting me for years.

    I have my suspicions about FT_SetFlowControl. In the VB app, the second parameter is a short int. But any call to it's equivalent in the C# class will only work if the second parameter is cast to a char.

        [DllImport("FTD2XX.dll")]
        public static extern FT_STATUS FT_SetFlowControl(uint ftHandle, UInt16 usFlowControl, byte uXon, byte uXoff);
    

提交回复
热议问题