ncc1701mda
10-23-2009, 06:56 PM
So... I built the interface, installed the drivers, the LED blinks... so far so good... Not familiar with Vixen so I decided to try the Enttec USB DMX Pro sample code (you can download it from their website). Compiled it under Visual Studio 8 and ran it. It sees the device, initializes it okay, reads the driver version which returns 0 0 0 (seems odd), reads the latency timer (returns 16) but fails when it makes the following call:
res=FTDI_ReceiveData(GET_WIDGET_PARAMS_REPLY,(unsi gned char *)&PRO_Params,sizeof(DMXUSBPROParamsType));
This call gets a zero response from the device.
Here's the program output:
Enttec Pro - C - Windows - FTDI Test
Looking for a PRO's connected to PC ...
Looking for Devices - 1 Found
Press Enter to Intialize 1st Device :
------ D2XX ------- Opening [Device 0] ------ Try 0
D2XX Driver Version:: 00.00.00
Latency Timer:: 16 Sending GET_WIDGET_PARAMS packet...
PRO Connected Succesfully
Waiting for GET_WIDGET_PARAMS_REPLY packet...
Press Enter to Exit :
Anyone else try this? Any ideas?
Mike
res=FTDI_ReceiveData(GET_WIDGET_PARAMS_REPLY,(unsi gned char *)&PRO_Params,sizeof(DMXUSBPROParamsType));
This call gets a zero response from the device.
Here's the program output:
Enttec Pro - C - Windows - FTDI Test
Looking for a PRO's connected to PC ...
Looking for Devices - 1 Found
Press Enter to Intialize 1st Device :
------ D2XX ------- Opening [Device 0] ------ Try 0
D2XX Driver Version:: 00.00.00
Latency Timer:: 16 Sending GET_WIDGET_PARAMS packet...
PRO Connected Succesfully
Waiting for GET_WIDGET_PARAMS_REPLY packet...
Press Enter to Exit :
Anyone else try this? Any ideas?
Mike