autoshutb

Show or modify the blue camera autoshutter

usage: autoshutb: [-h, --help] mode

-h , --help

show this help message and exit

mode

autoshut (0 or 1)

#! @KPYTHON@

from KCWI import Blue
import argparse, sys

# Parsing arguments
description = "Show or modify the blue camera autoshutter"
parser = argparse.ArgumentParser(description=description)
parser.add_argument('mode',nargs="?",default=None, help='autoshut (0 or 1)', type=int)


if __name__ == '__main__':

   args = parser.parse_args()

   autoshut = Blue.autoshutb(args.mode)
   sys.stdout.write("Blue camera autoshutter is: %s\n" % (autoshut))