Pulse / Ultrasonic

Handles the pulse of the Ultrasonic sensor.

../../../../../_images/pulse-1.png
Description of Pulse

vi

Attributes

Pulse

Pulse initialization

Pulse

Pulse output

Pulse Init

../../../../../_images/pulse-2.png

Is a class that contains the code for sending out the Ultrasonic pulse on the VMX. Has only a HG_LIB output.

Pulse Output

../../../../../_images/pulse-3.png

A vi that allows for sending out the Ultrasonic pulse on the port specified by the Create ID vi.

Inputs and Outputs

Name

I/O

Attribute

Pulse in

Input

The input cluster from Create ID

Pulse

Input

The pulse to set

error in (no error)

Input

The error input cluster

Pulse out

Output

The output cluster to go to Delete ID

error out

Output

The error output cluster

Ultrasonic Example

Note

This example requires Pulse and ISQ.

This example will Pulse the Ultrasonic sensor on digital port 12 and receive the echo on digital port 8 then calulate the distance.

../../../../../_images/ultrasonic-example.png