I have a unique question involving Blender and its use when hooked up to a button box linked to an MRI machine. The button box transmits numbers (i.e. "1", "2", "3", etc.) based on the button that is pushed by a participant inside an MRI machine. The button box is connected to a windows 7 laptop computer running Blender 2.58.1 via a usb input plugged into the laptop.
In the Blender environment, I am running the game engine using GLSL, and the task is moving a "player" (i.e. cube) around an environment with keyboard logic bricks (e.g. 1 moves forward, 2 moves backward, etc), in addition to using python scripts, for logging keyboard inputs for example.
The problem is though, when I plug in the usb input from the button box, and a number is pushed on the button box, Blender sometimes registers the input, and sometimes does not register the input.
Also, note that working with the MRI is complicated by the fact that the MRI sends a "pulse" through the button box, corresponding to the number "5" every 2 seconds. However, when I log the button presses (using a python script), I get the number "5" input not at a constant 2 second interval, but rather at: 2 seconds, then 4 seconds, then 2 seconds, then 4 seconds, etc. It seems like blender is "skipping" or missing these in-between inputs.
I'd really appreciate anyone's help or input on this! Thanks a bunch!
How exactly is Blender connected to the 'usb input'?
It's plugged in through a usb port on the side of the laptop. I didn't mean for that to sound confusing; its just a simple usb connection..