Hi Dan07,
I see no one has commented on this for a few days so I'll throw my 2 cents in. The limited experience I have with the c code generator is pretty much to not use it. LabVIEW does a lot of things for you that would result in a runtime error for C code. An example of this is accessing an array outside of it's index, normally this will give you a runtime error in C,whereas, LabVIEW will just return a zero.
I found there's a lot of that going on in the background so going through the code to try and extract your algorithms or changing specific parts can be really challenging. Personally, I'd get a cRIO to run LabVIEW programs natively or just write your code in C to begin with.
There are a few tutorials to get you started with the C code generator. Linked below, I guess if you have to go down that route they'll be your best starting points?
http://www.ni.com/tutorial/11784/en/
http://www.ni.com/pdf/manuals/373192a.pdf
Sorry I can't really help with this one 😕
Thanks
Daniel Harryman MEng
CLA, CPI