Flatten channel gives different results on a RT system compared to a Windows system?
When I flatten a structure moderately complex to a string in LabVIEW Windows, I get a slightly different result than when I do the same thing (interactive) Looking RT. LabVIEW to hexadecimal display produced channels, towards the tail end of the strings that I see:
Windows: A 999, 0000. FB99 A 9999 9999 9999 9, 00
RT: 9999 A000... FB99 9999 9999 99A 0 0000
Shouldn't get the same value of the two systems?
Your problem is the use of the extended data type. I don't have a cRIO to do more thorough testing, but the only items that do not match are the two elements of smoothing. The two values differ by about - 5.54976E - 18 (that is to say, not much - less, in fact, the value of epsilon machine). If you use the context-sensitive help and hover on an EXT thread, you'll see a note indicating the precision varies by platform, so it must be provided. Also documented A in aid, under the heading "digital, data types table. Is there a reason why a double precision is not sufficient?
Tags: NI Software
Similar Questions
-
ASCIISTR function that gives different results
Hi Experts,
I use the function ASCIISTR and it gives different results in SQLPLUS and TOAD
SQLPLUS
TOADSQL> SELECT ASCIISTR('é') UC FROM DUAL 2 ; UC ----- \201A SQL> SELECT ASCIISTR('ú') UC FROM DUAL; UC ----- \00A3
I know experts here will be reluctant to respond to questions about the TOAD, but I wanted to understand if I'm missing something. I checked the NLS_SESSION_PARAMETERS in SQLPLUS and TOAD, and they are the same. :-(does not understand this behaviorSELECT ASCIISTR('ú') UC FROM DUAL \00FA SELECT ASCIISTR('é') UC FROM DUAL \00E9
Version of database Oracle Database * 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production *.
Thanks in advance!The default code for the command line page is 437, identical to TOAD, you want to get the code page 1252
SQL> host chcp Active code page: 437 SQL> SELECT ASCIISTR('é') UC FROM DUAL; UC _____ \201A SQL> host chcp 1252 Active code page: 1252 SQL> SELECT ASCIISTR('é') UC FROM DUAL; UC _____ \00E9 SQL>
-
simulation of the same in different versions of multisim circuit design give different results
version of Multisim 10.0, PATTERN16T GIVES RESULTS on... DISPLAYSA2A20000A2A20000AAAA0000AAAA0000...
MULTISIM 10.1 VERISION, PATTERN16T RESULTS ON
POSTER A3A30000A3A30000A3A30000...
EACH PROGRAM MULTISIM, USE THE SAME CIRCUIT FOR ANALYSIS.
MULTISIM 10.0 VERSION GIVES A CORRECT RESULT.
YOU MAY NEED TO CHECK THE NEW VERSION OF THIS PROBLEM
WITH THE VERSION OF MULTISIM 10.0.
RICHARD RUHL
Hello
Could you please attach your additional troubleshooting circuits? What is your operating system?
Kind regards
-
Select on ALL_TABLES gives different results (SQL vs PROCEDURE)
Hello
I am connected with the user and I ran this SQL:
The count() returns the value 1.SELECT COUNT(*) FROM ALL_TABLES WHERE Table_Name = 'SRMD' AND Owner = 'DMI';
Then, I created a procedure called TestAllTables with exactly the same statement:
.. .and I ran, it is always connected to A:CREATE OR REPLACE PROCEDURE A.TestAllTables(p_Table IN VARCHAR2, p_Schema IN VARCHAR2) IS l_Nb NUMBER; BEGIN SELECT COUNT(*) INTO l_Nb FROM ALL_TABLES WHERE Table_Name = p_Table AND Owner = p_Schema; IF l_Nb = 0 THEN dbms_output.put_line('KO !'); ELSE dbms_output.put_line('OK...'); END IF; END;
.. .and it gives me this incomprehensible error: KO!BEGIN TestAllTables('SRMD','DMI'); END; /
Please can someone explain to me why?
Thks.Your access to the table of dmi.smrd was granted by a role.
If you want the query "ALL_TABLES" rights of a stored procedure DEFINER and see this table, you must have administrative privileges on the table given directly to you, rather than having acquired them via a role. The DBA or the owner of the table need run
GRANT SELECT ON dmi.smrd TO <
> Once they do this, the query will return a line even when you ran ' set no role ' and your procedure will be able to see the table.
Justin
-
Copy and paste the code which gives different results
I use PS CS5 and need to copy and paste the code from one page to another. The reason is that the only difference is a change in the images and titles.
When I view the page copied in a browser the table continues beyond the wrapper div and none of the images are visible.
Here is the copied code:
<! DOCTYPE HTML > < html lang = "en" >
< html >
Head of <>< name meta = "robots" content = "INDEX, FOLLOW" / >
< name meta = "robots" content = "noimageindex" / >
< name meta = "description" content = "Ace with checkered flag logo" / >
< name meta = "keywords" content = "Top Trumps, Ace, flag at checkerboard, Classic Cars, drag racing, heavy trucks, 500 miles of Indianapolis, International bus, luxury cars, luxury cars Made in Germany, Yachts of luxury, the NASA Super Jets, cars, Rolls-Royce, Street Bikes, street cruisers, Super-Bikes, Super Sonics, Super Trains in the world." / >
< title > < /title > checkered flag
< link href = "css/table.css" rel = "stylesheet" type = "text/css" media = "screen" > "
< / head >
< div id = 'wrapper' >
< body >
< div id = "bread crumbs" >
< a title = "Return to Homepage" href = "index.html" > home < /a > & bull; < a title = "Go back to index of England" href = "england.html" > English Top Trumps < /a > & bull; "< a title ="Back to Ace Index"href ="... /... ' / index.html - ace "> Ace Index < /a >
< / div >
< div id = "banner logo" >
"< img src ="... /... / images/title.jpg ">"
< / div >
< div id = "page title" > < flag checkerboard of h1 > < / h1 > < / div >
< div id = "table" align = "center" >
< table >
< thead >
< b >
< th = "column" range > Classic Cars < /th >
< th = "column" scope > < /th > Dragster
< th = "column" scope > < /th > trucks
< th = "column" scope > Indianapolis 500 < /th >
< th = "column" scope > International bus < /th >
< /tr >
< / thead >
< tbody >
< b >
< td > < img title = "cars classic Ace assets with the checkered flag" src = "images/futbol_yildizlari.gif" > < table >
< td > < img title = "Dragster Ace assets with the checkered flag" src = "images/HP-ve - zumruduanka.gif" > < table >
< td > < img title = "Trucks heavy Ace assets with the checkered flag" src = "images/hp_ve_ateskadehi.gif" > < table >
< td > < img title = "Indianaplis 500 Ace assets with the checkered flag" src = "images/karayip_korsanlari.gif" > < table >
"< td > < img title ="Bus International Ace assets with the checkered flag"src ="... /... / images/international_buses_ace.gif ' > < table >.
< /tr >
< b >
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< /tr >
< / tbody >
< thead >
< b >
< th = "column" scope > luxury car < /th >
< th = "column" scope > luxury cars Made in Germany < /th >
< th = "column" scope > < /th > Luxury Yachts
< th = "column" scope > the NASA Super Jets < /th >
< th = "column" scope > race cars < /th >
< /tr >
< / thead >
< tbody >
< b >
"< td > < img title ="Luxury cars Ace assets with the checkered flag"src ="... /... /images/luxury-cars-ACE.gif' > < table >
"< td > < img title ="Cars luxury Made in Germany Ace assets with the checkered flag"src ="... /... / images/Lux_Cars_Made.gif ' > < table >.
"< td > < img title ="Luxury Yachts"src ="... /... / images/Luxury_Yachts.gif ' > < table >.
"< td > < img title ="NASA Super Jets Ace with checkered flag"src ="... /... /images/NASA_Super-Jets_Ace.gif' > < table >
"< td > < img title = 'Race Cars Ace with checkered flag' src = '... /... / images/Race_Cars.gif ' > < table >.
< /tr >
< b >
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< td > click on the < table > image
< /tr >
< / tbody >
< /table >
< / div >
< div id = 'foot' >
& copy; 2005-2016 Ultimate Top Trumps. All rights reserved < / div >
< / body >
< / html >
Thanks in advance.
At first glance, I see that you have a wrapper
before the openingtag. You can't do that.Run the validator at http://validator.w3.org/nu for a list of your html of your page errors. Clean and your page should work fine.
-
Same calculation in drag and drop gives different results
I use jqueryUI drag / move to drag an object (ventil_roerHANDLE) on the X axis, then I have another object (ventil_roer) which is repositioned according to the first Positron objects x and I do a calculation to determine to what extent on the Y axis, that the second object must move.
When I calculate in drag calculation is a bit, but when I do the same calculation in service drop, that's correct - indices of Ant as on why?
I now reposition the second object again the service drop to get it to where it should be, causing it to 'jump' a bit when dropped
Link to the project: Vasskrafta - interaktivt kraftverk
Click on one of the two small grey houses, and then drag it onto the black valve with the green arrows
Here is the code for
SYM. .draggable (//MAGASINKRAFTVERK $('ventil_roerHANDLE')
{
containment: container,.
axis: 'x ',.
Snap: "draggableArea."
SNAPMODE: "internal."
snapTolerance: 10,.
Drag: function (event, ui)
{
If (sym. MyGlobalVar_startPosition_mag == 0)
{
SYM. MyGlobalVar_startPosition_mag = 1;
SYM. MyGlobalVar_yStartPosition = Math.round (sym.$('ventil_roerHANDLE').position () .top);
SYM. MyGlobalVar_xStartPosition = Math.round (() .left sym.$('ventil_roerHANDLE').position);
SYM. MyGlobalVar_yPrevPosition = Math.round (sym.$('ventil_roerHANDLE').position () .top);
SYM. MyGlobalVar_xPrevPosition = Math.round (() .left sym.$('ventil_roerHANDLE').position);
}
utregninger for a posisjonere den visible hit
var which = Math.round (sym.$('ventil_roerHANDLE').position () .left);
var xPositionCopy = Math.round (() .left sym.$('ventil_roer').position);
var yPositionCopy = Math.round (sym.$('ventil_roer').position () .top);
var xPosChange = xPositionCopy - which;
var yPosChange = xPosChange * 0.48;
var newXPos = Math.round (() .left sym.$('ventil_roerHANDLE').position);
var newYPos = Math.round ((sym.$('ventil_roer').position () .top) - yPosChange);
SYM. MyGlobalVar_newYPos = newYPos;
SYM. MyGlobalVar_newXPos = newXPos;
() .css sym. $('ventil_roer')
{
'left': newXPos,
'top': newYPos
});
}
SYM. .droppable (//MAGASINKRAFTVERK $('draggableArea')
{
tolerance: "touch."
Drop: function()
{
utregninger for a posisjonere den usynlige hit
var which = Math.round (sym.$('ventil_roerHANDLE').position () .left);
var xPositionCopy is sym. MyGlobalVar_xPrevPosition;
var xPosChange = xPositionCopy - which;
var yPosChange = xPosChange * 0.48;
var newXPos = Math.round (() .left sym.$('ventil_roerHANDLE').position);
var newYPos = Math.round ((sym.$('ventil_roerHANDLE').position () .top) - yPosChange);
Bytt topp posisjon pa den usynlige hit (HANDLE)
() .css sym. $('ventil_roerHANDLE')
{
'top': newYPos
});
reset the prev X og Y posisjoner
SYM. MyGlobalVar_xPrevPosition = Math.round (() .left sym.$('ventil_roerHANDLE').position);
SYM. MyGlobalVar_yPrevPosition = Math.round (sym.$('ventil_roerHANDLE').position () .top);
Flytt til posisjon handles hit
() .css sym. $('ventil_roer')
{
'left': sym. MyGlobalVar_xPrevPosition,
'top': sym. MyGlobalVar_yPrevPosition
});
}
and sometimes, all you need is a good night's sleep
a couple of the Math.round () were the culprits... the removed from the places where I am retreving positions and his animation very smoothly
-
using the same search terms on ebay, getting different results on firefox exploer
using the same words to search on ebay for internet explorer, I get results more when I use ebay on FireFox > is cutting some of the results when using Firefox
It is always possible that eBay is to differentiate between browsers and gives different results, based on previous visits.
You can try to delete cookies in two browsers to see if it has an impact."Clear the Cache":
- Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.
'Delete Cookies' sites causing problems:
- Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".
-
Why Express PSD gives a different result of amplitude as FFT PSD?
Hello
When I use the express VI of spectral measures to trace the power spectral density, I get a different result than when using the FFT PSD VI. The data are the same but the amplitudes are different in the PSD plot. Everyone comes through this?
Thank you
Donners,
The PSD2 and graphic PSD2 are different because you are breastfeeding two extra points in the tables (t0, df). When graphic entry of data in the tables, they interpret not automatically information of t0 and df. Actually they do not yet receive this information. You must program the scales with nodes of property. If you simply draw the order of magnitude, the spectra are very similar.
^ ^ ^ This confuses only the chart!
The spectral forms differ slightly as the power spectrum of FFT and PSD.vi uses a default Hanning window.
Lynn
-
same query gives a different result under 2 different schema.
Hello
I have a query that shows two different results under 2 different schema.
Here's the code.
SELECT ssbsect_term_code, ssbsect_crn, ssbsect_seq_numb,
SUBSTR (f_active_section_ind (ssbsect_ssts_code), 1, 1),
SUBSTR (f_active_course_ind (a.scbcrse_csta_code), 1, 1),
SUBSTR (f_check_for_course_coreqs, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code
),
1,
1
),
SUBSTR (f_check_for_course_prereqs, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
''
),
1,
1
),
SUBSTR (f_check_for_section_coreqs (ssbsect_term_code, ssbsect_crn),
1,
1
),
SUBSTR (f_check_for_section_prereqs, (ssbsect_term_code,
ssbsect_crn,
''
),
1,
1
),
a.scbcrse_eff_term, a.scbcrse_coll_code, a.scbcrse_dept_code,
SUBSTR (f_get_course_levels, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
1
),
1,
2
),
SUBSTR (f_get_course_levels, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
2
),
1,
2
),
SUBSTR (f_get_course_levels, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
3
),
1,
2
),
SUBSTR (f_get_course_levels, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
4
),
1,
2
),
a.scbcrse_divs_code, ssbsect_subj_code, ssbsect_crse_numb,
a.scbcrse_ceu_ind, a.scbcrse_csta_code,
NVL (ssbsect_credit_hrs, a.scbcrse_credit_hr_low),
a.scbcrse_credit_hr_low, a.scbcrse_credit_hr_high,
a.scbcrse_credit_hr_ind,
NVL (ssbsect_bill_hrs, a.scbcrse_bill_hr_low),
a.scbcrse_bill_hr_low, a.scbcrse_bill_hr_high,
a.scbcrse_bill_hr_ind, ssbsect_ssts_code, ssbsect_camp_code,
NVL (ssbsect_gmod_code,
SUBSTR (f_default_gmod, (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code
),
1,
1
)
),
NVL (ssbsect_crse_title, a.scbcrse_title), ssbsect_sapr_code,
ssbsect_census_enrl, ssbsect_census_enrl_date,
ssbsect_census_2_enrl, ssbsect_census_2_date, ssbsect_proj_enrl,
ssbsect_max_enrl, ssbsect_enrl, ssbsect_seats_avail,
ssbsect_ptrm_code, ssbsect_ptrm_start_date, ssbsect_ptrm_end_date,
ssbsect_link_ident, k.ssrmeet_begin_time, k.ssrmeet_end_time,
k.ssrmeet_bldg_code, k.ssrmeet_room_code, k.ssrmeet_schd_code,
k.ssrmeet_mon_day, k.ssrmeet_tue_day, k.ssrmeet_wed_day,
k.ssrmeet_thu_day, k.ssrmeet_fri_day, k.ssrmeet_sat_day,
k.ssrmeet_sun_day, l.ssrmeet_begin_time, l.ssrmeet_end_time,
l.ssrmeet_bldg_code, l.ssrmeet_room_code, l.ssrmeet_schd_code,
l.ssrmeet_mon_day, l.ssrmeet_tue_day, l.ssrmeet_wed_day,
l.ssrmeet_thu_day, l.ssrmeet_fri_day, l.ssrmeet_sat_day,
l.ssrmeet_sun_day, m.ssrmeet_begin_time, m.ssrmeet_end_time,
m.ssrmeet_bldg_code, m.ssrmeet_room_code, m.ssrmeet_schd_code,
m.ssrmeet_mon_day, m.ssrmeet_tue_day, m.ssrmeet_wed_day,
m.ssrmeet_thu_day, m.ssrmeet_fri_day, m.ssrmeet_sat_day,
m.ssrmeet_sun_day, n.ssrmeet_begin_time, n.ssrmeet_end_time,
n.ssrmeet_bldg_code, n.ssrmeet_room_code, n.ssrmeet_schd_code,
n.ssrmeet_mon_day, n.ssrmeet_tue_day, n.ssrmeet_wed_day,
n.ssrmeet_thu_day, n.ssrmeet_fri_day, n.ssrmeet_sat_day,
n.ssrmeet_sun_day, o.ssrmeet_begin_time, o.ssrmeet_end_time,
o.ssrmeet_bldg_code, o.ssrmeet_room_code, o.ssrmeet_schd_code,
o.ssrmeet_mon_day, o.ssrmeet_tue_day, o.ssrmeet_wed_day,
o.ssrmeet_thu_day, o.ssrmeet_fri_day, o.ssrmeet_sat_day,
o.ssrmeet_sun_day, p.ssrmeet_begin_time, p.ssrmeet_end_time,
p.ssrmeet_bldg_code, p.ssrmeet_room_code, p.ssrmeet_schd_code,
p.ssrmeet_mon_day, p.ssrmeet_tue_day, p.ssrmeet_wed_day,
p.ssrmeet_thu_day, p.ssrmeet_fri_day, p.ssrmeet_sat_day,
p.ssrmeet_sun_day, q.ssrmeet_begin_time, q.ssrmeet_end_time,
q.ssrmeet_bldg_code, q.ssrmeet_room_code, q.ssrmeet_schd_code,
q.ssrmeet_mon_day, q.ssrmeet_tue_day, q.ssrmeet_wed_day,
q.ssrmeet_thu_day, q.ssrmeet_fri_day, q.ssrmeet_sat_day,
q.ssrmeet_sun_day, r.ssrmeet_begin_time, r.ssrmeet_end_time,
r.ssrmeet_bldg_code, r.ssrmeet_room_code, r.ssrmeet_schd_code,
r.ssrmeet_mon_day, r.ssrmeet_tue_day, r.ssrmeet_wed_day,
r.ssrmeet_thu_day, r.ssrmeet_fri_day, r.ssrmeet_sat_day,
r.ssrmeet_sun_day, s.ssrmeet_begin_time, s.ssrmeet_end_time,
s.ssrmeet_bldg_code, s.ssrmeet_room_code, s.ssrmeet_schd_code,
s.ssrmeet_mon_day, s.ssrmeet_tue_day, s.ssrmeet_wed_day,
s.ssrmeet_thu_day, s.ssrmeet_fri_day, s.ssrmeet_sat_day,
s.ssrmeet_sun_day, t.ssrmeet_begin_time, t.ssrmeet_end_time,
t.ssrmeet_bldg_code, t.ssrmeet_room_code, t.ssrmeet_schd_code,
t.ssrmeet_mon_day, t.ssrmeet_tue_day, t.ssrmeet_wed_day,
t.ssrmeet_thu_day, t.ssrmeet_fri_day, t.ssrmeet_sat_day,
t.ssrmeet_sun_day, T1.ssrmeet_begin_time, t1.ssrmeet_end_time,
T1.ssrmeet_bldg_code, t1.ssrmeet_room_code, t1.ssrmeet_schd_code,
T1.ssrmeet_mon_day, t1.ssrmeet_tue_day, t1.ssrmeet_wed_day,
T1.ssrmeet_thu_day, t1.ssrmeet_fri_day, t1.ssrmeet_sat_day,
T1.ssrmeet_sun_day, e1.ssrattr_attr_code, e2.ssrattr_attr_code,
SUBSTR (f_more_attributes, (scbcrse_subj_code,
scbcrse_crse_numb,
scbcrse_eff_term
),
1,
1
),
x.spriden_id, NVL (x.spriden_last_name, 'STAFF'),
x.spriden_first_name, SUBSTR (x.spriden_mi, 1, 1), y.spriden_id,
y.spriden_last_name, y.spriden_first_name,
SUBSTR (y.spriden_mi, 1, 1), z.spriden_id, z.spriden_last_name,.
z.spriden_first_name, SUBSTR (z.spriden_mi, 1, 1),
DECODE (u.spriden_pidm, NULL, 'n', 'Y'), ssbovrr_coll_code,
ssbovrr_divs_code, ssbovrr_dept_code, f1.scrschd_schd_code,
F1.scrschd_workload, f1.scrschd_max_enrl, f1.scrschd_adj_workload,
F2.scrschd_schd_code, f2.scrschd_workload, f2.scrschd_max_enrl,
F2.scrschd_adj_workload, f3.scrschd_schd_code, f3.scrschd_workload,
F3.scrschd_max_enrl, f3.scrschd_adj_workload, f4.scrschd_schd_code,
F4.scrschd_workload, f4.scrschd_max_enrl, f4.scrschd_adj_workload
Scbcrse a.,
ssbovrr,
spriden x,
spriden,
ssrmeet k,
ssrmeet l,
ssrmeet m,
ssrmeet n,
ssrmeet o,
ssrmeet p,
ssrmeet q,
ssrmeet r,
s ssrmeet,
ssrmeet t,
ssrmeet t1,
scrschd f1,
scrschd f2,
scrschd f3,
scrschd f4,
ssrattr e1,
ssrattr e2,
spriden z,
spriden u,
ssbsect
WHERE x.ROWID (+) =
f_get_instr_spriden_rowid (ssbsect_crn,
ssbsect_term_code,
« Y »,
''
)
AND y.ROWID (+) =
f_get_instr_spriden_rowid (ssbsect_crn, ssbsect_term_code, ', 1).
AND z.ROWID (+) =
f_get_instr_spriden_rowid (ssbsect_crn, ssbsect_term_code, ', 2)
AND u.ROWID (+) =
f_get_instr_spriden_rowid (ssbsect_crn, ssbsect_term_code, cm, 3)
AND ssbovrr_term_code (+) = ssbsect_term_code
AND ssbovrr_crn (+) = ssbsect_crn
AND a.scbcrse_subj_code = ssbsect_subj_code
AND a.scbcrse_crse_numb = ssbsect_crse_numb
AND a.scbcrse_eff_term =
(SELECT MAX (b.scbcrse_eff_term)
OF scbcrse b
WHERE b.scbcrse_subj_code = ssbsect_subj_code
AND b.scbcrse_crse_numb = ssbsect_crse_numb
AND b.scbcrse_eff_term < = ssbsect_term_code)
AND k.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
1
)
AND l.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
2
)
AND m.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
3
)
AND n.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
4
)
AND o.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
5
)
AND p.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
6
)
AND q.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
7
)
AND r.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
8
)
AND s.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
9
)
AND t.ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
10
)
AND t1. ROWID (+) =
gvsuowner.f_get_ssrmeet_rowid_js (ssbsect_term_code,
ssbsect_crn,
11
)
AND f1. ROWID (+) =
f_get_scrschd_rowid (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
1
)
AND f2. ROWID (+) =
f_get_scrschd_rowid (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
2
)
AND f3. ROWID (+) =
f_get_scrschd_rowid (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
3
)
AND f4. ROWID (+) =
f_get_scrschd_rowid (ssbsect_subj_code,
ssbsect_crse_numb,
ssbsect_term_code,
4
)
AND e1.ssrattr_term_code (+) = ssbsect_term_code
AND e1.ssrattr_crn (+) = ssbsect_crn
AND e1.ssrattr_attr_code (+) = "SWS".
AND e2.ssrattr_term_code (+) = ssbsect_term_code
AND e2.ssrattr_crn (+) = ssbsect_crn
AND e2.ssrattr_attr_code (+) LIKE '% TM ";
Thank youuser3367455 wrote:
Hello
I have a query that shows two different results under 2 different schema.Hello
Different how?
-Different number of records, please run this and show us what you get:
select owner, object_name, object_type from dba_objects where object_name in ('SCBCRSE', 'SCRSCHD', 'SPRIDEN', 'SSBOVRR', 'SSBSECT', 'SSRATTR', 'SSRMEET', 'F_GET_INSTR_SPRIDEN_ROWID', 'F_GET_SSRMEET_ROWID_JS') order by object_name;
If different values in some records, also include all functions in your selection list.
Concerning
Peter -
Different results from the the DLL source code
Hi all
I'm new to this forum and also to labview so understandable...
Then, I got a source project with many under vi of that graphic plots of excel files. I also got the exe after generation.
The problem is, if I try to compile this project again, the exe gives me different results than what I already have. They should be the same, because I does no update in the source code.
Can someone explain this behavior? I don't know anything about how it has been made because the guy who create this left the office... I need to make a few updates, but first of all, I have to build corectly.
Thank you
Have you compared the date of the exe file with the date of the source code? Are you absolutely sure that no changes have been made to the source code after the build? The construction specifications are part of the project. Unless you changed something there, builds should be the same.
You have the source code control? Issues like this should not be a if you make and use wisely.
-
Unflattening table FXP gives incorrect results
Hello
I am trying to send data from my RIO to PC via Ethernet.
To do this, I'm flattening of data (a table of numbers FXP) string on the RIO.
On the PC, I'm unflattening data, but get different results.
No idea what is the problem?
Attached files:
Voltages.VI - code PC
DMARead - code on RIO.
Thanks in advance!
Kyle
Hi Kyle,.
Thank you for your post and welcome to the forums of NOR.
The first suggestion I'd make is, data FXP you go around, you made sure the lengths of words and whole numbers are the same on both sides? If they are different, you expect the data to be different.
Thank you
-
SQL query return different result 11 GR 1 material and GR 11, 2
Problem: SQL returns different results in 11 GR 1 material and GR 11, 2 games.
Example script:
create the table tab_main
(
SOS number (2) not null,
contract number (2) null
)
/create the table tab_sub
(
number (2) of contract non-null,.
SOS number (2) null
)
/insert into tab_main values (1, 10);
insert into tab_main values (2, 20);
insert into tab_main values (3, null);
insert into tab_main values (4, null);insert into tab_sub values (1, 10);
insert into tab_sub (20, 2) values;
commit;The SQL code:
SELECT *.
OF tab_main.
tab_sub
WHERE tab_main.sos = tab_sub.sos (+) AND
tab_main. Contract = tab_sub.contract (+) and
tab_main. Contract not in (select 1 of the double);The above query gives more results
-by 11.2.0.4
1 10 10 1
2 20 20 2-in 11.1.0.7
1 10 10 1
2 20 20 2
4
3
Please tell us what could be the reason for the behaviour of offset lines thie.
Thank youPiesset
I think it is probably a bug in 11.1.0.7 (and possibly other versions), I get the same results as your 11.2.0.4 9.2.0.7, 10.2.0.3 and 11.2.0.3, and this is the result, I expect.
Your not in the paragraph is equivalent to:
SELECT *.
OF tab_main, tab_sub
WHERE tab_main.sos = tab_sub.sos (+) AND
tab_main. Contract = tab_sub.contract (+) and
tab_main. Contract <> 1;
Since you have null values in tab_main.contract they are lost by the predicate since null = value is never true (or false).
John
-
SDO_NN with SDO_BATCH_SIZE - which may explain different results?
I used the SDO_NN operator with the SDO_BATCH_SIZE parameter. If I add a condition to the where clause, I get very strange results.
I have tried different methods to find the line closest to the point of table LEITUNG_1.
A request has been:
Select / * + INDEX (LEITUNG_L_SI l1) * /.
L1. ObjectId, SDO_NN_DISTANCE (1) leitung_l l1 dist
netza_l n
where
n.F_ID! = 0 and
n.v_id = 1 and n.f_classl = 'LEITUNG_L' and l1.objectid = n.f_id
and
SDO_NN (L1. Shape, sdo_geometry (3001,1034000,SDO_POINT_TYPE (4045.663,339589.059,0), NULL, null);
(= 5', 1) = "TRUE".
and rownum < 10 order by 2;
The result in Oracle 10.2.0.4:
OBJECTID DIST
---------- ----------
4123 9554.33662
4519 10317.6956
4524 10463.8246
4518 10511.4224
4521 10595.0841
4522 10595.0841
4523 10604.4124
4448 10921.7373
4517 10989.0229
9 selected lines.
Elapsed time: 00:00:36.80
The same query with Oracle 11.2.0.1 with the same data:
OBJECTID DIST
---------- ----------
845 7002.66201
846 7010.9314
929 7776.21253
930 7799.44553
931 7800.36867
926 7867.07714
229 9049.54233
231 9126.17628
843 11403.8868
9 selected lines.
Elapsed time: 00:00:14.81
The other request was
Select / * + INDEX (LEITUNG_L_SI l1) * /.
L1. ObjectId, SDO_NN_DISTANCE (1) l1, n netza_l leitung_l dist
where
-n.f_id! = 0 and
n.v_id = 1 and n.f_classl = 'LEITUNG_L' and l1.objectid = n.f_id
and
SDO_NN (L1. Shape, sdo_geometry (3001,1034000,SDO_POINT_TYPE (4045.663,339589.059,0), NULL, null);
(= 5', 1) = "TRUE".
and rownum < 10 order by 2;
OBJECTID DIST
---------- ----------
206848.000261885
26259.000272029
167419 1.60356646
24910 15.2090952
26258 15.2090952
206527 25.6339523
213233 25.752101
206526 26.7804052
70573-26.8646323
9 selected lines.
The results of 10.2.0.4 and 11.2.0.1 are identical. These results are correct.
Without the condition "n.f_id! = 0", that the query works correctly, with the status of the query gives strange results.
The condition "n.f_id! = 0" should not have any influence on the result because there is no record with f_id = 0.
Other forms of find nearest objects:
If I use the parameter SDE_NUM_RES the query gives correct results the same with or without this condition:
Select / * + INDEX (LEITUNG_L_SI l1) * /.
L1. ObjectId, SDO_NN_DISTANCE (1) l1, n netza_l leitung_l dist
where
n.F_ID! = 0 and - same result without this condition
n.v_id = 1 and n.f_classl = 'LEITUNG_L' and l1.objectid = n.f_id
and
SDO_NN (L1. Shape, sdo_geometry (3001,1034000,SDO_POINT_TYPE (4045.663,339589.059,0), NULL, null);
(= 15', 1) = "TRUE".
order by 2;
OBJECTID DIST
---------- ----------
206848.000261885
26259.000272029
167419 1.60356646
24910 15.2090952
26258 15.2090952
206527 25.6339523
213233 25.752101
206526 26.7804052
70573-26.8646323
9 selected lines.
Elapsed time: 00:00:00.12
If I use SDO_WITHIN_DISTANCE to get the closest objects, all queries
(with or without 'n.f_id! (= 0' condition 10 Oracle or Oracle 11) gives the same correct results:
Select / * + INDEX (LEITUNG_L_SI l1) * /.
L1. ObjectId,
sdo_geom.sdo_distance (L1. Shape, sdo_geometry (3001,1034000,SDO_POINT_TYPE (4045.663,339589.059,0), NULL, null), 0.0001)
Dist
of l1, n netza_l leitung_l
where
n.F_ID! = 0 and - same result without this condition
n.v_id = 1 and n.f_classl = 'LEITUNG_L' and l1.objectid = n.f_id
and
sdo_within_distance (L1. Shape, sdo_geometry (3001,1034000,SDO_POINT_TYPE (4045.663,339589.059,0), NULL, null);
"distance = 27') = 'TRUE" ".
order by 2
;
OBJECTID DIST
---------- ----------
206848.000261885
26259.000272029
167419 1.60356646
26258 15.2090952
24910 15.2090952
206527 25.6339523
213233 25.752101
206526 26.7804052
70573-26.8646323
9 selected lines.Try the following:
However, if the column in the WHERE clause predicate specifies a non-space column in the table for geometry1 with an associated index, make sure that this index is not used by specifying the NO_INDEX indicator for this index. For example, if there was an index named COLA_NAME_IDX set to the NAME column, you must specify the flags in the previous example as follows:
SELECT / * NO_INDEX (c cola_name_idx), INDEX (c cola_spatial_idx) * / +.
c.mkt_id, c.name... OF cola_markets c,...;(From 10.2 and 11.2 manual dedicated to the sdo_nn)
Jack
-
Different results from the same calculations between SQL and PL/SQL
This SQL statement:
Gives the 89.5 result.select 1074 * (4 / 48) from dual;
However this PL/SQL block
Gives a different result:declare tmp NUMBER; begin SELECT 1074 * (4 / 48) into tmp from dual; dbms_output.put_line('Result '||tmp); end;
Result 89.49999999999999999999999999999999999996
If I change and give my variable tmp, a precision and scale, (38.36) say the result is 89.5.
Ed. I did about 10g (10.2.0.4.0) and 11g (11.1.0.7.0) with the same result in both.
Published by: kendenny on July 9, 2010 10:19 for more informationWhat is your current value of NUMLARGEUR in SQL * more (I assume that you use as your tool)?
SQL> set numwidth 50 SQL> select 1074 * (4 / 48) from dual; 1074*(4/48) -------------------------------------------------- 89.49999999999999999999999999999999999996
-
Satellite L10 and keyboard:-shift key gives wrong results
Using the SHIFT key with most of other than a-z keys gives bad result.
I tried to re - install a driver via Control Panel / keyboard with the Toshiba XP Home CD inserted but not better driver is found.
Control Panel / regional and language setting is English UKHello, Alan
It will be nice if you can give us more information. What specific keyboard of the country you have? What you want to do exactly? Give us a few examples please.
Maybe you are looking for
-
I have an iMac (early 2013 21.5 inch 8 GB) which stops and then restarts unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions? I bought this machine this June
-
Music has lost...
I got a new external hard drive (disc G with thunderbolt 3 TB) and deleted all my music in the disc drive of my iMac, I deleted then all the music on the disc hard iMac and now iTunes can't find the music files in the G drive, it just says: - an iTun
-
Mac pro desktop turns off with the disc in the optical drive after 20 seconds and does not start
-
Making an update for ipods, so cameras can be better
-
I downloaded the Setup program for the service pack 3 from the microsoft Download Center. I wanted to know if I would lose my data if I upgrade to sp3 IE will be my computer formatted and lose all the data stored on the hard drive?