Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Problem about using CyUSB.dll with LabVIEW to access FX2LP

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Problem about using CyUSB.dll with LabVIEW to access FX2LP
Moderator:
RSKV

Post Reply
Follow this topic



Problem about using CyUSB.dll with LabVIEW to access FX2LP

xhudiao posted on 09 Jun 2012 6:56 AM PST
Member
5 Forum Posts

I am trying to using CyUSB.dll with LabVIEW to access FX2LP, but failed.

My LabVIEW code as follow, it is good running before method "get_Item", and the count of USBDeviceList is 1 or 0 depends on CY7C68013A is attached or not. When it runs after method "get_Item", LabVIEW will be crashed....

It's very kind of you if you give me some advice or an example.




Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

PRJI posted on 12 Jun 2012 11:07 PM PST
Cypress Employee
333 Forum Posts

 Hi,

   What is the error being displayed in the Labview Window??

Thanks

Prajith



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

xhudiao posted on 12 Jun 2012 11:54 PM PST
Member
5 Forum Posts

hi, PRJI,

Thank you to reply.

I translate in Google:

LabVIEW 10.0f2 Development System has encountered a problem need to close. We apologize for the inconvenience.

If you are in the process of which the information may be lost.

(Button)Debug                            (Button)Close



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

PRJI posted on 12 Jun 2012 04:27 AM PST
Cypress Employee
333 Forum Posts

 Hi,

  What are you trying to do inside get_Item method? I would like to take a look, please attach your project if possible.

Thanks

Prajith



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

xhudiao posted on 12 Jun 2012 07:25 AM PST
Member
5 Forum Posts

Hi, PRJI,

Attached file is my test project.

I just want to use CyUSB.dll with LabVIEW like I do it with C#.

In fact, I can access FX2LP via NI-VISA driver in LabVIEW, but the throughput is 21MB/s at most. (It is up to 36MB/s when I use CyUSB.dll in C#. That is why I want to use CyUSB.dll with LabVIEW. )



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

xhudiao posted on 12 Jun 2012 09:23 PM PST
Member
5 Forum Posts

attached file: lv_dotnet_test.zip



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

xhudiao posted on 30 Jun 2012 12:59 AM PST
Member
5 Forum Posts

Hi, @PRJI,

Is there any good news about using CyUSB.dll with LabVIEW?

I think there must be some details I missed.

It is really make me crashed.

Thank you very much.



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

PRJI posted on 03 Jul 2012 10:05 PM PST
Cypress Employee
333 Forum Posts

 Hi,

   Please create a tech support case (MyAccount -> MyCases) so that one of our engineer can look into this.

Thanks

Prajith 



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

Hw posted on 16 Apr 2013 01:19 AM PST

1 Forum Post

 Hello,xhudiao, I'm studying how to develop the cy7c68013 through labview, but I don't know how to access the chip. When I use the CyUSB.dll, there is no functions to be selected .

I wonder if you can help me, please leave me your email for communication. Thanks!



Re: Problem about using CyUSB.dll with LabVIEW to access FX2LP

Gayathri posted on 02 May 2013 11:18 PM PST
Cypress Employee
428 Forum Posts

 Hi,

 

We have not tested Labvieww ith CyUSB.dll internally. Just see if tehse are of help to you: http://www.ni.com/white-paper/4888/enhttp://ftp.icpdas.com/pub/cd/iocard/isa/napdos/isa/manual/calling_dll_functions_in_labview.pdf

 

Regards,

Gayathri






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20