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.

Develop Application software with ActiveX control

I want to develop application software with ActiveX control  that TI provided . First call the function DDC4100Ctrl.ConnectDevice(1,c:\usb_main.bin), it  returns 1, then, call DDC4100Ctrl.IsDeviceAttachede(), it returns 0, which means  not connect to the device, besides I cannot load  image to DMD . it is difficult to explain why  two return values  are contradictory  . 

how  can i  connect to device?    I use .77 DMD Platform .   thank you !

  • Hello Xiaoxiao,

    When you call the first ActiveX control does the LED one of the LED's on the board turn red for a bit and then turn green again.  Make sure that the file "usb_main.bin" is in the location provided and that it is the correct file.  If it does not do this then this means that the APPS_FPGA is not being loaded correctly. 

    Can you communicate with the board and DMD using the Discovery 4100 Explorer GUI?

    Fizix

  • Hello Fizix:

    Thank you for  your  reply.

    Yes, I can communicate with the board and DMD using the Discovery 4100 Explorer GUI, and notice that one LED turns  green after Discovery 4100 Explorer GUI is fully open.   I call  ActiveX control function connectdevice(..,..) , the same  LED  is  off all the time.  It seems that  APPS_FPGA  is not being loaded correctly. 

    I don't know  whether  "usb_main.bin"   is the correct  file   or not , I find it  in Documentation TI  provide. How can i  make sure "usb_main.bin" file  i  used is right for  hardware ?     I  use  .77 DMD platform.

    thank you .

    Xiaoxiao


  • hello,

            I also want to develop application software with ActiveX control .But  the question I meet is the fuction GetNumDevices()  doesn't   work.      I   make sure the hardware is good ,    because   I  can use  the  Explorer Software  to run  it.   I  think  maybe you can  help me   to  solve it .     we can also communicate  through  email .

    thank  you.

    kevin

    E-mail: lujunhua@mail.ustc.edu.cn

  • thanks Fizix,I Solve the problem,The "usb_main.bin" is not the correct file. I use another .bin file Located in the GUI source code TI provided, and it works.

  •    hello kevin:         

                 GetNumDevices() returns   number of  hardware   connect to PC,   it doesn't  means  that  you can access  and  load  image to DMD.  it  doesn't  work  means what ?

                 Whether   Explorer Software and  your own software run  on  the same  Computer ?   if  not ,  i  sugesst  you  try   together.  Maybe  the problem  is  different  drivers.        

                   if  you  want to communicate   more , you can reply  to me.

                    thank you

                  xiaoxiao

          

     

  • Hello  xiaoxiao:

    Thank you for your quicky reply !

    I make  sure  the Explorer Software and  my  own software  run  on  the same  Computer .Maybe  the  problem lies  in  the  misuse of   Activex   control.Could  you  tell  me the    steps  to  utilize  the  Activex   control?  I  have  inserted  the  DDC4100  control into  my   project ,and  i can see there is a new class  CDDC4100. When  i  use  any  function  of the object  ,  the  VC++ would  remind me there is an error. 

                      kevin

  • Hello   Fizix,

         I don't  konw  how to  use  the  activex  control . Could you tell me  what   steps should  I take ?  I  have  inserted  the  DDC4100  control into  my   project ,and  i can see there is a new class  CDDC4100.   Should  I  use  the fuction    ddc4100 .create( )  firstly  ?

    thank  you 

       Kevin

  • Hello Kevin,

    First, let me ask what platform you are targeting (i.e. O.S) and what programming language?  The D4100-Loader.sys will NOT work in Windows Vista or Win7.

    If you do not have access to the DLP Catalog Extranet you need to request access from the Design House that you purchased the kit from.  Then you need to download the "DLP Discovery 4100 Conroller Board API Programmer's Guide" - TI #2510446.  This will explain how to use the AcitiveX.

    We did not provide new code examples (i.e. C, C++, C#, dot_net, & VB) for the D4100 since they are almost identical (except for the name of the *.sys files) as the D4000 examples.  Once you have access to the extranet you can also navigate to the D4000 code examples and use them as a starting point (just edit the text files to reflect the names fo the D4100 drivers.

    Fizix

  • Hello  Fizix ,

    Thank you for your quickly reply !

    I use the windows xp  and  VC++ .

    I  have contracted  with  the Design House that  I  purchased the kit from .  And  they said  they  can  provide me a copy  of  the  D4000 code examples .  But  they  need the  the  path  of  it   .Can  you tell me  ?

    Kevin