06-07-2006 08:11 AM
06-12-2006
09:36 AM
- last edited on
08-17-2025
04:26 PM
by
Content Cleaner
Hi Thomas,
LabVIEW Embedded will convert VI's to C code automatically - it is not intended to generate C++. (As a side note, the // comment style is part of the official C standard, but this occurred only recently in the 1999 revision)
Are you running into the case where LabVIEW Embedded is producing code that your toolchain cannot accept? If so, what VI converts down to the invalid code, and what tools are you using beyond LabVIEW? (i.e., gcc, VDSP++, etc)
For a list of all of the code generation options available to you in Embedded, we have a good resource in the Embedded Development Module Porting Guide (available at this link) that may be helpful to you. All of the code generation options may be found in Chapter 4 of this guide.
06-12-2006 12:52 PM
06-13-2006 04:17 PM
Hi Thomas,
The MemCheck.h file is one of our pregenerated header files that we call from our generated code files, so I suspect that we're hitting another compiler/linker setting rather than a LabVIEW code generation issue. If the syntax error occurs in the extern VoidHand line, there may be a compiler option within the NEC compiler that permits linking external code that we need to set. Does the syntax error give any more information about why the line is illegal?