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:
- 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/);
- open the C# project (double click the TE_USB_FX2_CyUSB_SampleApplication icon in the folder TE-USB-Suite/TE_USB_FX2_CyUSB_SampleApplication/);
- open "Explore Solution" if it is not already open (Ctrl+W or left click "Visualize > Explore Solution");
- in the right panel "Explore Solution", right click "Reference";
- select "Add Reference". A new window (Add Reference) opens;
- 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;
- left click one of the two DLLs;
- select OK;
- repeat steps from 4 to 8 for the second DLL.