12-22-2008 05:01 PM
Hello,
I am trying to connect Frescale DEMOJM board over USB connection. I am adding SimpleUSB.dll to my visual instrument thorough .NET constructor node and giving an mscorlib class GUID to the GUID property, than calling OpenConnection method from an invoke node referencing the SimpleUSB reference. But there is no valid connection to the device as DeviceConnected parameter return "False".
I am using LabVIEW 8.6 trial, .NET Framework 3.5. So they are up to date I guess. Is there a limitation of these for using .NET dll? And also I can use the dll in Visual C# successfully.
At first there was another problem using the .NET constructor node in LabVIEW because of Vista OS. The vi was blocking when i added the node to the vi. I changed the "language & regional settings" to English(USA). The problem seemed to be solved. Can Vista's bug be still a problem?
Is there anyone who has used Freescale's SimpleUSB.dll and DEMOJM board with LabVIEW?
I will be thankfull for your helps.
Emre
12-23-2008 02:17 PM
Hello Emre,
I was not able to locate the SimpleUSB.dll online. I would have to reproduce your scenario to better answer why you are seeing this issue, so if you don't mind replying to this post and attach SimpleUSB.dll and maybe a screenshot of you code, that would be helpful. There is no compatibility issue between LabVIEW 8.6 and .NET 3.5, however could you clarify which version of Vista you are using? Our software does not support Vista 64.
Thanks and Happy Holidays,
Anna
12-23-2008 03:14 PM
Hello Anna,
Here is one of my poor vi trials. 🙂 I have also tried putting some conditionals in some other files but it didn't helped.
http://rapidshare.com/files/176194859/EXTDLL1.rar.html
Here is a link for the Freescale's DEMOJM board. It shows how to make a GUI for the board using SimpleUSB.dll & C#. You can also download the dll from that web page and there is helpfull documentation for the dll.
I am trying to make the same thing with Labview instead of C#. But I am not familiar with the SW issues so am in trouble.
Thanks,
Emre
12-23-2008 03:23 PM
12-29-2008 02:47 AM
The OS should not be an issue, but for testing purposes I will look for a Vista Machine and let you know the result of the test.
Regards,
01-14-2009 05:54 PM
Hello Emre,
I have been piecing together your issue, I realize it's been a while since the last post, if you have any updates for us as to the status of your application, please let us know.
05-18-2010 02:09 PM
Hello Anna,
Any news about this issue?
I would like to use LabView with the DEMOJM board using Freescale's SimpleUSB.dll
or to know alternatives (LabView+DEMOJM using USB).
Regards
Nkz
05-18-2010 03:09 PM
None of the outsource dlls worked. So we have used Labview's USB raw device drivers to finalize the application. I guess USB Instrument Control Tutorial document will help you.
http://zone.ni.com/devzone/cda/tut/p/id/4478
Regards,
Emre