Hm. Typing "strace -e trace=write /opt/OpenPCR/bin/OpenPCR" yields only
the following:
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
Glancing at the man-files for strace suggests that it actually
calls/executes the program you specify, which probably isn't compatible
with an Air app.
How would one hax strace to monitor an existing process? It opens a
process named "OpenPCR", you can get the process ID with "pidof OpenPCR".
On 22/03/12 15:46, Nathan McCorkle wrote:
> I don't have an OpenPCR, so I can't test exactly... but I think strace
> might work (I posted the problem to the blktrace group, and they
> responded saying blktrace doesn't dump the actual data)
>
> strace -e trace=write ../path/to/openPCRapplication
>
> If that doesn't show the actual data being written, it might be
> another strace option
>
> On Thu, Mar 22, 2012 at 9:10 AM, Cathal Garvey <cathalgarvey@gmail.com> 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.
>>
>
>
>
--
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.






0 comments:
Post a Comment