Interupt Status Queue / Ultrasonic¶
Handles the echo of the Ultrasonic sensor.
vi |
Attributes |
---|---|
ISQ |
ISQ initialization |
Read |
ISQ reading |
Pulse Init¶
Is a class that contains the code for the return pulse of the Ultrasonic pulse on the VMX. Has only a HG_LIB
output.
Pulse Output¶
A vi that allows for collecting the return pulse of the Ultrasonic pulse on the port specified by the Create ID
vi.
Name |
I/O |
Attribute |
---|---|---|
ISQ in |
Input |
The input cluster from Create ID |
error in (no error) |
Input |
The error input cluster |
ISQ out |
Output |
The output cluster to go to Delete ID |
PING |
Output |
The distance calculated by the ultrasonic sensor in mm |
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.