Project Releases
progresswindow IGOR.6.20.x-2.x-dev
Release File: | progresswindow-IGOR.6.20.x-2.x-dev.zip (1.61 KB) |
Version: | IGOR.6.20.x-2.x-dev |
Version Date: | |
Version Major: | 2 |
Version Extra: | dev |
OS Compatibility: | Mac-Intel Windows |
Release Notes: |
Usage has been simplified. At the beginning of the body of a loop (for/while), add a Prog() command. The window will clean itself up when done. For example: for(i=0;i<n1;i+=1) prog("Outer",i,n1) for(j=0;j<n2;j+=1) prog("Inner",j,n2) endfor endfor The messages "Outer" and "Inner" can be whatever you want. The other two arguments are the numerator and the denominator of the fractional progress for that part of the loop. The button created in the progress panel will, if pressed, abort the next type the Prog() command is encountered, enabling you to abort after a complete pass through a loop, rather than in the middle of a loop. |
progresswindow IGOR.6.20.x-1.x-dev
Release File: | progresswindow-IGOR.6.20.x-1.x-dev.zip (2.2 KB) |
Version: | IGOR.6.20.x-1.x-dev |
Version Date: | |
Version Major: | 1 |
Version Extra: | dev |
OS Compatibility: | Mac-Intel Windows |
Release Notes: |
Example usage: svar dataList,taskList // Pretend that these are some global variables listing your data files and a list of functions to perform on each data file. variable i variable numData=itemsinlist(dataList) variable numTasks=itemsinlist(taskList) ProgWinOpen() for(i=0;i<numData;i+=1) string data=stringfromlist(i,dataList) ProgWin(i/numData,0,status=data) for(j=0;j<numTasks;j+=1) string task=stringfromlist(i,taskList) ProgWin(j/numTasks,1,status=task) DoSomeTask(data,task) // Pretend that this is some function you have written that does something. // Alternatively, it can just be a block of code. endfor endfor ProgWinClose() |
Forum
Support
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More