ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW CCodeGen with Keil RTX

Solved!
Go to solution

Hopefully this is the correct forum. Please correct me if it isn't.

 

Does anyone know of a good tutorial on getting LabVIEW CCodeGen working with a Keil Project using RTX? I am using LabVIEW 2012 with the 2012 CCodeGen evaluation installed. I have gotten the basic example using a keil project working and I have done a non-RTX Keil project that seems to work just fine. 

 

However when attempting to port this to a project with RTX OS I am having little luck. The LVRuntime code seems to recognize that RTX is in use but I seem to be missing some includes or something. 

 

Thanks for any info to point me in the right direction.

0 Kudos
Message 1 of 2
(6,877 Views)
Solution
Accepted by topic author zmorris

Answered my own questions via the "Getting Started with the NI LabVIEW C Generator" document. On page 15 "On the Target tab, notice that Operating System is set to Nothing. Do not set this value to RTX, which is incompatible with the generated C Code." 

 

That would explain all the __RTX related errors I get when trying to build. 

0 Kudos
Message 2 of 2
(6,856 Views)