LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hex file from a VI

Is it possible to create a Hex File from a VI? I require this to dump in into a Microcontroller. Also, are there any  Cross compilers available that  can be  of help?
0 Kudos
Message 1 of 4
(3,553 Views)
Hi nikview,

every VI is a hex file 🙂

Do you want to run your vi on a microprocessor of your choice? That should be very difficult to impossible.
But you can use the FPGA or the RealTime-Options of LabVIEW! Just contact your local NI representative...


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,547 Views)

LabVIEW Embedded .

0 Kudos
Message 3 of 4
(3,542 Views)

"nikview" <x@no.email> wrote in message news:1161169806859-429138@exchange.ni.com...
Is it possible to create a Hex File from a VI? I
require this to dump in into a Microcontroller. Also, are there
any&nbsp; Cross compilers available that&nbsp; can be&nbsp; of help?



Hi,


You cannot convert vi code to a hex file. Since LabVIEW is NI propriety software, there are no cross compilers. Since the binary structure of a vi file is not open, it's difficult to do this.


You can create VI's that assist in programming microcontollers. You could make vi's that build a hex file, and compile/upload the hex file with command line tools. This is how Mindstorms works, I'm sure someone did this already, but I don't know if there is code available.


If you want to compile the vi's to a microcontroller, you'll have to invest somewhere around 10k$ to get the LabVIEW Embedded toolkit. This product is basically a tool that let's you convert vi's to ansi c, and compile the ansi c to any platform. Any platform that supports ansi c and has 256k memory. I think you'll have to account for 2-6 week to configure the toolkit for your platform, unless it's (close to) one of the supported platforms: ecos, unix, windows from the top of my head.


Regards,


Wiebe.
0 Kudos
Message 4 of 4
(3,536 Views)