Dr Tallman Posted April 27, 2011 Report Share Posted April 27, 2011 Is there any way to read (and edit) files generated by flattening the values from the Ctrl Val.Get All (Depricated)" invoke node? I have borrowed this piece of code which works great but I would like to edit it off line and then read it again in an opposide action. Quote Link to comment
MikaelH Posted April 27, 2011 Report Share Posted April 27, 2011 Is there any way to read (and edit) files generated by flattening the values from the Ctrl Val.Get All (Depricated)" invoke node? I have borrowed this piece of code which works great but I would like to edit it off line and then read it again in an opposide action. Sure but it's a lot of work. Read through the LV Help on Flatten Data Types. I would suggest you make a converter application that converts the RAW Flatten data to a XML Cluster, modify that with notepad and then run another converter application to convert it back to RAW format. //Mike Quote Link to comment
crelf Posted April 27, 2011 Report Share Posted April 27, 2011 OpenG has some awesome VIs that write/read control/indicator values to/from disk (human readable ini files). Quote Link to comment
Dr Tallman Posted May 9, 2011 Author Report Share Posted May 9, 2011 I have installed the VI package manager and combed through the OpenG packages but had a hard time finding anything along the lines of "write/read control/indicator values" etc. Could you help me find where they may be located? Greatly appreciated. Quote Link to comment
Yair Posted May 9, 2011 Report Share Posted May 9, 2011 The OpenG VI should have "panel" in its name (and it's in the variant configuration VIs palette), so you can use the palette search feature (or Quick Drop, loadable by pressing Ctrl+Space) to search for that term. Also, this method can help you if you want to save specific controls - http://decibel.ni.com/content/docs/DOC-15349 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.