Step 1: read the documentation that came with LabVIEW. This explains what you need to do. In a nutshell you need the Application Builder to build a DLL. Please note that the Application Builder is part of the "Professional" edition of LabVIEW. If you don't have the "Professional" edition you either upgrade to that edition or buy the Application Builder separately for your specific version of LabVIEW.