01-26-2009 01:54 AM
Does somebody know how I can change the history of a VI programmatically?
I like to add a text to every VI History in my Project, with a VI call.
Also I like to change old histories sometimes.
Ciao Joerg
01-26-2009 03:08 AM - edited 01-26-2009 03:09 AM
Hi Joerg,
reading the revision history can be done like shown in the screenshot:
As far as i have seen the revision history cannot be altered programmatically.
hope this helps,
Norbert
01-26-2009 03:12 AM
Thanks,
but how das NI add new messages into the History (changed subVI, LabVIEW update)?
There must be a opportunity.
Its only a user restriction from NI.
Ciao Joerg
01-26-2009 03:18 AM
Joerg,
a short excerp from the LV help:
Because the history is strictly a development tool, LabVIEW automatically removes the history when you remove the block diagram of a VI.
I assume that it was a design decision to prevent programmatic access to the history by the user.
If you don't concur with that, you could either file a product suggestion using the product suggestion center or you can use custom implemented ways to solve your task.
hope this helps,
Norbert