Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

STM Protocol for Android/Java

 Earlier on another thread I published some samples for Network Variables (in VB.NET) and STM protocol (VB.NET).   This sample uses the Android SDK to connect to the STM Protocol sample provided by NI.  Here is the Android project, unpackaged.  I don't have a real phone so it's only been run on the emulator.  Network Variables will not work with Java that I know of, or run on a phone or Mac.

 

I know it doesn't really belong here - but then it doesn't belong anywhere on this board.

 

In order to run this on your phone - you need to install the Android development system, compile, and deploy to your phone.  I used the library you can download from NI on the STM Protocol.  It comes with a LabView server that you need to run.  I did mod that with a metrodome timer set for 100mS to slow it down some.

 

Good Luck and have fun!

www.certtech.com
0 Kudos
Message 1 of 2
(4,436 Views)

Now that I have had some sleep here is the code....

 

I have not completed a deployment project becuase I don't as yet have a phone.  Import this project when creating a new project in Eclipse and you should be fine.

www.certtech.com
0 Kudos
Message 2 of 2
(4,425 Views)