"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 Cross compilers available that can be 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.