What information reaches the serial port?
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



What information reaches the serial port? Expand / Collapse
Author
Message
Posted 8/25/2009 12:23:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/1/2010 12:40:36 PM
Posts: 4, Visits: 40
Hello,

we would like to connect eprime with a laser device. Communication occurs via serial port (RS232). The inline code looks like this:

Dim strData As String
strData = "*TLI,0400#"
Serial.WriteString strData

In some cases, this works fine. Sometimes, however, the laser device can not be triggered - instead it gives me the error message "Code 46 - PC Data error". The timepoint of the error message varies - sometimes it shows up directly after the supposed laser stimulus, sometimes it takes a few seconds. It seems quite random, actually. I have asked the support manager of the laser device´s about this error message and he supposes that eprime sends information via the RS232-port which the laser cannot handle. My questions are now:

1. Is it possible that eprime sends information to the serial port, which I have not written in an inline object?
2. Is it possible to read out the information, which reaches the serial port? Perhaps using the Debug command?

Thank you very much in advance for your help!
Laura
Post #3364
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:56pm

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.109. 6 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