hi all, i am newbie to SKILL and currently face some problem when writing the script.
Let me explain my program first, i created a GUI for user to enter some parameter value, then after manipulation, a list of result is outfile to a text file. then, the data in the text file will be plotted in the wavescan.
now, i need to load th GUI skill file first, then enter the data. After this, load the waveform skill file. However, i would like to make it in one go, that is, put all the skill codes in the same scipt. Now my problem is, the waveform window prompted up together with the GUI; where the user have not enter any data yet.
I would like to use wait function to delay the opening of the waveform window. i found that ipcWait is not necessary. How can i do that? or any suggestion??
Instead of a waiting function, I prefer to use "callback" feature in the skill GUI (when you create the application form for GUI, you have option to put callback functions for actions like "apply" "close" ...). Is it possible to put your second waveform function as the callback function when user finish parameter input and click on "apply"?
Or, you can use hiRegTimer to run your function after a specific time period:
(defun hello () (printf "I am running now ....\n"))
Then, after 10 second, the hello() function will be called.
Or, you can even try sleep(10) (to wait for 10 seconds), but It will hold the current process though.