Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

GenerateGuardCode Code Generation Attribute (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

Type: Boolean

Default: TRUE

Determines whether to generate guard code. Guard code prevents a user from making common mistakes that can cause an application to crash. For example, guard code can prevent dividing by zero and indexing out of range in an array. Guard code makes an application slightly larger and slower so you are trading performance for reliability. Set this attribute to FALSE to not generate guard code, which makes the code smaller and faster but less safe and more likely to crash because of user programming mistakes.

The following LabVIEW functions use guard code:


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit