Aller au contenu

VRmaze network control

System under development

This documentation section concerns a feature of the VRMaze Sim software under development. It is recommended not to use it in production.

Limited functionalities

The network control features are very limited in the current versions of VRmaze Sim.

VRMaze Sim extends the functionality of VRmaze and adds a network frame listener to capture commands sent from another device on the same network. The idea is to be able to control the graphical interface of VRMaze remotely in order to perform a number of actions on the computer or on the software via, for example, an Android tablet or other.

Features

The network commands can send different orders:

  • Load and launch a protocol
  • Stop the protocol in progress
  • Manage the audio volume

The commands to send are the following ASCII commands:

Command Consequence
SoundVolume|0 mute
`SoundVolume +++
SoundVolume|--- volume Down (-10%)
SoundVolume|+ volume Up (+2%)
SoundVolume|- volume Down (-2%)
Load|NomProtocole.xml Load the protocol named NameProtocol.xml (without the path)
QuickRun|NameProtocol.xml Starts the protocol named NameProtocol.xml (without the path)
QuickRun|ProtocolName.xml IDSubject Starts the protocol named ProtocolName.xml (without the path) with a subject ID
QuickRun|NameProtocol.xml IDSubject outputfile.xml Starts the protocol named NameProtocol.xml (without the path) with a subject ID and an output file name .xml
KillCurrentViewer|0 Stop running protocol

VRmazeQuickRun.exe

There is no need to load a protocol via the Load command if you want to launch a protocol with the QuickRun command.

!

Example command sent from Packet Sender software

Communication port

Image title 2

Communication port preference

The UDP protocol is used, and the communication is done via the port number filled in the software preferences named External control Listener.