Table of Contents
Haptic 3-DOF Pantograph Gimbal Switch
Returns the status of the Haptic 3-DOF Pantograph gimbal switch.
Library
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 3-DOF Planar Pantograph/Interfacing')Description
The Haptic 3-DOF Pantograph Gimbal Switch block returns the status of the Haptic 3-DOF Pantograph gimbal switch. The output is 1 if the gimbal switch is pressed. Otherwise the output is 0.
For the Quanser Q4 or Q8 cards, digital input channel 15 is typically used to read the status of
the gimbal switch of the Quanser Haptic 3-DOF Pantograph. For example, enter 15
as the digital channel in
a HIL Read Digital
block.
Input Ports
dig
This signal must be the value read from the digital line connected to the gimbal switch of the Haptic 3-DOF Pantograph.
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
The Haptic 3-DOF Pantograph Gimbal Switch block has no parameters.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
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 |
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.