Interface with BIOPAC system
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 23
- Joined: Wed Jul 09, 2014 2:35 pm
Interface with BIOPAC system
Hello everyone,
I wanted to know whether LIVECODE has the ability to interface with the BIOPAC system for recording skin conductance responses. If anyone knows anything, or knows where I can look for resources, please let me know.
Thanks!
I wanted to know whether LIVECODE has the ability to interface with the BIOPAC system for recording skin conductance responses. If anyone knows anything, or knows where I can look for resources, please let me know.
Thanks!
-
- VIP Livecode Opensource Backer
- Posts: 9850
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Interface with BIOPAC system
BIOPAC offers a scripting interface:
https://www.biopac.com/scripts/
I would imagine you could trigger those scripts with LiveCode Script's shell function, no?
If you need lower-level access, such as to any C++ APIs BIOPAC may also offer, you should be able to address those with LiveCode Builder.
https://www.biopac.com/scripts/
I would imagine you could trigger those scripts with LiveCode Script's shell function, no?
If you need lower-level access, such as to any C++ APIs BIOPAC may also offer, you should be able to address those with LiveCode Builder.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 23
- Joined: Wed Jul 09, 2014 2:35 pm
Re: Interface with BIOPAC system
The BIOPAC scripting interface is within the BIOPAC software itself, not for communication between presentation software and BIOPAC. Thank you for your suggestion though.
I need to be able to interface Livecode and BIOPAC from separate computers. I need to be able to have Livecode send a message to the BIOPAC software telling the software to set an event mark in the data.
I need to be able to interface Livecode and BIOPAC from separate computers. I need to be able to have Livecode send a message to the BIOPAC software telling the software to set an event mark in the data.
-
- Posts: 722
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
-
- VIP Livecode Opensource Backer
- Posts: 9850
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Interface with BIOPAC system
If BIOPAC offers no network access then some form of that would need to be added to the system. Would it be practical to use Apache, with PHP, LiveCode, Perl, or some other middleware that manages the requests and obtains what it needs from BIOPAC for the reply?starfirescully wrote:The BIOPAC scripting interface is within the BIOPAC software itself, not for communication between presentation software and BIOPAC. Thank you for your suggestion though.
I need to be able to interface Livecode and BIOPAC from separate computers. I need to be able to have Livecode send a message to the BIOPAC software telling the software to set an event mark in the data.
If this is on a local (and trusted) network you might even be able to mod the libHTTPd now included with LC v9 to provide a simple HTTP-based API.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 23
- Joined: Wed Jul 09, 2014 2:35 pm
Re: Interface with BIOPAC system
Thank you for your comments. It looks like all I would have to do to communicate with the BIOPAC is to send signals to specific pins on a parallel port cable. I am now grappling with this!
Thanks again!
Thanks again!