Ping Website In the Middle of Experiment


Author
Message
Connorrr
Connorrr
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 28, Visits: 164
Hi,

This is a bit of a long shot but I want to set up a webpage that will send an SMS to the participant.  This part I know how to do just fine but what I would like to do is have the participant reach a certain point in the experiment and then have Inquisit 'ping' that website to trigger the sms.  I know we can connect to FTP servers with the <data> element but is it possible to connect to other URLs while in the experiment?

Kind Regards,

Connor
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: 12K, Visits: 98K
Connorrr - 6/3/2020
Hi,

This is a bit of a long shot but I want to set up a webpage that will send an SMS to the participant.  This part I know how to do just fine but what I would like to do is have the participant reach a certain point in the experiment and then have Inquisit 'ping' that website to trigger the sms.  I know we can connect to FTP servers with the <data> element but is it possible to connect to other URLs while in the experiment?

Kind Regards,

Connor

You can possibly do something with the <html> stimulus element

https://www.millisecond.com/support/docs/v5/html/language/elements/html.htm

as in

<trial ping>
/ stimulusframes = [1=pingsite]
/ validresponse = (0)
/ trialduration = 500
</trial>

<html pingsite>
/ items = ("https://www.google.com/search?q=test")
...
</html>


Connorrr
Connorrr
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 28, Visits: 164
Dave - 6/4/2020
Connorrr - 6/3/2020
Hi,

This is a bit of a long shot but I want to set up a webpage that will send an SMS to the participant.  This part I know how to do just fine but what I would like to do is have the participant reach a certain point in the experiment and then have Inquisit 'ping' that website to trigger the sms.  I know we can connect to FTP servers with the <data> element but is it possible to connect to other URLs while in the experiment?

Kind Regards,

Connor

You can possibly do something with the <html> stimulus element

https://www.millisecond.com/support/docs/v5/html/language/elements/html.htm

as in

<trial ping>
/ stimulusframes = [1=pingsite]
/ validresponse = (0)
/ trialduration = 500
</trial>

<html pingsite>
/ items = ("https://www.google.com/search?q=test")
...
</html>


This worked perfectly!  Thank you.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search