UDP output
Posted: 17 Apr 2013, 17:45
Hi,
I recently upgraded from 3.0.1 to 3.0.5 and can no longer connect to an external application through UDP (Dasher). I think I have tracked down the problem but am not sure how to solve it. Running the 3.0.1 version of the CursorTask_gUSBamp batch file, I get the following UDP input in the Dasher socket debugger.
As opposed to the 3.0.5 version where i get:
Both outputs have each state/signal separated by a return, but Dasher interprets them differently. How can I go about modifying this in the 3.0.5 version to be compatible with what Dasher expects to read?
Thanks in advance,
Andrew
I recently upgraded from 3.0.1 to 3.0.5 and can no longer connect to an external application through UDP (Dasher). I think I have tracked down the problem but am not sure how to solve it. Running the 3.0.1 version of the CursorTask_gUSBamp batch file, I get the following UDP input in the Dasher socket debugger.
Code: Select all
...
Reading from socket...
received string: 'ResultCode 0
'.
Reading from socket...
received string: 'Feedback 0
'.
Reading from socket...
received string: 'CursorPosX 0
'.
Matched label 'CursorPosX'...
...parsed value as 0.000000.
Socket input: clipped CursorPosX value of 0to configured minimum of 205
Socket input: new value for coordinate 0 rescales to 4096 in Dasher's internal c
oordinates (range 0-4096).
Matched label 'CursorPosX'...
...parsed value as 0.000000.
Socket input: clipped CursorPosX value of 0to configured minimum of 205
Socket input: new value for coordinate 1 rescales to 0 in Dasher's internal coor
dinates (range 0-4096).
Reading from socket...
received string: 'CursorPosY 0
'.
Reading from socket...
received string: 'CursorPosZ 0
'.
Reading from socket...
received string: 'Running 1
'.
Reading from socket...
received string: 'Recording 1
'.
Reading from socket...
received string: 'SourceTime 60013
'.
Reading from socket...
received string: 'StimulusTime 60019
'.
Reading from socket...
received string: 'Signal(0,0) -0.0953556
'.
...Code: Select all
...
Reading from socket...
received string: 'PauseApplication 0'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'CursorPosX 0'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'CursorPosY 0'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'CursorPosZ 0'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'StimulusTime 7163'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'Signal(0,0) -8.00468'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'Running 1'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'Recording 1'.
Reading from socket...
received string: '
'.
Reading from socket...
received string: 'SourceTime 7218'.
...Thanks in advance,
Andrew