Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata

The following feature is new in Ignition version 8.0.7
Click here to check out the other new features
This function is used in Python Scripting.

Description

When called from the Perspective mobile app, will cause the device to vibrate for the specified number of milliseconds.

iOS vibration duration is fixed. This function will cause an iOS device to vibrate for its default duration, 0.4 seconds (400 milliseconds).

Syntax

system.perspective.vibrateDevice(integer [, sessionId])

  • Parameters

String duration- The duration in milliseconds to vibrate the device.

iOS vibration duration is fixed. Thus, this parameter will not impact the vibration duration on devices running iOS. 

String sessionId - Identifier of the Session to target. If omitted, the current Session will be used automatically.

  • Returns

None

  • Scope

Perspective Session

Code Examples
Code Snippet - View
# Vibrates the device for 1/2 second (500 milliseconds).
system.perspective.VibrateDevice(500)
Keywords

system perspective vibrateDevice, perspective.vibrateDevice

  • No labels