LabVIEW Development Best Practices Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

programming msp430 in LabVIEW

Hi

I learn this method programming msp430 http://www.ni.com/white-paper/11977/en/

Anyone know something about this method?  I have problem with main.c file in CCS (figure 22 in paper). I think i calling wrong function. I get errors like this for each file, which included in project


>> Compilation failure

gmake: *** [libsrc/blockdiagram/rtmath.obj] Error 1

'Building file: ../files/FlipImage.c'

'Invoking: MSP430 Compiler'

"C:/ti/ccsv5/tools/compiler/msp430_4.1.1/bin/cl430" -vmspx --abi=coffabi -g --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/include/blockdiagram" --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/include/comms" --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/include/frontpanel" --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/include/platform/MSP430" --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/analysis/development/include" --preinclude="C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/analysis/LV/source/include" --include_path="C:/ti/ccsv5/ccs_base/msp430/include" --include_path="C:/ti/ccsv5/tools/compiler/msp430_4.1.1/include" --advice:power=all --define=__MSP430F5529__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="files/FlipImage.pp" --obj_directory="files"  "../files/FlipImage.c"

Fatal error #5: could not open source file "C:/Program Files (x86)/National Instruments/LabVIEW 2013/CCodeGen/include/blockdiagram"

1 fatal error detected in the compilation of "../files/FlipImage.c".

Compilation terminated.

Figure 22 in paper show how i should call functions  generated in LabVIEW Code Generator. But it shows only small part of main.c content, and i think i dont know something about what main.c should contents.


0 Kudos
Message 1 of 3
(4,846 Views)

Are you sure you have the LabVIEW C Code Generator module properly installed? That is a seperate module that you need to license from NI.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(3,562 Views)

yes, i sure

0 Kudos
Message 3 of 3
(3,562 Views)