Synchronizing E-Prime 2.0 Professional with Bioradio

33 views
Skip to first unread message

Schuyler Lawson

unread,
Jun 21, 2018, 1:51:01 PM6/21/18
to E-Prime
Hey guys,

My name is Schuyler and I'm a graduate research assistant in a smoking cessation lab. We are interested in collecting psychophysiological data by connecting E-Prime to a device called Bioradio. Bioradio is a wearable device that collects psychophysiological data, such as EMG, ECG, EGG, and more. Does anyone have any experience with connecting Bioradio to E-Prime? 

Here is a link to the Bioradio website: https://glneurotech.com/bioradio/

Thanks,

Schuyler 

David McFarlane

unread,
Jun 21, 2018, 4:58:26 PM6/21/18
to e-p...@googlegroups.com
Schuyler,

I have no direct experience with BioRadio. But this looked interesting,
so I went ahead and contacted them, and ended up downloading and looking
at their Software Development Kit. You may download the SDK at
glneurotech.com/bioradio/support-page/bioradio-software-downloads/ , and
you may see the SDK API online documentation at
glneurotech.com/BioRadioSDKDocumentation/html/ffb032ba-5944-4d52-ab89-448553765c01.htm
.

BioRadio API routines are supplied via a .dll file and require Microsoft
.NET Framework 4.5 or later. The SDK provides direct support for C#,
LabVIEW, and MATLAB, and the API documentation include syntax for VB
(and even F#, whatever that is). That is promising, but it looks like
all the routines are provided by means of Class definitions, see below.

Now, I myself have recently translated an extensive library of .dll
functions from a C .h file to VBA (i.e., E-Basic) Declare statements.
E.g., the C statement

ATC3DG_API int GetAsynchronousRecord( USHORT sensorID, void *pRecord,
int recordSize );

became

Declare Function GetAsynchronousRecord CDecl Lib "ATC3DG" _
Alias "_GetAsynchronousRecord" (ByVal sensorID As Integer, _
ByRef dataRecord As Any, ByVal recordSize As Long) As Long

This gave my E-Prime program access to functions in the .dll file, which
was provided for an electromagnetic motion tracking device. I also had
to translate a lot of type definitions, constants, etc.

So in principle, as long as a device manufacturer provides a .dll file,
and provides the proper definitions for functions in the file, then,
with a *lot* of work and programming know-how you might get their device
to work with E-Prime.

But I would not know how to translate the Class definitions in C# or VB
into VBA Declare statements, and I do not even know if that is possible
at all. You might consult PST Support directly on that issue.

Have you already purchased this device, or are you just considering it?
Does your purchase depend on using it with E-Prime? Could you consider
using MATLAB or LabVIEW instead?

-- David McFarlane


On 2018-06-21 1:51 PM, Schuyler Lawson wrote:
>
> My name is Schuyler and I'm a graduate research assistant in a smoking
> cessation lab. We are interested in collecting psychophysiological data by
> connecting E-Prime to a device called Bioradio. Bioradio is a wearable
> device that collects psychophysiological data, such as EMG, ECG, EGG, and
> more. Does anyone have any experience with connecting Bioradio to E-Prime?
>
> Here is a link to the Bioradio website: https://urldefense.proofpoint.com/v2/url?u=https-3A__glneurotech.com_bioradio_&d=DwIBaQ&c=nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=ECIeTmLrr2KZAzWjTIm8LJUckDXgTW_RqVE545-oCBA&s=tQI7aY28P9Sy5-BQJnLaelG_VTcBAweOfuqhrEUQX_8&e=
>
> Thanks,
>
> Schuyler

Schuyler Lawson

unread,
Jun 22, 2018, 3:36:30 PM6/22/18
to e-p...@googlegroups.com
Thanks for investigating this matter David. Are you familiar with Dr. Larry Hawk? He is my mentor. 

We have already purchased the Bioradio. It is a device that we have had for a long time. With respect to Bioradio and E-Prime, I'm a novice. I also do not have a strong background in writing programming languages. 

Based on what you said, it seems like it is a matter of converting C # or VB into VBA. That may be the best way of unifying the devices. 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e369b5b5-d5cc-4104-0d4b-d19e13a8a990%40msu.edu.

For more options, visit https://groups.google.com/d/optout.

David McFarlane

unread,
Jul 3, 2018, 11:54:32 AM7/3/18
to e-p...@googlegroups.com
(Just got back from a week-long canoe/camping trip.)

Schuyler,

No, I am not familiar with Dr. Larry Hawk. Isn't he at University of
Buffalo?

So have you used the BioRadio before with other software?

Yes, basically you would have to find the right VBA commands to access
the routines in the BioRadio .dll file. But I do not feel confident
that the version of VBA used in E-Prime is up to the task. If you have
access to MATLAB, you might try using that instead.

-- David McFarlane
>>> Here is a link to the Bioradio website: https://urldefense.proofpoint.com/v2/url?u=https-3A__urldefense.proofpoint&d=DwIBaQ&c=nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=yeNrKZMuExEcvQwdVSL-dpHIEZcapMFZp0tIUbN0xH8&s=ru9B4_4fOVLzlGJC5uf4GRDFz8FYBBwXYyc0TIXHvpM&e=.
>>> com/v2/url?u=https-3A__glneurotech.com_bioradio_&d=DwIBaQ&c=
>>> nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=ECIeTmLrr2
>>> KZAzWjTIm8LJUckDXgTW_RqVE545-oCBA&s=tQI7aY28P9Sy5-BQJnLaelG
>>> _VTcBAweOfuqhrEUQX_8&e=
>>>
>>> Thanks,
>>>
>>> Schuyler
>>>
>>
>> --
>> 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.
>> To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_ms&d=DwIBaQ&c=nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=yeNrKZMuExEcvQwdVSL-dpHIEZcapMFZp0tIUbN0xH8&s=RiHp-xA825I4r4O3WMkUoZZU-nKsjIDvCcvXTEzL7og&e=
>> gid/e-prime/e369b5b5-d5cc-4104-0d4b-d19e13a8a990%40msu.edu.
>>
>> For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=yeNrKZMuExEcvQwdVSL-dpHIEZcapMFZp0tIUbN0xH8&s=iKmvJbIyrnFet4GEvYr9lYaFnqClioYEyHZFCnDlyFo&e=.
>>
>
Reply all
Reply to author
Forward
0 new messages