11-04-2015 02:10 PM
Hello,
I am trying to figure out a way, to hold a script for a time while I want to work on Diadem. The script should continue after I put new data into Diadem. I thought about letting the script dont do anything until I press a key on my keyboard, but I dont know if there is such an option in Diadem?
any ideas are appreciated
thanks
11-05-2015 12:26 AM
Hello question1234,
You have several options for this:
call Pause(10)
waiting for 10 seconds
call KeyWait
stops until a key is pressed
call InterActionOn("My Text")
interrupts a script (you can work in DIAdem - until a button is pressed
call MsgBoxDisp
throws a message box - several parameter for configuration
Greetings
Walter
11-06-2015 09:37 AM
Hi question,
If you really want your script to "go to sleep" while you load another data set, then "wake up" the script and have it continue from where it left off, then I'd recommend the InteractionON() function from Walter's list.
If you want the script to start anew from its first line after loading another data set, then you should make an easy way to restart the script, such as an <F1> button or a new custom icon or a custom menu.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-07-2015 05:19 AM
Hello,
thank you for your replies. The interactionOn function is really what I have been looking for.
kindest regards