- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the error being displayed in the Labview Window??
Thanks
Prajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the error being displayed in the Labview Window??
Thanks
Prajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please create a tech support case (MyAccount -> MyCases) so that one of our engineer can look into this.
Thanks
Prajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/en; http://ftp.icpdas.com/pub/cd/iocard/isa/napdos/isa/manual/calling_dll_functions_in_labview.pdf
Regards,
Gayathri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you succeed communicating with with LabVIEW to access CY7C68013
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did anyone ever get this to work correctly? I am having the same issues now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has there been any Headway on this problem. It appears some of the internals of the .NET library are exposed and not all of the methods. When the get_item is used (an internal .NET method) is used Labview crahes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to access CY7C68013 by Labview (or Matlab), but haven't got any idea yet...Does anyone have done similar task before? Please share......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can communicate with FX2LP using NI-VISA drivers or you can import cyusb.dll into labview and use cyusb drivers.
For creating an using NI-VISA drivers refer the link http://www.ni.com/white-paper/4478/en/#toc2
Use the BULk loop example provided with the Cy3684 DVK http://www.cypress.com/?rID=14321 to program the FX2LP.
Open the labview and in the example projects use USB RAW-BULK.vi.
Regards,
Vikas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
look at this too: IntelHexLoad1.zip 350 KB
from LabVIEW application (VISA) that could load an Intel Hex file into the Cypress CY7C68013 chip
I also have not found a way to use CyUSB.dll in LabVIEW....((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please let me know the following
1. Is it returning any error when you are running the application?
2. Have you tried to program the device using the Cyconsole/Control Centre with the same hex file?
3. Please capture a USB trace and check whether it is sending the actual hexadecimal data that is in the hex file or sending the ASCI values for each byte
For importing cyusb.dll into labview refer the link http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33.
Regards,
Vikas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately your file with the latest version (LabVIEW_2014)
My LabVIEW_2012 could not open it (((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am using labview trail version 2014. Sorry we don't have 2012 version. When I am trying to downconvert it is showing some errors.
In your application i changed the hex file with our example firmware and i tried the source name. Thats all the modifications I did. As you are using some spi hex file ,is it working with control centre provided with Cy3684 DVK?If yes then it should work with your project also.
Regards,
Vikas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content