04-10-2012 05:35 PM
I was wondering if it's possible or if anyone has any success making an UI, such as the one in the DAQ Assistant, where you can toggle between an output graph or table of the recorded signals. I would like to have that functionality in my .VI code. As of now, I just have a waveform chart in my front panel. I would love to be able to toggle between that waverform chart and a table of output values. I attached some screen shots to help explain what I am talking about.
Solved! Go to Solution.
04-10-2012 06:00 PM
Maybe this is to simple, but what about just adding both a chart and table control to you FP. If you didn't want to see them at the same time use a tab control. This should be a pretty fast solution to implement.
04-10-2012 06:11 PM
The problem, which I didn't quite show in my example FP, is that my waveform chart is already in a tab control. I guess I should have been more specific by saying that I would like to do this on the same tab in the tab control...ie the chart and table would be on the same table wheneve you toggle between the two.
04-10-2012 06:38 PM - edited 04-10-2012 06:41 PM
MC,
You could just add another tab control to the tab page. Put your toggle control on the page below the new tab. Make the new tab page backgrounds invisible.
steve
04-10-2012 09:53 PM
Hello,
I personally like the TAB ideas that have been posted, but you could also use property nodes and the visible setting.
Goodluck.
Steven
04-11-2012 01:24 AM
That's pretty much what I was looking for. Thanks!
04-11-2012 04:53 PM
Just as another option for you. The TAB control method allows for easier growth and add-ons to your software.
The method that Stevenm181 mentioned is a nicer way of doing it. I added a quick example of what he is talking about.
The TAB control color is made transparent and the TAB selector and label has been turned off.
On the default tab, just name the TABS what you want, then right click and make a constant and then change that to a control. This will give you a nice control selector that you can wire into the property node value option.
Now if you want to add other display options down the road it will be much easier for you.
Goodluck.
Steve