> I would like to use the halcmd save command to save the current .hal > file, but I don't think this is going to work if there is a postgui.hal > file. Using this command with a running configuration makes sure the > syntax is correct without having to write a bunch of additional code to > write out the configuration. > > I could do a halcmd save command on the entire configuration. Then I > could remove the components that are supposed to be in the postgui.hal > file and run the halcmd save command again. This would be the regular > .hal file. Then I could parse through full configuration file and remove > lines that are equal to lines in the regular.hal file this would leave > me with the postgui.hal file entries. Does this make sense? I could also > just write the code to make the files from scratch instead of using > halcmd save.
Scratch the above idea. I will just write the code to save the files directly from the program. I think this will be better anyway. I will need the code to write the halcmd commands to get the running configuration updated anyway. Jim ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers