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