USB to Serial TMS triggering
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



USB to Serial TMS triggering Expand / Collapse
Author
Message
Posted 5/28/2009 11:20:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/16/2009 4:29:08 PM
Posts: 1, Visits: 8
Hi,
We are trying to send a triggering pulse from our laptop to a TMS machine using E-prime. Unfortunately our laptop does not have a serial port. Does anyone know if it works to use a USB to serial connection to send a triggering signal? How would this best be set up? Thank you for any help you can give.
-Tori Marshall
Post #3087
Posted 6/29/2009 3:23:32 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: Today @ 9:12:35 AM
Posts: 676, Visits: 2,214
We have not tried sending any data out through a USB-to-serial adapter with E-Prime. However, we have had good success using a USB-to-serial adapter for getting input with E-Prime (e.g., from a PST SRBox). So I think it well worth a try to see if the output would work is well. Please let us know how that turns out.

-- David McFarlane, Professional Faultfinder
Post #3190
Posted 4/13/2010 10:50:36 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/13/2010 10:42:26 AM
Posts: 1, Visits: 1
Hi,

I was wondering what USB-to-Serial adapter you're using. I'm currently trying to find one that works and am having troubles. I've tried two and and in both cases e-prime doesn't recognize the SRBox. Is this really the problem, or do I need to change a setting in the e-prime script? Any advice would be very helpful.

Thanks!
Post #4246
Posted 5/4/2010 8:51:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/4/2010 9:11:58 AM
Posts: 2, Visits: 5
Hi,

I'm currently trying to send information to a device using a usb-to-serial adaptor.  The information is a text string (titled start) which acts as a Start signal to the device:

Serial.WriteString start

The task/script worked perfectly on a different workstation, but I'm having to use a laptop without a serial port now (though if problems persist I may need to find another computer that has one).  I have been informed that I should keep the script as it is, as the computer should recognise the usb connection as the serial port.  When I run the task, I receive the following message:

"The following runtime error occurred:

The device must be open prior to calling this method"

With the error number 10053

This suggests to me that it is the adaptor that is unable to communicate with my device (which is on and connected!) correctly, however I don't have any other serial devices to test the functioning of the adaptor.  The adaptors drivers are installed correctly and it has been assigned COM1.  The adaptor was manufactured by prolific.

Thanks for any help you can give.

Post #4311
Posted 5/4/2010 9:14:39 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/4/2010 9:11:58 AM
Posts: 2, Visits: 5
I tried to edit the above post, but couldn't.

I managed to fix the problem shortly after making the earlier post. So I have managed to send information out through the USB to serial adaptor.
Post #4312
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 11:27am

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