timeout=0 s="" fluffytron = { 0: "|", 1: "/", 2: "-", 3: "\\", } ##################################################################### ##################################################################### ## SDAS ACCESS ## ##################################################################### client = StartSdas() if len(sys.argv) < 2 : shotnr = client.searchMaxEventNumber('0x0000') else : shotnr = int(sys.argv[-1]) plasma_curr_channelID='POST.PROCESSED.IPLASMA'; # Unique Identifier for plasma current plasma_dens_channelID='POST.PROCESSED.DENSITY'; # Unique Identifier for plasma density marte_power_channelID='MARTE_NODE_IVO3.DataCollection.Channel_105'; #Marte channel for the power supply print '\nLoading data, CTRL-C to interrupt' print 'I_thr ',iplasma_threshold,' n_thr ', dens_threshold print '\nSHOT #'+str(shotnr)+'\n' while (True): if iplasma_ok==0: