John, 

> The first part is a time stamp in microseconds, followed by a tab.  The 
> second number is the binary value of the signal at that instant (1 or 0).  
> Rather than copying the data into a file and graphing itmanually using 
> something like gnuplot, I want to do it within quartz composer using the 
> Serial I/O, and ChartTool.  

Welcome to QC. Maybe this composition will help you-- 
http://kineme.net/composition/jstrecker/XYplotfromkeypresses
It uses `Queue` to collect the data points streaming in, into a structure to 
feed to `Chart Data: XY`. And it uses Kineme StructureTools to create each data 
point. 

There are various ways to create the data points. In this composition each data 
point is a structure of the form (x=<x value>, y=<y value>). Hover your mouse 
over the "X Values" input port to `Chart Data: XY` to see the different forms 
of structures that can be accepted. You can build them with either 
StructureTools or Javascript. 

---
Jaymie Strecker
[email protected]




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to