Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

is_field (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: struct

Requires: MathScript RT Module


b = is_field(s, 'fieldname')

Legacy Name: isfield


Returns the fieldname.



Name Description
s Specifies the structure.
fieldname Specifies the name of the field you want to reference within the structure. fieldname is a string.


Name Description
b Returns TRUE if fieldname is a field in the structure.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


point.x = 3.0;
point.y = 4.0;
point.color = 'blue';

B = is_field(point, 'x')


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