LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there anyone who has used Freescale's SimpleSUB.dll and DEMOJM board?

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

0 Kudos
Message 1 of 8
(4,381 Views)

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

National Instruments
0 Kudos
Message 2 of 8
(4,342 Views)

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.

 

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=USBJM_TRAINING&nodeId=016246fNrgVJ4Cx...

 

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

 

 

0 Kudos
Message 3 of 8
(4,332 Views)
Sorry, I have forgotten to say my OS is Vista 32 Home Premium. 
0 Kudos
Message 4 of 8
(4,329 Views)

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,

Juan Galindo
Applications Engineer
National Instruments
0 Kudos
Message 5 of 8
(4,275 Views)

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.

 

 

National Instruments
0 Kudos
Message 6 of 8
(4,154 Views)

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

 

0 Kudos
Message 7 of 8
(3,573 Views)

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 

0 Kudos
Message 8 of 8
(3,540 Views)