09-19-2014 02:38 AM
I have a fileglobals container that I would like to delete programatically. I tried using the Delete Subproperty to delete each element in the container and Delete Nth Subproperty with index -1.But both doesnt work. I have attached the VI I am using and I m calling this VI in a action step. Since Sequence context provides a run time copy of the sequence, I am getting the reference of the "Sequence File" using path and then deleting the File globals. Please tell me what I am doing wrong!
09-19-2014 10:29 AM
First of all I would wire a 0 to the index and not the i of the for loop. The reason being that as you delete elements the N decreases. So as i increases then you will start deleting elements that don't exist.
The other question I have is do you want to delete just for the run time copy or do you want to save these back into the disk copy of the sequence file?
Regards,