07-12-2017 02:15 PM
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
07-12-2017 02:22 PM - edited 07-12-2017 02:23 PM
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.
07-12-2017 02:28 PM
I'm using the DP821 instrument driver but I believe both should be similar in how they work?
07-12-2017 03:01 PM
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.
07-13-2017 12:23 PM
I need a graph like that if the drawing helps any
07-13-2017 02:45 PM
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.
07-13-2017 03:49 PM
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?