07-03-2013 08:44 AM
I have a DAQ system taking two different readings. I want to plot them both on the same graph with one reading, say temperature, on the X-axis and the other, say humidity, on the Y-axis. How do I do this?
07-03-2013 08:51 AM
Sounds like you want an XY Graph. See this article:
http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/types_of_graphs_and_charts/
Basically, you would bundle an X array and a Y array and wire that cluster to the graph.
07-03-2013 09:30 AM
Thank you for the quick reply. I have been trying to make an XY plot. Basically what I am doing it wiring my DAQ outputs to a Build Array and then wiring them both to a Bundle. The error I am getting is that the source is a cluster of two elements and the sink is 1D array cluster of two elements. I think my problem lies in the array creation apsect of it if you know a way to fix it. I have also wired straight from my outputs to a Bundle and I get the same error, so I fear my Build Array action is useless.
07-03-2013 09:41 AM
07-03-2013 10:15 AM
So I ended up figuring this out on my own, so I post the solution I made so that other people can use this too. When you read data from a DAQ system, the output is of the DDT, so you need to wire both outputs into their own From DDT found in the Signal Manipulation Palette. This will convert your dtata from DDT to 1D Array. Then you bundle them together with your X on top and your Y on the bottom and then wire that output to your XY Plot indicator. I would post a picture but all my labview software is on a computer that doesn't get internet where it is setup lol. Thanks for all the help!
07-03-2013 10:21 AM - edited 07-03-2013 10:22 AM
Hi mbooker,
you should write "DAQ Assistent Express VI" whenever you mention "DAQ system"!
If you would use "plain" DAQmx functions you wouldn't have to go all the way through datatype conversion from DDT to meaningful representation...