Search the Community
Showing results for tags 'lvscripting'.
-
So for a while, I have wanted a good way of identifying my builds and one way is to add build date to the front panel. Typically I had done this manually, I have searched for a good solution for automating this but, but typically the answer is very obfuscated. Then one day I had a thought, I could use VI scripting to generate a VI holding a constant and in a way use it as a pre-processor to make things happen. I'll provide a rough outline and a project of how I made things work. And who knows maybe someone has an even better solution. I suppose it was kinda obvious that this could be done, now that I think of it. I think lv scripting was introduced in 2012 and is needed for this example. First Create A VI that generates a constant via LV script. Use it in your Top Level VI or wherever you would like the compile time constant to be visible. Generate a A Pre-build Action.vi that calls your VI generator. Now you can have compile time constants that are up to date! I included an example project let me know if the same thing works for you. BuildDateOnPanel Ver12.zip
- 8 replies
-
- configuration
- lvscripting
-
(and 1 more)
Tagged with: