MCT showing a picture before skip


Author
Message
pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Can I send a signal through the serial port in the same manner as sending a visual or sound cue?  We may try to do the vibration aspect of our experiment through the serial port instead.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Yes.<port> signals are just like other stimuli -- it does not matter if you are outputting <text>s or <pictures> to the screen, <sound>s on an audio device or <port> signals to a COM interface.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

What if I get an adapter for the serial port so that I can use USB devices?  Would I then still be able to output signals through the serial port and then have the adapter convert the signals into the USB devices?


If this is possible, is there any delay issue with this process because I need the signal I send through the serial port to be at specific times with minimal delay?



Thanks.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

What if I get an adapter for the serial port so that I can use USB devices?  Would I then still be able to output signals through the serial port and then have the adapter convert the signals into the USB devices?


This will depend on the actual devices / hardware. There is no general answer to this question, I'm afraid. You'll have to simply try and see if it works in your particular case.


If this is possible, is there any delay issue with this process because I need the signal I send through the serial port to be at specific times with minimal delay?


This will also depend on the actual hardware as well as any involved device drivers.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Dave,


I am trying to devise a simple script that would send the word "HELLO" in binary format through the serial port.  I am testing this by using a pair of virtual series ports where what is sent to one port is received by the other port.  I am able to see what is being received by the other port, and the script that I have (attached in this thread) appears to only successfully send the letter "H" through but not the "ELLO".  I am suspecting that there is an error in my script, so could you have a quick look at it and see if you can spot the error?  I'm trying to make the script as simple as possible.



Thanks


Attachments
Experiment.exp (254 views, 1.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

I'm not seeing any obvious error in the script -- I suspect something else must be going on. You may want to toy around with the <port> element's /erase settings and/or send another <port> signal between trials to re-set all bits to zero.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Is there a way to incorporate a survey page at the end of an experiment (in this case, a mackworth clock experiment)?


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

A <surveypage> is a special kind of <trial>, a <survey> is a special type of <block>. All the usual rules apply.


pprat
pprat
Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)Partner Member (614 reputation)
Group: Forum Members
Posts: 26, Visits: 1

Will <survey> always create its own data file?  Or can I just have 1 data file that contains the data from the clock test and also that data from the survey?


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Will <survey> always create its own data file?


Yes.


Or can I just have 1 data file that contains the data from the clock test and also that data from the survey?


Yes, you can. Run your <surveypage>s via a <block> element's /trials attribute.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search