Closed rtzoeller closed 4 years ago
I think long-term this belongs in a different repository, since it's potentially useful for custom devices in general. That said, I'd like to keep it (and any other utilities we create for duplicating custom devices) in this repo for now.
Bleep bloop!
LabVIEW Diff Robot here with some diffs served up hot for your pull request.
Notice something funny? Help fix me on my GitHub repo.
Bleep bloop!
LabVIEW Diff Robot here with some diffs served up hot for your pull request.
Notice something funny? Help fix me on my GitHub repo.
What does this Pull Request accomplish?
Create a utility for automatically re-rolling GUIDs.
It builds a set of all GUIDs used by the custom device, creates a map from these GUIDs to new GUIDs, and then replaces all instances of the GUIDs with the new ones.
Why should this Pull Request be merged?
We need to update the GUIDs each time we create a copy of this custom device. This is tedious and error prone to do by hand.
What testing has been done?
Run the VI and confirm the XML and Constants.vi are both updated in sync.
Note: This does not replace GUIDs hard-coded in other VIs. There is at least one instance of this in the custom device; that cleanup will happen independently.