Remote Trigger Vicon Nexus 2.12

14 次查看(过去 30 天)
Hi,
for my research I will use the Vicon Nexus 2.12 and another software which is not integrable to Vicon.
To synchronize the two datastreams in real time I need to be able to remote start/stop the Vicon Capture Session.
Matlab and Vicon are present on the same computer.
Does anybody know how to do it?
Thank you,
Max

回答(1 个)

Aditya Srikar
Aditya Srikar 2023-5-25
Yes, it is possible to remotely start/stop a Vicon Capture Session using MATLAB. To do this, you need to:
1. Load the Vicon SDK in MATLAB using the `actxserver` command.
2. Connect to the Vicon server using the `Connect` method.
3. Use the `StartCapture` method to start the Vicon capture session.
4. Use the `StopCapture` method to stop the capture session.
5. Disconnect from the Vicon server using the `Disconnect` method.
After writing the MATLAB code to start/stop the Vicon capture session, you can call it from your other software using MATLAB's COM automation server capabilities.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by