In LabVIEW 8.0, there are VIs located in the Programming>>Connectivity>>Source Control functions palette that you can use to get a file's source control properties. Typically, a dialog will come up that will display information about a file (which usually includes a version number). If you have Perforce Command Line configured and enable supression of dialogs (by clicking the "Supress prompting dialog boxes" option via the Advanced button in Tools>>Source Control>>Configure Source Control), you will get information returned in the "status message" indicator of SCC File Properties.vi. In the returned message, you will get the field "haveRev" which specifies what version you currently have. You can write a VI that will parse the returned information to determine the revision number.
George M
National Instruments