Yes, there are many example VIs for how to program NI DMMs and NI Switches. Many of them are found in the NI Example Finder. Within LabVIEW go to Help»Find Examples. Browse to Hardware Input and Output»Modular Instruments»NI-DMM and NI-SWITCH for examples of each.
You can also program NI Switches with DAQmx, and those examples are found in the example finder also, under Hardware Input and Output»DAQmx»Switches
What type of measurements and how many (which DMM and which switch are you using)? If you have questions about any of those examples please let us know.