This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DDC264EVM: DDC264EVM USB_IO_for_VB6.dll SOURCE CODE

Part Number: DDC264EVM
Other Parts Discussed in Thread: DDC264

please is it possible to have the USB_IO_for_VB6.dll source code along with your DDC264 demo software code so we can try do modify the dll to add the USB port parameter in the FastAllDataCap function?

Thanks,

Rosario

  • Hi Rosario,

    We should be able to share the DLL source code but unfortunately, we will not be able to share the DDC264 GUI source code.

    You should be able to interface the DLL to your own Demo application like Labview or Visual Basic to read the data.

    Since we do not normally share the DLL source code, I will need to get the approval to share it.

    I will provide the source code once I get the approval.

     

  • Hi Praveen,

    do you have updates about the DLL source code?

    Thanks,

    Rosario

  • Hello we have the same problem with DLL, have any news about the source code we are blocked and we need to start test within 10 november.

    thak you

    Giuseppe

  • Hello Guiseppe,

    Here is the link to the DLL source code.

    /cfs-file/__key/communityserver-discussions-components-files/73/USB_5F00_DLL_5F00_code.zip

    Note that the source code is provided as is and we will not be able to provide any additional support.

  • Thank you Praveen we will send a reply on result asap.

    Have a good day.

    Giuseppe

  • Hi we resolved a lot of problem in the DLL code and we are able to read and write data through USB, but the Board USB goes in timeout and we need to restart it, why doesn't board EVM work constantly? What the reason of timeout?

    thanks

    Giuseppe

  • Hi,

    tanks a lot for the DLL code we are able to write our personal GUI, in your code there was some bugs that we have fixed. During test however the EVM give an error and the application crash, after this error also your SOFTWARE is not able to write or read the board register, message is Error to writing/reading config Reg.

    To unblock the board we need to press SW2 near the usb port connector of board and programm another time the FPGA and the DDC register. 

    if we launch the command to write the DDC264 register by ourself and despite we follow the istructions at letter:

    2. Configuring DDC Registers:
    First use XferINTDataOut() to send data to board and configure DDC register.
    Since the function at a time writes to only one register, the function has to be executed for
    multiple times to write to the below mentioned registers in FPGA. The first two digits represent
    RegH & RegL and the last two digits represent DataH & DataL.
    Data to be sent in sequence: 0000, 0000, 1100, 1200, 1C<DDC_High_Reg Value>,
    1D<DDC_Low_Reg Value>, 1F01, 0000, 0000, 1E01

    the boards are not able to collect correct data as if the command haven't effects.

    if we launch the command to write the CFG REG of DDC264 from your software ( button under DCC264 register)  after that we have progammed the FPGA register with OUR Software the boards works again.

    Moreover the HARD RESET OF DDC instructions says:

    To Hard Reset the DDD device use XferINTDataOut() to send the following register values. The first two digits represent RegH & RegL and the last two digits represent DataH & DataL.
    Data to be sent in sequence: 0000, 15FF, 15FF, 1500, 1500, 15FF, 15FF.

    How is possible to pass to XferINTDataOut() function 7  pairs of 2 bytes ?? In the DLL the func is defined so: XferINTDataOut( int *USBdev, int *Data01, int *Data02, int *Data03, int *Data04)

    We expect that the istruction to apply a reset passes an even number of pairs like the previous for write the register.

    It's clear that there is some wrong info on document....can you provide us ONLY the code enclodes in the 2 buttons of your software HARD RESET DDC and WRITE CFG / VERIFY CFG to understand whats wrong in our software?

    we are blocked again and in "terrificant late" to provide the data of test we must do with your board , we risk losing the contract.

     thank you so much for any help to reach our goal.

    Giuseppe

  • Hello,

    any news about?

    Thanks

    Giuseppe