View Single Post
  #5  
Old 07-09-2009, 01:29 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
We cannot easily switch to VPRN as we have an entire library of files that all use serial and we would prefer to leave the code.

We have tried the following code:

Code:
    viz.tracker()                        # start tracking
    
    lowarmleft_ppt_1 = viz.add('vizppt.dls')
    #lowarmleft_ppt_1.command(5,'',5)
    lowarmright_ppt_3 = viz.add('vizppt.dls')
    #lowarmright_ppt_3.command(5,'',5)
    uparmleft_ppt_2 = viz.add('vizppt.dls')
    uparmleft_ppt_2.command(5,'',5)
    uparmright_ppt_4 = viz.add('vizppt.dls')
    uparmright_ppt_4.command(5,'',5)
    
    lowarmleft_ppt_1.reset()
    lowarmright_ppt_3.reset()
    uparmleft_ppt_2.reset()
    uparmright_ppt_4.reset()
   


newline = ''
            newline += str(lowarmleft_ppt_1.get()[:]) + ' ' + str(lowarmright_ppt_3.get()[:]) + ' ' +  str(uparmleft_ppt_2.get()[:]) + ' ' +  str(uparmright_ppt_4.get()[:]) + '\n'
            print newline
We get all zeros.

Any suggestions?
Reply With Quote