11-02-2008 01:04 PM
Hi,
I am creating an application which is going to acquire signals from user specified number of channels and going to display on user specified display type (Graph or Dial). I am going to create(by making visible) as many dials as user defined and going to display the signal.
But for Graph display, we have only one graph at the same time it should display the user defined number of signals. Suggest me how to add signals in the graph programatically.
Thanks
11-02-2008 04:22 PM
11-04-2008 01:27 PM
Thank you. still I am not getting the point.
I have attached a simple vi to make my question clear. It consists of table with fields as signals and display. both are user configurable. the signals may be from physical channels.
how to write a generic code such a way that, if the user configures only one signal with graph display, then it should display one signal. if the user configures 10 signals with graph display, then it should display 10 signals.
Expecting suggestions .........Thanks
11-04-2008 03:00 PM
Ugh. You're using Express VIs... Ugh.
Well, in this case it's a bit more work. There's more than one way to do this, but I would suggest using the technique used in the "Select Signals" example that ships with LabVIEW. Open the Example Finder (Help -> Find Examples). Change to the search tab and enter "select" in the search field. The example should be the first one there. In this example an array of Booleans is used to select which signals to graph. You can accomplish the same thing by generating the array of Booleans from your table. All you need to do is compare the text to the word "Graph", as in the following:
11-04-2008 03:20 PM