This section reflects the products and operating system used to create the example.
To download NI software, including the products shown below, visit ni.com/downloads.
This is an example of using Labview, .NET, and CyUSB.DLL to transfer data on the Cypress FX3 Development board.
The main reason I am posting it is I wasn't able to find it anywhere else, but there seem to be a lot of requests for it.
All of the attached files must be placed in a folder called Cypress in the root of the C drive. You have to do that for the path to the firmware image file to work in the cypress VI.
If you don't want to do that put the folder somewhere else and edit the path to the firmware image.
In bulk loop mode with loopback using the Cypress USBBulkLoopAuto.img as the FX3 firmware my hardware achieves about 80 MegaBytes per second.
In Streaming mode using the Cypress USBBulkSourceSinkLED.img as the FX3 firmware my desktop gets about 200 MegaBytes per second.
Maximum transfer size is 4 MB. You can experiment with smaller transfer sizes using the "n" control. That is the only control.
With the FX3 plugged in run the cypress.vi. The program will wait to sense the connection of a new FX3 Boot device. Cause this to happen by pressing the reset button, next to the USB Port on the FX3 development board.
The new boot device will be detected and the Cypress FX3 USB BulkLoopExample device firmware will be loaded to the FX3 development board by Labview.
Let it run for as long as you want. Press the reset button on the FX3 again to stop the program.
Since none of my attachments uploaded here is a full screenshot of Cypress VI
Second page reading from right of first page
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.