Affiliation
ENN EXL50U
Question
I am currently using MDSplus to implement data version management. At present, I insert data once with the node.putData(np.array([1,2,3])) function, then insert data again with node.putData(np.array([4,5,6])), and I can view data of different versions using MDSplus.Tree.setVersionDate("09-JUN-2026 16:46:00"). However, I have encountered a problem: when I insert data using the node.makeSegment function, close the tree, and then insert data again with node.makeSegment, the new data is appended after the previous data, resulting in two segments of data being inserted. In this case, I cannot use MDSplus.Tree.setVersionDate to view data of different versions. How can I implement version management for segment data?
Affiliation
ENN EXL50U
Question
I am currently using MDSplus to implement data version management. At present, I insert data once with the node.putData(np.array([1,2,3])) function, then insert data again with node.putData(np.array([4,5,6])), and I can view data of different versions using MDSplus.Tree.setVersionDate("09-JUN-2026 16:46:00"). However, I have encountered a problem: when I insert data using the node.makeSegment function, close the tree, and then insert data again with node.makeSegment, the new data is appended after the previous data, resulting in two segments of data being inserted. In this case, I cannot use MDSplus.Tree.setVersionDate to view data of different versions. How can I implement version management for segment data?