LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb communication with silicon lab c8051f320

hi
 
I want to communication with the silicon lab c8051f320 use the usbxpress development kit he provide
 
there is many example using vc vb,but it did not have any example use labview
 
for the host (pc), it provide a dll (see the appendix),
 
I have tried many method, but the labview always crashed when the dll is called
 
 does anybody who have used c8051f320 can give me a advice.
 
the dll and usbxpress development kit are in the appendix.(the sif320xusb.c is a dll, please change its Postfix from c to dll) 
 
i really need your help
 
Download All
0 Kudos
Message 1 of 6
(5,628 Views)
Hi,
 
Better late then never  Smiley Wink
 
When I use your DLL to ask for the number of devices in LV it comes back with 0xFF as it should.  Smiley Surprised
 
Can you use this basic function ?
Message 2 of 6
(5,615 Views)
Hi KC
 
I really appreciate your help,
 
The problem has been solved.
 
 
 
 
0 Kudos
Message 3 of 6
(5,604 Views)
I happen to be running into a similar problem.  Would you be able to describe how this was solved?

Regards.
0 Kudos
Message 4 of 6
(5,477 Views)
Hi
What solution you got from KC.
Could you please help me out.
I am facing same problem, the LV crashes when i use the dll.
 
Regards
 
Ishant
0 Kudos
Message 5 of 6
(5,458 Views)
I investigated this a bit further.  SiLabs latest version is version 3.0.3 and if you are using this, LabVIEW may not work properly.  After many failed attempts to get this working, I reverted back to version 2.4.2 which I am able to get working in LabVIEW just fine.  You cannot download older versions directly from their website however.  The primary difference between version 2.4.2 and 3.0.3 is the function prototype.  SI_Write and SI_Read v3.0.3 have an additional OVERLAPPED pointer parameter that you may have to add to the library call.  However, I found this out after I reverted back to 2.4.2 and haven't attempted again to make 3.0.3 work.
Message 6 of 6
(5,443 Views)