Hi Rob,
The LEGO Mindstorms software that you buy in toy stores will install an Active-X component called spirit.ocx which you can then use in LabVIEW. LEGO released an SDK with documentation on how to use this Active-X component:
http://www.legomindstorms.com/sdk/
Erik van Hilten