Awesome :) BTW it was always the intention that the GUI would let you name the steps like "Denaturing" instead of just "Step" but we never got to it with our AIR app. So if you change the text in the program string it should display it on the LCD.
On Sat, Mar 24, 2012 at 3:46 PM, Cathal Garvey <cathalgarvey@gmail.com> wrote:
So, I just tested quickly whether python works well. The following
worked just fine after plugging in and turning on my OpenPCR. NB: There
was no "CONTROL.TXT" file initially, because the OpenPCR hadn't been
sent one yet.
1) I cd'd to /media/OPENPCR
2) I opened python3 from terminal
3) I typed the following code, which worked nicely:
controlfile = open("CONTROL.TXT", "wt")
controlfile.write("s=ACGTC&c=start&t=50&d=55709&l=96&n=IndieBB MCS
Check&p=(1[75|95|InitialStep][0|4|Final Hold])")
Step])(40[20|95|Step][10|60|Step][32|70|Step])(1[120|70|Final
controlfile.close()
The OpenPCR started running my program right away. :)
So, now I just need to hack up a set of scripts for sending the program
to the OpenPCR, and for making the program using friendly user input.
Can later bake a GUI on top of that stuff.
On 22/03/12 13:10, Cathal Garvey wrote:
> Hey all,
> Of those who own and love their OpenPCR, has anyone tried using Terminal
> to send programs over the wire, or to get real-time output from the machine?
>
> I'm running Ubuntu, and I'm wondering if I can use echo and/or cat with
> piping to send commands directly to the device (which is currently
> /dev/sde, mounted as /media/OPENPCR).
>
> The end goal would be to translate this totally manual approach into a
> python script, perhaps with a GUI to match eventually, as a way to
> replace the Adobe Air interface. Although I got the Air interface
> working with Tito and Josh's help, really the problem isn't going away;
> shortly before release of the OpenPCR, Adobe cut support for Air in Linux.
>
> Would be nice to have an Open Source language working for my Open Source
> PCR machine. :)
>
--
www.indiebiotech.com
twitter.com/onetruecathal
joindiaspora.com/u/cathalgarvey
PGP Public Key: http://bit.ly/CathalGKey
--
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diybio?hl=en.
--
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diybio?hl=en.






0 comments:
Post a Comment