LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage vs. time

Hi I wanted some advice on what graph/chart to build. I have two voltage channels that I want as my two data points on Y-axis. Then for the X-axis I want the time in microseconds(or a similar value). Didn't know which option would be the best to display it.

Thank you so much

0 Kudos
Message 1 of 7
(4,299 Views)

Start with a chart, it depends more on how you want your interface to update.  Graphs are all at once and charts have a 'memory' that shows history.  If you are wanting to have voltage over time I would recommend using a waveform type with your data acquisition...  Are you using Daqmx?  If so it's pretty simple, your output will go straight into the chart.  It'll looks something like the attached.

0 Kudos
Message 2 of 7
(4,290 Views)

I'm using the DP821 instrument driver but I believe both should be similar in how they work?

0 Kudos
Message 3 of 7
(4,276 Views)

Might take a look at this for driver information if you don't already have it:

 

http://forums.ni.com/t5/Community-Documents/Rigol-DP832A-Instrument-Driver/ta-p/3512811

 

Looks like it works with all 800 series devices.  This might give you the driver side of it you'll need.

 

0 Kudos
Message 4 of 7
(4,262 Views)

I need a graph like that if the drawing helps any

0 Kudos
Message 5 of 7
(4,199 Views)

If your X (time) axis is in milliseconds I assume you're only collecting data for a couple seconds at most.  Therefore a waveform graph is the most appropriate choice.  Charts are for watching slower events occur in real-time.  You'll also find it easier to setup your time axis using a graph since it will read the dT from your waveform data.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 6 of 7
(4,177 Views)

I think we can help better if you let us know what you've tried and what's not working about it. Where are you running into trouble with creating a graph like this?

0 Kudos
Message 7 of 7
(4,163 Views)