LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scope Soft Front Panel Graph

I use the Scope Soft Front Panel from time to time and I like the functionality of the graph much:

  1. E.g. if I click on time, I see the signal as function of the time (see first picture).
  2. If I press additionally on FREQ, I can see the signal plot and the frequency plot (see 2nd picture).
  3. By clicking on the horizontal bar, I can adjust the size of the plots (3rd picture).

 

Now I want to create a plot which also gives me the possibility to implement the 3 possibilities which I mentioned above.

Unfortunately, I do not have any idea how I could create such a nice plot.

 

Could somebody give me some hints? I really would be very happy about every help.

Download All
0 Kudos
Message 1 of 7
(3,536 Views)
Are you asking how to program this in LabVIEW? If so, start with the shipping example for NI-Scope and review the functions on the palette with context help turned on. Take the basic LabVIEW tutorials to learn the fundamentals of programming.
0 Kudos
Message 2 of 7
(3,524 Views)

Thanks for your reply.

Yes, I want to create such a plot as used in the NI-Scope with LabVIEW. I already tried to use the context help – but this is not very helpful since only names and functionality of the plots and knobs are described and not how they (the plot) were created/their functionality programmed.

I know how to make some Waveform XY- etc. graphs – that is no problem for me. But unfortunately it is a problem for me to create a plot which is similar to the plot in the NI-Scope. I have never seen such a plot before and they are not mentioned in the basic LabVIEW tutorials – but thanks for the hint.

0 Kudos
Message 3 of 7
(3,515 Views)
There are only three types - chart, graph, and xy graph. All can be customized. You will probably just need to use the standard waveform graph for both time and frequency domain plots. Start by looking at the right click options and then provide details on exactly what you want to do.

One hint for knobs is to use integer data types and text labels.
0 Kudos
Message 4 of 7
(3,510 Views)

Perhaps I should have mentioned in my original question that I spent several hours using one/several plots (embedded on hidden tabs and so on) to create a plot which is similar to the plot of the NI-Scope.

The only thing I recognized is that they use a slider without scale and perhaps some transparency on the left side of the plot to the shift the data – an easy trick (I guess they multiply in the block diagram an array by a number which is controlled by the knob... Anyway, thanks for your useful knob hint ;-).

Unfortunately, I was not able to implement the other functions which I mentioned in my post (the details what I want to do are shown in my attached pictures and are mentioned by the list).

 

Perhaps other people here recognize which tricks were used to produce the plot of the NI-Scope. I would be happy if they could share them here.

0 Kudos
Message 5 of 7
(3,485 Views)
The soft front panel is not written in LabVIEW so all you can do is come close.

The buttons are just normal Booleans. One does s normal acquire, one does a spectral analysis and the purge switches to an xy graph. I'm not sure about the slider. It could be it is a chart with the scroll bar visible or indexing an array of captured waveforms.
0 Kudos
Message 6 of 7
(3,474 Views)

Oh, I see. It is a pity to read that the soft front panel seems not to be written in LabVIEW. How do you know this?

 

So, how can I come with LabVIEW close to the nice plot used on the soft front panel?

I especially would love to realize my second item of my list: If there is shown the first plot and I press on a knob to show the second plot, there are two plots below each other whose size can be changed by moving the horizontal bar between them.

 

I tried to realize this with the Mixed Signal Graph (there you can have several plots below each other whose size can be changed easily by clicking on the bar between them). But I do not know how I can hide/show programmatically the second plot. Do you have experience with this graph and do you know how to show/hide programmatically a plot?

0 Kudos
Message 7 of 7
(3,459 Views)