11-11-2022 12:09 PM
Is there a way to script this?
11-11-2022 12:33 PM
I also couldn't find a equivalent option through scripting, let's see if someone else can find the right node.
11-12-2022 07:46 AM
11-12-2022 05:42 PM
@raphschru wrote:
When there's no official scripting property/method, I always try playing with the BasicObjectFlags:
I had already discovered that bit 17 of the BOF corresponds to “retain all errors”, but BOFs scare me.
11-12-2022 10:22 PM
@paul_cardinale wrote:
@raphschru wrote:
When there's no official scripting property/method, I always try playing with the BasicObjectFlags:
I had already discovered that bit 17 of the BOF corresponds to “retain all errors”, but BOFs scare me.
If ever NI developers choose to change the bit field mapping across versions, it may result in Chaos, but this does looks promising when validated for each version.
11-13-2022 12:45 AM
@raphschru wrote:
When there's no official scripting property/method, I always try playing with the BasicObjectFlags:
Another option, which is probably safer, is to manually create and save a VI with an object which has the relevant properties, and then copy the object from that VI programmatically.
11-14-2022 03:26 PM
@tst wrote:
@raphschru wrote:
When there's no official scripting property/method, I always try playing with the BasicObjectFlags:
Another option, which is probably safer, is to manually create and save a VI with an object which has the relevant properties, and then copy the object from that VI programmatically.
Though a workaround with additional steps in the scripting, this sounds more robust.