Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/sbig/archive/xmccd-4.1/xmccd-4.1e/scripts/ccd_expose.py
Дата изменения: Fri Apr 13 09:22:50 2012
Дата индексирования: Thu Feb 27 22:05:46 2014
Кодировка:

Поисковые слова: п п п п п п п п п
#!/usr/bin/python

# * ccd_expose
#
# * Use INDI to start a ccd exposure for a time already set

# Copyright (c) 2011-2012 John Kielkopf and Karen Collins
# kielkopf@louisville.edu
#
#
# Date: April 12, 2012
# Version: 1.0
#
# This file is part of XmCCD
#
# XmCCD is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# XmCCD is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

import sys
from subprocess import Popen, PIPE
import string
import time

Popen('setINDI ccd.sequence.run=On', shell=True, stdout=PIPE).wait()

exit()