Figure 2-5. arguments to generated procedure proc – National Instruments AutoCode NI MATRIX User Manual

Page 40

Advertising
background image

Chapter 2

C Language Reference

© National Instruments Corporation

2-23

AutoCode Reference

3.

Create an object of type

_

procedure name_s

where the states of the

procedure will be stored and initialize all members of the object to 0.0.
This should be done during initialization only. A pointer to this object
will be passed as argument S to the procedure.

Figure 2-5. Arguments to Generated Procedure

proc

4.

Create an object of type

_

procedure-name_info

where the

informational data will be stored and assign proper values to elements

iinfo

and

rinfo

. If Xmath variables or Variable block variables were

used in the procedure, the variable pointers need to be initialized to

Generate Reusable Procedure

Advertising