Suggestions to improve the filter output of the acquired pulse signal
Hello,
I am working with acquiring the pulse signals form DAQ using a sample rate of 1k and number of samples as 1k for every 1sec signal using the DAQ.
I am using the smoothing type filter with Moving average->Rectangular->Halfwidth=3 and passing the smoothed signal to the butterworth filter with my requirements of 2.3hz and 0.7 with sample rate of 1000.
Problem:The filtered signal is always starting form 0 instead to start with the first value in the acquired pulse signal.For example, starting from 0 instead to start from around 0.057 as shown in the images.
How to make the filtered signal to start from the original pulse signal value.
Thanks in Advance.
Attachments:
improvementinfilter.jpg 164 KB
All filters have a transient response. A bandpass filter with a DC component at the input will have that transient strongly excited.
Some of the filter VIs have an Init? input. If the signal is continuous but is being filtered in segments, that input can help by retaining the previous state of the filter. The first transient will still be there, but later ones should be erduced or eliminated.
In the example VI attached you will find that there is a transient at the beginning of each segment. This is due to the sine signal not having an integer number of cycles.
The IIR Cascade Filter with I.C.vi and IIR Filter with I.C.vi in the Signal Processing >> Filters >> Advanced IIR Filtering palette have an initial state input.That might be helpful but calculating an appropriate set of initial conditions from the signal data may not be straightforward.
What do you want the output to look like? What are you doing with the filtered data? Perhaps there is a better approach than a filter.
Lynn
Attachments:
Filter transient.vi 19 KB
Similar Messages
-
Hi All,
i have used CMS in SQL 2008 R2. i have added couple of servers in its group. i have executed a query & i need to send the query output in the form of email.
basically query is checking the rows count from couple of user tables in servers.
issue here is how to copy the data that is used by CMS? i need to work on automate the rows count in difft user table in db servers
could you please suggest how can i achieve this?Copy to what?
SELECT COUNT(*) FROM sys.objects
Running the above statement returns two columns (server name and count)
All the servers SS2005 and onwards , then use
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'name',
@recipients = '[email protected]',
@query = 'SELECT COUNT(*) FROM sys.objects',
@subject = 'Count rows'
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Does the RCA OUTPUT on the CDX-GT56UI Car Stereo have both Sub and PRE-OUT? if so how do I switch to PRE-OUT?
Hello Richard,
The unit has 2-channel Preamp Outputs on the rear of the receiver, used for connecting external amps. This unit doesn't have Sub Preamp Outputs.
The rear preamp outputs can be set in the menu to output a full range signal to the rear channels, or a filtered signal to a subwoofer. When set to subwoofer, the output typically has a selectable low-pass filter and is non-fading. You can change the rear preamp outputs by selecting REAR/SUB option under Setup menu of the unit.
If my post answers your question, please mark it as "Accepted Solution".
Thank you for your post. -
Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"
Hello all,
I have moved this question from the Windows
Server General Forum accorfing to the suggestion from Mr. Justin Gu
I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
I can find the Filter function with the following operation.
Mr. Justin Gu wrote:
> You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
In the Properties dialog box, click Filter and
then select ‘Edit…’. You will be> able
to see the Filter type and Filter data in the Filter dialog box.
What
Kind of Filter can
I use in this Filter dialog box?
And, how can I set to exclude the some kind of datas?
Could you give me your suggestion?
Thank you.What
Kind of Filter can
I use in this Filter dialog box?
And, how can I set to exclude the some kind of datas?
Could you give me your suggestion?
Thank you.
I'm looking for the same information. -
How to send the spool output to the specific user during ALE distribution
Hi All
In ALE internal order Configuration done by BAPI Method SAVEREPLICA Business object BUS2075whenever user changed the internal order which is moved to the destination system because of change data setting in data element fields.
I want to know how to send the spool output of the changed internal order to the specific user during ALE distribution.
Please help me to reslove the above issue
Thanks & Regards
KRISHGUNASolved by myself
-
What are the characteristics of the sound output from the speaker iPad3?
What are the characteristics of the sound output from the speaker iPad3?
man -s4 proc
or
http://docs.sun.com/app/docs/doc/817-0683/6mgff29c4?q=procfs&a=view
Its a virual directory structure with a directory per process. These per process directories contain more directories and files that supply detailed information on that process eg per open file information.
Access to the per process directories is controlled by checking the credentials of the accessing process against the credentials of the
process whose procfs directory is being accessed.
tim -
How to put the alv output into the spool request?
Hi guys,
How to put the alv output into the spool request?
Thanks!Hi
Sending an ALV List screen output to SPOOL
Convert ALV list to PDF and send mails to respective persons
Regards
Pavan -
How to write the code to send the report output to the local file.
dear all,
how to write the code to send the report output to the local file.
Thanks & Regards,
Jyothi.Hi,
Try this , it will display report and download the file as well. Just vhange the path and execute
TYPE-POOLS : SLIS.
DATA : IT_SCARR TYPE TABLE OF SCARR,
IT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
SELECT *
FROM SCARR
INTO TABLE IT_SCARR.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
* I_PROGRAM_NAME =
* I_INTERNAL_TABNAME =
I_STRUCTURE_NAME = 'SCARR'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_INCLNAME =
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = IT_FCAT
* EXCEPTIONS
* INCONSISTENT_INTERFACE = 1
* PROGRAM_ERROR = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
* I_CALLBACK_PROGRAM = ' '
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_STRUCTURE_NAME =
* IS_LAYOUT =
IT_FIELDCAT = IT_FCAT
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IR_SALV_LIST_ADAPTER =
* IT_EXCEPT_QINFO =
* I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_SCARR
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
* BIN_FILESIZE =
FILENAME = 'C:\Documents and Settings\sap\Desktop\Hi.xls' " Change path
* FILETYPE = 'ASC'
* APPEND = SPACE
* WRITE_FIELD_SEPARATOR = SPACE
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = SPACE
* WRITE_LF = 'X'
* COL_SELECT = SPACE
* COL_SELECT_MASK = SPACE
* DAT_MODE = SPACE
* CONFIRM_OVERWRITE = SPACE
* NO_AUTH_CHECK = SPACE
* CODEPAGE = SPACE
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = SPACE
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* IMPORTING
* FILELENGTH =
CHANGING
DATA_TAB = IT_SCARR
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* NOT_SUPPORTED_BY_GUI = 22
* ERROR_NO_GUI = 23
* others = 24
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
DOCUMENT = 'C:\Documents and Settings\sap\Desktop\Hi.xls' "Change path
* APPLICATION =
* PARAMETER =
* DEFAULT_DIRECTORY =
* MAXIMIZED =
* MINIMIZED =
* SYNCHRONOUS =
* OPERATION = 'OPEN'
* EXCEPTIONS
* CNTL_ERROR = 1
* ERROR_NO_GUI = 2
* BAD_PARAMETER = 3
* FILE_NOT_FOUND = 4
* PATH_NOT_FOUND = 5
* FILE_EXTENSION_UNKNOWN = 6
* ERROR_EXECUTE_FAILED = 7
* SYNCHRONOUS_FAILED = 8
* NOT_SUPPORTED_BY_GUI = 9
* others = 10
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Where do I find a TosLink, Optical to Analog Audio for the Optical Output on the Apple TV 2?
click here for information.
-
What is the AC output for the orgnal charger for Camelio x100?
hi,
I lost my ac adapter for my Camelio X100 camera. I want to know the AC output for the orignal adapter because I need to buy a new one.
Please if you have same camera model (Camelio X100) just take a look for PC adapter and tell me how much ouptu volt and output Amp ?
Best RegardsYou should archive the material in it's native format so that you have the possibility to revisit the project and make changes or generate master files in other formats.
Use the Media Manager to consolidate your project into a single enclosing folder. This can be compressed into a .zip file or disk image. It will save space if you dont include render files, even more if you make the material that came from tape, offline -although you will have to recapture in that case. -
How to send the report output to the application server in a excel file
Hello,
how to send the report output to the application server in a excel file.
and the report runs in background.
Thanks in advance.
SundeepDear Sundeep.
I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
D A T A D E C L A R A T I O N *
TYPES: BEGIN OF TY_EXCEL,
CELL_01(80) TYPE C,
CELL_02(80) TYPE C,
CELL_03(80) TYPE C,
CELL_04(80) TYPE C,
CELL_05(80) TYPE C,
CELL_06(80) TYPE C,
CELL_07(80) TYPE C,
CELL_08(80) TYPE C,
CELL_09(80) TYPE C,
CELL_10(80) TYPE C,
END OF TY_EXCEL.
DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
WA_EXCEL TYPE TY_EXCEL..
E V E N T : S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Here you populate the Internal Table.
Display - Top of the Page.
PERFORM DISPLAY_TOP_OF_PAGE.
E V E N T : E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
SET PF-STATUS 'GUI_STATUS'.
E V E N T : A T U S E R - C O M M AN D *
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXPORT'.
Exporting the report data to Excel.
PERFORM EXPORT_TO_EXCEL.
ENDCASE.
*& Form DISPLAY_TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM DISPLAY_TOP_OF_PAGE .
SKIP.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'O R I C A'
CENTERED COLOR 1,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
CENTERED COLOR 4 INTENSIFIED OFF,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE.
E X C E L O P E R A T I O N
CLEAR: IT_EXCEL[],
WA_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
WA_EXCEL-cell_02 = ' XYZ Ltd. '.
APPEND WA_EXCEL TO IT_EXCEL.
CLEAR: WA_EXCEL.
WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
APPEND WA_EXCEL TO IT_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
ENDFORM. " DISPLAY_TOP_OF_PAGE
*& Form APPEND_BLANK_LINE
text
-->P_1 text
FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
DO P_LINE TIMES.
CLEAR: WA_EXCEL.
APPEND WA_EXCEL TO IT_EXCEL.
enddo.
ENDFORM.
*& Form EXPORT_TO_EXCEL
text
--> p1 text
<-- p2 text
FORM EXPORT_TO_EXCEL .
DATA: L_FILE_NAME(60) TYPE C.
Create a file name
CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
'.' SY-DATUM+0(4) INTO L_FILE_NAME.
Pass the internal table (it_excel which is already populated )
to the function module for excel download.
CALL FUNCTION 'WS_EXCEL'
exporting
filename = L_FILE_NAME
tables
data = IT_EXCEL
exceptions
unknown_error = 1
others = 2.
if sy-subrc <> 0.
message e001(ymm) with 'Error in exporting to Excel.'.
endif.
ENDFORM. " EXPORT_TO_EXCEL
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
Regards,
Abir
Don't forget to award Points * -
How can change the font in the script output and the data grid ?
How can change the font in the script output and the data grid in Sql Developer?
You can't easily unless you have the latest version (2.1.1).
If you do have this version then changing the font in the Tools/Preferences menu under the code editor/fonts section will also change the font of the data grid.
For details of changing the fonts in an earlier version then see Sue's post below.
http://sueharper.blogspot.com/2010/03/back-to-basics-changing-font-setting-in.html -
User Defined Field that gives the date output of the last price update.
We would like to create a User Defined Field (UDF) with a Formatted Search (FMS) on the Item Master form that gives the date output of the last price update specifically the wholesale price.
Last Price Update
Pricelist 2 = Wholesale
Is this feasible?
If it is feasible what is the recommended approach?
Current working UDF on Item Master.
/* Date output is based on all the latest updates on the Item Master.*/
select max(updatedate)
from aitm
where itemcode = $[oitm.itemcode]
Resources that were helpful.
1.(Note:1165947 - Tracking Item Price Changes.)
2. Case 4-I6: Query on price updates. Mastering SQL Queries for SAP Business One By: Gordon DuThank you Gordon,
We are looking for the date output of the 'Last Price Update' based on 'Pricelist 2 = Wholesale' which is the challenge.
These 2 are the parameters for the date output, I should have mentioned that in my original message.
Last Price Update
Pricelist 2 = Wholesale
Per reading a bunch of other similar Forum Questions it looked like it is might not be possible to do. With there being no date on the AIT1 table and AITM.Updatedate is based on any and all updates not just last 'Last Price Update' and not sure how to use the loginstanc.
Thanks,
Vern -
What is the range output on the airport express?
What is the range output on the airport express?
Loaded question. It's 150 feet or so, but for most folks, this is a meaningless number.
Measurements like this are taken in a very large area like an aircraft hanger with no obstructions in the signal path.
A typical sheetrock wall in a home will absorb 15-20% of signal or more. A ceiling will absorb even more. So, after a few walls or a ceiling and a wall, more than half of the signal is probably lost. That's about as many obstructions that the signal can penetrate and still deliver a decent quality signal with some speed.
It's nice to know that the signal will go 150 feet or so, but few of us have houses with no walls or ceilings. -
Is there a difference between the earphone output and the audiooutput of the docking connector of the iphone 4, or is it in fact the same signal ?
One basic difference is that the LTE frequencies each is able to operate on are different. After that, it is pretty much the same phone. Others might be able to add to this.
Maybe you are looking for
-
Please help me - installed idump and now word keeps closing on itself
hi all i installed idump from a cd on to my powerbook...now when i open word it closes itself after a short time, tried to de-install idump and re-install but the same thing happens what can i do ? D
-
OBIEE 11G prompt values are not applying
Hi There, I am using OBIEE11g, I have a dashboard which consist of a prompt. In prompt I have filter condition on Start date and End date with default values, when I run the dashboard it gives me some ODBC error, it doesn't applly the default values.
-
Implementing S_ALR_87011966 Report in SAP BI
Hi Gurus, I need to implement SAP FICO Report S_ALR_87011966. Can anyone please help me with it. Which DS I should use to see the Asset Balances in BI. Thanks and Regards Edited by: A S on Sep 13, 2010 6:38 PM
-
I have my homepage set up to view my Verizon webmail. Out of no-where, it suddenly will not load the email. I get the headings and some tabs but no email. It loads fine on Internet explorer. There's no proxy. So I've no idea what to do.
-
Is there a way to change the download/up location for the imported Library?
I user Vista 64bit I have the latest version of Itunes My OS is on my C: partition My main hard drive space is on D: I have installed Itunes to D: When I try to import my music back to my Itunes after Downloading new copy the music countinues to try