C Code Generation:Generate Guard Code Property

LabView Local Project Settings

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 SystemYes
PermissionsRead/Write
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo