LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the hortizontal reference line on waveform chart

Solved!
Go to solution

Hello NI community,

 

Currently, I am working on a Gaussmeter to get the magnetic flux intensity data. I was getting the data and program running successfully. Now I am to make a reference horizontal lines on waveform chart at exactly at -12.5mT and at 12.5mT. I was trying to keep markers in chart but nothing is working. Did not find any useful solutions for my problem Could you please suggest how do I get horizontal line in wave form chart. Looking forward to hear from you soon.

 

Thanks & Regards

Vijay

0 Kudos
Message 1 of 4
(2,684 Views)

Make the Waveform Chart multiplot, bundling your constant reference values together with the measured mT.

 

pincpanter_1-1636553188004.png

 

 

 

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 4
(2,662 Views)

Hi

Thank you so much for your reply. I don’t need to plot multiple data in a waveform chart. I was getting data from the Gaussmeter in the form of a sinusoidal wave, just I need to create two horizontal lines for my reference in the waveform chart. I would like to create to horizontal line exactly at -12.5mT(milliTesla) and at 12.5mT(milliTesla). For your reference, I am attaching a picture of the desired chart. Could you please suggest me.

 

I have one more doubt in case if I use the multiplot waveform chart how do I need to connect to my program for getting the fixed horizontal line exactly at -12.5mT and at 12.5mT. I am attaching the program picture could you please check it

Thanks

Vijay

Download All
0 Kudos
Message 3 of 4
(2,647 Views)
Solution
Accepted by topic author vijay0507

What I suggested is AFAIK the easiest way. You need to drop a Bundle node (Cluster palette), drag to get three inputs, then wire -12.5, 12.5 and the measured value (what gets out from the multiplication by 1000 in your vi). Then wire the output cluster to Chart.

Not clear if you want to plot with a different colour between limits.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 4
(2,642 Views)