LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

'C' Code/Embadded code for Lab VIEW

Hi,
I am trying to use LabVIEW in robotics application (Robot Swarm includes modules; surveillance, patient monitoring, guidance, delivery and cleaning). From the beginning of this research; project was running ok. But last week I got an instruction from my project supervisor, that this project needs to be use Player/Stage (for getting data from sensors and motors) and Orca2 (as a middleware to communicate between player device and Base robot which operating system is Linux). At this stage I am confused that how I interface/communicate this LabVIEW programme with Player/Stage and Orca2. In general considering each of these robot swarm modules should be stand alone.

At this stage I am looking for few questions' answers and I hope  some one of you would be able to answer my questions.


Could I build my programme in Lab View (Real time embedded platform in Linux version) and then get the 'C' code for the entire programme and also the embedded programme for the gumstix which will act as a self executable programme and can run without LabVIEW environment (with the Base robot)? If this is possible, Please give me a brief info that how do I start.  As I am a beginner user the question could  be not so clear to you. If so please recall me..

Thanks for your time.
Regards
Mamun




Kabir mamun
PhD Student,DCU
mamunk2@gmail.com
www.iward2010.blogspot.com
0 Kudos
Message 1 of 3
(7,032 Views)
Hi Marmun,

The LabVIEW Microprocessor SDK enables you to generate C code from a LabVIEW block diagram. You can then write VIs to script the tool chain you are using to automate the familiar build, download and run behavior.

First, LabVIEW Micro SDK needs to be ported to your target, which will require you to be very knowledgeable of the tool chain and the hardware you are using. The porting process is outlined in detail here: LabVIEW Microprocessor SDK 2.5 Porting Guide.

The gumstix tool chain runs on Linux-based computers only [link], which means that scripting the build, download, and run behaviors is made more complex since the LabVIEW Micro SDK does not support Linux. It can still be done; it would just be more work.

It is simple to interface a LabVIEW Micro target to external code. Use the Inline C Node to call functions in C libraries, and add/remove header files by right-clicking on the border of the structure.
--
Michael P
National Instruments
0 Kudos
Message 2 of 3
(7,008 Views)
Hi Michael,
Thanks for your kind reply.
I am reading through what you send (Links).If I  need more info. I will let you know.
Regards
Mamun
Kabir mamun
PhD Student,DCU
mamunk2@gmail.com
www.iward2010.blogspot.com
0 Kudos
Message 3 of 3
(7,002 Views)