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