LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Do you wanna help me?

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

0 Kudos
Message 1 of 6
(3,274 Views)

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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 6
(3,271 Views)
nono , if voltage 1 first 8 is and than 4 you see the line go from 8 to 4 . when the voltage is constant you see a point . but what i wanne have that he give me every point that he passed and he wil show that , that you become a graph
0 Kudos
Message 3 of 6
(3,255 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 6
(3,245 Views)
I am guessing that this is another classic example of not keeping around the history in an XY graph.  See for example:
0 Kudos
Message 5 of 6
(3,222 Views)

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.

 

Best Regards

Michiel
Applications Engineer
NI Belgium
0 Kudos
Message 6 of 6
(3,166 Views)