03-03-2010 02:29 PM
my presentation of my work about labview is this :
i must convert signals into a graph ,
my USB - 6008 ( from National Instruments) converts the inputs in to signals -10v to10 v.
I have 2 different signals and i wanne put this in a graph ,
this is not my problem , because i use the XY-graph , on the x-graph voltage 1 and on the y-graph voltage 2
but , my problem is , if a change voltage 1 you see changing the graph. but that he passed , he didnt show these.
and what i want is that if you change voltage 1/ 2 or all 2 that i have a complete line so i can show that on my presentation
what i have to do?
thank you very much
03-03-2010 02:32 PM
davy de decker wrote:my presentation of my work about labview is this :
i must convert signals into a graph ,
my USB - 6008 ( from National Instruments) converts the inputs in to signals -10v to10 v.
I have 2 different signals and i wanne put this in a graph ,
this is not my problem , because i use the XY-graph , on the x-graph voltage 1 and on the y-graph voltage 2
but , my problem is , if a change voltage 1 you see changing the graph. but that he passed , he didnt show these.
and what i want is that if you change voltage 1/ 2 or all 2 that i have a complete line so i can show that on my presentation
what i have to do?
thank you very much
an x-y graph plots x vs y you probaply want to graph two plots vs time.
03-03-2010 02:45 PM
03-03-2010 02:51 PM
Two suggestions
1) post an image
2) post in BOTH English and your native tongue.
That will minimize the issue with language and concetrate on LabVIEW.
Ben
03-03-2010 03:10 PM
03-04-2010
03:53 AM
- last edited on
09-09-2025
06:25 PM
by
Content Cleaner
Hi Davy
According to your explanation, I do expect that you actually want to display 2 plots (lines on a single graph), where each line represents the value of a signal. To do this you can use a waveform graph or a waveform chart. Lets first see a small explanation on the 2 basic types of plot displays:
Graph: Will only plot the data you send to it. Meaning if you write a single point to the graph, he will only plot this point, if you write a new value to the graph in a proceeding loop iteration, he will erase the previous data and plot the newest data.
Chart: A chart has its own history. This means that you will see a continous plot, where every point is being added to the plot. When the history of the chart is full, a new written point will be added to the plot and the oldest one will be removed. By default, a chart has a history of 1024 points, but this can be configured.
You can check the following article on a more in depth explanation of the types and an example block diagram:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9zsSAC&l=en-US
Based on your first explanation, you will probably need a chart in this case. Make sure to take a look at the DAQmx examples you can find in Labview through Help - Find Examples - Hardware I/O- DAQmx. There might even be an example which does already exactly what you want.