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

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Getting the Model Sequence File

2 ratings | 1.00 out of 5
Print
Applications typically display the entry points that the process model defines as menu items or buttons that the user can select. To determine the process model entry points that apply to a given situation, you must first get the process model sequence file. To get the model sequence file, do the following:

1) If you are displaying an execution, call the GetSequenceFile method of the execution and call GetModelSequenceFile on the sequence file that GetSequenceFile returns. If GetModelSequenceFile returns a NULL reference, go to step 3. Otherwise, you have the reference to the model sequence file. The sequence file that GetSequenceFile returns is the client sequence file.

2) If you are displaying a sequence file, call the GetModelSequenceFile method on the sequence file. If GetModelSequenceFile returns a NULL reference, go to step 3. Otherwise, you have the model sequence file. The sequence file that you are displaying is the client sequence file.

3) If you are not displaying a sequence file or an execution, or if the execution or sequence file does not have a model sequence file, call the Engine GetStationModelSequenceFile method. If GetStationModelSequenceFile returns a NULL reference, then no model sequence file currently applies. Otherwise, GetStationModelSequenceFile returns the applicable model sequence file. In this case, no client sequence file exists.


2 ratings | 1.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).