Re: [DIYbio] OpenPCR + Terminal: Any leads?

try the strace command earlier, and just watch what the Air program
'writes' to the OpenPCR (you can change the -e trace=read to look at
what the Air program 'reads' from the 'file)

Its likely that what's written doesn't get 'saved' such that you can
later cat or open it... that said, once OpenPCR replies the reply is
probably only readable until the next command is sent from the Air
program

On Thu, Mar 22, 2012 at 1:17 PM, Cathal Garvey <cathalgarvey@gmail.com> wrote:
> Yup. Arduino UNO with a custom driver board and totally replaced
> firmware (i.e. no Arduino bootloader).
>
> Thanks for that detail Bryan.
> So, I take it that if I format a program correctly, I should echo
> '<program' > /media/OPENPCR/some_file to upload it? I recall from
> private conversations with Tito & Josh that there's a particular
> formatting thing in the program that says "start immediately", and
> another program syntax for "stop", so the above syntax (if correct)
> would allow most routine operations.
>
> As to getting info back out, I gather that the ncc program (standing for
> "No Cache Cat") can be used like "cat" to get a feed of information from
> another output file on /media/OPENPCR/. But for now, I just want a quick
> way to program it without Adobe Air: I'd settle for having no output
> initially.
>
> On 22/03/12 17:11, Avery louie wrote:
>> Is it USB based?
>>
>> --A
>>
>> On Thu, Mar 22, 2012 at 12:07 PM, Bryan Bishop <kanzure@gmail.com> wrote:
>>
>>> On Thu, Mar 22, 2012 at 8:10 AM, Cathal Garvey wrote:
>>>
>>> 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).
>>>>
>>>
>>> you can just send bytes down like the program expects:
>>>
>>> https://github.com/jperfetto/OpenPCR/blob/master/arduino/OpenPCR/serialcontrol.cpp
>>>
>>> and here are the command bytes:
>>>
>>> https://github.com/jperfetto/OpenPCR/blob/master/arduino/OpenPCR/serialcontrol.h
>>>
>>> I sort of doubt that the device is mounted as /dev/sde or /media... that's
>>> pretty unusual for something that you're not using as storage.
>>>
>>> P.S. HOLY HELL why are the build instructions 100000 MB? what the fuck guys
>>> http://dl.dropbox.com/u/15492842/OpenPCR%20Instructions.pdf
>>> and no, hosting on scribd is not a reasonable solution..
>>>
>>> - Bryan
>>> http://heybryan.org/
>>> 1 512 203 0507
>>>
>>>  --
>>> 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.
>>>
>>
>
>
> --
> 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.
>

--
Nathan McCorkle
Rochester Institute of Technology
College of Science, Biotechnology/Bioinformatics

--
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.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment