Capturing incoming serial port data & logging
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Capturing incoming serial port data & logging... Expand / Collapse
Author
Message
Posted 12/1/2008 1:48:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/1/2008 1:43:11 PM
Posts: 2, Visits: 3
hi everyone -

for one of my current projects, i'm using a separate computer to generate sound stimulus and send data into ePrime via a serial connection.

i have the data getting in just fine, ePrime can read it with no troubles and it prints out to the debug window... but here's my question --

how the heck do i save the data that came in on that slide along with the rest of the eprime data?

-m
Post #2515
Posted 12/1/2008 4:04:06 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: 5/17/2012 5:46:13 PM
Posts: 732, Visits: 2,940
Do you want to save that data to a separate file, or make it part of the .edat file? If the former, you want to use Print# along with associated commands (Open, Close, FreeFile, etc.) -- see the online E-Basic Help. If the latter, you can use something like
c.SetAttrib "MyAttrib", myValue
to add new columns to the .edat file. You can also use c.Log to add new rows to the .edat file, but be careful with that.

-- David McFarlane, Professional Faultfinder
Post #2516
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 10:49pm

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.109. 10 queries. Compression Disabled.
 
Privacy | Terms of Use | Terms and Conditions | Legal Trademarks | Authorized Use | Quality Policy
Copyright 2012 Psychology Software Tools, Inc. All Rights Reserved
Email: Info@pstnet.com | Telephone: 412.449.0078 | Fax: 412.449.0079