Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/17/2014 in all areas

  1. I've used the State Machine Template quite extensively, and even modified it to fit the apps I like to write. I've added the following features to the template. They are really unrelated to the State Machine processing, but more UI related. 1. Create/Open an .ini file in the same directory as the Top Level vi or executable. Could be the same as the .ini created by an executable, but not necessarily. 2. On exit, store the window position of the top level vi in the .ini file. On startup, restore the window to that position. This also includes monitor number for multi-monitor systems. 3. Use MGI Save Front Panel Data.vi and MGI Resore Front Panel Data.vi to remember control values between runs. These values are also stored in the .ini file. Basic stuff, but nice additions to most applications.
    1 point
  2. You are forcing LabVIEW to interpret a 2D array as a string. It isn't. It's a 2D array and because you are unflattening, you are getting ll the array index info in the string.. Use the index array to obtain a single element from the array returned by the SELECT function. Then use the Variant to Data primitive to convert it to a string. Unflattening requires that the data was stored as flattened to begin with. I expect it wasn't.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.