C Code Generation:Generate Guard Code Property
Short Name: CCodeGen.GuardCode
Installed With: Embedded Targets
Class: VI Properties
Generates extra code to prevent common coding mistakes that can cause an embedded application to crash or function incorrectly. For example, guard code can prevent dividing by zero or indexing out of range in an array. Guard code makes an embedded application slightly larger and slower.
This property is similar to the Generate guard code option on the C Code Generation Options page of the VI Properties dialog box.
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |