11-30-2015 02:53 PM
I think that is just because the "False" case of the Case Structures just sends out an empty task, and when the downstream VIs try to use it they throw an error. I am not very familiar with the DAQmx functions or the dynamic data graphs, but perhaps someone else can chime in on how to appropriately string all those together so you are not fighting over which meter gets the task.
12-08-2015 01:54 PM
I finally came up with something. There are probably more elegant ways of doing it but in the long run, it does what I intended it to do.
I used DAQ assistant to set up all of the possible channels I could use, then put a filter on the output because the signals appeared noisy on the charts. Then I split the signal into 24 individual signals. Then I paired the signals to case structures to represent the individual temp/flow meters that I want to enable or disable depending on if they are being used or not. Lastly I added a write to measurement file to data log all of the channels into one file.
On the front panel, I put all of the meter enable buttons on one configuration tab, along with data logging info. Each of the individual meters are on their own tabs.
The only problem I have left is that when I first open the VI, it starts to run before I get a chance to select which meters I want to enable. I have to then stop it, enable the channels I want and restart it.
12-08-2015 02:17 PM
The VI starts running when you open it? It is not set to "run when opened" so I don't know why that would be.