Get cursor references in a waveform graph
Is it possible to get a picture of the cursor for a graph references? I realize there is a table of list of cursor, but it would be much better to have references.
Thanks Ben. I just wanted to check before riding mine, and I appreciate the quick response.
Here is the code snippet does it, but I hope that it will be added to the native properties.
Tags: NI Software
Similar Questions
-
How to get the individual history of the multiple waveform graph plot
I have a table of waveform with several plots, which is a cluster as input.
I want to calculate the average of each of these plots. With simple concession of waveform graph, all I had to do is to use the property in the history of the graph node and pass the history to the generation averaged vi. With the array of multiple locations, I am unable to get the history of each parcel.
The property of the history of the land multi card node is an array of custers, not quite what I need to calculate the average.
How to me history of individual plots?
Thank you.
unbundle just your datapoints inside a loop like this
-
How can I display only a part of the scale in the waveform graph
This is the first time I try to use the waveform graph, since now, I used the table of waveform.
The reason why I moved to the chart, it's that I need cursors.I have 2 problem
the first: in the diagram, the graph moves when I add a new data and the scale of the x-axis stay the same size, in the right size I always saw the new data. How can I do that with waveform graph?
Second: How do I say Labview to the day I click on the graph, I need that because when move graphic I lose the day, and to make I need to zoom out, I drag the imprecateurs.
All this must be done programmatically. The LabVIEW graphic accepts tabular data, not only as the table and the graph doesn't have the ability to retain the previous points, like the story of a graph. You will need to retain previous values and then continually update the graph with the old and new values to get a shift register "chart as behavior. Cursors should be written programmatically re of each iteration, since you rewrite the entire graph.
-
How to connect a cluster of berries to a waveform graph
I'm trying to reproduce the pattern-block which is attached to this issue, but I don't know how I connect the waveform to my clusters of berries. I get an error that "the type of the source is table 1 d of cluster of 2 elements. The sink type is 1 d doubles [64-bit real (precision ~ 15 digits)].
You need a chart xy, not a waveform graph.
(Remember also that this table index is resizable. You only have a single instance. Your photo code is old, ~ LabVIEW 4.0 or MORE)
-
missing samples in the waveform graph
Hello world
When processing a file .wav into pieces, I noticed that there are missing samples on the waveform graph where two pieces must be met for the display. What could be the cause of this? Any help appreciated. Thank you!
Milan
Your method of reading in pieces in a for loop is create a table 1 d of waveforms with the tunnels of automatic indexation. It is as well as what you have the data appear in different plots. I don't know if that's what you want.
But if this is the case, the problem is that you get to the last point of the first plot, and the first point of the next parcel is a different value. Because they are two different plots that you do not get the line to join them, as you do between points that are part of the same plot.
-
How convert the waveform on the table of waveform waving on waveform graph
Please answer now...
Your other post indicates it is a thesis, I consider homework. What did you do? What do you mean? What do you get a waveform graph? You have one, or the plots of 10? If you have a parcel, what you get as the data type for the data in the chart? If you have more than one conspiracy, what do you get? What is the data type that accepts a waveform graph? Have you looked to see how that is defined?
For example, let's say you have a parcel on your chart. When you get the data, you get... a table 1 d of values. It's kind of logic, right? Well, what is the type of waveform data? It consists of a starting point, time delta between points and an array of values. Hmmmm... So, what about using the wave function of build? Just a thought...
-
How to use offset and multiplier in waveform graph?
Hello
I m using a waveform graph and I wanted to update its the x axis scale depending on the value of the multiplier. Also how this
shift multiplier formula n works (deltaX) * X + X 0? What is delta X and X?
Kind regards
vijtin
Hello
X 0 is the offset, and X is the multiplier. If the graph will start at an offset issue and will be aa at the time value delta multiplier.
for example
If you have these X-values normal: 0; 1; 2; 3; 4; 5 and a multiplier of 2 and 5 ofset you would get the result on the X - as = 5; 7; 9; 11; 13
Hope this helps
-
How to display more than two waveforms on a waveform graph?
Well, I have a question in the basics of waveform graphs. I have to post four waveforms simultaneously in my program. I can see two graphs on it, but when I try to display four waveforms, I get an error:
You have two or more data types of cluster wired together, but clusters have different types or numbers of items.
Cluster (unnamed), a group of 3 elements.
conflicts with graphic waveform cluster, a cluster of 2 elements.Is there anyway that I can change a graphic in waveform to a cluster of 4 elements? Because I borrowed this waveform of a VI example on waveform cards "Charts.vi", so I guess it must have been programmed to be a cluster of 2 elements.
I hope that I have my question clearly.
Thanks in advance
One of the problems that you have is that data from the DAQ assistant has a time stamp from now which is about 3 billion seconds
Data from the simulated signals has a time stamp based on the beginning of the acquisition which is about 0 seconds.
So, the table needs to be stretched early in LabVIEW time now to show all the data.
Change signals simulated so that the timestamp is the result of an absolute time, then you should be able to see all the signals.
-
Newbie - waveform graph axis graduation issue
Hi all
I'm new to studio of measure (v8.0 with .net c# 2005) sorry if this question has been answered 10 times more, please feel free to point me to a previous thread.
I have a request to:
drive voltage analog sampling at 10 Hz reading 1 sample per tick.
standard waveform graph axis X and Y and a plot as a collection of doubles.
So far, it's something pretty simple and I can get all this work in the code example.
My problem is that I want for my X axis to read between 0 and 1800 with the major divisions of 100 and minor divisions = 50. I would like for my actual graph however contain 10-point increments, so that would mean that there will be 500 points between each minor division.
I looked down through the properties of the axis and I can't enough find the properties that I need to set.
Can someone help me please.
Thanks in advance.
Steve
Hi Jamie.
Thanks for the reply. I spent all the update yesterday my system of measurement studio 2012 + Dev Studio 2010.
I put these settings, looking more closely at my data, I have a problem with my data acquisition analog voltage so I'll search through my solution and start a new thread, as I'm getting 3 times more data that I need, so it is causing my chart to be wrong.
Thanks again.
Steve
-
Hello
I want to trace the temperature change indicated by two thermocouples (that are connected to the analog input Module NI DAQmx) with repsect in time (two curves for thermocouple 1 and 2) on a graph unique waveform. Two thermocouples are connected to two channels separated in the module. Waveform graph must be shown in the before, but also exported to a worksheet.
I have grouped the entry of time and separately two thermocouples temperature readings. and then tried to build a cluster. However, I get an error message. Please see the attached VI helpme to achieve the desired results.
Thank you
Josée Vilas V
-
display constantly accumulating waveform graph
I read about 1000 points per iteration that I want to show a waveform graph. If I am just a digital picture in table of waveform, it shows a smooth wave sin and it looks at is just by adding new data to the former (a bit like a queue).
However, if I use a waveform, it replaces the previous data with a new one. I want to see 2 seconds of data at any given time, so just display 1000 points on a corner does not help.
I tried to join a waveform using the shift register and it shows the result that I want, but overtime, the size of the waveform gets very large and it slows down the system. I could implement a check of size and other things, but it's there
an easier way to do the input waveform behave a digital table entry?
I need to use waveforms because I want to stack several locations a TI provides an 'insufficient memory' picture if I use a 2D array.
Got, it works. Had to change the timestamp on each iteration.
-
Create multiple vertical lines for waveform graph
Hi all
I use NI 9234 USB vibration of rotating machinery data acquisition. A simple VI was made for this.
The next step is the analysis, signals were well displayed waveform, time, FFT, all important values... and so on.
But I have a problem with multi vertical lines of the waveform graphs, it looks very simple, and I tried many ways but have yet to get it with a good solution.
Vertical lines are used to display the frequency of breakdowns of machines (such as we post 1 X, 2 X, 3 X,... more harmonics).
Does anyone have a solution for this problem?
Thank you very much!!!
Here's a very quick example (LabVIEW 8.2)
-
Field of table to the waveform graph
Hi, I have a table I want it draw in a waveform graph. I tried to experiment with the wave function of building and others, but could not get anything out of it. And how to choose which points I would like to draw on the graph?
Thanks in advance.
You have only wired 2 signals, so just the two signals. If you need more, expand the node for merger signals and cable signals more to it.
5 and 6 are the numbers in column for Poly_M_Tem & TF_M_Temp, I had to delete the first column, as was the timestamps, and it was not necessary. It is so different from your 6 & 7.
Hope that makes sense.
-
horizontal line on waveform graph
Hello world!
I'm still new to Labview, but I am trying to add a horizontal line to a already established "histogram" on my graph of the waveform. How this code works is that it takes a force of a forceplate (this force Exchange) and trace it as a bar to the left of the graph target (it's their strength of target - height represents the amount of force they wish to exercise). Ideally, you would like these bars have the same height (the person exerting the force uses the same amount as their target). To make it a little easier for them to see the target height, I'm wanting to draw a horizontal line at the height of the target, but keep the bar chart so that they can see how far their strength exercised power comes from their target they grow stronger or softer. Is there an easy way to do this? Ideally I'd like the bar chart and line, but if there must be two lines (one for the target does not move and one for the force that would change) which is very good also.
Thank you for your advice and your entries!
Emily
Dear emmaline35,
you use a waveform graph, not a graphic. Graphic does not markers (which would be the most simple solution to mark the extreme).
There is a suggestion that I have not tried: http://lavag.org/topic/11199-adding-a-reference-line-to-a-waveform-chart/?p=67119 (some solitions partially work are suggested earlier in the thread, too)
Suggestion 2) If you need this marker (horizontal) and if your application is not computationally intensive (which does not seem so), I would use a chart and add a horizontal guide. That can be set programmatically: property node > XScale > [MarkerValues] but you will have to replot the graph for each newly received value.
See you soon,.
-
subprogram or cursor reference 'CUR_FEATURE' is out of range
Hi gurus,
Your help is greatly needed. I am trying to compile this function and get the below error.
Trying to set the code, could you please season here.
PL/SQL: Statement ignored
PLS-00225: subprogram or cursor reference 'CUR_FEATURE' is out of range
FUNCTION GET_TERMINAL_FEATURE_TYPE RETURN PROD. FEATURE_CUSTOM_LIST_TAB
ISvTerminal_Id PROD. TERMINAL SERVER. TYPE % TERMINAL_ID;
vCFTSELECT PROD. CUSTOM_FEATURE_TYPE. TYPE % FEATURE_TYPE_SELECT;
nPRECEDENCE PROD. CUSTOM_FEATURE_TYPE. PRIORITY % TYPE;
nWIRE_COMM_SEQ_ID PROD. WIRELESS_COMM_INFO. TYPE % WIRELESS_COMM_SEQ_ID;
vDESC PROD. WIRELESS_COMM_INFO. DESCRIPTION % TYPE;
nFEATURE_TYPE_ID PROD. FEATURE_TYPE. TYPE % FEATURE_TYPE_ID;TYPE CFT_SEL_REF_CUR IS REF CURSOR;
CFT_SEL_CUR CFT_SEL_REF_CUR;CUSTOM_FEATURE_TYPE_LIST PROD. FEATURE_CUSTOM_LIST_TAB: = PROD. FEATURE_CUSTOM_LIST_TAB();
CURSOR CUR_FEATURE (cvTERMINAL_ID PROD. TERMINAL SERVER. TERMINAL_ID % TYPE) IS
SELECT THE TSF. TERMINAL_FEATURE_ID, TF. FEATURE_TYPE_ID, FEATURE_SEQUENCE_ID ROWNUM
PROD. TERMINAL_FEATURE TF, PROD. TSF TERMINAL_SPEC_FEATURE
WHERE TF. TERMINAL_FEATURE_ID = TSF. TERMINAL_FEATURE_ID
AND TSF. TERMINAL_ID = cvTERMINAL_ID
ORDER BY TSF. TERMINAL_FEATURE_ID;CURSOR CUR_FEATURE_TYPE (cvFETAURE_TYPE_ID PROD. FEATURE_TYPE. FEATURE_TYPE_ID % TYPE) IS
SELECT FEATURE_TYPE_ID, FEATURE_SEQUENCE_ID, DISPLAY_VALUE, DATA_VALUE
OF FEATURE_TYPE
WHERE FEATURE_TYPE_ID = cvFETAURE_TYPE_ID
ORDER BY FEATURE_SEQUENCE_ID;
BEGIN
DBMS_OUTPUT. Put_line ("inside the function GET_TERMINAL_FEATURE_TYPE");
vTerminal_id: = PROD. TMS_GLOBAL_VARIABLES.gv_ref_Terminal_id;IF CUR_FEATURE. FEATURE_TYPE_ID > = 1000 THEN
-Make feature_type_id and feature_id for Terminal
FOR CUR_FEATURE_REC IN CUR_FEATURE (vTerminal_id)
LOOP
-Get the select query based on feature_type_id
SELECT FEATURE_TYPE_SELECT FROM vCFTSELECT
PROD. CUSTOM_FEATURE_TYPE
WHERE FEATURE_TYPE_ID = CUR_FEATURE_REC. FEATURE_TYPE_ID;
CFT_SEL_CUR OPEN for vCFTSELECT USING vTerminal_id;
LOOP
Search FOR CFT_SEL_CUR IN nWIRE_COMM_SEQ_ID, vDESC;
WHEN THE OUTPUT CFT_SEL_CUR % NOTFOUND;
CUSTOM_FEATURE_TYPE_LIST. EXTEND;
CUSTOM_FEATURE_TYPE_LIST (CUSTOM_FEATURE_TYPE_LIST. COUNTY)
: = FEATURE_CUSTOM_LIST_OBJ (vTerminal_id,
CUR_FEATURE_REC. TERMINAL_FEATURE_ID,
CUR_FEATURE_REC. FEATURE_SEQUENCE_ID,
vDESC,
nWIRE_COMM_SEQ_ID
);
END LOOP;
CLOSE CFT_SEL_CUR;
END LOOP;ON THE OTHER
FOR CUR_FEATURE_TYPE_REC IN CUR_FEATURE_TYPE (cvFETAURE_TYPE_ID)
LOOP
CUSTOM_FEATURE_TYPE_LIST. EXTEND;
CUSTOM_FEATURE_TYPE_LIST (CUSTOM_FEATURE_TYPE_LIST. COUNTY)
: = FEATURE_CUSTOM_LIST_OBJ (vTerminal_id,
CUR_FEATURE_TYPE_REC. FEATURE_TYPE_ID,
CUR_FEATURE_TYPE_REC. FEATURE_SEQUENCE_ID,
CUR_FEATURE_TYPE_REC. DISPLAY_VALUE,
CUR_FEATURE_TYPE_REC. DATA_VALUE
);
END LOOP;
END IF;
RETURN CUSTOM_FEATURE_TYPE_LIST;EXCEPTION WHEN OTHERS THEN
Lift;
END GET_TERMINAL_FEATURE_TYPE;Hello
The problem may be with this line
IF CUR_FEATURE. FEATURE_TYPE_ID > = 1000 THEN
You cannot reference columns of a cursor; you reference the columns of an instance of the slider. For example, inside the loop that begins
FOR CUR_FEATURE_REC IN CUR_FEATURE (vTerminal_id)
LOOP
It is valid to say
IF CUR_FEATURE_REC. FEATURE_TYPE_ID > = 1000 THEN
However, until you open an instance of the slider, he extracted all data (for example, FEATURE_TYPE_ID), therefore impossible to refer to the instance or its columns.
What exactly are you trying to do?
Maybe you are looking for
-
How can I move the address indicated when I point to a link on the page of the browser on the left and to the right of the footer of mozilla in the add-on bar where is jused to be in previous versions as icon or the weather icons of Personas?
-
The Task Manager - I'm trying to get rid of the programs and files unnecessary
I have more than 140 lines of running abuse. I'm trying to get rid of the programs and unnecessary files. When I am online the cpu is also the diagrams, and it doesn't take long before his stop at all Terry c
-
To anyone: I have a little a conundrum at the moment. It began with the fact that my laptop can find two strips on my network. So out of curiosity, I did what everyone else did and searched online. And I got the Dell support page to see if my laptop
-
Need help with problems of memory on Dell Inspiron 1750, Windows 7
Replaced the hard drive on my laptop. I am a woman trying to do it on my own to save money. When you perform tests on pc, message received "Advanced Pattern Test" failed. Would it because I made a mistake of downloading drivers, etc.? THANK YOU VE
-
Windows 7 Pro 32 bit - Sync Center conflict
I get the popup following "Can not open the details of the conflict" - the details of this conflict could not be opened. The conflict could no longer exist, the device, it occurred is unavailable, or may contain invalid data. The parameter is incorre