DIAdem 8.1: Integratio​n within a given interval
Hello,
i need to integrate within a given interval.
The integration function of DIAdem 8.1. just offers three parameters, none of them to define the interval.
Is there a better solution than copying the wanted interval and then integrate the "new" function or use a totals formation?
Thank you.
H.
Hi HFI,
To my knowledge your only option in DIAdem is to copy the desired interval into a new DIAdem channel and use the existing Integration function in DIAdem, which always operates on an entire channel.
Let us know if you need help with the interval copying,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Similar Messages
-
Query for Old Data that does not match New Data within a given time period
Hello all,
One of the reports I need to create is for all associates who went from one department to another within a given time period. The way I ran this report in Reportsmith (pulling from our old system) was to compare the dept field from the beginning date to the dept field at the end date and it would give me those associate's that had moved. I had to do it this way b/c dept changes can happen using several different types of actions (supv change, promotion, etc.), none of them exclusive to just dept changes. We are now using Oracle HRMS and I need to create this same report with this system using SQL.
Does anyone know how to compare data between two different dates and pull the ones that don't match? Your help will be GREATLY appreciated!
Warm Regards,
Yasmin E. Alberto
HRIS Analyst
[email protected]Hi, Yasmin,
In the sample data you posted, nobody changed departments between May 1 and May 11. In fact, there were no assignments of any kind between January 16 and May 17, so I wouldn't expect any output for that period.
A person (or rather, a duck) did change deptartments on May 20, so if you change the upper limit of the date range to
AND ASG_LAST_UPDATE_DATE < TO_DATE ('05/21/09', 'MM/DD/RR')you should see her.
You've probably noticed that this site likes to compress white-space.
To post formatted text (such as table results or indented code) type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing. -
How to capture the data within the given range of maximum and minimum values ? from csv files
My requirement,
1. Here, the user will provide the range like maximum and minimum values, based on this range, the VI should capture the data within the given range. ( from CSV file as attached )
2. Then VI should calcluate the average value for captured data and export it to excel.
This is my requirement can anyone help me on this.
Many thanks in advance
rc_cks
Attachments:
sample_short.csv 2439 KBHi,
Thanks for remnding me. I forgt to attach the VI,
Here I am attaching the VI, what I tried.
From attached CSV file, I have to find an average value for columns B,C,D,E,F,G,H,I and AJ, AK. ( data range will be defined by user ), focused only on these columns
Here, the scope is to calculate an average value for given data range by user as MAX and MIN data.
FYI: I tried manually for two instance i.e column H & I. As per H column one steady state values from 7500 to 10500 and similarly in I column 7875 to 10050. So, I gave these as a limit to capture and calculate the average value. But unfortunaltely, requirement has been modified as per below requirements.
More Info on requirement:
--> The user will define the range of data by giving some MAXIMUM and MINIMUM values(for above mentioned columns induvidually), then VI should capture that data range and it has to caculate the average value for that range of data. This is the task I have to complete.
--> I am stuck in creating a logic for data capturing for given range of MAX and MIN value from user,
Can anyone help me on this.
If my explanation is not clear, Please let me know.
Many thanks, help mw
rc
Attachments:
VI_rc.vi 25 KB
sample.zip 4166 KB -
How to avoid the same order in shuffle within a given playlist.
I know how to get the entire library to shuffle on the Nano. I [think I] have the Nano set to shuffle within a given playlist, but the order of the shuffling is always the same. I have tried turning off/on "shuffle songs" but the Nano maintains the same order within a given playlist.
Any suggestions?
Compaq Evo N1020v Windows XP laptopgo to settings>shuffle>menu>music>playlists>select a playlist>play a song see what happens.
Nano 4GB black,Moto RAZR V3 black, PSP, all kinds of cases for nano,radio/remote Windows XP <img src="http://i36.photobucket.com/albums/e13/superman5656/s.gif"align="right"</span> -
Ical: printing i.e. all mondays within a given timeframe?
hi there, i wonder if it is possible to print out all i.e. mondays within a given timeframe. i'd like to handout that to my students. could not find anything ... thank you for your help in advance. michael.
littlegreenmen13
I recently received help in this forum from KOENIG Yvan and WWJD regarding a spreadsheet for my pilot logbook. In one table I have my daily flying, and in another I wanted a summary of only the flight hours for a given month. I want to track how many hours I fly from month to month.
To do this I created a separate column (and later hid the column) which I titled "Month Cat" where only the month and year are extracted from the "Date" column.
This is the formula I used in Month Cat
=MONTH(A)& " "&YEAR(A)
For the monthly totals I had the table look for the appropriate match in "Month Cat" then total the flight hours from the "Duration of Flight" column. This is the formula I used to total the flying hours for the month of May.
=SUMIF(Logbook :: Month Cat,"=5 2008",Logbook :: Duration of Flight)
What I thought you could perhaps do is create a similar column to my Month Cat, except have it also extract the Day. Perhaps it would look something like this
=MONTH(A)& " "&DAY(A)& " " &YEAR(A)
Then use the SUMIF function to total the data you need from the appropriate dates. You say you have 13 weeks of Data, it does seem a bit cumbersome to sort through the particular days you need, though not impossible and perhaps it helps.
My ultimate disclaimer here is that I am very new to Numbers (and spreadsheets in general) so I might be totally missing a very important reason for not doing this. But maybe it'll help. -
How to restrict number of hits from a browser, within a specific interval.
Hi,
we have a web app in which user clicks on a specific submit continously. This fills up the server threads and other users trying to login either get a timeout or page not found. my questions ---
1. Is there a way to configure weblogic to timeout the httprequest and also the underlying thead which is doing the work.
2. Is there a way to restrict number of requests from a client within a specific interval..
thanks in advance..Hello Benita
Set the dialog type of your search help = 'A' (dialog depends on set of values).
Regards
Uwe -
Analyzing classes within a given .jar file
I want to write some code that will take a given .jar file and look through all of the classes defined within and pick out any classes that implement a couple of given interfaces. I've looked at the URLClassLoader class, but I don't really see how to get it to work. Anyone got any ideas?
I'm going to guess that your problem is getting a list of classes in the jar file in the first place. To do this, use classes and methods from the java.util.zip package and perhaps also the java.util.jar package.
-
Advice with a query to find Accounts with activities within a given period ONLY
Hello there,
I am relatively new to Microsoft T-SQL and I was wondering if someone could help shed some light into a requirement I got...
I have two tables in a database. One with accounts, and another with activities for such accounts. He is a simple diagram:
*NOTE: Dates are in the DD/MM/YYYY format.
Here is what I need to do:
I need to get a list of all the accounts where the LAST activity was created in a date range, along with a count of activities that fall in such range. The idea behind this is to find out accounts with no activity after a certain period.
I can certainly accounts with activities in a given range -- but that does not mean that there was no activities after the range.
For example, if I look for Accounts with activities between Feb/2014 and Mar/2014, this query should NOT return the Contoso account, because it ha an activity after Mar/2014 (i.e.: Meeting with John on 15/Apr/14).
Another example: If I query accounts with activities from 01/Jan/2014 and 03/Apr/2014, it should ONLY return the Adventureworks account:
Adventureworks (3)
[the number in parenthesis is the count of activities in that given time]
This is because all other accounts had activities after 03/Apr/2014.
Could someone please advise the best way to construct this query?
Thanks in advance for the help!
Regards,
P.SELECT * FROM tbl WHERE CreatiinDate BETWEEN @firstactivities AND lastactivites
AND NOT EXISTS
(SELECT * FROM tbl t WHERE CreatiinDate>=@lastactivites
AND
tbl.AccountID=T.AccountID )
OR
SELECT * FROM tbl WHERE
AccountID NOT IN (SELECT
AccountID FROM
tbl t WHERE CreatiinDate>@lastactivites)
AND CreationDate BETWEEN
@firstactivities AND lastactivites
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Please help, finding all zip codes within a given radius.
I have a table which contains zip, city, state, latdec, longdec, latrad, longrad.
From search screen, user want's to find all zip code's, within
10 mile radius of his zip code.
I came up with following sql but it is not correct:
First, find his latdec, longdec from his zipcode.
Then add radius to those values and do select as follows:
select zip,
latdec, longdec,
city, state, latrad, longrad
from zip_coord
where latdec >= (latdec - 10)
and latdec <= (latdec + 10)
and longdec >= (longdec - 10)and longdec <= (longdec + 10).
I think i need to include radians too, but i'm not able to come up with logical formula.
I would appreciate any help with this topic.
Thanks in advanceI am not sure I understand the gerography concept, but I think the query should be like this:
select zip, latdec, longdec,city, state, latrad, longrad
from zip_coord
where latdec between( select latdec from zip_record where zip='userinput', select latdec+10 from zip_record where zip='userinput')
and longdec between( select longdec from zip_record where zip='userinput', select longdec+10 from zip_record where zip='userinput')
and latrad between( select latrad from zip_record where zip='userinput', select latrad+10 from zip_record where zip='userinput')
and longrad between( select longrad from zip_record where zip='userinput', select longrad+10 from zip_record where zip='userinput')
Hope, it can help.
Aiping -
Sql help please with, finding all zip codes within a given radius.
I have a table which contains zip, city, state, latdec, longdec, latrad, longrad.
From search screen, if user want, zip code's within 10 mile radius of his zip code, what is the sql. I came up with following sql but it is not correct:
first, find his latdec long dec from his zipcode. Then add radius to those values and do select as follows:
select zip,
latdec, longdec,
city, state, latrad, longrad
from zip_coord
where latdec >= (latdec - 10)
and latdec <= (latdec + 10)
and longdec >= (longdec - 10)and longdec <= (longdec + 10).
I think i need to include radians too, but i'm not able to come up with logical formula.
I would appreciate any help with this topic.
Thanks in advancegautam ,
u probably need to use oracle spatial option and store geoCodes for each address as a column in the address table . then doing this will be easy -
Fetching information within the given date range
Hello All,
PLease can u help me in solving this : --
I need to fetch those employees who will complete 18 yrs within the date range specified.
For example, if date1 = 10/21/2008 and date2 = 11/03/2008
then i need to display information of all those employees whose birthday fall within the date range along with the date.
Thanks in advance !Hi,
16:58:25 b1>desc test1
Name Null? Type
AGE NUMBER
BDATE DATE
16:58:36 b1>SELECT * FROM test1
16:58:47 2 ;
AGE BDATE
18 23-OCT-08
17 23-NOV-08
16:58:48 b1>SELECT *
16:58:55 2 FROM test1
16:58:55 3 WHERE Bdate BETWEEN TO_DATE('21/10/2008','DD/MM/YYYY') AND TO_
DATE('30/10/2008','DD/MM/YYYY');
AGE BDATE
18 23-OCT-08- Pavan Kumar N -
Sum data for a given day within a given date range
Anyone know how to add data in a coulumn if the adjacent column meets a specific date range? For example I want to add up hours flown (pilot logbook) in each specific month on a seperate type.
Hi Jeff,
Here's a simple example of how you might do this. Before getting involved with the EOMONTH function you can try a less compact (but somewhat easier to understand) approach. Add Year and Month columns to your log. You can extract the values from the date using the MONTH and YEAR functions or just enter them manually. Then do something like this:
The formula in the B2 of the Year table, copied down, is:
=SUMIFS(Log::$E,Log::$A,A2)
The formula in C2 of the Month table, copied down, is:
=SUMIFS(Log::$E,Log::$A,A2,Log::$B,B2)
These two formulas look at the cell(s) to their left and pull the corresponding totals out of the Log table.
Think of the arguments within SUMIFS as first the column of data to be summed, followed by column-criteria pairs. The criteria are in the cells to the left. The columns are in the Log table.
SG -
Function Module to get a work center's capacity requirements (load) within a given period
Hi all experts,
Currently I’m doing a capacity summary report similar to CM01, but with a summarized capacity availability and loading for a period.
Selection Parameters: Work center range from and to, Period from and to
List Format: Work Center, Avail Capacity, Loaded Capacity, Free Capacity, Load %
I have found a standard function module (FM) to get work center's available capacity for a period, but still facing the challenge to find a FM to get a work center’s capacity requirements (load) in a period.
I have read through all the related threads from the web, and tested the recommended FMs, but still cannot get a right result.
Please help to provide some leads for a FM or the logic.
Best Regards
PhilipHello Philip
The following function modules should be useful:
- CY_PRIMARY_SELECTION - Function module for selection of orders for the work center
- CY_SECONDARY_SELECTION - Check for additional criteria
- CR_CAPACITY_AVAILABLE_PERIODS - Reads the available capacity from work center
- HR_PERSON_READ_TIME_INFO - Reads the available capacity from person (modification)
- CY_GET_PART_CAPACITY - used only for the first period to read backlog
- CY_LOAD_DISTRIBUTION - Distribution key
Please observe that these are simple function modules, not BAPIs, That means, they were developed to be used on the SAP internal programs and they are not supported by SAP when used in custom programs.
BR
Caetano -
Measure amplitude of a continuous signal within a given window of time
I'm working on an acqusition system that acquires a continuous 250kHz signal. My goal is to measure the peak-peak amplitude of the first signal response, the probelm with my setup is that the inital part of the signal is always larger than the part of the signal I'm intersted in. If I try to use the signal max pk-pk measurement VI it will repond with the pk-pk measurement of the initial part of the signal. See the attachment for a better understanding, I would still like to display the raw signal as is but I would like to measure the pk-pk voltage of the signal between the yellow cursors.
Thanks in advance...
Solved!
Go to Solution.
Attachments:
Capture.PNG 43 KBIf the initial transient always occurs in the first 12 microseconds, you can just use Array Subset or the similar Waveform function to extract the latter portion of the waveform. Then use the peak to peak measurement on that subset.
Lynn -
Problems computing dates within a given range based on conditions
Hello. I'm working on a part of a scheduling app and am having a problem with this one section. I tried doing some searches on this forum, but no one seems to be trying to compute anything similar to what I'm doing.
Basically, I have a select list with the values: "Every", "Every Other", "Every 1st", "Every 2nd", "Every 3rd", and "Every 4th". I also have a checkbox with the values for the days of the week, from Sunday to Saturday. What I'm trying to do is that if I have a start and an end date, how to compute which days (from the various combinations of the select list and checkbox items chosen) fall in this range. Are there any functions available to help with this task? Someone mentioned the next_day() function, but looking at that function it seems like this is still pretty complicated logic-wise. Is it, or am I missing something?Hi,
As Etbin said, if you can get dbms_scheduler (or some other supplied code) to do all or part of your job, that's the best thing to do.
Assuming you have to produce a list of targeted run dates, here's a SQL query that does that.
The query uses four bind variables:
(1) :start_dt, a date in DD-Mon-YYY format (other formats would work as well; easily modified)
(2) :end_dt
(3) :freq_txt, one of 'Every', 'Every Other', 'Every 1st', etc.
(4) :day_txt, a comma-delimited list of days wanted, e.g. 'Tue,Thu'. (They don't have to be in order. If you're using 3-letter English abbreviations, they don't really have to be delimited.)
I assume your app can produce these from the screen inputs.
WITH d AS
( -- Begin sub-query d to find all dates in range
SELECT TO_DATE (:start_dt, 'DD-Mon-YYYY') + LEVEL - 1 AS dt
FROM dual
CONNECT BY LEVEL <= TO_DATE (:end_dt, 'DD-Mon-YYYY')
+ 1
- TO_DATE (:start_dt, 'DD-Mon-YYYY')
) -- End sub-query d to find all dates in range
, w AS
( -- Being sub-query w to compute week_num
SELECT dt
, 1 + FLOOR ((dt - TRUNC (dt, 'MM')) / 7) AS week_num
FROM d
WHERE :day_txt LIKE '%' || TO_CHAR (dt, 'Dy') || '%'
) -- End sub-query w to compute week_num
SELECT TO_CHAR (dt, 'DD-Mon-YYYY Dy') AS run_dt
, week_num
FROM w
WHERE (:freq_txt = 'Every')
OR (:freq_txt = 'Every Other' AND week_num IN (1, 3, 5))
OR (:freq_txt = 'Every 1st' AND week_num = 1)
OR (:freq_txt = 'Every 2nd' AND week_num = 2)
OR (:freq_txt = 'Every 3rd' AND week_num = 3)
OR (:freq_txt = 'Every 4th' AND week_num = 4)
ORDER BY dt
;If you don't understand what the subqueries are doing, run them alone. (e.g. "WITH d AS (...) SELECT * FROM d;")
Maybe you are looking for
-
My phone is stuck on apple screen and i've tried to reboot it and connect it to my computer many times but it doesn't work. Can anybody help me?
-
In Word I constantly get the spinning wheel of death, wait a few seconds and then go again. I have tried force quit several times, restarting the IMac etc. Waited one day, nothing seems to work. What to try next?
-
HELP: Cannot refer to non-final variable inside inner class
Below is a function that WAS working beautifully. I had to restructure many things in my code base to suit a major change and I have to make this function static. Since I made this function static, I get some errors which are displayed in comments ne
-
Problem Rebuilding RAID set with 10.5?
I have 1 RAID set (mirrored with autorebuild) composed of 2 (identical) HD. I got a message in 10.5 Disk Utility that one disk had failed and that the set was degraded. I replaced the drive and I am getting an error message during the rebuild "Unreco
-
MTO consumption based planning how it works
Hi, I am using VB mrp type for some bom components with reorder points .when i run an MRP for header material with respect to a sales order/ line item it is planning for the materials with VB with out considering the reorder point with in my BOM c