Max and Min of successive summits with a different amplitude
Hello
I have a signal having different successive Max and Minima.ie each pic + / is having a different value.
I wanted to get successive + / maximum values of the. CSV file.
I'm done with the chart from .csv file, but I am not able to get values of crete please help.
What function can I use?
How about waveform peaks?
Check it out. Heres where it is:
Programming > Waveform > Analog Waveform > waveform measures > waveform monitoring
This is peaks and valleys (maxs and mn).
It will then display locations (x-value) and amplitue (value y) point.
Tags: NI Software
Similar Questions
-
Grouping data with dates of Max and Min problem
Ladies and gentlemen,
I have a problem that I have tried from different angles. It's probably very easy for some of you, or some of you may have met before, so any help on this is greatly appreciated. I will describe below.
I have the following data:
User station site code dstamp ref Qty
-------- --------- ---------- ------------- --------------------------------------------- ------- -------
Site_1 user_1 RPT104 Activity_1 16 May 11 13.43.06.566193000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.49.31.364224000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.49.47.413252000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.51.48.906793000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.51.56.947312000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.54.29.396052000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.54.37.444307000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.57.00.237546000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.57.04.285148000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.59.24.745162000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 13.59.44.774318000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 14.01.22.434940000 ref_1 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 14.01.51.291059000 ref_1 1125
Site_1 user_1 RPT104 Activity_2 16 May 11 14.05.23.572211000 ref_2 1125
Site_1 user_1 RPT104 Activity_1 16 May 11 14.06.01.058978000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.41.341612000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.375972000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.388699000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.401287000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.413361000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.425675000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.437360000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.449079000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.460697000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.472606000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.484031000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.495551000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.513645000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 16 May 11 14.06.49.530405000 ref_1 1125
and I'm looking for it in this format:
Site user station code start end ref Qty
-------- --------- ---------- ------------- --------------------------------------------- --------------------------------------------- ---------- -------
Site_1 user_1 RPT104 Activity_1 13.43.06.566193000 16 May 11 May 16, 11 14.05.23.572211000 ref_1 1125
Site_1 user_1 RPT104 Activity_2 14.05.23.572211000 16 May 11 May 16, 11 14.06.01.058978000 ref_2 1125
Site_1 user_1 RPT104 Activity_1 14.06.01.058978000 16 May 11 May 16, 11 14.06.41.341612000 ref_1 1125
Site_1 user_1 RPT104 Activity_3 14.06.41.341612000 16 May 11 (May 16, 11 14.06.49.530405000 + 4secs ref_1 1125)
either may 16, 11 14.06.53.530405000)
I can get the hours start and end without problem using data intial twice and it compensation by a rownum is but using the functions max and min based on the data that I get:
Site user station code start end ref Qty
-------- --------- ---------- ------------- --------------------------------------------- --------------------------------------------- ---------- -------
Site_1 user_1 RPT104 Activity_1 16 May 11 13.43.06.566193000 * May 16, 11 14.06.41.341612000 * ref_1 1125
Site_1 user_1 RPT104 Activity_2 14.05.23.572211000 16 May 11 May 16, 11 14.06.01.058978000 ref_2 1125
Site_1 user_1 RPT104 Activity_3 * 14.06.41.341612000 * 16 May 11 (May 16, 11 14.06.49.530405000 + 4secs ref_1 1125)
either may 16, 11 14.06.53.530405000)
who is missing on the 3rd line of the previous dataset (if everything goes well in fat after validation) and assigns the wrong time end.
I think the solution may have soemthing to do using the function dense_rank() (any ORDER by code, start) but I'm not too familiar with it and I think that the facts in the Start column data is unique it affects its functioning.
If anyone can offer any help or point me in the right direction I'll offer eternal grace and rest a drink we should never meet!
see you soon
Published by: MickyMick on June 7, 2011 03:21BobLilly wrote:
Tabibitosan of Aketi method can be applied here (see {: identifier of the thread = 1005478})Site_1 user_1 RPT104 Activity_1 2011-05-16 13.43.06.566193000 2011-05-16 14.05.23.572211000 ref_1 1125
Site_1 user_1 RPT104 Activity_2 2011-05-16 14.05.23.572211000 2011-05-16 14.06.01.058978000 ref_2 1125
Site_1 user_1 RPT104 Activity_1 2011-05-16 14.06.01.058978000 2011-05-16 14.06.41.341612000 ref_1 1125
Site_1 RPT104 Activity_3 2011-05-16 14.06.41.341612000 user_1 ref_1 14.06.45.341612000 2011-05-16 1125According to OP we may 16, 11 14.06.49.530405000 + 4secs. In any case, use method start_of_group:
With t as ( Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.43.06.566193000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.49.31.364224000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.49.47.413252000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.51.48.906793000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.51.56.947312000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.54.29.396052000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.54.37.444307000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.57.00.237546000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.57.04.285148000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.59.24.745162000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 13.59.44.774318000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 14.01.22.434940000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 14.01.51.291059000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_2' as Code , to_timestamp('16-MAY-11 14.05.23.572211000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_2' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_1' as Code , to_timestamp('16-MAY-11 14.06.01.058978000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.41.341612000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.375972000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.388699000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.401287000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.413361000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.425675000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.437360000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.449079000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.460697000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.472606000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.484031000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.495551000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.513645000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual union all Select 'Site_1' as Site, 'user_1' as Usr, 'RPT104' as Station, 'Activity_3' as Code , to_timestamp('16-MAY-11 14.06.49.530405000', 'DD-MON-RR HH24:MI:SS.FF') as DTStamp, 'ref_1' as Ref, 1125 as Qty from dual ), t1 as ( select t.*, lead(DTStamp,1,DTStamp + interval '4' second) over(order by DTStamp) ENDTS, case when lag(Site) over(order by DTStamp) = Site and lag(Usr) over(order by DTStamp) = Usr and lag(Station) over(order by DTStamp) = Station and lag(Code) over(order by DTStamp) = Code and lag(Ref) over(order by DTStamp) = Ref and lag(Qty) over(order by DTStamp) = Qty then 0 else 1 end start_of_group from t ), t2 as ( select t1.*, sum(start_of_group) over(order by DTStamp) grp from t1 ) select Site, Usr, Station, Code, min(DTStamp) STARTTS, max(ENDTS) ENDTS, Ref, Qty from t2 group by grp, Site, Usr, Station, Code, Ref, Qty order by STARTTS / SITE USR STATIO CODE STARTTS ENDTS REF QTY ------ ------ ------ ---------- ----------------------------------- ----------------------------------- ----- ---------- Site_1 user_1 RPT104 Activity_1 16-MAY-11 01.43.06.566193000 PM 16-MAY-11 02.05.23.572211000 PM ref_1 1125 Site_1 user_1 RPT104 Activity_2 16-MAY-11 02.05.23.572211000 PM 16-MAY-11 02.06.01.058978000 PM ref_2 1125 Site_1 user_1 RPT104 Activity_1 16-MAY-11 02.06.01.058978000 PM 16-MAY-11 02.06.41.341612000 PM ref_1 1125 Site_1 user_1 RPT104 Activity_3 16-MAY-11 02.06.41.341612000 PM 16-MAY-11 02.06.53.530405000 PM ref_1 1125 SQL>
SY.
-
in the header problem report the actual display Max and Min...
Hi guys,.
I have the following problem.
1. I have a multi selection prompt where you take 2 years.
2. I have the following columns. Year, month, Exp, calc YEAR (max), calc (min)
3. I need to get the months max and min across all lines. So far, I tried MAX, MIN, RMAX and RMIN without success. However, it is not picking up along all lines. For example,.
2001 1 100050 2001 2001
.....
2002 1 244005 2002 2002
I'm sure it has to do something with my aggregation in the computed column, but not quite sure where exactly.c max (max (year)) and min (min (year))
:)
-
Max and min to find examples of data
I'm discerning the max and min of cycle data values. We have about 20 data points for each cycle and I need make the max and min out of it. I tried to write a script for this but it takes way to long to run. Do not complete our largest files (over 1 million points of data) with my script and DIAdem crash. I also tried the peak built by finding functions, but they come with data points that are not max or min. Here is my script below:
Dim cyclemin
Dim cyclemax
Dim cyclecount
Dim displacementmax, displacementmin
Dim channelcount
Dim i, j, k, g, a, m
cyclemin = CMin ('Cycle Count')
cyclemax = CMax ('Cycle Count')
ChannelCount = 0
Call ChnAlloc ('Single Cycle Count',(cyclemax-cyclemin) + 1, 1, DataTypeFloat64)
Call ChnAlloc ("pressure min. sample",(cyclemax-cyclemin) + 1, 1, DataTypeFloat64)
Call ChnAlloc ("Sample pressure Max",(cyclemax-cyclemin) + 1, 1, DataTypeFloat64)
a = 1
For cyclecount = cyclemin to cyclemax
g = 1
ChannelCount = channelcount + 1
I = ChnFind ('Ch ()' ' Cycle Count"" "") = "& str (cyclecount)(,a)"
j = ChnFindReverse ("Ch (" 'Cycle Count) "" ") =" & str (cyclecount), CL ('Cycle Count')) "
Dial the ChnAlloc ("sample Pressure data retention", (d - i) + 1, 1, DataTypeFloat64 ')
For k = i j
ChD (g, "" data keeps the pressure of the sample "") = SMC (k, "Sample pressure")
g = g + 1
Next
Call the ChnCharacter (' "data keeps the pressure of the sample" ")
ChD (channelcount, ' Single Cycle Count "" ") = cyclecount
ChD (channelcount, "Max pressure sample") = CMax ("Data Hold sample pressure")
ChD (channelcount, "pressure min. sample") = CMin ("Data Hold sample pressure")
Call the ChnDelete (' "data keeps the pressure of the sample" ")
a = j
NextCan someone please help me find a way to do it quickly? Thank you.
Hello Steinmeister85
just in case you are using a newer version of DIAdem, here is an alternative solution.
Also, I used your example file and it concatenated 50 times to create a file which has about 560,000 values in each channel.
I run your script from a new one to get a reference number
Sample file
Original screenplay: 2.5 seconds
Optimized script: 0.2 seconds
50 x example file
Original screenplay: 111,493 seconds
Optimized script: 0.25 seconds
I have to admit that I've sorted the concatenated file. This way I have 216 cycle segments to be analyzed. If I simple concatenate files (without sorting) I get 50 x the number of segments and the new script takes about 9 seconds to execute. The original script doesn't work properly like you woul then have to repeat the cycle count numbers in different areas of the channel...
I hope that the new versions work for you.
Andreas
-
XY Graph-Y-scale visible on the scale of Y corresponding watch still false Max and Min
Hi guys,.
I use the XY graph to display the data with 3 Y-scales.
When I put any scale Y property visibility to False, its display even the Y scale Max and Min range lines in the plot area of the chart and cross line or additional parallel line with other visible scales.
Attached to the page Ref.
And I know that the cross-line may be due to different ranges of scales is defining. But the XY graph does not show the scales are invisible and possessions as well.
Please provide your suggestions to avoid this.
Scales and lines associated with these scales are separate properties. I've never tried and now I'm not in front of a computer, but should have properties for the definition of the grid line color. Implement transparent.
Mike...
-
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
my window is too far to the right and ive tried to get to the original size and it will until a certain point to the left. This leaves me unable to use the max and min and exit tabs
Hello
1. What is the brand and model of the computer?
2. is it a laptop or a desktop computer?
3. the problem occurs after leaving the game or program?
4 did you a recent software or changes to the material on the computer?
Method 1:
If this happens when you leave a game, I suggest you to follow the steps mentioned in the link and check.
Open the troubleshooter of display quality
http://Windows.Microsoft.com/en-us/Windows7/open-the-display-quality-Troubleshooter
Method 2:
I also suggest you go through the steps mentioned in the link and the Coachman.
Change your screen resolution
http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution
Method 3:
Step 1:
I also suggest you to check if the problem persists in safe mode.
Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode
Step 2:
You can also check if the problem persists in a clean boot state.
Clean boot:
This could happen if one of the substantive programmes is in conflict with the proper functioning of your computer. To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7 http://support.microsoft.com/kb/929135
Note: when you are finished troubleshooting, follow step 7 article to start the computer to a normal startup.
Hope this helps and keep us posted.
-
What is Server MT Max and min MT serve
Hi all
What is MT Max and Min MT servers means in Siebel?
Why we need to use it. ?
Please give me an idea on this
Concerning
RemyHere is an excerpt:
Our basic recommendation is to have 20 tasks by server of MT. (A server (Multi-Threaded) MT is equivalent to an operating system process).
Consider the expected number of concurrent users for the application in the application design phase. Although there may be a large number of potential users, a smaller number will be connected at one time. For the purposes of the following discussion, assume that there are 100 to 200 concurrent users.
There are a lot of variables to consider when you grant an object manager. This development should be discussed with Siebel Expert Services in the Production readiness review. Here are some variables to consider.
The number of concurrent users.
The duration of each user spends on the system during a session.
The session timeout.
The use of scripts.
Complexity of the application.
High usage time. (80% of users are online from 11:00 to 03:00)...
The parameters used for this component object Siebel Manager are as follows:
Maximum task = 300
Maximum MT servers = 15
Minimum MT servers = 5Maximum task represents the total number of concurrent users. Given that the expected number of concurrent users is between 100-200, that the parameter has been set to allow extra room for manoeuvre. This is important in order to allow the sessions which do not disconnect properly and so drag until the session timeout is reached. Session timeout can be set in the Web server and is usually set by default to 20 minutes.
Maximum MT servers is the total number of processes that can be run for this component. It is also used to calculate how many tasks can be performed on each process. The calculation is as follows:
Maximum task / Server MT = Maximum number of tasks per MT Server
300 / 15 = 20
As mentioned earlier, our basic recommendation is that the maximum task to MT Maximum servers report is 20. A widely configured or scripted application may require a smaller report.
Minimum server MT is used only when the Siebel server or component is started. This allows to determine how many process starting for this component. The only advantage it gives, it is that it reduces the initialization of the process time when a new MT server is required. In this example, 5 MT servers have been used because 100 users are expected. In this way, the system can handle 100 concurrent users before you have so that it starts a new process. -
7054 TDS query max and min measure
I seem to have difficulty querying for minimum and maximum measurements on my o'scope 7054 TDS. I have two meaurements on and if I question MEASU:MEAS1:TYP? He returned to MAX and back MIN for MEAS2. Yet, when I try to question the real value MEASU:MEAS1:MAX? It returns 99.000 + 36, which of course cannot be true. The strange thing is that the code works for the DPO4104. No idea what I am doing wrong? I have attached 2 sets of code, 1, that's how I activate measures on the scope, the other tries to query for max and min.
You must use ": MEASU:MEAS %dto?" to get your data (put the number in the %d). You ask in fact that the max best scope value recorded. It can keep some statistics on measures. Here are the commands that I use to get the data (even once, replace %d by the number of measure):
: %D MEASU:MEAS: DAT?
: MEASU:MEAS %d: UNI?The first order requested the actual data of the measure as well as the second units of measurement.
-
Hello
can someone show me how to make a max and min of a 2d array
I am oonly watching colum 0,1,2
the max of 0,1,2
the min of 0,1,2
in my example, it would be 13.612 is max and min 10.059
I think I must make two loop for, but I have not figured out how.
Thanks in advance.
super_saiyans wrote:
Yes. It can
but I don't want to look at the column 3,4,5
Subset of the table allows to remove.
-
AVG, max and min calculated from form data
I have two tables. One with the raw data and the other with summary data. There is a form which the raw data to column came in, and then click submit, I use a cfloop function to get the data in the same column in the table of raw data. I can't find an easy way to calculate the max, min and average values for the data that are in the raw data table that can be put in the summary data table. The data are customized according to the date and place.
This is the code to get the raw data into the table.
< CFLOOP INDEX = "onerow" FROM = "1" TO = "#form.numrows #" >
< CFQUERY NAME = "insertrawdata" DATASOURCE = 'test' >
INSERT INTO test.dbo.rawdata (locationid, date, data)
VALUES (' #form.locaitonid # ', #DateValue #, ' #Form ['data' & onerow] #")
< / CFQUERY >
< / CFLOOP >OK, well, do it in 2 queries then...
Select max (data) as max, min (data) as min, avg (data) like avg test.dbo.rawdata where locationid = ' #form.locationid # ' and date = #datevalue # group by locationid, date
insert into test.dbo.summarydata (locationid, date, max, min, avg)
values (' #form.locationid #', #datevalue #,)
(#getSummaryData.max #, #getSummaryData.min #, #getSummaryData.avg #)
-
scanning question (Min, Max and Min return)
I have a tunable laser that is supposed to make a sweep of the Min to Max and then back to min.
For some reason, it seems to be an additional step after the peak wavelength as shown below.
Strange is that it seems to happen only when I put a wavelength that has 1 decimal place or 4 decimals.
I'm relatively new to labVIEW, Please HELP? any advice would be helpful.
This looks like a problem of accuracy point. Each language beats in it.
What you need to do is to calculate how many steps to the top must be made and then make comparisons on the step number (an integer).
Also, why use the node formula? A structure matter would take care of the logic.
-
I have a special request, I'm looking for the max and, possibly, of the minutes of the date that the order was made.
EMP_ID Full_Name Date
1 Jim Smith 02/01/2011
1 Jim Smith 13/01/2011
1 Jim Smith 15/01/2011
2 Susan Morgan 20/02/2011
2 Susan Morgan 22/02/2011
2 Susan Morgan 25/02/2011
2 Susan Morgan 28/02/2011
So, if I have 2 tables Emp and joined by say Emp_id orders and I need the elements following result set
EMP_ID Full_Name Date max (date) min (date)
1 Jim Smith 1/2/2011 1/15/2011 1/2/2011
1 Jim Smith 1/13/2011 1/15/2011 1/2/2011
1 Jim Smith 1/15/2011 1/15/2011 1/2/2011
2 Susan Morgan 2/20/2011 2/28/2011 2/20/2011
2 Susan Morgan 2/22/2011 2/28/2011 2/20/2011
2 Susan Morgan 2/25/2011 2/28/2011 2/20/2011
2 Susan Morgan 2/28/2011 2/28/2011 2/20/2011
It is a simplified query that my orginal query has more columns that I have to choose and more tables. I don't know if I can use a select group on because I would have to force all the columns and that would be just grap date unique columns max since I bring together down the lineHello
Oracle_Rookie wrote:
... I don't know if I can use a select group on because I would have to force all the columns and that would be just grap date unique columns max since I bring together down the lineYes, probably do not want to use GROUP BY. Use more Analytics MIN and MAX fucntions. For example:
SELECT deptno , ename , hiredate , MAX (hiredate) OVER (PARTITION BY deptno) AS last_in_dept FROM scott.emp ORDER BY deptno , hiredate ;
Output:
` DEPTNO ENAME HIREDATE LAST_IN_D ---------- ---------- --------- --------- 10 CLARK 09-JUN-81 23-JAN-82 10 KING 17-NOV-81 23-JAN-82 10 MILLER 23-JAN-82 23-JAN-82 20 SMITH 17-DEC-80 23-MAY-87 20 JONES 02-APR-81 23-MAY-87 20 FORD 03-DEC-81 23-MAY-87 20 SCOTT 19-APR-87 23-MAY-87 20 ADAMS 23-MAY-87 23-MAY-87 30 ALLEN 20-FEB-81 03-DEC-81 30 WARD 22-FEB-81 03-DEC-81 30 BLAKE 01-MAY-81 03-DEC-81 30 TURNER 08-SEP-81 03-DEC-81 30 MARTIN 28-SEP-81 03-DEC-81 30 JAMES 03-DEC-81 03-DEC-81
Most of the aggregates fucntions have analytical counterparts, which can give you the same results without collapsing the entire down to one line per result group. The analytical PARTITION BY clause matches the GROUP BY clause in an aggregate query.
I hope that answers your question.
If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
Make the sample data as simple as you can, so it has the same problem that occurs in your actual query.
Explain, using specific examples, how you get these results from these data.
Always tell what version of Oracle you are using.Published by: Frank Kulash, March 15, 2011 12:50
-
Time series: finding max and min for each month
Hello world. I'm working on a datasheet that has collected the data points for all day for the past 15 years.
A column stores the date and column B contains a numeric value.
I want to do the following:
Create a new table (call it table #2) that:
(1) is now a time series on a monthly basis (column A contains "year month"). This is why the table contains a header and 15 * 12 = 60 rows of data
(2) B Col contains the Max value of this month.
(3) C Col contains the value this month min
Table #2 should be calculated automatically because I need to find these values for several series. Any ideas?
Here is a way that I came up with
In the table above, your original data is in columns B and C.
I've added three additional columns (A, D and E):
D2 = Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)
It's shorthand dethrone select D2, and type (or copy and paste it here) the formula:
= Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)
E2 = IF (D1≠D2, 0, E1 + 1).
Select copy of D2 to E2,
Select cells D2 at the end of column E, block
A2 = D2 & NUMTOBASE (E2, 10, 2)
Select A2, copy
Select A2 at the end of the A2 column, paste
now create a second table summary as shown:
For 'Summary Table 2016:
the first four lines are the lines of header
There are 35 total lines
Enter the year in cell B1
A5 = −4 LINE)
B5 = SIERREUR (VLOOKUP ($B$ 1 & NUMTOBASE(B$4,10,2) & NUMTOBASE($A5,10,2), data: $A:$ C, 3, 0), "")
Select cell B5, copy
Select cells B5 at the end of row 5, dough
Select A5 thru M5, copy
Select cell A5 at the end of the M column, paste
B2 = MIN (B)
B3 = MAX (B)
Select the cells B2 to B2, copy
Select the cells B2 through M3, dough
now duplicate the table and change the year to 2015 for the next year.
You can duplicate this table as necessary to summarize a year
-
read the max and min of each column value
Dear qudoe
I'm doing a program in labview that challenge me to fight with a time.
Here, I enclose my labview code in which I have a data file, which includes 500 columns that I need to find the values min and max of each column.
I tried my best, but it takes 30 seconds to find the min and max value of each column.
I want to do this in less than a second.
so can anyone suggest me any necessary correction that can stimulate my program.
You don't have to open and close the file in a loop all the time and also you don't really need some time for this. Check the related code.
Of course, you can still optimize it for best performance, I just did a quick project to show how simple it is.
Maybe you are looking for
-
I'm trying to set up the WiFi the printer above and I wonder since a number of WPA2 and I don't know what it is or where to find it. Suggestions, please?
-
I have a new computer of windows7, I want to do networking with an old vista machine. I get the error message "the specified service does not exist as an installed service." What can I do?
-
3G - connected but no internet
Hi guys,. I am owner of a fee of xoom tablet. I am very happy with the product, however, I seem to be unable to make connection to the internet using my SIM card mobile broadband Vodaphone Australia. When the card is inserted and no table of tha avai
-
Smart phone BlackBerry Smartphones as flashlight
Have the curve 8330 from Sprint. The built-in light is very bright and there are times where I could use it as a flashlight. Is it possible to maintain the light to my choice.
-
Session of Rich Media of license for the highway
I bought 32 RM license for the highway, but I do not know how to apply it to expressway. That is right, seeks license all on Exp - E or applying all about Exp - C or seeking half on Exp.-e. and a half on Exp.-c. Thank you.