LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ini state machine

Anybody has an example of a state machine that uses a ini file to get test sequence?

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 4
(2,540 Views)

Anyone?  What about all the interesting usage for a ini file?

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 2 of 4
(2,517 Views)

I haven't come across this idea before but think for a state machine with very fixed operations it could be usefull. This way you could change the order of the states on the fly.

 

You could possibly use the sections as the states and sections keys to store information about data and the next state conditions.

David
www.controlsoftwaresolutions.com
Message 3 of 4
(2,495 Views)

Hm, i wouldn't use a state machine in order to load "sequencing instructions" from an ini file and use those to control the state machine from now on.

I would rather recommend a Queued Message Handler since it is more flexible in "static order of execution which might eventually change".

On a second thought, i would not use an ini file at all but a simple spreadsheet file.....

 

I use ini files for configuration settings mainly (default values), which can include localization of the UI of appliciations as well.....

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 4
(2,493 Views)