LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple plots & Y-scales


hn_sofec ha scritto:

Looked into the .dat file and can see the numbers.  I suppose they are separated by the tab character?  Just curious why you did not use the comma ( , ) and have it as a CSV.  I come from the C# background, so please help me.


The reason I don't use commas is that in some locales comma is used as the decimal separator, so I adopted as a rule to use tabs or semicolons instead



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 11 of 15
(2,653 Views)

Roberto,

Could you point out to me where in the code you make Main_vr and Main_s's components hidden or transparent?

0 Kudos
Message 12 of 15
(2,636 Views)

Alright,

I figured out how to make the elements invisible.  I now have a code that uses a Random Number Generator and plot something on a chart.

 

Question:

How do I make a certain trace visible / invisble while it is being continuous plotted?

0 Kudos
Message 13 of 15
(2,613 Views)

Sorry for not responding you before. It's been a while since I have published that example so I had to revisit the code myself Smiley Surprised

I suppose you have already found HighlightGraphs function I use to evidence individual controls of hide them; consider that this is a provision for the sample only: I normally simply paint in the UIR editor all inactive graphs with transparent color so you can see the axes and nothing else of them.

 

Showing / hiding a trace in a strip chart can be obtained with SetTraceAttribute (panelHandle, PANEL_CHART, 1, ATTR_TRACE_VISIBLE, x); trace is shown with x=1, hided with x=0.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 14 of 15
(2,601 Views)

Thanks so much Roberto.

0 Kudos
Message 15 of 15
(2,593 Views)