-
-
Save jmmauricio/afc494491b90ef55ab1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set Sloads,BusBars,allBars,OldMons; | |
| object Ldf; | |
| double X; | |
| object busbar,result; | |
| string nombre; | |
| allBars = AllRelevant('*.ElmTerm'); | |
| !Ldf = GetCaseCommand('ComLdf'); | |
| fopen('test.txt','w',0); | |
| for (busbar=allBars.First(); busbar; busbar=allBars.Next()) { | |
| result=busbar.GetNextHVBus(); | |
| busbar.GetVal(X,'m:u'); | |
| busbar.GetVal(nombre,'loc_name'); | |
| fprintf(0,'%s\t %2.4f',nombre, X); | |
| } | |
| fclose(0); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment