Getting log from unity and ECG physiological markers using VB script

Hello all,

I’m doing a project for my masters, where we use unity for VR, and we want to have people to be in the trial and experience this VR space and be connected to ECG, for reading their heart beat as a physiological marker.

My questions are thus,

  1. Does anyone knows of such a pipeline of unity and external machine like ECG or EEG, and what logs can I get? (it’s a tough one, not sure I understand it myself)
  2. Can I record the trial using a plugin maybe, so all the time the user in the VR, his trial is recorded and I can watch it latter on.

EDIT: Does anyone knows if I can integrate VBscript API’s with UNITY3D?

Thanks!

I would definitely recommend separating the processes. You can run the ECG/EEG from a program that’s completely separate from the Unity program. You could even run them from different computers due to @meat5000’s concerns. But unless the ECG/EEG will affect anything in the game, it would likely be much easier to do run them separately, then combine any data after the fact. Plus, the added bonus of that would be that the machine likely already comes with monitoring software you can use out of the box.

Very late to the game here, but if you want to “simulate” an ECG or any other vitals in Unity, this asset it now available for free: Pulse Physiology Engine | Integration | Unity Asset Store