There is an example in the Tutorials that come with LabVIEW.
From the Getting Started window, look at
Tutorials -> Tutorial 7 - Integrating Examples into Robot Code
Then page down to Part 2 and it gives a step-by-step using a gyro output as an example.