TKPROF and DB mismatch
Hi,
Right now we have the Oracle DB version 9.2.0.5.0, and TKPROF version is 8.0.6.3.0 as I get the following in the TKPROF header and I have taken the TKPROF from UNIX Box(Application Tier)
TKPROF: Release 8.0.6.3.0 - Production on Mon Dec 14 15:53:15 2009
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Trace file: xxxxxxxxx.trc
Sort options: default
I want to take the TKPROF from the latest version 9.2.0.5.0
Any pointers on how do i take the TKPROF from 9.2.0.5.0 rather than 8.0.6.3.0
Thanks,
Kiran
Hi,
there are three ORACLE_HOME in Oracle Apps, Two for Application Tier (Middleware) and One in Database Tier.
*ORACLE_HOME 1 : On Application Tier used to store 8.0.6 techstack software. this is used by forms, reports & discoverer. ORACLE_HOME should point to this ORACLE_HOME while applying Apps Patch.
* ORACLE_HOME 2: On Application Tier used by iAS (web server) techstack software. this is used by Web Listener & Apache.
* ORACLE_HOME 3: On Database Tier used by Database Software 8i,9i or 10g database.
Regards
Similar Messages
-
We have a test and a production environment with portal 9.0.2.2.14A.
We Use the exp/imp utilities to publish our portal.
In the test env we dropped and re-created a corrupted dynamic page.
When importing this component in the prod env we have the following message:
Checking for type = DYNAMIC Name = MENU_PAGINE Id = 4867642631 ...
MENU_PAGINE cannot be overwritten as the id and name mismatch.
Import of MENU_PAGINE will fail.
We cannot drop this component because we don't find it with the Navigator (I think that the previous import didn't create it correctly because of the corruption in the test env).
Can anyone help me?Any component created wil have information gets stored in the tables wwv_modules$,wwv_module_details$,wwapp_application$
Try to find the module_id of the dynamic page created, and delete it from all the 3 tables. -
What is the difference between tkprof and explainplan
Hi,
what is the difference between tkprof and explainplan.Execution Plans and the EXPLAIN PLAN Statement
Before the database server can execute a SQL statement, Oracle must first parse the statement and develop an execution plan. The execution plan is a task list of sorts that decomposes a potentially complex SQL operation into a series of basic data access operations. For example, a query against the dept table might have an execution plan that consists of an index lookup on the deptno index, followed by a table access by ROWID.
The EXPLAIN PLAN statement allows you to submit a SQL statement to Oracle and have the database prepare the execution plan for the statement without actually executing it. The execution plan is made available to you in the form of rows inserted into a special table called a plan table. You may query the rows in the plan table using ordinary SELECT statements in order to see the steps of the execution plan for the statement you explained. You may keep multiple execution plans in the plan table by assigning each a unique statement_id. Or you may choose to delete the rows from the plan table after you are finished looking at the execution plan. You can also roll back an EXPLAIN PLAN statement in order to remove the execution plan from the plan table.
The EXPLAIN PLAN statement runs very quickly, even if the statement being explained is a query that might run for hours. This is because the statement is simply parsed and its execution plan saved into the plan table. The actual statement is never executed by EXPLAIN PLAN. Along these same lines, if the statement being explained includes bind variables, the variables never need to actually be bound. The values that would be bound are not relevant since the statement is not actually executed.
You don’t need any special system privileges in order to use the EXPLAIN PLAN statement. However, you do need to have INSERT privileges on the plan table, and you must have sufficient privileges to execute the statement you are trying to explain. The one difference is that in order to explain a statement that involves views, you must have privileges on all of the tables that make up the view. If you don’t, you’ll get an “ORA-01039: insufficient privileges on underlying objects of the view” error.
The columns that make up the plan table are as follows:
Name Null? Type
STATEMENT_ID VARCHAR2(30)
TIMESTAMP DATE
REMARKS VARCHAR2(80)
OPERATION VARCHAR2(30)
OPTIONS VARCHAR2(30)
OBJECT_NODE VARCHAR2(128)
OBJECT_OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
OBJECT_INSTANCE NUMBER(38)
OBJECT_TYPE VARCHAR2(30)
OPTIMIZER VARCHAR2(255)
SEARCH_COLUMNS NUMBER
ID NUMBER(38)
PARENT_ID NUMBER(38)
POSITION NUMBER(38)
COST NUMBER(38)
CARDINALITY NUMBER(38)
BYTES NUMBER(38)
OTHER_TAG VARCHAR2(255)
PARTITION_START VARCHAR2(255)
PARTITION_STOP VARCHAR2(255)
PARTITION_ID NUMBER(38)
OTHER LONG
DISTRIBUTION VARCHAR2(30)
There are other ways to view execution plans besides issuing the EXPLAIN PLAN statement and querying the plan table. SQL*Plus can automatically display an execution plan after each statement is executed. Also, there are many GUI tools available that allow you to click on a SQL statement in the shared pool and view its execution plan. In addition, TKPROF can optionally include execution plans in its reports as well.
Trace Files and the TKPROF Utility
TKPROF is a utility that you invoke at the operating system level in order to analyze SQL trace files and generate reports that present the trace information in a readable form. Although the details of how you invoke TKPROF vary from one platform to the next, Oracle Corporation provides TKPROF with all releases of the database and the basic functionality is the same on all platforms.
The term trace file may be a bit confusing. More recent releases of the database offer a product called Oracle Trace Collection Services. Also, Net8 is capable of generating trace files. SQL trace files are entirely different. SQL trace is a facility that you enable or disable for individual database sessions or for the entire instance as a whole. When SQL trace is enabled for a database session, the Oracle server process handling that session writes detailed information about all database calls and operations to a trace file. Special database events may be set in order to cause Oracle to write even more specific information—such as the values of bind variables—into the trace file.
SQL trace files are text files that, strictly speaking, are human readable. However, they are extremely verbose, repetitive, and cryptic. For example, if an application opens a cursor and fetches 1000 rows from the cursor one row at a time, there will be over 1000 separate entries in the trace file.
TKPROF is a program that you invoke at the operating system command prompt in order to reformat the trace file into a format that is much easier to comprehend. Each SQL statement is displayed in the report, along with counts of how many times it was parsed, executed, and fetched. CPU time, elapsed time, logical reads, physical reads, and rows processed are also reported, along with information about recursion level and misses in the library cache. TKPROF can also optionally include the execution plan for each SQL statement in the report, along with counts of how many rows were processed at each step of the execution plan.
The SQL statements can be listed in a TKPROF report in the order of how much resource they used, if desired. Also, recursive SQL statements issued by the SYS user to manage the data dictionary can be included or excluded, and TKPROF can write SQL statements from the traced session into a spool file.
How EXPLAIN PLAN and TKPROF Aid in the Application Tuning Process
EXPLAIN PLAN and TKPROF are valuable tools in the tuning process. Tuning at the application level typically yields the most dramatic results, and these two tools can help with the tuning in many different ways.
EXPLAIN PLAN and TKPROF allow you to proactively tune an application while it is in development. It is relatively easy to enable SQL trace, run an application in a test environment, run TKPROF on the trace file, and review the output to determine if application or schema changes are called for. EXPLAIN PLAN is handy for evaluating individual SQL statements.
By reviewing execution plans, you can also validate the scalability of an application. If the database operations are dependent upon full table scans of tables that could grow quite large, then there may be scalability problems ahead. On the other hand, if large tables are accessed via selective indexes, then scalability may not be a problem.
EXPLAIN PLAN and TKPROF may also be used in an existing production environment in order to zero in on resource intensive operations and get insights into how the code may be optimized. TKPROF can further be used to quantify the resources required by specific database operations or application functions.
EXPLAIN PLAN is also handy for estimating resource requirements in advance. Suppose you have an ad hoc reporting request against a very large database. Running queries through EXPLAIN PLAN will let you determine in advance if the queries are feasible or if they will be resource intensive and will take unacceptably long to run. -
MF8580 prints two pages, then gives paper size and settings mismatch error. Help!
Hello, I have been dealing with this problem for weeks now. When i called support, they told me it was my computer, that it was "running slow" and that i need to pay for their service - that fixing errors in my registry would fix the problem. However, i have my own registry cleaner and that isnt the problem. Every time i print something, the printer will print the first two pages, and then beep, giving me the error "paper size and settings mismatch Drawer 1" - I have everything set to letter - in the driver, on the printer, etc. I do nto understand why it prints two pages and then tells me there is a mismatch. If i open and close the drawer, it will print the second page again and then the third page, and give me the same error again. rinse and repeat. This also happens when multiple documents are spooled. I send three - one page documents, it will print the first and second, give me the error, i open and close the paper drawer 1, then it prints document two and three - then gives me the same error - i open and reclose and it prints the thrid document... I am just baffeled.
Hi!
To ensure the most accurate information is provided, we will need to know the version of Windows or Mac in use. Also, we wanted to mention that it sounds like the number you reached was not an official Canon support number, as we do not charge for support. If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
Thanks and have a great day! -
Hello Team,
Please let us know any standard report for we can run to view GRIR mismatch but the IR and GR quantity is already equal and the IR and GR price has mismatch.
Regards
SANGEETHAHi,
it is not solution, what i am sating GR QTY 10 amount value 1000 rs and IR Qty 10 but amount value is 950. Theeir is differenece between GR amount value and IR amount value.
Is their any standard report to check list of po's difference between GR and IR quanity match and amount value is not match.
Regards
Sangeetha -
Trying to find Tkprof but it looks like it wasn't installed.
Reading the docs and they still reference it so I'm a tad
confused. Anybody know where to find it ?I've reinstalled the S/W (on W2k) and still no tkprof.
It does appear to be there on Linux, this is very odd -
Place command and profile mismatches
I'm curious why the Place command in Photoshop doesn't warn me about profile mismatches.
For instance, if I have an sRGB document and Place a CMYK file, there is no warning - regardless of my settings in Edit > Color Settings.
Does anyone know how this is handled?Hi csuebele,
The only requirement is that the final result is 1500 x 1000 px. The black is used to fill in the sides/tops as necessary. Since this is to be automated, I need each new file to have a unique name of course (otherwise succeeding files will overwrite their predecessor).
For example, say I have a file called image001.tif that is cropped to 2400w x 3000h px. I need this to fit a container that's 1500 x 1000 px, with black filling this out.
Manually I would
1. Open a black TIFF that's already 1500x1000.
2. Place the 2400x3000 px image in the black tiff.
3. PS then resizes and centers the image to fit, while preserving the aspect ratio.
4. Thus the image is now sized to be 800w x 1000h px , with black filling the sides equally; i.e. 750 px of black on either side.
5. I then save that "new" version of the black file for the web, and then close w/o saving.
6. End result is a 1500x1000 file called image001.JPG.
Please see attached for 2 examples:
Example of a portrait image:
Example of a landscape image: -
Hi
I am looking into a performance issues on the following; Oracle 8.1.7.3 on OpenVms and a Pro*C/C++ server application.
I run sql_trace and tkprof for some Pro*C/C++ operations and I get the following from tkprof
INSERT INTO VV4_RANGE.TRANSACTION_DETAIL (CALCULATED_VALUE,VALUE,
CALL_DURATION,CREDIT_BALANCE,FILE_TYPE_UID,FILE_UID,IN_PLATFORM_UID,
CALLED_PARTY,PROVIDER_ID,RECORD_NUMBER,START_OF_CALL,SUBSCRIBER_UID,
TARIFF_CORRECT,END_OF_CALL,TRANSACTION_TYPE_UID,EVENT_CAUSE) SELECT
CALCULATED_VALUE,CALL_CHARGE,CONNECTION_DURATION,CREDIT_BALANCE,
FILE_TYPE_UID,FILE_UID,IN_PLATFORM_UID,NVL(CALLED_PARTY,LAST_CALLED_PARTY),
PROVIDER_ID,RECORD_NUMBER,START_DATE,SUBSCRIBER_ID,TARIFF_CORRECT,
TIME_STAMP,TRANSACTION_TYPE_UID,decode(CALL_STATUS,-1,NULL,CALL_STATUS)
FROM DATALOADER1_1_8
call count cpu elapsed disk query current rows
Parse 1 0.00 0.01 0 0 0 0
Execute 0 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
total 1 0.00 0.01 0 0 0 0
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 28 (VV4_LOAD)
This is strange there is only a parse and nothing else. I then checked out the raw trace files, as below
PARSING IN CURSOR #18 len=567 dep=0 uid=28 oct=2 lid=28 tim=190280724 hv=832202509 ad='5d41c08'
INSERT INTO VV4_RANGE.TRANSACTION_DETAIL (CALCULATED_VALUE,VALUE,CALL_DURATION,CREDIT_BALANCE,FILE_TYPE_UID,FILE_UID,IN_PLATFORM_UID,CALLED_PARTY,PROVIDER_ID,RECORD_NUMBER,START_OF_CALL,SUBSCRIBER_UID,TARIFF_CORRECT,END_OF_CALL,TRANSACTION_TYPE_UID,EVENT_CAUSE) SELECT CALCULATED_VALUE,CALL_CHARGE,CONNECTION_DURATION,CREDIT_BALANCE,FILE_TYPE_UID,FILE_UID,IN_PLATFORM_UID,NVL(CALLED_PARTY,LAST_CALLED_PARTY),PROVIDER_ID,RECORD_NUMBER,START_DATE,SUBSCRIBER_ID,TARIFF_CORRECT,TIME_STAMP,TRANSACTION_TYPE_UID,decode(CALL_STATUS,-1,NULL,CALL_STATUS) FROM DATALOADER1_1_8
END OF STMT
PARSE #18:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280724
FETCH #15:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=2,dep=0,og=4,tim=190280725
EXEC #16:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=190280725
FETCH #16:c=0,e=4,p=0,cr=156,cu=9,mis=0,r=0,dep=0,og=4,tim=190280729
From this I can see there are "exec" and "fetch" is occuring in different cursors to the SQL statement cursor used for the parse.
My question is now what would cause something like this for an insert statement?
Thanks
PatrickThere are several examples and a detailed explanation of Explain Plan at:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm
Regarding TKPROF:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm Check the 20.4 point -
Hello,
I seem to be having a lot of trouble with a very simple implementation. I have 2 routers and a data centre WAE via WCCP. These devices are on the same L2/L3 segment (x.x.x.0/24). The WAN interfaces on the routers are in different networks. The remote WAE is inline. I configured ip wccp 61 redirect in on the LAN interface of each router and ip wccp 62 redirect in on the WAN interface of each router. I get the alarm "WCCP router x.x.x.1(LAN) unusable for service id:61 reason redirection mismatch with router" and "WCCP router x.x.x.1(LAN) unusable for service id:62 reason redirection mismatch with router". For the WAN interfaces I get the alarm they are unreachable for the service ID.
Snadard router config
ip wccp version 2
ip wccp 61
ip wccp 62
int gi0/0
description LAN
ip address x.x.x.1
ip wccp 61 redirect in
int gi0/1
description WAN
ip address y.y.y.1
ip wccp 62 redirect in
Should I only be trapping inbound traffic on the LAN interface ?
The other thing I noticed was these messages from the PIX on the same L2/L3 segment
Dec 20 2011 05:49:52: %PIX-2-106006: Deny inbound UDP from WADMZJA02/2048 to IROUTER1/2048 on interface outside
Dec 20 2011 05:49:52: %PIX-2-106006: Deny inbound UDP from WADMZJA02/2048 to IROUTER2/2048 on interface outside
Dec 20 2011 05:49:52: %PIX-2-106006: Deny inbound UDP from WADMZJA02/2048 to IROUTER1/2048 on interface outside
Dec 20 2011 05:49:52: %PIX-2-106006: Deny inbound UDP from WADMZJA02/2048 to IROUTER2/2048 on interface outside
Access list
access-list outside_access_in extended permit udp host WADMZJA02 host IROUTER1 log notifications
access-list outside_access_in extended permit udp host WADMZJA02 host IROUTER2 log notifications
access-list outside_access_in extended permit udp host IROUTER1 host WADMZJA02 log notifications
access-list outside_access_in extended permit udp host IROUTER2 host WADMZJA02 log notifications
Best regards
Stephen
WAE config
sh run
2011 Dec 20 07:06:27 WADMZJA02 -admin-shell: %WAAS-PARSER-6-350232: CLI_LOG log_cli_command: sh run
! waas-universal-k9 version 4.3.1 (build b6 Nov 13 2010)
device mode application-accelerator
hostname WADMZJA02
clock timezone Europe/Brussels 1 0
ip domain-name fibe.fortis
primary-interface GigabitEthernet 1/0
interface GigabitEthernet 1/0
ip address x.x.x.248 255.255.255.0
exit
interface GigabitEthernet 2/0
shutdown
exit
ip default-gateway x.x.x.4 <== firewall
no auto-register enable
! ip path-mtu-discovery is disabled in WAAS by default
! <== traffic to be rerouted outbound ==>
ip route a.a.a.0 255.255.255.0 x.x.x.1 <== Outbound HSRP
ip access-list extended HK
permit ip any 0.0.0.0 255.255.255.0
exit
logging console enable
logging console priority debug
interception access-list HKWAAS
wccp router-list 1 z.z.z.202 y.y.y.122 x.x.x.1 x.x.x.2 x.x.x.3
wccp tcp-promiscuous router-list-num 1 hash-source-ip hash-destination-ip l2-redirect l2-return
wccp version 2
egress-method negotiated-return intercept-method wccp
ip icmp rate-limit unreachable df 0
directed-mode enable
transaction-logs flow enable
--More--
! [K
inetd enable rcp
sshd allow-non-admin-users
sshd enable
tfo tcp optimized-send-buffer 2048
tfo tcp optimized-receive-buffer 2048
accelerator http metadatacache enable
accelerator http metadatacache https enable
accelerator http dre-hints enable
central-manager address x.x.x.247
cms enable
! End of WAAS configurationHi Stephen,
The "Redirection mismatch" messages indicate that the redirection or return method configured on the WAE is not compatible with the router. Probably, the routers you are using don't support L2 redirection
Moving forward, I would recommend you to change the line "wccp tcp-promiscuous router-list-num 1 hash-source-ip hash-destination-ip l2-redirect l2-return" for "wccp tcp-promiscuous router-list-num 1". This will negotiate hash assignment, as well as GRE redirection and return, which are the parameters supported by most platforms.
As for the firewall messages, it seems that some WCCP negotiation packets (UDP port 2048) are being dropped. Unfortunately, my firewall knowledge is very limited, so I cannot really help you with that part.
Regards
Daniel -
OCI, Nulls and bind mismatch
I am having some issues with a third party application that used OCI to access the database, we have a problem statement that generates hundreds of child cursors for a specific statement. Investigating v$sql_shared_cursor show the reason for this a bind mismatches, on tracing the binds this seems to happen where nulls are bound into the number fields (the statement updates 43 values in one row of a table). This is really killing the database performance, is anyone aware of an issue with binding nulls in OCI similar to this http://www.usn-it.de/index.php/2010/08/04/oracle112-mutex-s-too-many-child-cursors/ seen in the jdbc drivers.
As its a third party application I can;t get hold of the code and the vendors support have identified it as a slow database issues rather than actually look at the code to figure out whats going on the versions of oracle involved are
Database: 11.2.0.2 + patchset update 2 + one off patches 12431716,12423122,11664046
Client version: OCI (whichever comes with instant client 11.2.0.1)
ChrisHi Chris,
Inside API calls in the application is different for null and not-null. Refer to my post : OCIBindByPos() 8th parameter and its impact on performance for more.
However, there is no indication in OCI documentation or any other doc about the behavior of child cursors with null concept although the null support is available from Oracle 8.
We are running some tests and will update the forum from findings. -
Link and Application mismatch in ESS
Hi,
In ESS, when I am clicking on the Personal Information->Addresses link, strangely, the personal data application is being called.
I also checked the Link and Resource mappings from spro, they seem to be fine.
When I am previewing the Addresses application from portal content, it is coming up fine.
Please help me with a solution on this.
Thanks and Regards,
Swaralipiyou can have the field length what ever you want, but you can;t maintain them using Tablemaintenance. you can do one thing using some bdc or upload program update the table with the url what ever you have.
and also you can pass the parameter with more than 255 chars length using the function module. -
Mail sender and subject mismatch with message content
I have just started to find a few messages here and there that have a sender and subject which does not match the message content. The frequency of this behavior seems to be increasing. The senders are people I do get mail from and the message content looks like something I would receive from another recognized sender but they don't match. Anyone have any ideas?
Thanks in advance.Never mind. A little more searching solved the problem.
http://discussions.apple.com/thread.jspa?messageID=11969642� -
This refers to the Plugins section and the updating option. In two previous versions of Firefox the plugins check tells me I need to update to a specific version of Adobe Reader, despite the fact I have laready done so. Does this mean Firefox is vulnerable, or Reader? Is it a problem or just a software glitch. Bearing in mind the complexity of Reader (which I need for work related reasons) I hope this doesn't indicate a serious issue rather than a transient one.
Many thanks for that. Sounds entirely reasonable to me. It's not actually causing any problems that I can see but I don't like browsers throwing up issues that make no sense! Will see if it disappears in subsequent versions of Firefox.
all best. -
Screen size and resolution mismatch after 2008-008 update.
This is very odd. My screen is shifting around every time I move the mouse on my macbook pro. It appears that the mac doesn't think the full resolution will fit on the screen, and so shifts a few pixels up (or down, left, right) whenever I move around the screen. It's very difficult to use since it distorts whatever I'm reading. I've tried selecting different display resolutions: 1440x900, 1280x800, & 1024x768, but the problem persists even on lower resolutions.
Could be a red herring, but I've checked the install.log for errors and found a couple instances of this sequence:
Dec 22 07:42:04 gseven : update_prebinding[25268]: update_prebinding: too many errors (101)
Dec 22 07:42:04 gseven : update_prebinding[25268]: update_prebinding: error: terminating
Dec 22 07:42:04 gseven : update_prebinding[25268]: update_prebinding: error 256 running updateprebindingcore
I don't know if that could even be related. Anyway, does anyone have an idea how to fix this?Hi xerhino, and a warm welcome to the forums!
Good work on your part!
Hope your doing OK with the Snow, Ice, and Winds! -
Hello ,
I have designed a simple sequence to check the ifft and fft of an array . Initially i create a set of data that is fed into the ifft block , the output that i get out of the ifft block , i feed it into a fft block . it is only fair that i expect the output from the fft block to be the same as the input to the ifft block. But , that is not how it turns out . Can anybody give me a explanation why this is the case . and i am using this with a DSP board (speedy 33) .
Mano .
Attachments:
testforfft.vi 17 KBI do not have the Speedy33.
All digitized FFT functions and their inverses work on arrays of numbers. The dynamic signal or waveform datatypes are composite datatypes which contain arrays of data plus additional data related to the timing of the signal. Most of the analysis functions are polymorphic, meaning that they will accept arrays or waveforms and perhaps dynamic datatypes. The "Sampling Frequency" is the inverse of the time between samples. But, the FFT functions really do not know or care what the frequency or time is. In fact it is often calculated externally.
In your data you can have the "signal" (the array of data) switch from +1 to -1 from one sample to the next. So the highest frequency in this data is 1 cycle per 2 samples. The Nyquist criterion specifies that the sampling frequency must be GREATER than twice the highest frequency in the data to be able to correctly reproduce the signal. Your sampling frequency is equal to twice the highest frequency in the data and thus it violates the Nyquist criterion.
I modified your VI slightly. I put a diagram disable structure over the Speedy33 subVIs and put a standard FFT in the Enabled case. I also added the interleave function which has the effect here of repeating every element twice which essentially cuts the highest frequency in the data to 1/4 the sampling frequency. I also added graphs so that the signals could be visualized. Notice that the input and FFT plots are usually similar but not identical.
Lynn
Attachments:
testforfft(2).vi 37 KB
Maybe you are looking for
-
How to specify page encoding for XML reports.
Hi, Environment: Apps:11.5.10, Oracle Reports: 10g I'm trying to generate XML tags by using a "rdf" report (10g). Initially I generated the XML tags before moving the report to server. In the output file I got <?xml version="1.0" encoding="WINDOWS-12
-
Jsf problem go from jsp page to another jsp in new window
Ive two jsp pages attendReport.jsp and printAttendReport.jsp attendReport.jsp contains inputs for attend duration and employee id and command button view to view attendance data entered employee during entered duration inside the same page(this wo
-
Class casting problems in JSP's
Folks, Several people, including myself, have written about the problems they ran into when trying to cast a class in JSP's. The following link might provide the answer: http://www.weblogic.com/docs51/classdocs
-
Copying Grageband setting to Logic Express 7?
I've been working with Garageband since it came out, and what I usually do is begin a project in GB and then open it in Logic Express 7 to to be able to do more. Even though I don't like GB's limitations compared to LE 7, some of the pre-made setting
-
What is "other" on my flash drive? I need to free up space
I have a 64 GB MacBook Air and 23 GB is taken up by "other". What is it and how can I free up space in flash memory?