How to develop a host application for FX2LP in LabWindows/CVI

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 AN70983 shows C#,C++,VB example by using Cypress library. But LabWindows/CVI is based on ANSI C. 

   

I wonder how to use Cypress library (CyUSB.dll, CYUSB.sys) in LabWindows/CVI.

   

BTW, all in WINDOWS10.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

it seems there are serious problems with the coordination CyUSB.dll and LabVIEW / LabWindows CVI
There are several discussion at  forum NI and at this forum.
I found only one way: Create a wrapper dll for labview in visual studio environment.
A good starting example for creating C # NET Class library for LabVIEW
https://www.youtube.com/channel/UCpQj1SkXboxr81P_SWLsnZQ/videos?feature=hovercard
My test version   for CY7C65211 - USB-Serial Single-Channel (UART / I2C / SPI) Bridge:
and   simple project for Visual Studio and LabVIEW  here:  http://mylab.wmsite.ru/moi-razrab/cy7c65211/

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

it seems there are serious problems with the coordination CyUSB.dll and LabVIEW / LabWindows CVI
There are several discussion at  forum NI and at this forum.
I found only one way: Create a wrapper dll for labview in visual studio environment.
A good starting example for creating C # NET Class library for LabVIEW
https://www.youtube.com/channel/UCpQj1SkXboxr81P_SWLsnZQ/videos?feature=hovercard
My test version   for CY7C65211 - USB-Serial Single-Channel (UART / I2C / SPI) Bridge:
and   simple project for Visual Studio and LabVIEW  here:  http://mylab.wmsite.ru/moi-razrab/cy7c65211/

0 Likes