Dual-Range Force Sensor with Python

Python
Command

 

Sketch
Object

VERNIER

Command
Syntax

 

Python
Code
Sample:

Desired Action

Python Code Sample

Read the force from the attached Vernier sensor in 10 N configuration

v1=vernier("IN1","force10")

f1 = v1.measurement()

Read the force from the attached Vernier sensor in 50 N configuration

v1=vernier("IN1","force50")

f1 = v1.measurement()