Time column problem
Hello,
Attached you will find the vi. What I've done is: Within a while loop I have put a case structure which changes state when time of my experiment is elapsed. While the time has not elapsed, I get measurements from two thermocouples(right now i've replaced with two random number generators) using a for loop(6 iterations, every 10 sec), and logging my data to a txt file. I've managed to add headers and then append the data. However, I am currently struggling to add time, for example after the first collection of data, i want the time column to show in the first line 10(sec), second 20 and so on. I've tried with the timing functions but i just get a constant number probably in milliseconds. Can you help me add proper timing reference with respect to built vi?
Thanks very much,
Ioannis
Attachments:
savetotext3.vi 185 KB
Hi ionannis,
where's the problem to convert ms to s?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
Select true date from week/day/time columns
the scenario
i have a table with 4 columns
weekno
dayno
start
finish
w d st ft
1 1 0 0
1 2 480 990
1 3 480 990
1 4 480 990
1 5 480 990
1 6 480 930
1 7 480 720
2 1 0 0
2 2 480 990
2 3 480 990
2 4 480 990
2 5 480 990
2 6 480 930
2 7 480 720
3 1 0 0
3 2 480 990
3 3 480 990
3 4 480 990
3 5 480 990
3 6 480 930
3 7 480 720
etc, etc for every day in the year.
the 3rd and 4th columns are minutes but in decimal time.
the problem
what i require is a query to return 2 date columns a start datetime and an end datetime, but from today forward for 365 days (every row) in 'DD-MM-RR HH24-MI' format
eg
'10-04-08 08:00' ''10-04-08 16:30'
'11-04-08 08:00' ''11-04-08 12:00'
'12-04-08 08:00' ''12-04-08 12:00'
followed by 364 other days a year from today.
hope this makes sense.
any help appreciated
cheersby using
to_char(TRUNC(sysdate, 'I') + 7 *(wages2_wk_no -1) + wages2_dayno-2 + wages2_n_st / 60 / 24, 'DD-MM-YYYY HH24:MI') start_date,
to_char(TRUNC(sysdate, 'I') + 7 *(wages2_wk_no -1) + wages2_dayno-2 + wages2_n_end / 60 / 24, 'DD-MM-YYYY HH24:MI') end_date
i achieved the following. which is correct from today onward (in bold), but anything before today should should follow through to 2009 if that makes sense...
1 1 SUN 30-12-2007 00:00 30-12-2007 00:00
1 2 MON 31-12-2007 08:00 31-12-2007 16:30
1 3 TUE 01-01-2008 08:00 01-01-2008 16:30
1 4 WED 02-01-2008 08:00 02-01-2008 16:30
1 5 THU 03-01-2008 08:00 03-01-2008 16:30
1 6 FRI 04-01-2008 08:00 04-01-2008 15:30
1 7 SAT 05-01-2008 08:00 05-01-2008 12:00
2 1 SUN 06-01-2008 00:00 06-01-2008 00:00
2 2 MON 07-01-2008 08:00 07-01-2008 16:30
2 3 TUE 08-01-2008 08:00 08-01-2008 16:30
2 4 WED 09-01-2008 08:00 09-01-2008 16:30
2 5 THU 10-01-2008 08:00 10-01-2008 16:30
2 6 FRI 11-01-2008 08:00 11-01-2008 15:30
2 7 SAT 12-01-2008 08:00 12-01-2008 12:00
3 1 SUN 13-01-2008 00:00 13-01-2008 00:00
3 2 MON 14-01-2008 08:00 14-01-2008 16:30
3 3 TUE 15-01-2008 08:00 15-01-2008 16:30
3 4 WED 16-01-2008 08:00 16-01-2008 16:30
3 5 THU 17-01-2008 08:00 17-01-2008 16:30
3 6 FRI 18-01-2008 08:00 18-01-2008 15:30
3 7 SAT 19-01-2008 08:00 19-01-2008 12:00
4 1 SUN 20-01-2008 00:00 20-01-2008 00:00
4 2 MON 21-01-2008 08:00 21-01-2008 16:30
4 3 TUE 22-01-2008 08:00 22-01-2008 16:30
4 4 WED 23-01-2008 08:00 23-01-2008 16:30
4 5 THU 24-01-2008 08:00 24-01-2008 16:30
4 6 FRI 25-01-2008 08:00 25-01-2008 15:30
4 7 SAT 26-01-2008 08:00 26-01-2008 12:00
5 1 SUN 27-01-2008 00:00 27-01-2008 00:00
5 2 MON 28-01-2008 08:00 28-01-2008 16:30
5 3 TUE 29-01-2008 08:00 29-01-2008 16:30
5 4 WED 30-01-2008 08:00 30-01-2008 16:30
5 5 THU 31-01-2008 08:00 31-01-2008 16:30
5 6 FRI 01-02-2008 08:00 01-02-2008 15:30
5 7 SAT 02-02-2008 08:00 02-02-2008 12:00
6 1 SUN 03-02-2008 00:00 03-02-2008 00:00
6 2 MON 04-02-2008 08:00 04-02-2008 16:30
6 3 TUE 05-02-2008 08:00 05-02-2008 16:30
6 4 WED 06-02-2008 08:00 06-02-2008 16:30
6 5 THU 07-02-2008 08:00 07-02-2008 16:30
6 6 FRI 08-02-2008 08:00 08-02-2008 15:30
6 7 SAT 09-02-2008 08:00 09-02-2008 12:00
7 1 SUN 10-02-2008 00:00 10-02-2008 00:00
7 2 MON 11-02-2008 08:00 11-02-2008 16:30
7 3 TUE 12-02-2008 08:00 12-02-2008 16:30
7 4 WED 13-02-2008 08:00 13-02-2008 16:30
7 5 THU 14-02-2008 08:00 14-02-2008 16:30
7 6 FRI 15-02-2008 08:00 15-02-2008 15:30
7 7 SAT 16-02-2008 08:00 16-02-2008 12:00
8 1 SUN 17-02-2008 00:00 17-02-2008 00:00
8 2 MON 18-02-2008 08:00 18-02-2008 16:30
8 3 TUE 19-02-2008 08:00 19-02-2008 16:30
8 4 WED 20-02-2008 08:00 20-02-2008 16:30
8 5 THU 21-02-2008 08:00 21-02-2008 16:30
8 6 FRI 22-02-2008 08:00 22-02-2008 15:30
8 7 SAT 23-02-2008 08:00 23-02-2008 12:00
9 1 SUN 24-02-2008 00:00 24-02-2008 00:00
9 2 MON 25-02-2008 08:00 25-02-2008 16:30
9 3 TUE 26-02-2008 08:00 26-02-2008 16:30
9 4 WED 27-02-2008 08:00 27-02-2008 16:30
9 5 THU 28-02-2008 08:00 28-02-2008 16:30
9 6 FRI 29-02-2008 08:00 29-02-2008 15:30
9 7 SAT 01-03-2008 08:00 01-03-2008 12:00
10 1 SUN 02-03-2008 00:00 02-03-2008 00:00
10 2 MON 03-03-2008 08:00 03-03-2008 16:30
10 3 TUE 04-03-2008 08:00 04-03-2008 16:30
10 4 WED 05-03-2008 08:00 05-03-2008 16:30
10 5 THU 06-03-2008 08:00 06-03-2008 16:30
10 6 FRI 07-03-2008 08:00 07-03-2008 15:30
10 7 SAT 08-03-2008 08:00 08-03-2008 12:00
11 1 SUN 09-03-2008 00:00 09-03-2008 00:00
11 2 MON 10-03-2008 08:00 10-03-2008 16:30
11 3 TUE 11-03-2008 08:00 11-03-2008 16:30
11 4 WED 12-03-2008 08:00 12-03-2008 16:30
11 5 THU 13-03-2008 08:00 13-03-2008 16:30
11 6 FRI 14-03-2008 08:00 14-03-2008 15:30
11 7 SAT 15-03-2008 08:00 15-03-2008 12:00
12 1 SUN 16-03-2008 00:00 16-03-2008 00:00
12 2 MON 17-03-2008 08:00 17-03-2008 16:30
12 3 TUE 18-03-2008 08:00 18-03-2008 16:30
12 4 WED 19-03-2008 08:00 19-03-2008 16:30
12 5 THU 20-03-2008 08:00 20-03-2008 16:30
12 6 FRI 21-03-2008 08:00 21-03-2008 15:30
12 7 SAT 22-03-2008 08:00 22-03-2008 12:00
13 1 SUN 23-03-2008 00:00 23-03-2008 00:00
13 2 MON 24-03-2008 08:00 24-03-2008 16:30
13 3 TUE 25-03-2008 08:00 25-03-2008 16:30
13 4 WED 26-03-2008 08:00 26-03-2008 16:30
13 5 THU 27-03-2008 08:00 27-03-2008 16:30
13 6 FRI 28-03-2008 08:00 28-03-2008 15:30
13 7 SAT 29-03-2008 08:00 29-03-2008 12:00
14 1 SUN 30-03-2008 00:00 30-03-2008 00:00
14 2 MON 31-03-2008 08:00 31-03-2008 16:30
14 3 TUE 01-04-2008 08:00 01-04-2008 16:30
14 4 WED 02-04-2008 08:00 02-04-2008 16:30
14 5 THU 03-04-2008 08:00 03-04-2008 16:30
14 6 FRI 04-04-2008 08:00 04-04-2008 15:30
14 7 SAT 05-04-2008 08:00 05-04-2008 12:00
15 1 SUN 06-04-2008 00:00 06-04-2008 00:00
15 2 MON 07-04-2008 08:00 07-04-2008 16:30
15 3 TUE 08-04-2008 08:00 08-04-2008 16:30
15 4 WED 09-04-2008 08:00 09-04-2008 16:30
15 5 THU 10-04-2008 08:00 10-04-2008 16:30
15 6 FRI 11-04-2008 08:00 11-04-2008 15:30
15 7 SAT 12-04-2008 08:00 12-04-2008 12:00
16 1 SUN 13-04-2008 00:00 13-04-2008 00:00
16 2 MON 14-04-2008 08:00 14-04-2008 16:30
16 3 TUE 15-04-2008 08:00 15-04-2008 16:30
16 4 WED 16-04-2008 08:00 16-04-2008 16:30
16 5 THU 17-04-2008 08:00 17-04-2008 16:30
16 6 FRI 18-04-2008 08:00 18-04-2008 15:30
16 7 SAT 19-04-2008 08:00 19-04-2008 12:00
17 1 SUN 20-04-2008 00:00 20-04-2008 00:00
17 2 MON 21-04-2008 08:00 21-04-2008 16:30
17 3 TUE 22-04-2008 08:00 22-04-2008 16:30
17 4 WED 23-04-2008 08:00 23-04-2008 16:30
17 5 THU 24-04-2008 08:00 24-04-2008 16:30
17 6 FRI 25-04-2008 08:00 25-04-2008 15:30
17 7 SAT 26-04-2008 08:00 26-04-2008 12:00
18 1 SUN 27-04-2008 00:00 27-04-2008 00:00
18 2 MON 28-04-2008 08:00 28-04-2008 16:30
18 3 TUE 29-04-2008 08:00 29-04-2008 16:30
18 4 WED 30-04-2008 08:00 30-04-2008 16:30
18 5 THU 01-05-2008 08:00 01-05-2008 16:30
18 6 FRI 02-05-2008 08:00 02-05-2008 15:30
18 7 SAT 03-05-2008 08:00 03-05-2008 12:00
19 1 SUN 04-05-2008 00:00 04-05-2008 00:00
19 2 MON 05-05-2008 08:00 05-05-2008 16:30
19 3 TUE 06-05-2008 08:00 06-05-2008 16:30
19 4 WED 07-05-2008 08:00 07-05-2008 16:30
19 5 THU 08-05-2008 08:00 08-05-2008 16:30
19 6 FRI 09-05-2008 08:00 09-05-2008 15:30
19 7 SAT 10-05-2008 08:00 10-05-2008 12:00
20 1 SUN 11-05-2008 00:00 11-05-2008 00:00
20 2 MON 12-05-2008 08:00 12-05-2008 16:30
20 3 TUE 13-05-2008 08:00 13-05-2008 16:30
20 4 WED 14-05-2008 08:00 14-05-2008 16:30
20 5 THU 15-05-2008 08:00 15-05-2008 16:30
20 6 FRI 16-05-2008 08:00 16-05-2008 15:30
20 7 SAT 17-05-2008 08:00 17-05-2008 12:00
21 1 SUN 18-05-2008 00:00 18-05-2008 00:00
21 2 MON 19-05-2008 08:00 19-05-2008 16:30
21 3 TUE 20-05-2008 08:00 20-05-2008 16:30
21 4 WED 21-05-2008 08:00 21-05-2008 16:30
21 5 THU 22-05-2008 08:00 22-05-2008 16:30
21 6 FRI 23-05-2008 08:00 23-05-2008 15:30
21 7 SAT 24-05-2008 08:00 24-05-2008 12:00
22 1 SUN 25-05-2008 00:00 25-05-2008 00:00
22 2 MON 26-05-2008 08:00 26-05-2008 16:30
22 3 TUE 27-05-2008 08:00 27-05-2008 16:30
22 4 WED 28-05-2008 08:00 28-05-2008 16:30
22 5 THU 29-05-2008 08:00 29-05-2008 16:30
22 6 FRI 30-05-2008 08:00 30-05-2008 15:30
22 7 SAT 31-05-2008 08:00 31-05-2008 12:00
23 1 SUN 01-06-2008 00:00 01-06-2008 00:00
23 2 MON 02-06-2008 08:00 02-06-2008 16:30
23 3 TUE 03-06-2008 08:00 03-06-2008 16:30
23 4 WED 04-06-2008 08:00 04-06-2008 16:30
23 5 THU 05-06-2008 08:00 05-06-2008 16:30
23 6 FRI 06-06-2008 08:00 06-06-2008 15:30
23 7 SAT 07-06-2008 08:00 07-06-2008 12:00
24 1 SUN 08-06-2008 00:00 08-06-2008 00:00
24 2 MON 09-06-2008 08:00 09-06-2008 16:30
24 3 TUE 10-06-2008 08:00 10-06-2008 16:30
24 4 WED 11-06-2008 08:00 11-06-2008 16:30
24 5 THU 12-06-2008 08:00 12-06-2008 16:30
24 6 FRI 13-06-2008 08:00 13-06-2008 15:30
24 7 SAT 14-06-2008 08:00 14-06-2008 12:00
25 1 SUN 15-06-2008 00:00 15-06-2008 00:00
25 2 MON 16-06-2008 08:00 16-06-2008 16:30
25 3 TUE 17-06-2008 08:00 17-06-2008 16:30
25 4 WED 18-06-2008 08:00 18-06-2008 16:30
25 5 THU 19-06-2008 08:00 19-06-2008 16:30
25 6 FRI 20-06-2008 08:00 20-06-2008 15:30
25 7 SAT 21-06-2008 08:00 21-06-2008 12:00
26 1 SUN 22-06-2008 00:00 22-06-2008 00:00
26 2 MON 23-06-2008 08:00 23-06-2008 16:30
26 3 TUE 24-06-2008 08:00 24-06-2008 16:30
26 4 WED 25-06-2008 08:00 25-06-2008 16:30
26 5 THU 26-06-2008 08:00 26-06-2008 16:30
26 6 FRI 27-06-2008 08:00 27-06-2008 15:30
26 7 SAT 28-06-2008 08:00 28-06-2008 12:00
27 1 SUN 29-06-2008 00:00 29-06-2008 00:00
27 2 MON 30-06-2008 08:00 30-06-2008 16:30
27 3 TUE 01-07-2008 08:00 01-07-2008 16:30
27 4 WED 02-07-2008 08:00 02-07-2008 16:30
27 5 THU 03-07-2008 08:00 03-07-2008 16:30
27 6 FRI 04-07-2008 08:00 04-07-2008 15:30
27 7 SAT 05-07-2008 08:00 05-07-2008 12:00
28 1 SUN 06-07-2008 00:00 06-07-2008 00:00
28 2 MON 07-07-2008 08:00 07-07-2008 16:30
28 3 TUE 08-07-2008 08:00 08-07-2008 16:30
28 4 WED 09-07-2008 08:00 09-07-2008 16:30
28 5 THU 10-07-2008 08:00 10-07-2008 16:30
28 6 FRI 11-07-2008 08:00 11-07-2008 15:30
28 7 SAT 12-07-2008 08:00 12-07-2008 12:00
29 1 SUN 13-07-2008 00:00 13-07-2008 00:00
29 2 MON 14-07-2008 08:00 14-07-2008 16:30
29 3 TUE 15-07-2008 08:00 15-07-2008 16:30
29 4 WED 16-07-2008 08:00 16-07-2008 16:30
29 5 THU 17-07-2008 08:00 17-07-2008 16:30
29 6 FRI 18-07-2008 08:00 18-07-2008 15:30
29 7 SAT 19-07-2008 08:00 19-07-2008 12:00
30 1 SUN 20-07-2008 00:00 20-07-2008 00:00
30 2 MON 21-07-2008 08:00 21-07-2008 16:30
30 3 TUE 22-07-2008 08:00 22-07-2008 16:30
30 4 WED 23-07-2008 08:00 23-07-2008 16:30
30 5 THU 24-07-2008 08:00 24-07-2008 16:30
30 6 FRI 25-07-2008 08:00 25-07-2008 15:30
30 7 SAT 26-07-2008 08:00 26-07-2008 12:00
31 1 SUN 27-07-2008 00:00 27-07-2008 00:00
31 2 MON 28-07-2008 08:00 28-07-2008 16:30
31 3 TUE 29-07-2008 08:00 29-07-2008 16:30
31 4 WED 30-07-2008 08:00 30-07-2008 16:30
31 5 THU 31-07-2008 08:00 31-07-2008 16:30
31 6 FRI 01-08-2008 08:00 01-08-2008 15:30
31 7 SAT 02-08-2008 08:00 02-08-2008 12:00
32 1 SUN 03-08-2008 00:00 03-08-2008 00:00
32 2 MON 04-08-2008 08:00 04-08-2008 16:30
32 3 TUE 05-08-2008 08:00 05-08-2008 16:30
32 4 WED 06-08-2008 08:00 06-08-2008 16:30
32 5 THU 07-08-2008 08:00 07-08-2008 16:30
32 6 FRI 08-08-2008 08:00 08-08-2008 15:30
32 7 SAT 09-08-2008 08:00 09-08-2008 12:00
33 1 SUN 10-08-2008 00:00 10-08-2008 00:00
33 2 MON 11-08-2008 08:00 11-08-2008 16:30
33 3 TUE 12-08-2008 08:00 12-08-2008 16:30
33 4 WED 13-08-2008 08:00 13-08-2008 16:30
33 5 THU 14-08-2008 08:00 14-08-2008 16:30
33 6 FRI 15-08-2008 08:00 15-08-2008 15:30
33 7 SAT 16-08-2008 08:00 16-08-2008 12:00
34 1 SUN 17-08-2008 00:00 17-08-2008 00:00
34 2 MON 18-08-2008 08:00 18-08-2008 16:30
34 3 TUE 19-08-2008 08:00 19-08-2008 16:30
34 4 WED 20-08-2008 08:00 20-08-2008 16:30
34 5 THU 21-08-2008 08:00 21-08-2008 16:30
34 6 FRI 22-08-2008 08:00 22-08-2008 15:30
34 7 SAT 23-08-2008 08:00 23-08-2008 12:00
35 1 SUN 24-08-2008 00:00 24-08-2008 00:00
35 2 MON 25-08-2008 08:00 25-08-2008 16:30
35 3 TUE 26-08-2008 08:00 26-08-2008 16:30
35 4 WED 27-08-2008 08:00 27-08-2008 16:30
35 5 THU 28-08-2008 08:00 28-08-2008 16:30
35 6 FRI 29-08-2008 08:00 29-08-2008 15:30
35 7 SAT 30-08-2008 08:00 30-08-2008 12:00
36 1 SUN 31-08-2008 00:00 31-08-2008 00:00
36 2 MON 01-09-2008 08:00 01-09-2008 16:30
36 3 TUE 02-09-2008 08:00 02-09-2008 16:30
36 4 WED 03-09-2008 08:00 03-09-2008 16:30
36 5 THU 04-09-2008 08:00 04-09-2008 16:30
36 6 FRI 05-09-2008 08:00 05-09-2008 15:30
36 7 SAT 06-09-2008 08:00 06-09-2008 12:00
37 1 SUN 07-09-2008 00:00 07-09-2008 00:00
37 2 MON 08-09-2008 08:00 08-09-2008 16:30
37 3 TUE 09-09-2008 08:00 09-09-2008 16:30
37 4 WED 10-09-2008 08:00 10-09-2008 16:30
37 5 THU 11-09-2008 08:00 11-09-2008 16:30
37 6 FRI 12-09-2008 08:00 12-09-2008 15:30
37 7 SAT 13-09-2008 08:00 13-09-2008 12:00
38 1 SUN 14-09-2008 00:00 14-09-2008 00:00
38 2 MON 15-09-2008 08:00 15-09-2008 16:30
38 3 TUE 16-09-2008 08:00 16-09-2008 16:30
38 4 WED 17-09-2008 08:00 17-09-2008 16:30
38 5 THU 18-09-2008 08:00 18-09-2008 16:30
38 6 FRI 19-09-2008 08:00 19-09-2008 15:30
38 7 SAT 20-09-2008 08:00 20-09-2008 12:00
39 1 SUN 21-09-2008 00:00 21-09-2008 00:00
39 2 MON 22-09-2008 08:00 22-09-2008 16:30
39 3 TUE 23-09-2008 08:00 23-09-2008 16:30
39 4 WED 24-09-2008 08:00 24-09-2008 16:30
39 5 THU 25-09-2008 08:00 25-09-2008 16:30
39 6 FRI 26-09-2008 08:00 26-09-2008 15:30
39 7 SAT 27-09-2008 08:00 27-09-2008 12:00
40 1 SUN 28-09-2008 00:00 28-09-2008 00:00
40 2 MON 29-09-2008 08:00 29-09-2008 16:30
40 3 TUE 30-09-2008 08:00 30-09-2008 16:30
40 4 WED 01-10-2008 08:00 01-10-2008 16:30
40 5 THU 02-10-2008 08:00 02-10-2008 16:30
40 6 FRI 03-10-2008 08:00 03-10-2008 15:30
40 7 SAT 04-10-2008 08:00 04-10-2008 12:00
41 1 SUN 05-10-2008 00:00 05-10-2008 00:00
41 2 MON 06-10-2008 08:00 06-10-2008 16:30
41 3 TUE 07-10-2008 08:00 07-10-2008 16:30
41 4 WED 08-10-2008 08:00 08-10-2008 16:30
41 5 THU 09-10-2008 08:00 09-10-2008 16:30
41 6 FRI 10-10-2008 08:00 10-10-2008 15:30
41 7 SAT 11-10-2008 08:00 11-10-2008 12:00
42 1 SUN 12-10-2008 00:00 12-10-2008 00:00
42 2 MON 13-10-2008 08:00 13-10-2008 16:30
42 3 TUE 14-10-2008 08:00 14-10-2008 16:30
42 4 WED 15-10-2008 08:00 15-10-2008 16:30
42 5 THU 16-10-2008 08:00 16-10-2008 16:30
42 6 FRI 17-10-2008 08:00 17-10-2008 15:30
42 7 SAT 18-10-2008 08:00 18-10-2008 12:00
43 1 SUN 19-10-2008 00:00 19-10-2008 00:00
43 2 MON 20-10-2008 08:00 20-10-2008 16:30
43 3 TUE 21-10-2008 08:00 21-10-2008 16:30
43 4 WED 22-10-2008 08:00 22-10-2008 16:30
43 5 THU 23-10-2008 08:00 23-10-2008 16:30
43 6 FRI 24-10-2008 08:00 24-10-2008 15:30
43 7 SAT 25-10-2008 08:00 25-10-2008 12:00
44 1 SUN 26-10-2008 00:00 26-10-2008 00:00
44 2 MON 27-10-2008 08:00 27-10-2008 16:30
44 3 TUE 28-10-2008 08:00 28-10-2008 16:30
44 4 WED 29-10-2008 08:00 29-10-2008 16:30
44 5 THU 30-10-2008 08:00 30-10-2008 16:30
44 6 FRI 31-10-2008 08:00 31-10-2008 15:30
44 7 SAT 01-11-2008 08:00 01-11-2008 12:00
45 1 SUN 02-11-2008 00:00 02-11-2008 00:00
45 2 MON 03-11-2008 08:00 03-11-2008 16:30
45 3 TUE 04-11-2008 08:00 04-11-2008 16:30
45 4 WED 05-11-2008 08:00 05-11-2008 16:30
45 5 THU 06-11-2008 08:00 06-11-2008 16:30
45 6 FRI 07-11-2008 08:00 07-11-2008 15:30
45 7 SAT 08-11-2008 08:00 08-11-2008 12:00
46 1 SUN 09-11-2008 00:00 09-11-2008 00:00
46 2 MON 10-11-2008 08:00 10-11-2008 16:30
46 3 TUE 11-11-2008 08:00 11-11-2008 16:30
46 4 WED 12-11-2008 08:00 12-11-2008 16:30
46 5 THU 13-11-2008 08:00 13-11-2008 16:30
46 6 FRI 14-11-2008 08:00 14-11-2008 15:30
46 7 SAT 15-11-2008 08:00 15-11-2008 12:00
47 1 SUN 16-11-2008 00:00 16-11-2008 00:00
47 2 MON 17-11-2008 08:00 17-11-2008 16:30
47 3 TUE 18-11-2008 08:00 18-11-2008 16:30
47 4 WED 19-11-2008 08:00 19-11-2008 16:30
47 5 THU 20-11-2008 08:00 20-11-2008 16:30
47 6 FRI 21-11-2008 08:00 21-11-2008 15:30
47 7 SAT 22-11-2008 08:00 22-11-2008 12:00
48 1 SUN 23-11-2008 00:00 23-11-2008 00:00
48 2 MON 24-11-2008 08:00 24-11-2008 16:30
48 3 TUE 25-11-2008 08:00 25-11-2008 16:30
48 4 WED 26-11-2008 08:00 26-11-2008 16:30
48 5 THU 27-11-2008 08:00 27-11-2008 16:30
48 6 FRI 28-11-2008 08:00 28-11-2008 15:30
48 7 SAT 29-11-2008 08:00 29-11-2008 12:00
49 1 SUN 30-11-2008 00:00 30-11-2008 00:00
49 2 MON 01-12-2008 08:00 01-12-2008 16:30
49 3 TUE 02-12-2008 08:00 02-12-2008 16:30
49 4 WED 03-12-2008 08:00 03-12-2008 16:30
49 5 THU 04-12-2008 08:00 04-12-2008 16:30
49 6 FRI 05-12-2008 08:00 05-12-2008 15:30
49 7 SAT 06-12-2008 08:00 06-12-2008 12:00
50 1 SUN 07-12-2008 00:00 07-12-2008 00:00
50 2 MON 08-12-2008 08:00 08-12-2008 16:30
50 3 TUE 09-12-2008 08:00 09-12-2008 16:30
50 4 WED 10-12-2008 08:00 10-12-2008 16:30
50 5 THU 11-12-2008 08:00 11-12-2008 16:30
50 6 FRI 12-12-2008 08:00 12-12-2008 15:30
50 7 SAT 13-12-2008 08:00 13-12-2008 12:00
51 1 SUN 14-12-2008 00:00 14-12-2008 00:00
51 2 MON 15-12-2008 08:00 15-12-2008 16:30
51 3 TUE 16-12-2008 08:00 16-12-2008 16:30
51 4 WED 17-12-2008 08:00 17-12-2008 16:30
51 5 THU 18-12-2008 08:00 18-12-2008 16:30
51 6 FRI 19-12-2008 08:00 19-12-2008 15:30
51 7 SAT 20-12-2008 08:00 20-12-2008 12:00
52 1 SUN 21-12-2008 00:00 21-12-2008 00:00
52 2 MON 22-12-2008 08:00 22-12-2008 16:30
52 3 TUE 23-12-2008 08:00 23-12-2008 16:30
52 4 WED 24-12-2008 08:00 24-12-2008 16:30
52 5 THU 25-12-2008 08:00 25-12-2008 16:30
52 6 FRI 26-12-2008 08:00 26-12-2008 15:30
52 7 SAT 27-12-2008 08:00 27-12-2008 12:00 -
Lvm time column negative value
Hi,
I have made a simple data logger to write temperature and pressure values to a lvm file using the write lvm express vi in labview 7. I works ok but the time column in the lvm file does not start at zero but begins with a negative value. There is a difference between the time stamp in the header and the time at the top of each of the columns I am logging which appears to be resposible for the problem. Any ideas how I can solve this.
Cheers,
OliHi Oli,
I've had a look at this and am seeing the same behaviour as yourself. I've looked into why this is happening and I think it has something to do with the way the express VI converts data before writing it to file.
When I test this, the time data starts at 0 when I uncheck the Ask User to Choose File option. The issue is worse the longer the file dialog box is open and doesn't seem to appear when you don't have the file dialog box open at all.
If you want to be able to browse for your file, you can use the File Dialog Box VI which is located in File IO >> Advanced File Functions. Place it outside the loop.
I hope this helps.
Sarah
Applications Engineer | National Instruments | UK & Ireland -
Displaying 'Date & Time' Column
Hi there, I did do some searching/ reading prior to posting this, but haven't found what I'm looking for...
I want to copy/ paste all my texts from my Nokia 6288 to my pc...
-this works no hassle, I simply use the Nokia Phone Browser to load all my 'Inbox' and 'Sent Items' and move them to the desired folder on my hard drive...
Problem is, in the Nokia Phone Browser, I get columns I can't seem to get in either Windows XP Pro or Windows Vista Business (which has more columns on offer)...
This means, when im looking at the files on my PC, rather than using the nokia phone browser, i dont get the same details which is a bit of a problem for me...
So what I want to know is:
How do i get the Date & Time Column (and all the columns the Nokia Phone Browser displays) to show up in Windows XP or Vista or both?
Thanks in advanceHi Austin,
I have two remarks about that.
1) It's better to put the population of change/history attributes into a table trigger of type before row where you assign these values. eg.:
:NEW.CREATE_DATE := SYSDATE;
:NEW.CREATE_USER := NVL(V('APP_USER'), USER);The reason is, it will consistently work for all applications which try to insert a record into this table and don't have to worry about change attributes and second, when you use the default property of APEX it will populate the column with the value when the new row was displayed and not when it was saved and third, a user would be able to fake this value and write something else into it (eg. with Firebug or by saving the HTML page) and "create" the record with a different time as you would expect. -> Define the column as "display only doesn't save state"
2) Don't rely on automatic type conversion, remember that for APEX everything is a string that also means that your default value expression has to return a string to be 100% sure that it work on all systems where the default database format mask of Oracle could be different. Change your code to
TO_DATE(SYSDATE, 'DD-MON-YYYY HH24:MI')Just some thoughts, but a testcase on apex.oracle.com is always good to reproduce and help with such a problem.
Patrick
My APEX Blog: http://www.inside-oracle-apex.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New! -
Hi,
I've just managed to get a report up and going with the elapsed time between a start DateTime & Time field and a finish DateTime & Time field. I got help from within this forum, the formula I ended up using to calculate this was:
datetimevar x := datetime(date({VisitLog.StartedDate}),time({VisitLog.StartedTime}));
datetimevar y := datetime(date({VisitLog.CompletedDate}),time({VisitLog.CompletedTime}));
// The above takes the date part of the Started (and Completed) DateTime Fields and combines it with the
// Time of Started and Completed Time fields, thus giving you start and complete datetimes.
NumberVar z := datediff('s',x,y);
// Get the difference between the Start and Complete DateTimes in Seconds.
totext(int(z / 3600), 0) & ":" &
totext(abs((Remainder (z,3600)) / 60), 0);
// Convert the total seconds into hours and minutes.
It's working great, however...
Now that I have all the visits our engineers make in a week to various jobs, I need to work out the total time sent within the time period (the report is run with a date range parameter). The problem is the normal 'sum' function won't work as it's a time value rather than a normal numerical value.
I did have a look round the forum for other examples but I couldn't find anything to help so thought I'd once again ask the experts :o)
An example of what I have..
Job No. - Date - Site - Elapsed Time - Status
1 - 01/01/09 - CHP - 1:0 - complete
2 - 01/01/09 - Office - 2:20 - complete
3 - 01/01/09 - Office - 1:45 - started
4 - 02/01/09 - Yard - 0.50 ; - complete
I would be looking to create a total time spent using the values within the 'Elapsed Time' column. As I say these figures are generated as per the formula above and the formula name is 'Elapsed Time'.
Any help you can give would be greatly appreciated and once again - I'm sorry if what I'm trying to do seems pretty basic to you guys, it's been a while since I used crystal.
Thanks,
KrisCreate a formula called @Seconds (basic syntax; I'm not very strong on Crystal Syntax):
dim x, y, z
x = datetime(date({VisitLog.StartedDate}),time({VisitLog.StartedTime}));
y = datetime(date({VisitLog.CompletedDate}),time({VisitLog.CompletedTime}));
z = datediff('s',x,y);
formula = z;
This can now be summed, or aggregated in any other way you want.
Change your original formula above to (no need to duplicate logic...):
totext(int({@Seconds} / 3600), 0) & ":" &
totext(abs((Remainder ({@Seconds},3600)) / 60), 0);
And create another formula {@Total Time} as:
totext(int(sum({@Seconds}, {group}) / 3600), 0) & ":" &
totext(abs((Remainder (sum({@Seconds}, {group}),3600)) / 60), 0);
This will show the total elapsed time in HH:MM format. (Replace "The specified item was not found." with your grouping field.)
HTH,
Carl -
I know SSRS doesn't really have a time data type outside of the datetime type, but I'm trying to have a time column which exports to excel as a time data type. I've tried a few different ways, but the only way that seems to convert over is having the
textbox expression =TimeValue("00:30:00"). The problem is this creates a datetime and displays the date portion. I've tried using custom formats of hh:mm:ss, and those look fine while running the report, but excel sees it as a negative datetime
which produces a malformed value.
To clarify by example, I have a time 00:30:00 which exists in a textbox on the report that I want to export to excel as 00:30:00 but as a data type of Time so that if someone were to write excel formulas based off of those cells, it would be able to perform
time-based arithmetic on them.
Any ideas?Bin Long,
I'm wanting to preserve the datatype such that Excel recognizes the column as a Time type. Formatting the column will make it look right, but it will be recognized as a string in Excel.
Ravi,
This functionality also does not preserve the actual datatype. It is really just a wrapper for the format function. What I need is for the data itself in the column to be recognized as a Time datatype in Excel and not just be formatted
like one.
I'm getting the feeling this just isn't possible in SSRS which is disappointing. I've tried writing custom code for it and creating custom types but neither of these work either. I have also looked into converting the column into a SQL time type
(newly available in 2008 R2), but that also isn't giving me the desired result. I feel that SSRS is really lacking in the available datatypes arena. -
Writing 2-D array to spreadsheet file changes value of time column when saved
I have a program that creates a new row in a table each time the loop performs. Each time the loop performs and a row is added to the table, the program uses the "write to spreadsheet file.vi" to save this new table over the previous table. The array is also visible on the front panel of the vi. The program works in such a way that you can stop adding data to the array, start adding data to a new array, then come back to the original by using the "read from spreadsheet file.vi". My problem comes after opening the spreadsheet file. The first column of the array, which corresponds to the time when the data in that row was taken, has different values than those that were seen when the array was originally displayed on the front panel. In fact, all of the rows that were created the last time the program was run with that array have the same value in the time column, while all of the other columns keep their correct values. Here is an example of what is happening...
When I start the program, and run it for 5 iterations, I get a table like this displayed on the front panel:
3241713920
85.88012
93.88012
1.735015...
3241713930
85.97603
93.97603
1.747003...
3241713940
84.58855
92.58855
1.573568...
3241713950
84.48096
92.48096
1.560119...
3241713960
84.93667
92.93667
1.617084...
This array is saved to the spreadsheet file with each added row. If I initialize and build another array, then come back to this first array using "read from spreadsheet file.vi," I will receive the following table:
3241713920
85.88012
93.88012
1.735015...
3241713920
85.97603
93.97603
1.747003...
3241713920
84.58855
92.58855
1.573568...
3241713920
84.48096
92.48096
1.560119...
3241713920
84.93667
92.93667
1.617084...
If anyone could tell me why this is happening and/or how to fix it, that would be greatly appreciated. One option I have contemplated is just having each individual row appended to the file instead of resaving the entire array with each iteration. However, I would prefer to do it the way I am currently doing it, so I can pass the array through each time and perform different tasks on it, such as averaging the values in columns over different time periods. Thank you in advance to anyone who can help.DWDerr wrote:
If anyone could tell me why this is happening and/or how to fix it, that would be greatly appreciated. ...
This KnowledgeBase article may help. I think things changed in LV8.20, but I could be wrong.
=====================================================
Fading out. " ... J. Arthur Rank on gong." -
I have a task - create a page and display on it all lists/libraies with documents of team meetings. Every meeting has a documents and another information, which is storing in the same lists/libraries on website as another meetings. Additionally there
is a field "MeetingDate" (type: DateTime), which help to indetify a meeting documents.
I have added all on one page and my custom connected webpart (IWebpartRow interface), which help to filter all views on page by field meeting date. It send a date to another webparts on page, and user see information only for this date.
It works fine, but the problem is, that it used only DATE (without time) and i need now to filter all by date and time.
Unfortunately, i noticed that i cannot filter items by date with time in the standard list too. Please see my screenshot.
My question is: may be i should use another interface (not IWebPartRow) that to send 2 values (1 - date, 2 - time) and filter all by 2 columns. Is it possible?
Unfortunatelly i didn't find something like this. I found only a solution to build url like 'http://sp2013/SitePages/Homepage.aspx#InplviewHasha2528afc-50c3-4d5e-aae9-682400976409=FilterField1%3DDatum-FilterValue1%3D2015%252D02%252D27-FilterField2%3DCustomTime-FilterValue2%3D11%253A00'
, but it looks not so good ..(
from MSDN forum...Hi,
Per my understanding, you might want to display all the specific documents in a page, they can be filtered by values of a Date and time column.
A possible solution I will provide is that, we can create custom visual web part to display all these documents. In the code behind, run a query with CAML to retrieved all the
documents with the specific date and time, then generate a view of hyperlinks that points to these documents.
In this way, we can combine the filter component with the data display component into one web part, with the help of CAML query and Object Model, it would not be a tough job to
implement such a solution.
More information about CAML and Object Model:
https://msdn.microsoft.com/en-us/library/office/ee536691%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Column Problems Between Explorer and Firefox
First, I apologize if this is something that has been posted.
The search function doesn't seem to be working, so I've been unable
to check for previous posts on-point.
I am having trouble with the columns in a table layout on a
site I am designing. It's located at
www.staggsmarketing.com/fleishell.html. The columns render properly
in firefox, but not at all so in Explorer. If you view the Explorer
version, the problem is quite obvious, so I won't explain further.
If anyone can take a look at the site and suggest what I've
done wrong, I would appreciate it. It was designed in CS3, and I've
run all the standard dreamweaver tests (from the results tab) to no
avail.
Thanks in advance!> As to Walt's apparent suggestion that it's a total
mistake to rely on DW
> without extensive HTML/CSS knowledge, I hope nobody else
is scared away
> from DW
> after reading it.
Walt's suggestion was right on target. Using DW with no
knowledge of HTML
will always produce sub-optimal results.
> I've designed maybe 4 to 5 dozen sites with DW and only
a
> scintilla of coding knowledge compared to many of the
folks on these
> forums,
> and I really have only had to deal with three or four of
Walt's blind
> alleys
> (including this one).
You are in blind alleys you do not yet know about. This
philosophy is
short-changing you AND your paying customers.
> Web design is a hobby for me
And your output will always reflect this.
> I recommend it to anyone with an
> "HTML and CSS for Dummies" level of knowledge.
I don't. It will be a continual frustration for them,
especially if they
want to rise above the 'hobby' level.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"testaggs" <[email protected]> wrote in
message
news:[email protected]...
> Alan, thanks -- I took a look at the path you were
talking about, and it's
> a
> leftover from something before I put the site online. I
am able to remove
> it
> without issue. Still doesn't fix the column problem; I
may take Walt's
> advice
> and start over on the columns if I don't get any
more-helpful posts on the
> problem, but I'll wait a few days to see what others
might suggest. The
> few
> times I've run into real problems before in DW, it's
always been a simple
> fix
> that was just outside my skillset. I'm hoping someone
sees that here and
> says,
> "You idiot, it's the ???? tag."
>
> As to Walt's apparent suggestion that it's a total
mistake to rely on DW
> without extensive HTML/CSS knowledge, I hope nobody else
is scared away
> from DW
> after reading it. I've designed maybe 4 to 5 dozen sites
with DW and only
> a
> scintilla of coding knowledge compared to many of the
folks on these
> forums,
> and I really have only had to deal with three or four of
Walt's blind
> alleys
> (including this one). I agree it's a great tool for
those with good
> coding
> knowledge; but even with only an introductory level of
coding knowledge,
> I've
> found it to be a fantastic program. Would I be better if
I had that
> knowledge?
> Yes, loads. Would I be able to design anything with my
current coding
> skills
> but WITHOUT DW? Not even a one-line blank page (that's
an exaggeration,
> but
> you see the point). Web design is a hobby for me, and DW
has been a
> great
> vehicle to help me make it a useful one. I recommend it
to anyone with an
> "HTML and CSS for Dummies" level of knowledge.
> -
I've screwed everything up, I think. I had Time Machine doing backups to an external 500Gig drive and somehow it got locked. I went into Get Info to try and change the access but it won't allow me. On top of this problem, my original drive died and I can't get into Time Machine to restore. When I click "Enter Time Machine", nothing happens. I created an eDisk and a startup disk to another external drive that I'm using now, but since everything that's been backed up is on the other drive that I can't access. When I try accessing the drive it gives: "The folder “G-DRIVE ” can’t be opened because you don’t have permission to see its contents." I'm not knowledgeable enough to work from the command line, so if I need to do that to access the drive, please walk me though it. As for the Time Machine problem, I have no idea how to recover anything since it won't even come up, it just sits there. Outside of blowing my brains out, I don't know what to do. Any help would be greatly appreciated as I can't afford to take it to Apple to let them try and fix it.
Hello, not sure how this might affect a TM drive, or not, but...
Here is what i needed to do for my drive "320GB HD", the last command is just for clean up
Open Terminal and type these commands carefully with the spaces & change 320GB HD to the name of your drive.
sudo chflags 0 "/volumes/320GB HD"
sudo chown root "/volumes/320GB HD"
sudo chmod 1775 "/volumes/320GB HD"
sudo -k
That said, these should be sufficient to do the job:
sudo chflags 0 "/Volumes/320GB HD"
sudo chmod a+rx "/Volumes/320GB HD" -
BPS friends,
We have a planning function to copy Versions based with some filters. The copy function takes 5 hours and times out after that. The function is reaching max buffer size as recommended by SAP so we cant increase the buffer size anymore.
We are on BW-BPS 3.5.
How can I solve this time out problem? Please respond to me.Hi Pat,
How many record did you copy ??
Could you restrict the copy in not 1 package ??
Package per package ...
I suggest you ..
e.g. you have restriction by a 0CALMONTH / something ..
Then,
You can copy e.g. for January to March, then March to August, etc.
You can automate it by planning sequence.
Hopefully it can help you a lot.
Regards,
Niel.
thanks for the points you choose to assign. -
When I tap the mail icon on my iPhone 4s, the menu of email servers pops up. I already have a me acct that I check all the time, no problem. So I choose iCloud, sign in and it tells me that I already have an acct….so why can't I get to my emails then? I've turned the phone off and on twice....that has fixed it in the past but not this time....
all fixed ha
-
Start time/end time columns in the weekly overview of CATS regular
Hello,
Does anyone know if it is possible to have the start and end time columns in parallel of the duration column in CATS regular (iView "record working times" in ESS) in the weekly view. Those columns are available in the daily view but we want them in the weekly view. This is possible on the backend but the question remains for the ESS.
Thanks a lot for your help
KR
GaëlleDear Gaëlle,
My client have this requirement as well. So have you found your way to configure it?
Please let me know..
Thanks in advance
Regards,
Bryan -
i have the latest version of free Quicktime, Itunes and unable to view video on my PC all i get is a pink screen the audio is OK i have uninstalled and installed several times same problem, i have a Iphone 4 and unable to view the content.
Open your QuickTime control panel (either via the Control panels, or by going "Edit > Preferences > QuickTime Preferences" in the Quicktime Player). In the Advanced tab, uncheck Enable Direct3D video acceleration:
... and click OK. Quit and restart the QuickTime Player prior to checking to see if the settings change has had any effect. -
Is "A-Time" column in dbms_xplan.display_cursor summarized ?
Hello,
I did some research on the internet before posting this but I could find sufficient information.
Is "A-Time" column in dbms_xplan.display_cursor summarized ?
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | OMem | 1Mem | Used-Mem |
| 0 | SELECT STATEMENT | | 1 | | 155 |00:06:36.28 | 4957K| 34952 | | | |
| 1 | SORT ORDER BY | | 1 | 1 | 155 |00:06:36.28 | 4957K| 34952 | 55296 | 55296 |49152 (0)|
| 2 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.04 | 4957K| 34952 | | | |
| 3 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.04 | 4957K| 34952 | | | |
| 4 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.04 | 4957K| 34952 | | | |
| 5 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.04 | 4956K| 34952 | | | |
| 6 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.04 | 4956K| 34952 | | | |
| 7 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4956K| 34952 | | | |
| 8 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4956K| 34952 | | | |
| 9 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4956K| 34952 | | | |
| 10 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4955K| 34952 | | | |
| 11 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4955K| 34952 | | | |
| 12 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4955K| 34952 | | | |
| 13 | NESTED LOOPS | | 1 | 1 | 155 |00:06:30.03 | 4954K| 34952 | | | |
|* 14 | HASH JOIN | | 1 | 1 | 155 |00:06:30.03 | 4954K| 34952 | 872K| 872K| 927K (0)|
| 15 | VIEW | | 1 | 15 | 8 |00:06:28.63 | 1305K| 34883 | | | |
|* 16 | FILTER | | 1 | | 8 |00:06:28.63 | 1305K| 34883 | | | |
| 17 | HASH GROUP BY | | 1 | 15 | 8 |00:06:28.63 | 1305K| 34883 | 760K| 760K| 1077K (0)|
| 18 | VIEW | | 1 | 15 | 341 |00:00:50.44 | 1305K| 34883 | | | |
| 19 | UNION-ALL | | 1 | | 341 |00:00:50.44 | 1305K| 34883 | | | |
| 20 | VIEW | V_POSNR_2011000 | 1 | 7 | 303 |00:00:50.44 | 645K| 31282 | | | |
| 21 | UNION-ALL | | 1 | | 303 |00:00:50.44 | 645K| 31282 | | | |
| 22 | VIEW | V_POSNR_0200011 | 1 | 2 | 20 |00:00:50.42 | 429K| 31244 | | | |
| 23 | UNION-ALL | | 1 | | 20 |00:00:50.42 | 429K| 31244 | | | |
| 24 | NESTED LOOPS | | 1 | 1 | 20 |00:00:50.42 | 376K| 28979 | | | |
|* 25 | HASH JOIN | | 1 | 1 | 20 |00:00:50.42 | 376K| 28979 | 1096K| 1096K| 1348K (0)|
|* 26 | TABLE ACCESS BY INDEX ROWID | PROPERTIES | 1 | 6 | 2651 |00:00:00.02 | 2131 | 0 | | | |
|* 27 | INDEX RANGE SCAN | P_SETAALDATE_IDX | 1 | 6 | 2651 |00:00:00.01 | 21 | 0 | | | |
| 28 | VIEW | VW_JF_SET$7992605D | 1 | 2 | 504 |00:02:30.85 | 374K| 28979 | | | |
| 29 | UNION-ALL | | 1 | | 504 |00:02:30.85 | 374K| 28979 | | | |( hope this execution plan is reasonably readable )
I've been thinking the A-Time Columns shows the time of the particular Operation ( summarizing all time from child operations )
but this seems different:
|* 25 | HASH JOIN | | 1 | 1 | 20 |00:00:50.42 | 376K| 28979 | 1096K| 1096K| 1348K (0)|
|* 26 | TABLE ACCESS BY INDEX ROWID | PROPERTIES | 1 | 6 | 2651 |00:00:00.02 | 2131 | 0 | | | |
|* 27 | INDEX RANGE SCAN | P_SETAALDATE_IDX | 1 | 6 | 2651 |00:00:00.01 | 21 | 0 | | | |
| 28 | VIEW | VW_JF_SET$7992605D | 1 | 2 | 504 |00:02:30.85 | 374K| 28979 | | | |The line 25 is a HASH JOIN comprising a (1) tableTABLE ACCESS BY INDEX ROWID and (2) the result from a VIEW
The Timing of the HASH JOIN (line 25) is 00:00:50.42 but the timing for the VIEW is 00:02:30.85 which would both have to complete before hashing can occur
So I was thinking the HASH JOIN would (at least) have a timing of the 00:02:30.85 from the VIEW plus the 00:00:00.02 from the TABLE ACCESS BY INDEX ROWID.
But it seems this is a misconception , can someone shed some light on this ?
best regards
Edited by: x45r32 on Apr 4, 2012 8:25 AM
Edited by: x45r32 on Apr 4, 2012 8:46 AMx45r32 wrote:
First please use codes like in sarting of explain plan and at end put the same.
I've been thinking the A-Time Columns shows the time of the particular Operation ( summarizing all time from child operations )
Yes its related to time a operation takes.
but this seems different:
|* 25 | HASH JOIN | | 1 | 1 | 20 |00:00:50.42 | 376K| 28979 | 1096K| 1096K| 1348K (0)|
|* 26 | TABLE ACCESS BY INDEX ROWID | PROPERTIES | 1 | 6 | 2651 |00:00:00.02 | 2131 | 0 | | | |
|* 27 | INDEX RANGE SCAN | P_SETAALDATE_IDX | 1 | 6 | 2651 |00:00:00.01 | 21 | 0 | | | |
| 28 | VIEW | VW_JF_SET$7992605D | 1 | 2 | 504 |00:02:30.85 | 374K| 28979 | | | |
The line 25 is a HASH JOIN comprising a (1) tableTABLE ACCESS BY INDEX ROWID and (2) the result from a VIEW
The Timing of the HASH JOIN (line 25) is 00:00:50.42 but the timing for the VIEW is 00:02:30.85 which would both have to complete before hashing can occur
So I was thinking the HASH JOIN would at least take the 00:02:30.85 from the VIEW plus the 00:00:00.02 from the TABLE ACCESS BY INDEX ROWID.
Why do you think like that? HASH JOIN has occured from output result set from View and Index range scan. So building a hash function of output of these is not likely to take the same time i.e 2:30:85, hash join is other set of operation which took place from result set.
But it seems this is a misconception , can someone shed some light in this ?
More importantly i could see that there is difference between A-rows and E-rows from sarting of explain plan
Optimizer thinks that actual cardinality would be 1(During estimation phase) but on real execution optimizer gave 6 cardinality(during run time), this operation is INDEX RANGE SCAN on P_SETAALDATE_IDX. I think due to this mismatch at starting, optimizer has drifted a little and gave wrong estimaition. So consider fixng this first and them move on.
Please check if optimizer stats are upto date espacially on index P_SETAALDATE_IDX
I hope this help
Maybe you are looking for
-
Dynamically assign value to bind variable in a view object before pageload
I found that it is extreamely hard to find an example to assign the bind variable in View object at runtime using a data attribute defined in Human task activity. Most of the available samples use a Literal value to do the assignment. In my case, I w
-
Yosemite battery drain: When will it be fixed?? EtreCheck summary
Well, you know the problem since hundreds of users have it. Here Macbook aid mid 2011. The day I upgraded from Mavericks it happened and I regret doing so. Does anybody know when Apple will take this issue and fix it? Please somebody help me to ana
-
How to find out more info about an existing fault
Hi there, The whole village of Luib on Skye has been cut off because the main road was being resurfaced and the machine digging up the tarmac ripped up and mangled the main phone cable on 30th March. (Not the road menders' fault, but BT's because the
-
Deploy JSP, XSQL-XSL Application on OC4J or Apache?
I have an application having JSPs and XSQL-XSL pages (not EJBs) for the internet. Which is the best deployment type? - Running both on OC4J (after installing XSQL), - Running both on Apache, - Running one on Apache and other on OC4J? What about using
-
For those of you who ordered your macbook online
I recently ordered a macbook from the online store, and I was wondering if any of you who ordered yours online know where apple ships their products from. I've hear a myriad of answers, from Taiwan to Shanghai to Cupertino. Thanks in advance.