Hello. I have written two programs for the NI cDAQ-9178 that work perfectly, but now I would like to combine them ... and give the user the option to perform either a temperature measurement (NI 9214) or a voltage measurement (NI 9201). I've tried using an Enum Control to a Case Structure, where user can select either "Temperature Measurement" or "Voltage Measurement", but when executing the program, only the User Input Front panel will open and the program just stops. Could someone please look at the attached code and give me advice on placing my two programs into a case structure?? Each program contains two VIs ... a User Input subvi and a Measurement vi. Is it possible for me to drag the Temperature and Voltage VIs into the case structure?? Thanks
Uugh ... it will not accept my attachment. I've attached zip file in the past