05-29-2016 06:30 AM
I am trying to load and run a EXE developed on LV2012 on a Kangaroo mini PC. I need a highly portable PC fixed on a moving trolley and powered by batteries. ( http://www.newegg.com/Product/Product.aspx?Item=N82E16883722001&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Ju...
The specs of the Mini PC are here :
The application is not very hardwaree intense and use only a handful of low speed digital I/Os ( maximum upto 50 Hz ) but requires some active file management. Otherwise the job is well suited for a microcontroller like the Arduino.
I am aware of the limitations on storage on this mini PC but all i need besides the WIN-10 OS is about 2GB for the LV applicatioon and data. And this PC will NOT run any other application.
Possible ? Anyone try out similar thing with a minim PC ?
Solved! Go to Solution.
05-29-2016 06:50 AM - edited 05-29-2016 07:03 AM
http://forums.ni.com/t5/LabVIEW/Can-my-pc-run-labview/m-p/3255796/highlight/true#M949231
Edit: You can see some discussions above regarding to this platform.
Myself I never tried LabVIEW Runtime Engine + EXE built from LabVIEW project on such miniPC, but I guess you can give it a try. The other question is the interface. What kind of DAQ you want to use? How can you connect to this miniPC? USB? Is this built-in USB will support the DAQ hardware? So there are several questions...
I think if you seek a very cheap solution, you could try the new Raspberry Pi 2 for data acqusition. There is a new product coming soon so you will be able to build LabVIEW directly for Rapsberry, and I guess there is option to save data to USB stick...?
Another option to search in the field of Real Time products, like NI-myRIO (you can power it with battery too i think).
05-29-2016 07:13 AM
Thanks Blokk
I am feeling more confident after reading the response and linked discussions.
More so after reading Altenbach's trials. Yes I think it will be possible to do this. I am not going to develop the app on the Mini. Its just the run time plus my EXE.
Hardware interface ? I am planning a different approach. I will have a Arduino grab all sensor data / human interface switch details and pass it as a single pre-formatted string via the USB say at 20Hz rate. My LV code will parse this string , get the data what it wants and do what is required in line with that. This way i dont need even DAQMx.
What do you think ??
05-29-2016 07:20 AM - edited 05-29-2016 07:24 AM
I guess it can work, yes. And there are many other possible configurations too...
edit: What about the miniPC part? Will you need a monitor there, or only want a headless system? You could even try some RealTime OS to install on this miniPc I think, which supports LV RT. So you would have a headless RT OS running on the miniPC without keyboard, monitor, etc. Besides, the miniPC would broadcast the data acquired from the Arduino via WIFI (webserver to access data so you can even use your smart phone to monitor)... But I have never tried such config...
05-29-2016 07:31 AM
@MogaRaghu wrote:
More so after reading Altenbach's trials. Yes I think it will be possible to do this. I am not going to develop the app on the Mini. Its just the run time plus my EXE.
Just make sure you test on the deployment PC throughout your development. The last thing you want to happen is to run your exe for the first time after development and realize that the CPU just sits at 100%.
05-29-2016 11:21 AM
You'll also want to be aware LV 2012 and Win10 aren't the best possible mix. They may work. But, you're in untested waters doing so.
05-29-2016 11:39 AM
Thanks for the warning... buit i have completed two full projects with the Lv12 + WIN10 combo. So far so good.
05-31-2016 12:29 PM
@Blokk wrote:
I think if you seek a very cheap solution, you could try the new Raspberry Pi 2 for data acqusition. There is a new product coming soon so you will be able to build LabVIEW directly for Rapsberry, and I guess there is option to save data to USB stick...?
Actually an NI products exists today to deploy to a Raspberry Pi.
But it sounds like these mini PCs are suitable for some very basic embedded applications, which is awesome. But if that doesn't work the MyRIO is proabaly overkill but would work as well. Running RT Linux means you can use many of the packages Linux does for doing operations.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-31-2016 04:08 PM - edited 05-31-2016 04:11 PM
Your little Atom box should have no problems running LabVIEW exe's.
I am running LabVIEW 2015 complied EXE with LV-Runtime on a 1.2Ghz P3, 256Meg of RAM, and Windows XP.
Other than having to disable SSE optimizations when I compile I have no issues running on this machine.
05-31-2016 10:37 PM
@RTSLVU wrote:Your little Atom box should have no problems running LabVIEW exe's.
I am running LabVIEW 2015 complied EXE with LV-Runtime on a 1.2Ghz P3, 256Meg of RAM, and Windows XP.
Other than having to disable SSE optimizations when I compile I have no issues running on this machine.
The exact kind of real time feedback that i needed ! Thanks.