FILTER logic getting jumbled when GENERATED...

Environment:
OWB10g Client on Windows XP Professional
Repository - 9.2.0.4 on UNIX (AIX 5.2)
Target - 9.2.0.4 on UNIX (AIX 5.2)
I have a FILTER operator with the following in it:
( INOUTGRP1.ORDER_TYPE_PDDCTO = 'RX' And trunc ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = trunc ( sysdate ) And trunc ( INOUTGRP1.FP_NEED_DT ) <= trunc ( INOUTGRP1.REQUEST_DT_PDDRQJ ) ) Or ( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' ) And INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P' And INOUTGRP1.UNITS_OPEN_PDUOPN > 0 And INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3' And trunc ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) < trunc ( sysdate ) )
It is an 'OR' between two separate sets of logic.
When the mapping is Generated the above code comes out like this:
WHERE -- ( = )
AND
-- ( = )
AND
-- -- -- -- -- -- -- -- -- ( ( = 'RX' And trunc ( ) = trunc ( sysdate ) And trunc ( ) <= trunc ( ) ) Or ( IN ( 'S' , 'DM' ) And = 'P' And > 0 And = 'O3' And trunc ( ) < trunc ( sysdate ) ) )
Can someone please tell me where in the %#^#* OWB is getting the above logic to translate my FILTER into the above gibberish?
This produces a 'PL/SQL: ORA-00936: missing expression' error on that line when I try to deploy it.
Also, on a related note that I saw a thread on earlier but can't find now, how do I get the FILTER operator to retain my CR/LF in the expanded expression of the filter?
The tag at the bottom of the expression window, where it shows the Line and Column numbers, shows WINDOWS:CR/LF which I thought I had read would retain the CR/LF's I put in the expression to make it easier to read rather than having to scroll to the right 27 miles.
Deep breath.
Deep breath.
Deep breath.
Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
I'm OK now.
Any help is greatly appreciated. ;-)>
Gary

Good morning Gary,
I remember we had the CR/LF discussion earlier, maybe it's 10g that wrecks it, got 9.2.0.4 here which works flawlessly in that sense.
Got 10g on my laptop (of course not with me right now) but basically the only thing that bugs me there is some nasty behaviour of not showing the entire 'picture' of a mapping any more after there have been some popups (like context or property menu) in the front.
Tip: if you want to show code in a thread use [ code] and /code] to mark it (in lowercase, without the space after the [, otherwise it would not show), e.g.:[code]
( INOUTGRP1.ORDER_TYPE_PDDCTO = 'RX' And trunc ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = trunc ( sysdate ) And trunc ( INOUTGRP1.FP_NEED_DT ) <= trunc ( INOUTGRP1.REQUEST_DT_PDDRQJ ) ) Or ( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' ) And INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P' And INOUTGRP1.UNITS_OPEN_PDUOPN > 0 And INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3' And trunc ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) < trunc ( sysdate ) )
I was about to ask you what happens if you apply this code without any CR/LF in it, but I guess you've tried that?
Could be the OR is the culprit here. As a workaround maybe you want to try out some Boolean algebra to get rid of the OR. If memory serves me well:
(A.B)+(C.D) equals
NOT(NOT((A.B)+(C.D))) equals
NOT(NOT(A.B).NOT(C.D))
hence NOT(
NOT( INOUTGRP1.ORDER_TYPE_PDDCTO                   = 'RX'
  AND TRUNC ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = TRUNC ( SYSDATE )
  AND TRUNC ( INOUTGRP1.FP_NEED_DT )           <= TRUNC ( INOUTGRP1.REQUEST_DT_PDDRQJ )
AND
NOT( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' )
  AND INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P'
  AND INOUTGRP1.UNITS_OPEN_PDUOPN > 0
  AND INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3'
  AND TRUNC ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) < TRUNC ( SYSDATE )
)An other option would be to use an expression operator to build a status 'column', and in this expression you build the filter logic with a case statement. Next, in the filter you use the status input to filter records.
Hopefully one of Oracle's own OWB-guys will be looking at this forum soon (if I use JP Dijcks as benchmark, they haven't since 28th of January) and give an answer on whether your noticed behaviour is a bug.
Good luck, Patrick

Similar Messages

  • PDF file gets corrupted when generated from BSP

    Hi,
         I am generating a PDF file from a BSP page ( see the code below). The problem is that PDF file gets corrupted and  I am unable to open it. I also tried to use other functions like GUI_Download and DOwnload as suggested by many and they also do not work either. Has any one generated a PDF from BSP and can some one help?
    Data: GG type String.
    event handler for data retrieval
    data : event type ref to cl_htmlb_event.
    class cl_htmlb_manager definition load.
    class CL_HTTP_RESPONSE DEFINITION LOAD.
    DATA : PARAMS TYPE PRI_PARAMS,
             VALID  TYPE C,
    GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING DESTINATION           = 'LOCL'
               COPIES                = COUNT
               LIST_NAME             = 'TEST'
               LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
                  IMMEDIATELY           = ''
                  RELEASE               = 'X'
                  NEW_LIST_ID           = 'X'
               EXPIRATION            = DAYS
                  LINE_SIZE             = 140
               LINE_COUNT            = 23
               LAYOUT                = 'X_PAPER'
               SAP_COVER_PAGE        = 'X'
               RECEIVER              = 'SAP*'
               DEPARTMENT            = 'System'
                  NO_DIALOG             = 'X'
        IMPORTING OUT_PARAMETERS        = PARAMS
                  VALID                 = VALID.
      IF VALID <> SPACE.
        NEW-PAGE PRINT ON  PARAMETERS PARAMS NO DIALOG.
    write :/ 'Hello Message1'.
    write :/ 'Hello Message2 '.
    NEW-PAGE PRINT OFF .
      ENDIF.
    data :        spool_no TYPE TSP01-RQIDENT .
    spool_no = sy-spono.
    DATA: itab TYPE TLINE,
            witab TYPE TABLE OF TLINE,
            output TYPE STRING,
            outputx TYPE XSTRING.
    data : l_pdf_len type i.
    data: mi_bytecount type i.
    DATA : APP_TYPE TYPE STRING VALUE  'APPLICATION/PDF' .
    DATA:    cached_response TYPE ref to if_HTTP_RESPONSE.
    data : l_display_url type string .
    data : guid type GUID_32 .
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = spool_no
          NO_DIALOG                = 'X'
       IMPORTING
          PDF_BYTECOUNT            =  mi_bytecount
        TABLES
          PDF                      = witab
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 8
          ERR_BTCJOB_SUBMIT_FAILED = 9
          ERR_BTCJOB_CLOSE_FAILED  = 10
          others                   = 11.
      if sy-subrc EQ 0.
        LOOP AT witab INTO itab.
          CONCATENATE
            output
            itab-tdline
          INTO output in character mode.
        ENDLOOP.
    endif.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
            EXPORTING
                text   = output
                mimetype =   'APPLICATION/PDF'
            IMPORTING
                buffer = outputx.
    concatenate cl_abap_char_utilities=>byte_order_mark_little
    outputx
    into outputx in byte mode.
      response->set_header_field( name = 'content-type' value =
    'APPLICATION/PDF; charset=utf-16le'  ).
      response->delete_header_field( name =
    if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires
      response->delete_header_field( name = if_http_header_fields=>pragma )
      response->set_header_field( name = 'content-disposition'
                                  value = 'attachment; filename = TEST.PDF'
      l_PDF_len = xstrlen( OUTPUTX ).
      response->set_data( data = OUTPUTx
                          length = l_PDF_len ).
    navigation->response_complete( ).
    Regards
    Amit Agrawal

    HI Craig Cmehil,
                   I have tried this code as well as given in the URL specified by you. But using this also browser shows the following  content. It seems that PDF content is corrupted.
    My Output as shown on Browser Starts below this line----
    DF-1.3
    %âãÏÓ
    2 0 obj
    /WinAnsiEncoding
    endobj
    3 0 obj
    <<
    /Type /Font
    /Subtype /Type1
    /BaseFont /Courier
    /Name /F001
    /Encodg 2 0 R
    >>
    endobj
    4 0 obj
    <<
    /Length 5 0 R
    >>
    stream
    /F001 7.30 Tf 0 0 0.753 rg BT 18.00 570.65 Td 0 Tw <33302E30362E3230302020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 2950 570.65 Td 0 Tw
    <20204854545020436F6E74726F6C202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 572.40 570.65 Td 0 Tw <2020202020202020202020202031>Tj ET q 0 0 0 RG 0.55 w 18.00 562.90 m
    634. 562.90 l S Q 0 0 0.753 rg BT 18.00 551.45 Td 0 Tw <48656C6C6F20416D6974>Tj ET 0 0 0.753 rg BT 18.00 541.85 Td 0 Tw <48656C6C6F204765726176>Tj ET
    endstream
    endobj
    5 0 obj
    624
    endobj
    6 0 obj
    <<
    /Type /Page
    /MediaBox
    /Parent 1 0 R
    /Resource
    <<
    /ProcSet
    /PDF /Text
    /Font
    <<
    /F001 3 0 R
    >>
    /XObject
    <<
    >>
    >>
    /Contents 4 0 R
    >>
    endobj
    7 0 obj
    <<
    /Author (AMG )
    /CreationDate (20050630 181301)
    /Creator (Form X_58_170 EN)
    /Producer (SAP R/3 Release 620 )
    %SAPinfoStart TOA_DARA
    %FUNCTI=(    )
    %MANDANT=(   )
    %DEL_DATE=(00000000)
    %SAP_OBJECT=(          )
    %AR_OBJECT=(          )
    %OBJECT_ID=(                          )
    %FORM_ID=(                                        )
    %FORMARCHIV=(  )
    %RESERVE=(   )
    %NOTIZ=(                                                                )
    %SAPinfoEnd TOA_DARA
    >>
    endobj
    1 0 obj
    <<
    /Type /Pages
    /Kids
    [ 6 0 R
    /Count 1
    >>
    endobj
    8 0 obj<<
    /Type /Catalog
    /Pages 1 0 R
    /PageMode /UseNone
    >>
    endobj
    xref
    0 9
    0000000000 65535 f
    0000001801 00000 n
    0000000017 0000n
    0000000052 00000 n
    0000000157 00000 n
    0000000840 00000 n
    0000000862 00000 n
    0000001048 00000 n
    0000001869 00000 n
    trailer
    /Size 9
    /Root 8 0 R
    /Info 7 0 R
    >>
    startxref
    1944
    %%EOF
    Browser Displey Content Ends----
    My Coding Starts----
    Data: GG type String.
    event handler for data retrieval
    data : event type ref to cl_htmlb_event.
    class cl_htmlb_manager definition load.
    class CL_HTTP_RESPONSE DEFINITION LOAD.
    DATA : PARAMS TYPE PRI_PARAMS,
             VALID  TYPE C,
    GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING DESTINATION           = 'LOCL'
               COPIES                = COUNT
               LIST_NAME             = 'TEST'
               LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
                  IMMEDIATELY           = ''
                  RELEASE               = 'X'
                  NEW_LIST_ID           = 'X'
               EXPIRATION            = DAYS
                  LINE_SIZE             = 140
               LINE_COUNT            = 23
               LAYOUT                = 'X_PAPER'
               SAP_COVER_PAGE        = 'X'
               RECEIVER              = 'SAP*'
               DEPARTMENT            = 'System'
                  NO_DIALOG             = 'X'
        IMPORTING OUT_PARAMETERS        = PARAMS
                  VALID                 = VALID.
      IF VALID <> SPACE.
        NEW-PAGE PRINT ON  PARAMETERS PARAMS NO DIALOG.
    write :/ 'Hello Amit'.
    write :/ 'Hello Gaurav '.
    NEW-PAGE PRINT OFF .
      ENDIF.
    GV_SUCCESS_SPOOL_NO = sy-spono.
    data :        spool_no TYPE TSP01-RQIDENT .
    spool_no = sy-spono.
    write: GV_SUCCESS_SPOOL_NO.
    *write: spool_no.
    IF display_type = 'convertspool'.
      DATA: itab TYPE TLINE,
            witab TYPE TABLE OF TLINE,
            output TYPE STRING,
            outputx TYPE XSTRING.
    data : l_pdf_len type i.
    data: mi_bytecount type i.
    DATA : APP_TYPE TYPE STRING VALUE  'APPLICATION/PDF' .
    DATA:    cached_response TYPE ref to if_HTTP_RESPONSE.
    data : l_display_url type string .
    data : guid type GUID_32 .
           spool_no like TSP01-RQIDENT .
    *spool_no = GV_SUCCESS_SPOOL_NO .
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = spool_no
          NO_DIALOG                = 'X'
       IMPORTING
          PDF_BYTECOUNT            =  mi_bytecount
        TABLES
          PDF                      = witab
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 8
          ERR_BTCJOB_SUBMIT_FAILED = 9
          ERR_BTCJOB_CLOSE_FAILED  = 10
          others                   = 11.
      if sy-subrc EQ 0.
        LOOP AT witab INTO itab.
          CONCATENATE
            output
            itab-tdline
          INTO output in character mode.
        ENDLOOP.
    endif.
    *write : output.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
            EXPORTING
                text   = output
                mimetype =   'APPLICATION/PDF'
            IMPORTING
                buffer = outputx.
    *concatenate cl_abap_char_utilities=>byte_order_mark_little
    *outputx
    *into outputx in byte mode.
    CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
    some Browsers have caching problems when loading Excel Format
      response->set_header_field( name = 'content-type' value =
    'APPLICATION/PDF'  ).
      response->delete_header_field( name =
    if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires
      response->delete_header_field( name = if_http_header_fields=>pragma )
        l_pdf_len = xstrlen( outputx ).
        cached_response->set_data( data   = outputx
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO l_display_url.
        cl_http_server=>server_cache_upload( url      = l_display_url
                                             response = cached_response ).
    RETURN.
    My Coding Ends----
    Any Further help on this.
    Regards
    Amit Agrawal

  • Parameter values getting lost when generating report to .pdf

    Report Builder 6.0.8.26.0
    I have a report which accepts 3 parameter, :v_id, :a, :b, :v_id is numeric, other char.
    I display them on the report and use them in the query. When I run the report, everything is ok in the previewer and when I print a hard copy.
    When I select generate -> pdf, the :a & :b parameters do not display on the report and the queries run the same as if I set :a & :b to a null value.
    Anybody seen this and have anykind of fix. I know I can generate the script for the query and then use and external query & might have to, but I was trying to find something else.

    Hi Chris
    I suggest you apply Reports and Forms Integrated patch on your setup. You can download the patch from metalink site.
    Thanks
    Rohit

  • File names get jumbled when using Add Folder to Library

    I have a set of .mp3 files created by playing vinyl LPs into a software sound recorder. Each of these is named with a number as the first two characters of the file name (the track number) and then the name of the song.
    I create the appropriate folder with the ArtistName and subfolder with the AlbumName in the Itunes directory and then copy the .mp3 files into the subfolder.
    My problem occurs when I 'Add Folder to Library'. The .mp3 files don't change, but the names of the tracks listed in the Itunes library are goofed up. There is no strict pattern, but mainly it shows the 3rd track having the 2nd track's name, the 4th track has the 3rd track's name, etc. I have to go back and rename all the tracks to make the Itunes Library match the actual .mp3 files. (I can tell they are mis-assigned by the file sizes).
    It might be a Windows-only thing, I'm not sure. Any idea how I can make the Itunes Library match its index to the actual files added when importing? Or is there some other technique I should use to import these .mp3 files?
    It is possible it is related to the fact that that initially the internal data in the .mp3 files merely shows 'Freecorder' for the Album and Artist in every file.
    Where can I report this as an 'official' bug to Apple?
    Gregg Cattanach
    Message was edited by: GreggCattanach

    Actually, your suggestion was somewhat helpful. It wasn't the 'Freecorder' in the Artist and Album slots. But when I look at the properties of the files generated by Freecorder in Windows Explorer, it appears the internal file names are being mis-matched with the actual .mp3 file names, so it's Freecorder that's creating the problem.
    Interesting. OK, It looks like it isn't an Itunes problem after all. But it's easy enough to edit the internal properties tags (Windows Explorer/ Right-Click / Properties / Summary) before I add the folder to Itunes.
    Thanks.
    Message was edited by: GreggCattanach

  • Letters get jumbled when I type

    For the last month, whenever I try to type in Firefox, especially in Facebook or Twitter, but really anywhere in Firefox, the letters are all jumbled together, like this:
    Thisis ho w my typing comesou ti n firefox wheni'm trying tot ype in Twitter, or FAcebooke tc.
    Also, a lot of times in Facebook, the page jumps around weirdly when I'm trying to read it, and It takes a long time before I can scroll back to where I was (it kind of freezes up briefly). Not sure if I have seen this on other pages or not.
    I have been using Chrome instead, and I don't like it as much as Firefox (a lot of the pages just plain don't load in Chrome). I had a different problem in Firefox back in the Fall (pages freezing up) but after trying other browsers, none of which I liked, I came back to Firefox and it has been working fine up until now. Help!

    Yes, I did. It was from this other program I run that they upgraded, Webroot SecureAnywhere. First I unintstalled and reinstalled the program, but I still had problems with it interfering with my Keyboard Express macro program so their tech support called me and went on my computer remotely. She figured out that she had to open the SecureAnywhere program and click on the Identity & Privacy tab, then click on View/Edit Protected Applications. Make sure Firefox is listed there as "allow" and not "block". You have to restart Firefox, too (maybe twice). Unfortunately it seems that every time I restart my computer, I have to do it all again. And the same with any browser.
    If you don't have Webroot, it could be some other program. I would focus on any security antivirus etc. programs you have...

  • Drill Filter parameters getting changed when "Refresh on Open"

    Hi Experts,
    WEBI reports have some drill filters inside the tabs, saved with default values (for Ex MTD)
    when user opens these report, it starts with the value which was saved in the report .
    Recently we made these reports as u2018Refresh on Openu2019 to enforce authorizations.
    Now when these report are opened by users and refreshed, the original parameters of drill filters with which the report was saved, is lost ( as all the data is purged).
    So are you aware of any settings with which we can save the reports with some default values in the drill filters and still make it u2018Refresh on Openu2019.
    Thanks in Advance,
    Bhargava Bommidi.

    Try this approach.
    Create a local variable which woul act a a global filter in the report -
    1. Drill Filter = If (Length(DrillFilters())=0; "MTD")
    2. Display Flag = If ([Drill Filter]=[*TD]; "Show")
    *[TD] is the object which has MTD, QTD, or YTD values.
    Include this object in the report block, Apply filter on Show.

  • Error when generating logical port in SOAMANAGER

    Hi,
    When generating the logical port in SOAMANAGER transaction I get an error message 'SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL'.
    Does anyone know what the problem might be?
    Thans in advance.
    Kind regards,
    Amel Alic

    Hi,
    I, by mistake, reported the same problem; however the problem is that I referenced the WSDL without endpoint (WSDL service name....). I took this URI from Servces Registry, but was wrong (altough on the SR there were a valid binding+endpoint).
    I put the right IRU pointing to the compete Service COntract (with endpoint reference), and it worked.
    If you did't solve the problem, try to opern on the browser the URI you are referring to, and see, at the end if it contains the endpoint like that:
    <wsdl:service name="zsMy2ndCodeFirstWebService">
      <wsdl:port name="zsMy2ndCodeFirstWebServiceBinding" binding="tns:zsMy2ndCodeFirstWebServiceBinding">
      <soap:address location="http://xyz:8000/sap/bc/srt/rfc/sap/.....my service operation..." />
      </wsdl:port>
    </wsdl:service>
    Hope this help.
    Regards
    Roberto

  • When I run multiple Microsoft powerpoint files at a time on my MacBook Air, it simply gets hotter and generates little noise (most probably fan noise). Will this make any effect on life span of MBAir??

    When I run multiple Microsoft powerpoint files at a time on my MacBook Air, it simply gets hotter and generates little noise (most probably fan noise). Will this make any effect on life span of MBAir??

    Theoretically, yes.
    Heat, and heat cycling certainly do take a toll on even solid state components. I have several "very old" Macintosh computers, and the logic boards exhibit the effects.
    The fan too, running at higher speeds, does eventually cause wear. More than anything, the higher airflow leads to a higher propensity for dust accumulation on the fan, and the heat exchangers.
    In practical terms though, maybe not so much. If you plan on having your computer exhibit a reasonable useful life before you retire it or upgrade, you may never experience any of the detrimental effects. I rarely use a computer longer than 3 years, before I sell, give it away, or just stop using it.
    Personally, I wouldn't worry about it. Your computer is well designed to give you a long life, even in the manner in which you describe. Take care of it, but use it for what you bought it for. Nothing you mention is in any way, abuse.

  • Why do i get ringing when i am generating Square Wave using PCI 4461 DSA Card

    Hi,
    when i generate square wave form DSA card PCI 4461 i am getting ringing effect as per my observation of waveform generated in CRO.Can anybody tell me why is this effect seen and how can it be rectified and removed from the signal in LabVIEW.
    Regards,
    Sneha

    The analog outputs on the 4461 (and the analog inputs, for that matter) are band-limited by digital lowpass filters. These low-pass filters have a brick-wall response in the frequency domain, which results in Gibbs-phenomenon ringing in the time domain. See this discussion, among others:
    http://en.wikipedia.org/wiki/Gibbs_phenomenon
    The ringing will be excited whenever there is significant signal power near the abrupt band edge, because the abrupt cutoff will result in signal power being located just below an absence of power in the spectrum. Whenever signal power appears in spectral isolation like that, you can expect ringing in the time domain response. Your square wave consists of a series of harmonics at frequencies below, near, and well beyond the digital filter's cutoff. When the digital filter cuts off the higher harmonics, the ringing is created.
    To prevent the ringing, you must create a waveform mathematically that is bandlimited already. The result will be a square wave with slower rise and fall times, but no ringing.
    Hope this helps,
    Ed

  • I just had major issues with my Mac and had to get a new logic board. When I got the computer back and tried to reinstall Photoshop- it says error 6. What do I do?

    I just had major issues with my Mac and had to get a new logic board. When I got the computer back and tried to reinstall Photoshop- it says error 6. What do I do? It is impossible to get any phone number for adobe.

    Try these solutions: Error "Licensing has stopped working" | Mac OS

  • When I transfer songs from Camera Roll to Shared Album, photos get jumbled. Why and how to fix?

    I've placed anywhere from 5-250 photos into the shared album at a time, and every time they get jumbled in no order whatsoever. Could you please advise? Thanks!

    iPhone User Guide (For iOS 6 Software)

  • Logic gets stuck in a funny kind of loop when i hit the stop button twice!

    Hello,
    i bought a Midikeyboard Novation Remote 61.
    Working with Logic is just fine except one Problem:
    since i got the remote i've a problem whereby if i hit the stop button twice on the remote logic gets stuck in a funny kind of loop at the start of the song
    Does anyone else have this problem and how can I get it fixed?

    Only thing that I can think of is that it is triggering some sort of repeat trigger (I had this with my ProjectMix) on a command. Check and see where your stop button is mapped to in the controller assignments (in your prefs) and see if it is mapped as a key command with a key repeat. That's all I can think of for a start.
    jord

  • Schedule line getting confirmed when Ordered Quanity is greater than stock.

    Hi Sap Gurus,
    We have an issue in one of the sales scenario.
    In one of the sales orders the ordered quanity is purposely maintained greater than the stock at respective storage location(batch managed).
    In this case the schedule line should not get confirmed and it should not allow delivery document creation.
    But in the sales order the schedule lines are geeting confirmed and even the delivery document is getting created with picking request completion.
    Could you please help to understand :
    1.  why the schedule lines are getting confirmed when ordered quantity > Inventory?
    2. How do I stop delivery document creaton in this scenario?
    Looking for a quick response.
    Thanks in advance,
    Bhaskar

    Hello Bhaskar,
    Is Availability Check in your system considering Replenishment Lead time, if yes, then this is possible.
    Check this IMG Link:
    IMG - Sales and Distribution - Basic Functions - Availability Check and Transfer of Requirements - Availability Check with ATP Logic or Against Planning - Carry Out Control For Availability Check
    Here check the RLT settings.
    Also check settings under In/Outward Movements, where things like include Purchase Order can lead to confirmation of stock in Sales Order, despite physical inventory being present.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Object reference not set to an instance of an object error when generating a schema using flat file schema wizard.

    I have a csv file that I need to generate a schema for. I am trying to generate a schema using flat file schema wizard but I keep getting "Object reference not set to an instance of an object." error when I am clicking on the Next button after
    specifying properties of the child elements on the wizard. At the end I get schema file generated but it contains an empty root record with no child elements.
    I thought may be this is because I didn't have my project checked out from the Visual SourceSafe db first but I tried again with the project checked out and got the same error.
    I also tried creating a brand new project and generating a schema for it but got the same error.
    I am not sure what is causing Null Reference exception to be thrown and there is nothing in the Windows event log that would tell me more about the problem.
    I am using Visual Studio 2008 for my BizTalk development.
    I would appreciate if some has any insides on this issue.

    Hi,
    To test your environment, create a new BizTalk project outside of source control.
    Create a simple csv file on the file system.
    Name,City,State
    Bob,New York,NY
    Use the Flat file schema Wizard to create the flat file schema from your simple csv instance.
    Validate the schema.
    Test the schema using your csv instance.
    This will help you determine if everything is ok with you environment.
    Thanks,
    William

Maybe you are looking for

  • I downloaded itunes and now it wont open when i click on it

    I downloaded itunes on my computer . Now that i want to open it it doesent repond at all as if i hadnt clicked on it

  • Processing Multiple files in the reciever channel

    Hi Experts, We have a scenario where PI is supposed to pick a zip file containing different files, Post which PI should unzip the files and send it to receiving system. We have used payload zip bean to unzip the files in the sender channel and it was

  • How do I log a bug in Crystal Reports 2008 ?

    I cant find any links at all. Can anyone help please? Thanks Richard

  • Closed-lid mode USB devices disconnect randomly

    I just recently connected my MacBook Pro to my Samsung DLP HDTV and started running it in closed-lid mode so my TV is the primary/only display. I also have an external hard drive (USB), external mouse (wireless with USB toggle) and the new Apple blue

  • Tagging for Character Style

    Hi All, Need to insert tagging (character style name) surrounding the text which has character styles applied in InDesign document. Example: This is <italic>an</italic> example of <bold>character style</bold> tagging text. Please provide JS code for