#!/usr/bin/python # # Python control of the DAZLE system, a test script to soak test system. # from Ultracam import * # Now call "time.sleep(no_of_seconds)" to pause for a while # Also: use "raw_input('Hit return to continue:')" for a user pause import time # Just setting up some string variables first to be used later on # Download the application for Single Raw Read TESTAPP = "dazle_srr_app.xml" # Set up the system to talk to ultracam ucam = Ultracam(cameraURL="ultracam1:7063", filesaveURL="ultracam1:5417") ucam.initialise() print "Status: ",ucam.getStatus() # Now lets run an a test application app = ucam.getApplication(TESTAPP) for nval in range (1000): print "\nStarting run",nval,": Application =",TESTAPP result = ucam.execute(app) time.sleep(12)