AnsweredAssumed Answered

AD9912 and Vendor_Request function of ADI_CYUSB_USB4.DLL in C 

Question asked by sfarah on Apr 6, 2017
Latest reply on Feb 12, 2018 by 911KK

      I try to control my DDS Eval Board AD9912 with a program written in C ++. I use ADI_CYUSB_USB4.DLL and its functions to communicate with the Board. The functions Search_For_Boards, Connect and Disconnect works fine, but I can not use Vendor_Request correctly for sending to and receiving data and commands from the DDS AD9912.
     Can you help me to use this function correctly or tell me another function that can be used to exchange data with the board like Bulk_transfer for example. Here an example of my Vendor_Request code:


command =  Vendor_Request(Handle, VR_REQUEST, VR_VALUE, 0x08, DIR_WRITE, 0x12, Buffer_Out);

request =  Vendor_Request(Handle, VR_REQUEST, VR_VALUE, 0x8F, DIR_READ, 0x02, Buffer_In);


Best regards
S. Farah