Unknown Function "ebSocketTypeTcp" error

460 views
Skip to first unread message

Christian

unread,
Feb 27, 2013, 4:40:43 PM2/27/13
to e-p...@googlegroups.com
I'm syncing E-Prime 2 with Net Station and when I try to run my E Prime task I receive the following error "Unknown function ebSocketTypeTcp" 

A few other pieces of information that might be helpful:

1) I checked the output window and it said "warning: "egiclockextension.ebn" failed to load and is not included in the routine (load state/error= -1/127 version/expected=0/178)

2) I also saw the following error when compiling "The error occurred in the method named "Netstation_InitSocketCommunications(s" at line 729 of a Certified Package File.

3) Parameters in the netstation package in e prime are: "c, "on", Celllist, "socket", "10.0.0.42""

4) I recently updated E-Prime from 2.0.8 to 2.0.10. 


Any help you can provide would be greatly appreciated.

-Christian

David McFarlane

unread,
Feb 28, 2013, 11:38:21 AM2/28/13
to e-p...@googlegroups.com
Christian,

I don't know anything about NetStation, but I do know that PST
specifically advises that we *not* use EP2.0.10 yet with NetStation,
see http://www.pstnet.com/support/kb.asp?TopicID=5345 .

-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)

/----
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they
strive to respond to all requests in 24-48 hours, so make full use of
it. 3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
get an answer from PST staff, please extend the courtesy of posting
their reply back here for the sake of others.
\----

Cognitology

unread,
Mar 1, 2013, 4:06:16 AM3/1/13
to e-p...@googlegroups.com
Hi,
Which is presumably because of changes in TCP/SocketDevice communication. I
had some problems myself as well (when I tried to get two pcs to communicate
via lan), but found myself struggling with the (lack of) documentation on
the topic. It's good to know an earlier version still works, though!
Please let us know if the issue has been resolved - there's quite a few
people out there who work with NetStation.
Best,
Michiel
--
You received this message because you are subscribed to the Google Groups
"E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



David McFarlane

unread,
Mar 1, 2013, 10:36:49 AM3/1/13
to e-p...@googlegroups.com
Perhaps I should have been clearer. PST says that older Package
Files may not work with EP2.0.10, and the E-Prime Extensions for Net
Station Package File has not yet been updated for EP2.0.10, so users
of EE Net Station (and several other E-Prime Extensions) should stay
back at EP2.0.8.90. (This does not rule out, of course, the
possibility that EP2.0.10 also changed something with SocketDevice.)

For the record, documentation for SocketDevice, such as it exists,
can be found at http://www.pstnet.com/support/kb.asp?TopicID=2528 ,
and in the E-Basic Help facility for EP2.0.10 (not indexed, but can
be found using the Search pane). EP2.0.10 also makes Socket
available as a Device under the Experiment Object, apparently for use
with Task Events (see the New Features Guide for EP2.0.10).

-- David McFarlane

Peter N. Steinmetz

unread,
Apr 19, 2014, 8:40:08 PM4/19/14
to e-p...@googlegroups.com
Has there been any updates on this lately. I'm running into the same error with the latest version of the EPrime 2 runtime.

thanks,
Peter

David McFarlane

unread,
Apr 21, 2014, 1:42:01 PM4/21/14
to e-p...@googlegroups.com
How about if someone who has trouble with this contacts PST Support
themself and then reports back here with their response?

-- David McFarlane

Peter N. Steinmetz

unread,
Apr 21, 2014, 7:25:38 PM4/21/14
to e-p...@googlegroups.com
I am doing that presently.

Peter N. Steinmetz

unread,
Apr 23, 2014, 8:08:29 PM4/23/14
to e-p...@googlegroups.com
OK, support says to change the line assigning the socket type to be like:

theSocketDeviceInfo.SocketType = ebProtocolTCP
This change appears to allow compilation. So that is just a change of the constant name. 

In EPrime 2 it is also now apparently possible to insert a SocketDevice through the Devices tab, which is the recommended procedure for new scripts.

cheers,
Peter

Reply all
Reply to author
Forward
0 new messages