I need autoscaling on a graph XY to ignore a parcel
I'm doing the autoscaling to ignore one of the three locations on a XY Chart. My program trace a set of data points, that approach and exceed a critical level. My chart has three parcels: under the limit points are green points, points above the limit are red dots, and the limit is a horizontal dotted line extending between two points. Initially, endpoints of the line have been established in the vicinity of the x-values of data. Autoscaling worked very well, of course, but the line analyses as well as the data they are traced. This limit is a fixed value, I like the line to stretch completely on the screen and stand still.
To this end, I put endpoints beyond the limits of the x values. Now, auto-scaling of the tracks with the endpoints of the line and the actual data are compacted in the middle of the graph. Is it possible I can forward the autoscaling only with data points and ignore the line, or is the best option, just write my own code, autoscaling?
Thank you!
You could wirte your own automatic scale, but I think is easier to do something to change your horizontal line of a parcel of a cursor. You can use the list property of cursor or active (the control graph) the cursor property to control positioning and the color of the cursor, and you have not to worry ever its end points (there no).
Chris
Tags: NI Software
Similar Questions
-
Hello
I would draw a graph for the following scenario:
When there is 00000, it will be replace with the value previous and plotted with a different color (red dot) & scroll x Auto scale put it there on the scale when the window frame.
Attach with my vi.
Thank you and best regards,
Simon
Hello!!
I have attached the solution to your problem.
It not work because when you scan the point that you use in your second chain makes a mistake (I'm sure you noticed that ).
In addition, you cannot create 2 plots in the way that you tried, you need a cluster of berries (X & Y) NO 2 bays of clusters, this is the reason, because you could not connect the wire to the XY graph.
If you need anything else don't hesitate to comment here .
Greetings from the Spain
Don't forget Bravo
-
Important - need help - multiple xy graph
Hi all
I join this messege a vi. It solves a diffrential equation. I works well
but I need to find the answer (o/p) (a) change of parameter and has the values (10 / 20-5-2 - 1 - 0.5 - 0.2) on the same graph, XY
OK thank you all.
thanls to smercurio_fc
I solve the task
I enclose the solution
-
Dear all,
Metric of history provide only 5 days Gratz, I'm looking graphics of VPN IPSEC tunnel for a month. Please help me how to get .or any configuration changes to the device of the SAA.
Enabling history Metrics
Configuration > Device Management > advanced > component history Metrics allows you to configure the
appliance of Adaptive Adaptive Security to keep a history of many statistics, which can display ASSISTANT Deputy Ministers
any chart/Table. If you do not select the parameters of the story, you can monitor the statistics in real time.
Allowing measures of history allows you to view graphs of statistics since the last 10 minutes, 60 minutes, 12 hours.
and 5 days.
To configure the settings of the story, do the following:
For that length of time evolution of the session, you will need to use external snmp server to collect these data
Cisco Security Manager can be used for this type of information
See presentation and Q & A sessions
http://www.Cisco.com/en/us/products/ps6498/tsd_products_support_series_home.html
More infromation on the control of the use of CSM
http://www.Cisco.com/en/us/products/ps6498/products_user_guide_list.html
You can ask the demo lic of Cisco CSM and try it, you will need Windows server to run it.
You can also try the 3rd party software like Firewall Analyzer management engine, they also have a limited demo
Concerning
-
Heey everybody, I have a small problem:
I want to create 1 chart XY which has several axis y (max 8), and they all have the same category axis. The thing I've tried is located in the annex of this post.
I think I must group each with the x axis y axis, but I'm not sure about this.
Thanks to you all.
Use context-sensitive help to quickly see what format you have over your data.
In your case to group each set of data with the time data and then your table beams.
-
Need help please. Graph of my computer is "stretched".
Hello everyone, I don't know exactly what I did but I am having the problem of my computer graphics "stretched" on (example: If a circle is now an oval) and do not know how to correct the situation. Would be eternally grateful to anyone who could help me solve this problem, as I'm pretty much computer illiterate. The computer is a desktop Dell Inspiron 530 running windows vista.
Hello
There are a few things you can try:
If a desktop computer and monitor there should be a button automatic reset on the monitor.
_________________________
Change the resolution of the screen;
http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution
_________________________
If that fixed it, go to the website of your computer manufacturer > drivers download Section > then key in your computer model number > find your operating system > find two graphics / video or from the Chipset drivers and download and install.
Dell:
http://www.Dell.com/support/home/us/en/19/product-support/product/Inspiron-530/drivers
Then try to change the screen resolution.
_________________________
Or do a system restore to before that happened.
http://bertk.MVPs.org/html/restoresysv.html
See you soon.
-
Trace graph XY forever hiding other parcels
Hello
I use a graph XY draw certain limits. These limits are indicated by the plot 0 and parcel 2 , that's why I put them to "Fill in positive and negative infinity" respectively.
It is, I now have another plot (trace 3) to display that fall into the 'limits' designed by plot 0 and 2. The result? Parcel 3 is covered almost entirely by the other plots with the "fill up to.." option.
TL; DR: is there a way to make the plot 3 display along its length without being under the filling for x infinite plots?
Current result:
Expected result:
Changing the order of the plots and setting limits to the end.
-
graph waveform of several sensors
Hi, I receive data from 50 sensors with a microcontroller. Data from the sensors are stored in LabVIEW in an array of cluster, each cluster containing a unique sensor info. I need to display a graph of trends of the curve of value 3 of all sensors, so that each sensor should be represented by a color. The data are updated every minute. Can someone help me please?
First of all, I'm sure you want a graphic, not a graphic. A graph keeps a history. A chart shows just the last thing you wrote for her.
Secondly, to make the building of the waveforms within the loop FOR. Makes things MUCH simpler.
-
Hi all
I want a graph that would act as a graphic...
What I mean is a graph that will update quite the same way as a table (band or scope). Why not simply use graph is because I need annotation of the graph (not availabable with chart) and I have to be able to scroll back and see the complete waveform from the beginning of the acquisition.
What I tried, it is to use 'Xscale - range - Start' properties and update each time I update my graphic. The problem is that we see this change so that the graphic is flashing (to resume, we see nothing).
What someone has an idea of how to implement something that would do the trick. I searched around, but without success.
Thanks in advance!
Vincent
I posted an example here. I can't watch it now, but it uses the same basic method that you do (but not with a waveform), and if my memory is not waver.
In any case, if you want to avoid the flickering, you can try to use the property of the Panel Defer Panel class updates. Set it before writing the value F and T after.
-
Hello
I have problem with my program.
I can't create a graph of my table...First of all, I read valuse of my file that looks like:
Power Density Power Frequency Voltage Current 25,334650E-6 36,900306E-6 190,825684E+0 862,942045E-9 864,983974E-9 24,206653E-6 35,157042E-6 190,825684E+0 827,446001E-9 882,577353E-9 25,580297E-6 36,612237E-6 190,825684E+0 851,907600E-9 863,375192E-9 25,898957E-6 36,910784E-6 190,825684E+0 824,207802E-9 829,508508E-9 26,401393E-6 34,364417E-6 190,825684E+0 807,872595E-9 821,918377E-9 25,830897E-6 34,823581E-6 190,825684E+0 813,358895E-9 836,582956E-9 24,849543E-6 35,491383E-6 197,160889E+0 813,544546E-9 880,989262E-9 25,744268E-6 34,769462E-6 197,160889E+0 826,847838E-9 837,655477E-9
Then, I want to create a chart of the first column. But it did not work...
What can I change in my program to solve my problem?
Concerning
Hi piotrek,.
Why do you read 'String' when you need numbers for a graph?
And what's the problem using only not Autocleanup before posting your diagram?
It could be as beautiful as that:
Your VI tells us: you need learn the AutoIndexing with loops, using effective functions (such as "+ 1") and read the LabVIEW help on each function.
After reading the help of LabVIEW yu could simplify your VI to this:
-
Hi, I create Share point 2010 pie chart with inside the label
but I need label outside the graph with the line of the representation.
Thanks in advance.
Hello
You can get help with Sharepoint in the following forums.
SharePoint products and Technologies - all Versions category: http://social.msdn.microsoft.com/Forums/en-us/category/sharepoint
Concerning
-
The multiplot XY graphs &; Data Types
Currently working on four tracing data sensors of pressure on a XY plot, but up to this impossible. In addition, I do not know if I use the correct data type.
As you can see in the image below, my code is taking measures of the DAQ Assistant and proceeds to divide the data into four signals before taking their average. My predecessor was thought to build a matrix of these signals of four split with what I suppose is the timestamp. The problem is that only one set of data being plotted right now. I tried to change the order of things that I use a cluster as my data type, but I always feel to get an error.
Recently I saw this webpage https://decibel.ni.com/content/docs/DOC-5129 for more help, but imitating the way they don't seem to work for my code.
Can anyone help?
All I see are 1 d arrays. A matrix in LabVIEW is special data type used for... you guessed it, matrix calculations. Do not use it interchangeably with table.
The main problem is that you send a single cluster in the XY graph, which means a single parcel. What you want is an array of clusters. The clusters will be a beam of table 1 d of timestamps and D 1 table of measures. But it is the hard way to do it, and this means you need to keep all your data as the tracks of the loop, with a lot of unbundling, build tables and rebundling. Crossrulz wrote a great nugget on How to use a sporadic data graphic , which makes things much easier, because the chart holds the story for you. Take a look at this post, and if you want to have several plots, you can just make a table of the waveforms, as I did below. Where you see the 'random number' dice, you will put your unique measurement data you acquire every time as the iteration of the loop. You can test the program by running and clicking on the Add Point"" button.
-
Make a graph that is customized by using the motion of the instrument and in real time
I am very new to LabVIEW and I need to make a graph or a table with the data being the movement of a device and the x data in real time. I know how to get the position of the instrument information and how to put in real time for the x axis, but I have no idea how to wire those things in a graph, what type of graph to use, or what other screws I need for the y - data. I have attached the page I'm working on that... It's kind of just a meli melo of things I thought that may be useful, but I obviously need help. Thanks in advance.
Have you so far in your VI, it seems you will ask some data on the location of your device on each iteration of the loop. In this case, you can use a waveform diagram in the while loop to display these points. Each new point will be added to the table as they come. You can do this by writing values to the table as you reach them inside the while loop. This link should also be able to clear up some confusion about the differences between the tables and charts in LabVIEW.
-
How to plot graphs with a different number of values
Hello guys,.
After a few hours, I have to give up and you ask for help.
The problem:
It must be possible to disregard some of the measured values. The measure and valid points should appear in the same graph (for example, the measured values of 'x' and valideded 'o' data. Valideded data would look like a circle with an 'x' in the middle).
So far so good.
The time difference between the measured data (dbl-table) is always the same (20-30 seconds).
I tried (see attachment):
If the measured value is not valid, I delete this value and change in this case the 'dt' in the waveform (see loop 2), if I get the data I want.
I tried different ways, but I can't to plot the data in a single chart (I think because the timedifference 'dt' is not the same)
You have an idea, how can I draw the graphs shown in 'graphic linear adjustment' and 'validated card data' in the same chart?
Maybe I need to use the "graph" and not "table"?
I chose graphic because it must be possible to hide/show each plot (but me, I'd work with graph as well)
I hope I described the problem well and you can help me. I'm sure, it's possible and probably easy, but I'm not
Thank you!!
Hi Alex,
do the old trick of NaN - !
-
I have a third-party site that transforms the information into a csv summary. I can't change the format, and they are not ready to give directly from db and db, so I try and then import it. I'm trying to use SQL Loader, but I can't seem to make it work. I looked in the documentation (VERY rare examples) as well as several websites and I can't find anything that can help out me.
Control file:
Note that the line WHEN is commented out, because I can't make it work.LOAD DATA INFILE 'Daily_Diagnostics_test.csv' BADFILE 'Diag_failed.csv' APPEND INTO TABLE ROAD_DIAGS FIELDS TERMINATED BY "," --WHEN VEHICLE != 'Vehicle' AND VEHICLE != 'Total' (VEHICLE, DRIVER, START_DATE, START_TIME, START_TZ, END_DATE, END_TIME, END_TZ, TM_DRV_MINS, TM_IDLE_MINS, TM_PTO_MINS, TRIP_TM_MINS, FUEL_DRV_GALS, FUEL_IDLE_GALS, FUEL_PTO_GALS, FUEL_TRIP_GALS, FUEL_START_GALS, MPG, DRV_MPG, START_ODOM, END_ODOM, DIFF_ODOM, AVG_MPH, MAX_MPH, MAX_RPM, DATE1, TM1, TZ1, ADDRESS_NUM1, ADDRESS_STREET1, ADDRESS_ST1, ADDRESS_ZIP1, ADDRESS_COUNTY1, DATE2, TM2, TZ2, ADDRESS_NUM2, ADDRESS_STREET2, ADDRESS_ST2, ADDRESS_ZIP2, ADDRESS_COUNTY2, STOP_CT, FAULT_CODE, HARD_BRAKE)
and here is a sample of the data:
As you can see, I need to have the SQL Loader to ignore the header and summary lines that appear for each grouping. Your suggestions are welcome as I need to implement this in an automatic process, I can call with a batch script.Vehicle,Driver,Start Date,Start Time,Timezone,End Date,End Time,Timezone,Driving (hh:mm),Idle (hh:mm),PTO (hh:mm),Trip (hh:mm),Driving (gals),Idle (gals),PTO (gals),Trip (gals),Before Trip (gals), MPG,Driving MPG,Start,End,Trip Distance (miles),Average(MPH),Maximum(MPH),Maximum RPM(rpm),Date,Time,Timezone,Address,Street,City,State,Zip,County,Date,Time,Timezone,Address,Street,City,State,Zip,County,Stop Count,Fault Code,Hard Brake, 26033, ,01/23/08,12:40 AM,MST,01/23/08,12:42 AM,MST,0,3,0,3,0,0.12,0,0.12, ,0,0,295829.22,295829.22,0,0,6.84, ,01/23/08,12:23 AM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,01/23/08,12:23 AM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,0,4, , 26033, ,01/23/08,12:43 AM,MST,01/23/08,04:03 AM,MST,126,74,0,200,0,0,0,0, ,0,0,295829.22,295914.97,85.75,25.72,67.11, ,01/23/08,12:23 AM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,01/23/08,03:56 AM,MST,0,COUNTY ROAD 125,SIDNEY,MT,59270,RICHLAND,8,3, , 26033, ,01/23/08,04:03 AM,MST,01/23/08,12:29 PM,MST,317,190,0,507,0,0,0,0, ,0,0,295914.97,296139.9,224.94,26.64,65.87, ,01/23/08,03:56 AM,MST,0,COUNTY ROAD 125,SIDNEY,MT,59270,RICHLAND,01/23/08,12:29 PM,MST,756,BELL RD,SIDNEY,MT,59270,RICHLAND,14,5, , Total, , , ,443,267,0,710,0,0.12,0,0.12, ,0,0,295829.22,296139.91,310.69,26.38,67.11, , , , , , , , , , , , , , , , , , , ,22,12,0, Vehicle,Driver,Start Date,Start Time,Timezone,End Date,End Time,Timezone,Driving (hh:mm),Idle (hh:mm),PTO (hh:mm),Trip (hh:mm),Driving (gals),Idle (gals),PTO (gals),Trip (gals),Before Trip (gals), MPG,Driving MPG,Start,End,Trip Distance (miles),Average(MPH),Maximum(MPH),Maximum RPM(rpm),Date,Time,Timezone,Address,Street,City,State,Zip,County,Date,Time,Timezone,Address,Street,City,State,Zip,County,Stop Count,Fault Code,Hard Brake, 26035, ,01/23/08,03:59 AM,MST,01/23/08,09:05 AM,MST,222,85,0,306,50.87,1.5,0,52.37, ,3.32,3.42,285056.53,285230.5,173.98,34.07,68.97, ,01/23/08,03:24 AM,MST,756,BELL RD,SIDNEY,MT,59270,RICHLAND,01/23/08,09:00 AM,MST,0,COUNTY ROAD 338,SAVAGE,MT,59262,RICHLAND,7,3, , 26035, ,01/23/08,09:06 AM,MST,01/23/08,03:37 PM,MST,273,118,0,391,68.5,1.5,0,70, ,3.24,3.31,285230.5,285457.3,226.8,34.8,69.59, ,01/23/08,09:00 AM,MST,0,COUNTY ROAD 338,SAVAGE,MT,59262,RICHLAND,01/23/08,03:37 PM,MST,756,BELL RD,SIDNEY,MT,59270,RICHLAND,11,3, , 26035, ,01/23/08,03:45 PM,MST,01/23/08,04:38 PM,MST,32,21,0,53,7.37,0.25,0,7.62, ,3.42,3.54,285457.3,285483.4,26.1,29.73,67.73, ,01/23/08,03:37 PM,MST,756,BELL RD,SIDNEY,MT,59270,RICHLAND,01/23/08,04:33 PM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,2,3, , 26035, ,01/23/08,04:49 PM,MST,01/23/08,10:22 PM,MST,256,76,0,332,52,1.25,0,53.25, ,3.71,3.8,285483.4,285681.0,197.6,35.67,64, ,01/23/08,04:33 PM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,01/23/08,10:17 PM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,9,3, , 26035, ,01/23/08,10:25 PM,MST,01/23/08,10:35 PM,MST,4,5,0,10,0.37,0,0,0.37, ,1.68,1.68,285681.0,285681.62,0.62,3.9,24.85, ,01/23/08,10:17 PM,MST,0,COUNTY ROAD 108,SAVAGE,MT,59262,RICHLAND,01/23/08,10:35 PM,MST,0,COUNTY ROAD 338,SAVAGE,MT,59262,RICHLAND,1,5, , Total, , , ,787,305,0,1092,179.11,4.5,0,183.61, ,3.4,3.49,285056.53,285681.62,625.1,34.35,69.59, , , , , , , , , , , , , , , , , , , ,30,17,0,
blarman74 wrote:
Can anyone suggest how to fix this problem? The log file shows this error:Record 8: Rejected - Error on table ROAD_DIAGS, column DATE2. ORA-01858: a non-numeric character was found where a numeric was expected
The error message is clear - you try to load a value "non-date" in a DATE column and, therefore, sql * loader berms.
That points to a discrepancy between the list of columns in the control file and, in the data file.
Note the position of the table of the "DATE2" column in the table "ROAD_DIAGS":test@XE> test@XE> l 1 select table_name, 2 column_name, 3 column_id 4 from user_tab_columns 5 where table_name='ROAD_DIAGS' 6* and column_name='DATE2' test@XE> / TABLE_NAME COLUMN_NAME COLUMN_ID --------------- --------------- ---------- ROAD_DIAGS DATE2 34 test@XE>
If your control file specifies that the 34th column in the data file must be "DATE2". However-
test@XE> test@XE> -- display the line number and the 34th column of the data file test@XE> test@XE> !perl -ne '{@a=split/,/; print $.,"\t",$a[33],"\n"}' Daily_Diagnostics_test.csv 1 County 2 RICHLAND 3 RICHLAND 4 RICHLAND 5 6 County 7 RICHLAND 8 RICHLAND 9 RICHLAND 10 RICHLAND 11 RICHLAND 12 test@XE>
the 34th column in your data file is 'COUNTY', which is counted in your control file.
Here is the list of the columns for 29 to 37 positions in the csv file:
test@XE> test@XE> !perl -ne '{if ($. == 1) {@a=split/,/; foreach $i (28..36) {print $i+1,"\t",$a[$i],"\n"}}}' Daily_Diagnostics_test.csv 29 Address 30 Street 31 City 32 State 33 Zip 34 County 35 Date 36 Time 37 Timezone test@XE> test@XE>
And here are the columns specified in the control file:
... ... ADDRESS_NUM1, ADDRESS_STREET1, ADDRESS_ST1, ADDRESS_ZIP1, ADDRESS_COUNTY1, DATE2 DATE "MM/DD/YYYY", TM2 DATE "HH:MI AM", TZ2, ... ...
(You can open the csv file in MS Excel to get a better picture of the data in there).
As seen above, due to the incompatibility, sql * loader loads 'City' in ADDRESS_ST1, 'State' in ADDRESS_ZIP1, "Zip" in ADDRESS_COUNTY1 and DATE2 "County" - where it error.
The solution would be-
(a) If you want to load the 'City' information from the data file, and then add the "City" column in the table (if nonexistent) and specify in the control file.
(b) If you do not want to load the 'City' information from the data file, you can specify a column to 'FILL' in the file of control as follows:
... ... ADDRESS_NUM1, ADDRESS_STREET1, city1 FILLER, ADDRESS_ST1, ADDRESS_ZIP1, ADDRESS_COUNTY1, DATE2 DATE "MM/DD/YYYY", TM2 DATE "HH:MI AM", TZ2, ADDRESS_NUM2, ADDRESS_STREET2, city2 FILLER, ADDRESS_ST2, ADDRESS_ZIP2, ADDRESS_COUNTY2, ... ...
Hope that helps,
isotope
Maybe you are looking for
-
Portege 30xx Win2K - need to bus master IDE driver
Hello! Could not find the driver, tried all the sites of Toshiba. The works of 10 times slower than expected :(hard drive Help, please. Thank you. Best regardsVitaly
-
The upgrade of the BIOS for Satellite A200 PSAF6A-07G01N
Hi all I'm trying to solve some problems on my mother in computer laptop laws and it looks like a few things low level. I want to do a BIOS update, as on other laptops of my this has solved similar problems. The problem I have is to find the good BIO
-
Start Windows lost after the partitioning of the disk next to Mac!
Hi, I've lost my windows boot after creating a small new partition in disk utility. Could someone help me pls?
-
Hello Could someone please see the/explain how I would get an entry port to light a lamp in labview. He 8 switches I need to turn it on. I'm confused how to convert digital true false? I have attached my VI and the picture of the physical installatio
-
What should I do to get windows vista on the new hard drive on the old, because I would like to upgrade to windows 7 since vista when I transferred transversely to the new.