From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-07-2014 06:38 PM
I am using the OnDeleteRequest action to prevent the user from deleting channels in my custom device. However I realized that this also prevents code I write (in this case executing on a right-click action) from deleting channels. I need a way to differentiate so that the user cannot simply delete channels, but my different actions can.
Here's what I've tried:
I am using VeriStand 2013 and I am setting the Force Delete input of the Remove Item function to True.
Thanks,
Solved! Go to Solution.
05-07-2014 06:50 PM
Fixed my own problem about 20 minutes later . . . .
The delete flag did work inside the action - I'd just gotten lost in the tree in the OnDeleteRequest VI and forgotten to get back up to the custom device root.
Hope this saves someone else the trouble!
05-08-2014 07:13 AM
05-08-2014 08:33 AM
Good to know, thanks Stephen!