Ano Ano Posted October 13, 2011 Report Share Posted October 13, 2011 Hello, I am using Labview v10 and NI-9213 ro acquire readings from 10 thermocouples. I placed boolean switches to enable me to select which plots/thermocouples/channels to view in the graph. When Switch X is on, it sends a "0"value. I have 2 problems: 1. The code is a bit messy. Can this be done more neatly? 2. The boolean switch does not work properly. One value goes to "0" and the next value shows/plots the temperature. Any ideas on how to improve it? Thank you in advance Thermocouple Detection.vi Quote Link to comment
todd Posted October 13, 2011 Report Share Posted October 13, 2011 You are writing to the graph twice - once with a local variable. Cluster To Array may be useful, here. Thermocouple Detection b.vi Quote Link to comment
Jordan Kuehn Posted October 13, 2011 Report Share Posted October 13, 2011 LV 2011 has added the ability to place check boxes on the legend to en/disable the display of different plots. IMO should have been done long time ago, but it's the simplest way to do what you want. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.