Haptic 5-DOF Wand Enable Haptic 5-DOF Wand Joint Angles navigation bar

Table of Contents

Haptic 5-DOF Wand Gimbal Switch

Returns the status of the Haptic 5-DOF Wand gimbal switch.

Library

QUARC Targets/Devices/Quanser/Haptics/Pantographs/Haptic 5-DOF Wand/Interfacing

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

qc_open_library('quarc_library/Devices/Quanser/Haptics/Pantographs/Haptic 5-DOF Wand/Interfacing')

Description

Haptic 5-DOF Wand Gimbal Switch

The Haptic 5-DOF Wand Gimbal Switch block returns the status of the Haptic 5-DOF Wand gimbal switch. The output is 1 if the gimbal switch is pressed. Otherwise the output is 0.

For the Quanser Q8 card, digital input channel 15 is typically used to read the status of the gimbal switch of the Quanser Haptic 5-DOF Wand.

Input Ports

dig

This signal must be the value read from the digital line connected to the gimbal switch of the Haptic 5-DOF Wand.

Output Ports

press

The status of the gimbal switch. The output is 1 if the gimbal switch is pressed. Otherwise the output is 0.

Data Type Support

This block supports inputs and outputs of type double.

Parameters and Dialog Box

Haptic 5-DOF Wand Gimbal Switch

The Haptic 5-DOF Wand Gimbal Switch block has no parameters.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar