Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:www.apo.nmsu.edu   - Поискать по всем серверам
На этой странице приведены все страницы сервера www.apo.nmsu.edu ,которые мы индексируем. Показаны документы 1081 - 1100 из 2817.

В начало ] Пред. | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | След.В конец ]

Упорядочить по: URL  |  дате изменения
1081. TUI:Scripts:Programming
... Getting Help . ... Sending Commands . ... It is possible to write simple scripts for TUI, and most people should start there. But it is also possible to add your own windows in TUI, incorporating them as if they were built in. ... TUI is written in Python, hence it should be fairly easy to modify or extend. ... Otherwise it will be nearly impossible to test your code or ask for help on existing TUI code. ... Open the Python window (in the TUI menu) and type in code or load a file and run it. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/Programming.html -- 18.8 Кб -- 05.09.2014
Похожие документы

1082. TUI:Scripts:Scripting Tutorial:Basics
... Start TUI (if it is not already running) and load your script using Open... in the Scripts menu. A new script window should appear; press "Start" to run your script. This causes the status bar to show "Hello" for 1 second, after which your script ends and the status bar shows "Done". ... However, TUI will catch this problem the next time you call an sr.wait... function, at which point TUI will kill your script, print a message to the status bar and print details to the error log . ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/Basics.html -- 2.8 Кб -- 05.09.2014
Похожие документы

1083. TUI:Scripts:Scripting Tutorial:Conclusion
You have seen how to write a variety of scripts, including scripts that use current status information from instruments and the telescope and that add widgets for user input and output. ... This is a detailed manual for the script runner sr and includes such handy topics as: . Where to put your scripts so they are automatically loaded. ... Look through existing scripts and perhaps existing TUI code. ... Writing your own TUI windows is not hard, once you have written some scripts. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/Conclusion.html -- 2.3 Кб -- 05.09.2014
Похожие документы

1084. TUI:Scripts:Scripting Tutorial:Get Info
It is easy to incorporate information from an instrument or the telescope into your scripts. ... mess with the getKeyVar statements because getKeyVar returns None in debug mode, making the commands run, which is perfect. import TUI .TCC.TCCModel import TUI .Inst. DIS .DISModel from TUI .Inst. DIS .StatusConfigInputWdg import StatusConfigInputWdg InstName = DIS class ScriptClass(object): Simple script to configure DIS . def __init__(self, sr): Display ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/GetInfo.html -- 6.4 Кб -- 05.09.2014
Похожие документы

1085. TUI:Scripts:Scripting Tutorial
This tutorial introduces you to the joys and pains of writing scripts for TUI. Scripts are written in Python, and this tutorial does not attempt to teach the language. ... Send Commands (DISDark script) Control an instrument. ... Loops (DISCals script) Use a loop to simplify repetitive commands. Refinements (NiceDISCals script) Add a few refinements to DISCals to make a script worth emulating. UserInput (DISDark v2 script) Add user input widgets to your script. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/Introduction.html -- 2.5 Кб -- 05.09.2014
Похожие документы

1086. TUI:Scripts:Scripting Tutorial:Loops
... This script also shows a simple but crude way of displaying more feedback while operating: it opens the DIS Expose window. ... As always, get permission to use DIS before commanding it. import TUI.TUIModel def init(sr): """Open the DIS Expose window so the user can see what's going on.""" tuiModel = TUI.TUIModel.getModel() tuiModel.tlSet.makeVisible("None.DIS Expose") def run(sr): """Sample script to take a series of DIS calibration images and demonstrate looping through data in Python. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/Loops.html -- 4.4 Кб -- 05.09.2014
Похожие документы

1087. TUI:Scripts:Scripting Tutorial:Refinements
Adding a few refinements to the DISCals script makes a script worth adapting for your own uses. ... The exposure times and # of iterations are short so the demo runs quickly. def __init__(self, sr): Display the exposure status panel. # if True, run in debug-only mode (which doesn't DO anything, it just pretends) sr.debug = False expStatusWdg = ExposeStatusWdg( master = sr.master, instName = DIS , ) expStatusWdg.grid(row=0, column=0) # get the exposure model self.expModel = ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/Refinements.html -- 6.6 Кб -- 05.09.2014
Похожие документы

1088. TUI:Scripts:Scripting Tutorial:Send Commands
Sending commands to an instrument or other actor is straightforward. ... This script simply takes a few darks. ... If the command fails then the script will terminate. Early termination will not affect this script because executing the command is the last step, but it can be very useful for longer scripts.) If a user cancels the script while the command is executing, the abort command is sent. ... Users are bound to abort your script and they should be able to do so safely and gracefully. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/SendCommands.html -- 3.7 Кб -- 05.09.2014
Похожие документы

1089. TUI:Scripts:Scripting Tutorial:User Input
This example shows how to add a few input widgets to a script and how to get data from them. This is a fairly artificial example in that one would normally just use the DIS Expose window for this purpose. ... import RO.Wdg import Tkinter import TUI .Inst.ExposeModel as ExposeModel from TUI .Inst.ExposeStatusWdg import ExposeStatusWdg class ScriptClass(object): Take a series of DIS darks with user input . def __init__(self, sr): Display exposure status and a few user input ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/UserInput.html -- 6.6 Кб -- 05.09.2014
Похожие документы

1090. TUI:Scripts:Scripting Tutorial
. The script tutorial was designed to be navigated using frames, but is usable by starting from the introduction
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/index.html -- 1.4 Кб -- 05.09.2014
Похожие документы

1091. Navigation Bar
Introduction | Basics | Send Commands | Loops | Refinements | User Input | Get Info | Conclusion
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/ScriptingTutorial/navbar.html -- 1.7 Кб -- 05.09.2014
Похожие документы

1092. TUI:Scripts:TUIAdditions
TUI will look in two separate "TUIAdditions" directories for user scripts and extra TUI window code. ... Scripts should be put in a directory named Scripts in the TUIAdditions directory; they will then show up immediately in the Scripts menu (you do not have to restart TUI).. ... In general, additions present in the user TUIAdditions directory mask identically named additions in the shared TUIAdditions directory, and both mask identically named built-in scripts and windows. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/TUIAdditions.html -- 2.9 Кб -- 05.09.2014
Похожие документы

1093. TUI:Scripts
Information about writing user scripts and adding windows to TUI. ... Built In Scripts a description of the scripts built into TUI, including: . ... Scripting Tutorial a tutorial for writing scripts, with many examples. Scripting Manual the scripting manual. Programming how to add new windows to TUI and information about the internals of TUI (some of which may be of interest to script writers). TUIAdditions where to put user scripts and code for new windows. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/index.html -- 2.1 Кб -- 05.09.2014
Похожие документы

1094. TUI:TUI Menu:Connect Window
The connect window allows you to connect to "hub" at the observatory. It is brought up by selecting Connect from the TUI Menu. ... Program Name : the name of your program as assigned to you by APO. ... Passwords and permissions are both associated with program numbers. Password : the password associated with the program name. Status bar: displays the current status of the connection. Connect button: initiates the connection, Be sure the program name and password are entered first. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/ConnectWin.html -- 2.2 Кб -- 05.09.2014
Похожие документы

1095. TUI:TUI Menu:Downloads Window
The downloads window displays the download status of science and guider/slitviewer images. It allows you to view details and abort downloads. ... The left column contains the state of the download and the right column the name of the file. You may click on a file name to see details about the download in the details area (see below). ... Connecting: the download is starting. ... To select a download, click on a file name in the log area (upper portion of the window). ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/DownloadsWin.html -- 3.4 Кб -- 05.09.2014
Похожие документы

1096. TUI:TUI Menu:Log Windows
Log windows display messages from all "actors" (instruments, the TCC, the hub...) and allow you to send commands. Controls along the top allow you to filter out unwanted garbage or highlight messages of particular interest. ... Regular Expressions . ... The entry field for "+ Actors" and "+ Commands" filtering accept space-separated regular expressions . ... If you plan to send many messages to a particular actor, you may select the actor from the menu next to the command entry field. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/LogWin.html -- 8.3 Кб -- 05.09.2014
Похожие документы

1097. TUI:TUI Menu:Permissions Window
The Permissions window shows which observing programs can control which instruments. ... If your program name does not appear, ask a telescope operator to add you and grant you the appropriate permissions. Telescope operators can also adjust permissions, add and delete programs and temporarily lock out non-operators from using particular instruments. ... Program Name Button : each program name button is a checkbutton: up (the normal state) means "added", down means "deleted". ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/PermissionsWin.html -- 4.1 Кб -- 05.09.2014
Похожие документы

1098. TUI:TUI Menu:Preferences Window
The Preferences window allows you to specify various application preferences (surprise!) It is brought up by selecting Preferences from the TUI Menu. ... Each preference may be edited by clicking on it. If the value is changed to anything other than the current value then an exclamation mark is shown between the name and the value. ... Seq By File : controls whether whether images are numbered in the order taken (unchecked) or are numbered separately for each image name (checked). ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/PreferencesWin.html -- 9.1 Кб -- 05.09.2014
Похожие документы

1099. TUI:TUI Menu:PythonWin
The Python window allows you to execute arbitrary Python code. ... More information about programming TUI may be found here . The Python window is brought up by selecting Python from the TUI Menu. ... The main text area is where you enter Python code. Open...: open a text file (presumably containing Python code) in its own Python window. Save...: save the current text to a file. Clear: clear the text area. ... Run: run the current text. ...
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/PythonWin.html -- 1.9 Кб -- 05.09.2014
Похожие документы

1100. TUI:TUI Menu:Users Window
. The users window shows the program name, user name and other information for of everyone connected to the hub. Your entry is underlined. Users who disconnect are shown struck through for a few minutes before being removed from the list. The window does not wrap; make it wider if you cannot see all the information you care about.
[ Сохраненная копия ]  Ссылки http://www.apo.nmsu.edu/35m_operations/TUI/TUIMenu/UsersWin.html -- 1.6 Кб -- 05.09.2014
Похожие документы

В начало ] Пред. | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | След.В конец ]

Rambler's Top100 RFBR Яндекс цитирования