There are two basic ways to use the LEGO RCX with LabVIEW:
1. 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/
2. ROBOLAB is a LEGO Dacta software package that you can buy from catalogs (not in toy stores). It is actually a stripped-down version of LV5.1 with a set of VIs that can communicate with the RCX (without Active-X so it is cross-platform). Its possible, if you're tricky, to copy all these VIs into a full-version of LV5.1. For info on ROBOLAB, check out:
http://www.lego.com/dacta/robolab/default.htm
http://www.medicollector.com