You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In order to provide a user interface for driver functions, dynamic link library TE_USB_FX2_CyUSB.dll and CyUSB.dll have been used. User program should load these libraries and initialize module connection to get access to API functions. To do this, you shall:

  1. copy TE_USB_FX2_CyUSB.dll and CyUSB.dll to the project folder (for example TE-USB-Suite/TE_USB_FX2_SampleApplication/TE_USB_FX2_SampleApplication/);
  2. open the C# project (double click the TE_USB_FX2_CyUSB_SampleApplication icon in the folder TE-USB-Suite/TE_USB_FX2_CyUSB_SampleApplication/);
  3. open "Explore Solution" if it is not already open (Ctrl+W or left click "Visualize > Explore Solution");
  4. in the right panel "Explore Solution", right click "Reference";
  5. select "Add Reference". A new window (Add Reference) opens;
  6. select the fourth sheet (Browse). The term "Look In" shall have automatically selected the correct folder (TE-USB-Suite/TE_USB_FX2_SampleApplication/). If is not so, you shall select the folder where you have copied the previous DLLs;
  7. left click one of the two DLLs;
  8. select OK;
  9. repeat steps from 4 to 8 for the second DLL.

Exported function list:

  • TE_USB_FX2_ScanCards()
  • TE_USB_FX2_Open()
  • TE_USB_FX2_Close()
  • TE_USB_FX2_SendCommand()
  • TE_USB_FX2_GetData()
  • TE_USB_FX2_SetData()


  • No labels