Calculating Time from Given input.

Hi everyone,
I'm stuck at trying to calculate the time of a given waveform.
Given a scenario, i have a circuit that is fed to a DAQ card for processing in LabVIEW. The input data generates a squarewave form in LabVIEW. I'm using a general waveform function to view the squarewave. The input is generated from a sensor.It will continously give a pulse when it detect something. But when it a doesnt anything, there'll be no output. so, no waveform is reflected at the waveform function in LabVIEW.
When that happens, I want to find the time when there's no output reflected at the waveform.
regards, aisyah.

If you know the period of your waveform, you could write code that detects when the input is 0 for a period of time that is slightly longer than the period of your waveform.
1.  Note time that waveform goes to zero.
2.  If waveform goes to 1 reset your timer.
3.  Loop and watch your timer, if the time minus noted time is greater than the waveform period, then write out the noted time.

Similar Messages

  • How to get signal from analog input and send it to analog output (real-time​)

    Hi everyone,
    I am doing simple task in Visual C++ and I am using PCI-6221(37 pin).
    Basically, I want to send same signal from 'analog input' to 'analog output'
    at the same time (almost), to make it real-time application.
    Can someone please provide me sample program. 
    I would appreciate if you could provide me with the good tutorial which explains
    step by step everything about programing NI-DAQmx for C/C++.
    Best Regards,
    Khassan
    Solved!
    Go to Solution.

    This is my code in C++, you can optimize it if it looks too messy. This code reads signal from analog input and outputs it through analog output. 
    To make this code work additional  include directories and library directories must be added from NI.
    I hope it helps someone.
    #include <stdio.h>
    #include <conio.h>
    #include "NIDAQmx.h"
    #include <math.h>
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    int main(int argc, char *argv[])
    int32 error=0;
    TaskHandle taskHandleRead=0,taskHandleWrite=0;
    int32 read=0;
    float64 dataRead[1000];
    char errBuffRead[2048]={'\0'};
    char errBuffWrite[2048]={'\0'};
    bool32 done=0;
    int32 written;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleRead));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleRead,"Dev1/ai0​","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Vo​lts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleRead,"",100.0,DAQ​mx_Val_Rising,DAQmx_Val_ContSamps,0));
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleWrite));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandleWrite,"Dev1/ao​0","",-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleWrite,"ai/SampleC​lock",100.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1​000));
    DAQmxErrChk (DAQmxStartTask(taskHandleRead));
    DAQmxErrChk (DAQmxStartTask(taskHandleWrite));
    while( !done && !_kbhit() )
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandleRead,1,10,DAQmx_Val_​GroupByScanNumber,dataRead,1000,&read,NULL));
    DAQmxErrChk (DAQmxWriteAnalogF64(taskHandleWrite,read,0,10.0,D​AQmx_Val_GroupByChannel,dataRead,&written,NULL));
    _getch();
    Error:
    if( DAQmxFailed(error) )
    DAQmxGetExtendedErrorInfo(errBuffRead,2048);
    DAQmxGetExtendedErrorInfo(errBuffWrite,2048);
    if( taskHandleRead!=0 )
    DAQmxStopTask(taskHandleRead);
    DAQmxClearTask(taskHandleRead);
    if( taskHandleWrite!=0 )
    DAQmxStopTask(taskHandleWrite);
    DAQmxClearTask(taskHandleWrite);
    if( DAQmxFailed(error) ){
    printf("DAQmx Error: %s\n",errBuffRead);
    printf("DAQmx Error: %s\n",errBuffWrite);
    printf("End of program, press Enter key to quit\n");
    getchar();
    return 0;

  • Time between digital inputs?

    Hi, I would like to measure the time between a digital input being true.
    Basically I have a prox picking put a point on a rotating shaft (to determine RPMs).
    What I want to do is measure the time between consecutive input signals from the prox, divide 1 rev by the time, multiply this by 60 to get RPMs. Then compare that value to a set value ( say 300 RPM ). If it is equal or great, contine onto the rest of the program, if it is less than the set value, keep looping until it is greater than or equal to the set value.
    Thanks in advance for the help!
    Ryan
    LV 7.1

    If you need to measure accurately the rotation speed on a single turn, software timing may not be accurate enough, since the Window internal clock readings have lags (read "errors") of more than 10 ms (= 100 rps, about 2 rpm error), even when no other application is running. So either you count (and wait) for a given number of rotations, and calculate an average, or you use hardware timing with a counter on the DAQ card (if any)...
    Otherwise, if you only need an estimate of the rotation speed, you can read the digital line and wait for 2 consecutive changes. The period can be calculated from the time stamps. See the attached vi. Wait a few seconds to observe the variations generated by Windows.
    Merry Christmas, and Happy Wiring !
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Rotation speed.zip ‏14 KB

  • Trading partner agreement not found for the given input values

    Hi,
    I am working on EDI X12 over generic exchange outbound.
    In enqueue script:
    replyToMsgID =
    from =TEE
    to =RF
    actionName =BASFEDI841
    doctypeName =841
    doctypeRevision =4010
    msgType =1
    payload =RF_841_4010_1_12.xml
    attachment=
    I am getting the Trading partner agreement not found.
    B2B log:
    ***** REQUEST MESSAGE *****
    Exchange Protocol: Generic Version 1.0
    Transport Protocol: FTP
    Unique Message ID: TEE_2009Mar01_15_37_29_170.dat
    Trading Partner: RF
    Message Signed: No
    Payload encrypted: No
    Information incomplete
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Exit
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:29:478: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
    2009.03.01 at 15:37:32:910: Thread-21: B2B - (DEBUG)
    Protocol = FTP
    Version = 1.0
    Transport Header
    filename:TEE_2009Mar01_15_37_29_170.dat
    filesize:7787
    file_ext:dat
    fullpath://users/dab2b01/RF841/TEE_2009Mar01_15_37_29_170.dat
    timestamp:1970-01-01T00:00:00.000-00:00
    2009.03.01 at 15:37:32:973: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
    2009.03.01 at 15:37:32:975: Thread-21: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
    2009.03.01 at 15:37:32:975: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2009.03.01 at 15:37:32:998: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2009.03.01 at 15:37:32:999: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2009.03.01 at 15:37:33:005: Thread-21: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:33:011: Thread-21: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.03.01 at 15:37:33:011: Thread-21: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:33:012: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:33:014: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2009.03.01 at 15:37:33:014: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2009.03.01 at 15:37:33:019: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2009.03.01 at 15:37:33:020: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2009.03.01 at 15:37:33:027: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2009.03.01 at 15:37:33:028: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2009.03.01 at 15:37:33:042: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2009.03.01 at 15:37:33:042: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2009.03.01 at 15:37:33:043: Thread-20: B2B - (DEBUG) MimePackaging:unpack:Enter
    2009.03.01 at 15:37:33:043: Thread-20: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2009.03.01 at 15:37:33:044: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2009.03.01 at 15:37:33:044: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
    2009.03.01 at 15:37:33:045: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@8a2023
    2009.03.01 at 15:37:33:045: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) MimePackaging:unpack:Exit
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2009.03.01 at 15:37:33:047: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {FTP}
    2009.03.01 at 15:37:33:047: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = TEE_2009Mar01_15_37_29_170.dat
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = FROM_PARTY - TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage File TP Host name = TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage fromParty = TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:049: Thread-20: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
    2009.03.01 at 15:37:33:049: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage security info NULL
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Exit
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Enter
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage toTP null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage hubUrl null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Exit
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage ProtocolCollabId = null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage CollaborationName null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Enter
    2009.03.01 at 15:37:33:058: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate check non-RosettaNet Message
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Exit
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Protocol Collaboration Id : null
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument Enter
    2009.03.01 at 15:37:33:063: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor enter
    2009.03.01 at 15:37:33:064: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor edi = X12
    2009.03.01 at 15:37:33:064: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor segment delimiter is 27
    2009.03.01 at 15:37:33:073: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument preprocess result =
    ISA~00~Authorizat~00~Security I~01~Interchange Sen~01~Interchange Rec~090301~1935~U~00401~000001101~0~I~+'GS~SP~Application Sen~Application Rec~20090301~1537~1101~T~004010'ST~841~5709'SPI~00~01~Reference Identification~Entity Title~Entity Purpose~A~00~01~00~10~Source Subquali~773~1~AA~0001'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'NTE~AAA~Description'X1~C~Export Licen~C~~1~1~COU~SCHEDULE B~D~252876~59154.0269~A~01~8~U~Identification Code'X2~Import License Number~~20090301~~20090301~20090301'X7~Free-Form Message~Free-Form Message'AMT~1~1~C'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'DTM~001~~~01~CC~Date Time Period'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'N1~01~Name~1~Identification Code~01~01'N2~Name~Name'N3~Address Information~Address Information'N4~City Name~ST~POSTAL CODE~COU~A~Location Identifier'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'HL~1~~1~0'SPI~00~01~Reference Identification~Entity Title~Entity Purpose~A~00~01~00~10~Source Subquali~4~1~AA~0001'RDT~A~Revision Value~001~~~01'PRR~Assigned Identificat~10~Source Subquali~BRK~Description~10~Source Subquali~A~10~Source Subquali~1'PRT~EXC~10~Source Subquali~N'PRS~1~Description'LIN~Assigned Identificat~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'MSG~Free-Form Message Text~AA~3'N1~01~Name~1~Identification Code~01~01'N2~Name~Name'N3~Address Information~Address Information'N4~City Name~ST~POSTAL CODE~COU~A~Location Identifier'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'N9~01~Reference Identification~Free-form Description~~~01~01+Reference Identification+01+Reference Identification+01+Reference Identification'PID~F~01~10~Product Desc~Description~1S~Source Subquali~N~LAN'PKD~AMM01~Source Subquali~10~Packagi~L'QTY~01~1~01+3+60.42665+01+5+3+01+1+51887.5+01+6+7.79+01+2+3953.97808'MEA~9L~1~6~01+5+56318.8+01+1+30.72+01+1+1+01+7+8887.19467+01+6+661.97698~6~7~01~~1S~BM'MEA~9L~1~5~01+3+696.4+01+4+4+01+3+1221.27922+01+1+994232.001+01+3+872.859~3~9~01~~1S~BM'MEA~9L~1~3~01+8+8+01+1+7.75+01+2+6.395+01+1+2.1+01+6+7.59~6~4~01~~1S~BM'MEA~9L~1~6~01+6+7393.71+01+3+54258.8579+01+8+28012.940+01+5+8+01+7+8.8~9~9~01~~1S~BM'MEA~9L~1~8~01+5+8661152.98+01+7+6356848.72+01+7+1010847.39+01+5+4939.33859+01+3+7.84050~8~4~01~~1S~BM'UIT~01+7+8.3+01+2+8.702047+01+8+323.16049+01+8+40699.4+01+5+30.909~1~AA'LOC~01~Reference Identification~Description~Reference Identification~Catego~01~Reference Identification~Description~Reference Identification~6~01+7+257.30155+01+1+963640.085+01+1+9.42+01+4+1+01+3+67.61~8~01+6+3.6+01+2+20.5+01+4+6.99+01+7+5+01+5+213.507492~5~01+2+3077486.5+01+7+78023.621+01+3+6.74+01+7+138554.0+01+3+4111.4~2~01+9+2.6+01+8+91290.0173+01+9+1.9+01+2+6.168+01+1+26.9~2~01+2+1+01+6+67348.246+01+4+8.50+01+7+37.63+01+5+130691508.0~1~01+5+8.39+01+1+2.0+01+6+7.3+01+5+173.68084+01+5+550.4928~01~Reference Identification~Description'PWK~01~1~26~01~1~Identification Code~Description~1+1+1+1+1~AR'PKG~F~01~10~Packagi~Description~01'MEA~9L~1~6~01+9+99.2217+01+5+6.5043+01+8+30.76+01+9+3+01+1+7~3~2~01~~1S~BM'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'DTM~001~~~01~CC~Date Time Period'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'LX~6'LIN~Assigned Identificat~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID'TMD~01~10~Product Desc~01~01~Description~~Reference Identification~Source Subquali'MEA~9L~1~4~01+7+71.1+01+2+277.0+01+2+9.19003+01+1+901.516+01+3+7803582.87~8~7~01~~1S~BM'PSD~01~01~9661549~01+2+140318.0112+01+3+30.74740+01+9+67.17+01+7+5.1130+01+3+56743.0~01~01~01~Description'SPS~193487350~66823328~472426~5.6~01+3+519.45554+01+6+145146.03+01+2+63994262.5+01+3+1.3166+01+8+4.7~440443'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'EFI~00~Free-Form Message Text~9A~Version Identifier~Program Identifier~Version Identifier~Interchange Format~Version Identifier~Compression Technique~A0~File Name~Bloc~7~84410~Version Identifier~ASB'BIN~3~hii'CID~1~01~10~Product Desc~Description~Source Subquali~N'UIT~01+6+940.5+01+3+4.7+01+9+3.1+01+6+58.1+01+2+115728.9010~3~AA'TMD~01~10~Product Desc~01~01~Description~~Reference Identification~Source Subquali'PSD~01~01~595~01+1+5.139+01+3+1+01+5+4+01+5+19.1+01+5+3441.57231~01~01~01~Description'CSS~GC~01+1+33832819.6+01+1+1.5332+01+5+1.1+01+1+12173.83+01+5+813.282453~874~27~1~2~38'SPS~9~1154210~75~9.5~01+2+473.9+01+5+28.394421+01+6+755.69932+01+3+8407.2+01+3+1~54261910'MSG~Free-Form Message Text~AA~66511'MEA~9L~1~3~01+6+4.979+01+8+60.167241+01+8+48.03003+01+1+1.6086+01+5+2417168.92~3~1~01~~1S~BM'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'STA~01~9~01+6+66133.5+01+1+1+01+6+45813032.4+01+3+3329.6+01+7+63878.29~1~9L~3~5~01'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'CRF~01+6+7050.3+01+3+892.07605+01+6+847.7520+01+7+4+01+4+1.7~59.926'LS~CID'CID~1~01~10~Product Desc~Description~Source Subquali~N'MEA~9L~1~1~01+2+316324.35+01+8+852.8+01+7+4.2+01+8+6.3+01+7+9.3~2~4~01~~1S~BM'STA~01~6~01+2+751.60984+01+2+5+01+7+60.63+01+3+5366069.5+01+7+1.891~1~9L~1~8~01'LE~CID'EFI~00~Free-Form Message Text~9A~Version Identifier~Program Identifier~Version Identifier~Interchange Format~Version Identifier~Compression Technique~A0~File Name~Bloc~2~64~Version Identifier~ASB'BIN~3~hii'SE~91~5709'GE~1~1101'IEA~1~000001101'

    .... b2b.log:
    2009.03.01 at 15:37:33:077: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
    2009.03.01 at 15:37:33:079: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@43da1b
    2009.03.01 at 15:37:33:085: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = SeverityConfig
    2009.03.01 at 15:37:33:085: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
    2009.03.01 at 15:37:33:107: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeSenderID Val = Interchange Sen
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeSenderQual Val = 01
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode standard = X12
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeReceiverID Val = Interchange Rec
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeControlVersion Val = 00401
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeReceiverQual Val = 01
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Group Key = GroupSenderID Val = Application Sen
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode X12 Doc Revision : 004010
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode X12 Doc Revision : 4010
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Group Key = GroupReceiverID Val = Application Rec
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Transaction Count = 1
    2009.03.01 at 15:37:33:111: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode DocType = 841
    2009.03.01 at 15:37:33:111: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeReceiverQual = 01
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeSenderID = Interchange Sen
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeReceiverID = Interchange Rec
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter GroupReceiverID = Application Rec
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeControlVersion = 00401
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter GroupSenderID = Application Sen
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeSenderQual = 01
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument exit
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate Enter
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate msginfo reftomsgid is null, nothing to correlate
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate Exit
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage number of b2b messages 1
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage msgtype = 1
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processIncomingTPA() Begin TPA Processing..
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (before calling processParty) :
    initial : null
    from : TPName: TEE Type: null Value: null
    to : TPName: null Type: null Value: null
    final : null
    initiating : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() direction is incoming
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() calling processparty with : TPName: null Type: null Value: null
    2009.03.01 at 15:37:33:116: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:processParty() Begin..
    2009.03.01 at 15:37:33:119: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() after calling processparty : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:119: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (after calling processParty):
    initial : null
    from : TPName: TEE Type: null Value: null
    to : TPName: TEE Type: null Value: null
    final : null
    initiating : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:120: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() docTypeName: 841 docTypeRevision: 4010
    2009.03.01 at 15:37:33:127: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() actionName: BARFEDI841 actionRevision: 1.0
    2009.03.01 at 15:37:33:127: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:getCollaborationDetails() Begin.. Activity Name : BARFEDI841 Activity Version: 1.0
    2009.03.01 at 15:37:33:131: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() eventName:<BARFEDI841>
    2009.03.01 at 15:37:33:131: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() messageType:1
    2009.03.01 at 15:37:33:136: Thread-20: B2B - (DEBUG) calling setMode() changing from -1 to 2
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: TEE Type: null Value: null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() cpaID=null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA() Begin..
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA()
    From Party -> null-null-TEE-null To Party -> null-null-TEE-null Business Action name -> BARFEDI841
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() Begin..
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() fromParty: TPName: TEE Type: null Value: null toParty: TPName: TEE Type: null Value: null initiatingParty: TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:139: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() SELECT ag.name FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = ? AND ba1.name = ? AND ba1.revision = ? AND sba1.isinitiator = ? AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = ? AND ba2.name = ? AND ba2.revision = ? AND sba2.isinitiator = ? AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL))
    2009.03.01 at 15:37:33:139: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() bind vars: TEE,BARFEDI841,1.0,Y,TEE,BARFEDI841,1.0,N
    2009.03.01 at 15:37:33:145: Thread-20: B2B - (ERROR) Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementNameByBaTPName(RepoDataAccessor.java:2345)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:186)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:587)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:238)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1832)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
    at java.lang.Thread.run(Thread.java:534)
    2009.03.01 at 15:37:33:145: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage B2BDE
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=TEE_2009Mar01_15_37_29_170.dat, filesize=7787, file_ext=dat, fullpath=//users/dab2b01/RF841/TEE_2009Mar01_15_37_29_170.dat, timestamp=1970-01-01T00:00:00.000-00:00}
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2009.03.01 at 15:37:33:148: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:148: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2009.03.01 at 15:37:33:155: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message protocol message id
    2009.03.01 at 15:37:33:171: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2009.03.01 at 15:37:33:182: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2009.03.01 at 15:37:33:182: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2009.03.01 at 15:37:33:189: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name TEE
    2009.03.01 at 15:37:33:189: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
    2009.03.01 at 15:37:33:196: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name BARFEDI841 BusinessAction_0E95
    2009.03.01 at 15:37:33:207: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2009.03.01 at 15:37:33:217: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2009.03.01 at 15:37:33:218: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Native Event Tbl Row
    2009.03.01 at 15:37:33:218: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2009.03.01 at 15:37:33:220: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = TEE_2009Mar01_15_37_29_170.dat@0A4DBD5D11FC2AEDA770000018E26600
    2009.03.01 at 15:37:33:220: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2009.03.01 at 15:37:33:226: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException notifying App
    2009.03.01 at 15:37:33:226: Thread-20: B2B - (DEBUG) Engine:notifyApp Enter
    2009.03.01 at 15:37:33:232: Thread-20: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>0A4DBD5D11FC2AEDA680000018E265F0</b2bMessageId>
    <errorCode>AIP-50547</errorCode>
    <errorText>Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (dgia21a.TEEis.com)
    Description: Unable to identify the trading partner agreement from the given input values. Also verify agreement effectiveToDate
    StackTrace:
    Error -:  AIP-50547:  Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementNameByBaTPName(RepoDataAccessor.java:2345)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:186)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:587)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:238)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1832)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
    at java.lang.Thread.run(Thread.java:534)
    ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2009.03.01 at 15:37:33:244: Thread-20: B2B - (DEBUG) Engine:notifyApp Exit
    2009.03.01 at 15:37:33:244: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updated the Error Message Successfully: Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Exit
    2009.03.01 at 15:37:33:246: Thread-20: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:33:263: Thread-20: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.03.01 at 15:37:33:263: Thread-20: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:33:264: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit

  • Time from 100% battery indicator downward?

    I charge my ipad 3 overnight to give it a full 7-8 hour charge, using the wall charger and cable that the device came with.  I then try to gauge how much time from when the battery indicator drops to 99%, then 98%, etc., calculating the intervals.
    I do this as a means of extrapolating for all 100 percentage units how much battery time in total the unit would last until the battery is completely exhausted, and I've been coming up with roughly 8.5 hours for watching videos on the ipad (not streamed) at between 90-100% brightness setting, and about 10 hours for surfing the web using cellular or wifi service.  The cellular seems to drain a bit faster.
    Has anyone one else also tested their battery - I'm curious to compare units.

    Well, that is crazy!
    You can try upgrading the OS. Connect to your BlackBerry Desktop Software and see if you are given an upgrade notice.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • View more than one sheet at a time from the same file?

    I'm trying to view two different sheets at the same time from one file. This was possible in excel by opening a "new" window. Does anyone know how to do this in numbers?
    Thanks for the help,

    Skigilboa wrote:
    I'm trying to view two different sheets at the same time from one file. This was possible in excel by opening a "new" window. Does anyone know how to do this in numbers?
    You know what: Happily, _*Numbers is definitively not a clone of Excel*_ !
    It's not forced to duplicate every features of this program !
    We may see every tables of a given sheet
    but we can't see tables of two sheets simultaneously.
    This feature is very important because it's linked to
    the one which allow us to have different orientation for different sheets.
    Yvan KOENIG (VALLAURIS, France) dimanche 13 septembre 2009 15:04:06

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How can I build a table with the time values of a timer from a while loop

    Hi:
    I have a question concerning building a table:
    Every 100ms I read a value from a sensor (while loop with a timer). I would like to build a table with the actual time and the concerning value. For example:
    0msec         1V
    100msec     2V
    200msec     3V
    300msec     4V
    etc.
    If I use the Express VI for building a table, I always get the date and time, but I don't need the date and the time is in the following format: HH:MMS, which is nonsensical for me as I can't differentiate within msec. Can I change the format anywhere?
    Can I also save the table to a file or even to an Excelsheet? How can I do that?
    Thanks for your help!

    Hi Craig:
    thank you very much. To solve the mystery : ) :
    I want to drive a stepper motor with a specific frequency. To get the current degree value of the motor I would like to measure the current time (from the beginning of the move on). (With a formula I get the degree value out of the time)
    Concurrently I would like to get data from a torque sensor and from a pressure sensor. That's why I asked you about the time and the table. The measurement should start with the movement of the motor. How can I do that? Right now I have different block diagrams (different while loops) (see attachment) and I would like to put them in one.
    I haven't done the block diagram for the pressure sensor yet, so there is only the one for the torque sensor and the one for the motor.
    I also would like to set a mark in the table when the voltage value of an analog input gets under a specific threshold value. Is that possible?
    I'm sorry, I'm a novice in LabVIEW. But maybe you can help me.
    Thank you very much!
    Steffi
    Attachments:
    motor.vi ‏238 KB
    sensor.vi ‏59 KB

  • Read a character 1 at a time from a text file

    Hi all,
    I have tried the following to read 1 character at a time from a text file but it did not work;
    int buf_sz = 1;
             try
                BufferedReader br = new BufferedReader( new FileReader( "C:\\bitshift.txt", buf_sz ));
                String rd_line = null;
                while( (rd_line = br.readLine()) != null)
                    System.out.println(rd_line + "\n");
             }I could only get it to read the whole line by removing the buf_sz when creating an instance of the BufferedReader.
    How can I achieve this?
    Thanks

    The Javadoc for Reader.read()
    read
    public int read()
             throws IOException
        Read a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached.
        Subclasses that intend to support efficient single-character input should override this method.
        Returns:
            The character read, as an integer in the range 0 to 65535 (0x00-0xffff), or -1 if the end of the stream has been reached
        Throws:
            IOException - If an I/O error occurs

  • Hierarchy on HANA Calculation View with Optional Input Parameters Fails

    Hi,
    Has anyone succeeded in building a hierarchy on top of a calculation view with optional input parameters, where an input parameter is not filled?
    The original requirement came from the wish to create a parent child hierarchy on a calculation view that was copied into the customer space from a HANA Live Financial Statement query view, but I have found the following when creating a simple level hierarchy on a calculation view that consumes one table. The Calculation View has one Input Parameter where the 'mandatory' box is unchecked.
    Calculation view reads ECC table FAGLFLEXT
    Simple level based hierarchy on fields PRCTR, RACCT and SEGMENT
    Input parameter is used as a filter for PRCTR with logic ("EMPTY" = '$$P_PROFITCTR$$' or "PRCTR" = '$$P_PROFITCTR$$')
    When I run the view I see the following behaviour in HANA Studio and Analysis for Excel
    Before building the hierarchy I could run the view with or without the Input Parameter
    After building the hierarchy I can run the view with the Input Parameter filled, but it fails when the Input Parameter is not filled.
    Error message is "error: search table error:  [2426] missing placeholder; missing value for mandatory parameter P_PROFITCTR"
    P_PROFITCTR is not a mandatory parameter, but the selection for the hierarchy view thinks it should be. I don't find any notes around this issue, so I don't think it's version related, however the version I have used for this test is 1.00.70.
    It's a shame we can't currently build the hierarchy as the parent child relationship is provided in HANA Live view NewGLFinancialStatementQuery.
    Thanks,
    Ken

    Hi Ken,
    We have been facing similar issue. We have even tried to set default value and as optional parameter. View still fails to create hierarchy (we are not using HANA live). As mentioned on page 97 of HANA modelling guide input parameter is mandatory from engine point of view. Hierarchy is generated as column view during the initial activation of calculation view and therefore expect a value by caller.
    This seems to be a product error. Some one from HANA development team should explain this issue in detail. I would expect someone like Thomas Jung reply to us.
    At the moment, we cant use input parameter for date prompt which gives us calendar popup feature for date selection. Hierarchies just don't work with input parameter. We are missing something.
    Regards
    Angad

  • Is there a way I can have my form calculate a total time from beginning and ending time?

    Is there a way I can have my form calculate a total time from beginning and ending time?

    Sorry, but Formscentral doesn't support either a timer function or any kind of calculation. You might be able to do this if created your form in PDF. For help with PDF form creation in Acrobat I suggest you repost your question to the Acrobat Forum.
    Andrew

  • Compound date (dd.MM.yyyy HH:mm) from two input fields

    Hi,
    I need to compound a date field in format dd.MM.yyyy HH:mm from two input fields(date and time field). I was trying a lot but could not get it to work. So right now I'm trying to start it simple but still have a couple of problems.
    1.) To start easy I wanted to fill a hardcoded date into my field.
    setAttribute(MYDATE, "01.01.2005 12:10");
    brings (java.lang.IllegalArgumentException) Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
    2.) setAttributeInternal(MYDATE, "01.01.2005 12:10");
    brings JBO-27018: AttrSetValException Cause: The type of attribute value provided as an argument to the set() method for this attribute is not an instance of the Java type that this attribute expects.
    3.) The thing that I reall need is something like:
    DateFormat sim = new SimpleDateFormat("dd.MM.yyyy HH:mm");
    java.util.Date datum = new java.util.Date();
    try
    datum = sim.parse("01.01.2005 12:30");
    } catch (ParseException e)
    setAttributeInternal(MYDATE, datum);
    but right now this also ends with the JBO-27018
    I also did try different types (timestamp and date) in my entity object and different format masks. Not working at all. All the threads I found are pointing to articles from Steve, which are not available anymore (the links don't work). So any help is appreciated.
    Regards, Peter

    Thankyou for the hint. I get it to work with
    public void whatever
    DateFormat simple = new SimpleDateFormat("dd.MM.yyyy HH:mm");
    java.util.Date javaDate = new java.util.Date();
    try
    javaDate = simple.parse("01.01.2005 12:30");
    } catch (ParseException e)
    java.sql.Timestamp sqlDate = new java.sql.Timestamp(javaDate.getTime());
    oracle.jbo.domain.Date nowDate = new oracle.jbo.domain.Date(sqlDate);
    setAttributeInternal(MYDATE, nowDate);
    but is there an easier and more 'beautiful' way to do this? Like using a date formatter on oracle.jbo.domain.Date instead using the SimpleDateFormat? btw. did I mention that I'm a Forms and PL/SQL programmer ;-)
    Regards, Peter

  • AIP-50547:  Trading partner agreement not found for the given input values

    I am trying to setup outbound 810. I have it working in one environment I took export and imported in another environment. But it gave me following error. I purged repository and configured everything again and it still gives me same error:
    2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = ? AND ba1.name = ? AND sba1.isinitiator = ? AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = ? AND ba2.name = ? AND sba2.isinitiator = ? AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL))
    2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() bind vars: RSC,SEND_INVOICE,Y,PETSMART ,SEND_INVOICE,N
    2007.08.25 at 19:41:22:854: Thread-21: B2B - (ERROR) Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "RSC", To party[NAME] "PETSMART ", Business action name "SEND_INVOICE"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementIdByBaTPName(RepoDataAccessor.java:1977)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:166)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:389)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:192)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:731)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
    at java.lang.Thread.run(Thread.java:534)
    I took SQL from the log and used the parameter in the log and executed query at sql prompt and it finds agreement id see below.
    SQL> SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = 'RSC' AND ba1.name = 'SEND_INVOICE' AND sba1.isinitiator = 'Y' AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = 'PETSMART' AND ba2.name = 'SEND_INVOICE' AND sba2.isinitiator = 'N' AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL));
    AGREEMENTID
    100

    Hello Mr Desai,
    Few question and pointers.
    1. Are these two environments pointing to the same repository. Please ensure the system date is appropriate.
    2. Please point your second environment to the Repository of the first environment and check. This will give us some data point.
    3. Make sure the agreement is deployed in your new environment and active. I assume you are importing the agreement on a clean repository.
    4. Please send us the export and payload file for analysis
    Rgds,
    Ramesh
    4.

  • Getting an integer from an input box

    the title pretty much covers it, i basically need to assign an integer value given from and input box to a variable.
    i have search for example of this, but only found examples for returning strings, i tried to adapt it, but i couldnt figure it out.
    can anyone please give me an exampel of a simple (very simple) input box that does this?
    thank you

    [http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#inputVerification|http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#inputVerification]
    In the input verifier example there is a lot of code there to digest but really all it is doing is parsing the number in the field before the value of the field is updated. If there is a ParseException thrown then the user input is rejected and the value of the text field doesn't change.
    You could implement this more simply by catching the ParseException and popping up the box again until the user types a valid entry.
    e.g:
    boolean validInput = false
    while (!validInput) {
        try {
            //pop up and parse input msg etc
            validInput = true;
       catch (ParseException e) {
          //msg to user -> invalid input
    }Obviously not as nice but it gets the job done. We'll call this the 300m Lorus solution.
    Edited by: Edward_Kimber on Nov 23, 2008 8:22 AM

  • Can I control a stepper motor by a time varying velocity input?

    I want to control the motion of the stepper motor by a velocity input that looks something like a Sine wave.The velocity is changing as a function of time. Can I change the velocity of the motor at a prescribed time interval?
    Thanks in advance
    Kevin

    Thanks for getting back to me on this. The controller card that I have is the PCI-7342 controller card. The time of a cycle is about seven minutes. I want to ramp the RPM of the motor from zero up to a max value then return it to zero and then go in the opposite direction . A graph of the RPM vs Time is attached.
    I thought that I could input an array of velocities into a Load RPM VI and specify the time for each input.I have not been able to do this as of yet, because the load RPM VI will not take an array input.
    All these inputs would be made in labview so they are inputs for the controller card. I was under the impression that the controller card generates the steps and direction from the data entered in labview and sends the step and direction impulses to the driver. Do I have the method of operation right?
    Do you think this is possible?
    Thanks again

Maybe you are looking for

  • External Hard Drives going to sleep.

    Is there a way to set an external drive to NEVER sleep. I have several externals (Lacies and Seagates running USB2.0) and they go to sleep if not accessed regularly. Which is a problem with a documentary timeline as if I'm in a viewing it freezes whe

  • Shocking, service from BT - Trying to upgrade to f...

    Probably the worst service I have ever received, and half wish I hadn't got involved with BT; again!  So 5 months ago, we moved house and started a broadband contract with BT for ADSL broadband. We had problems. I waited in from 1-6pm for an engineer

  • Battery life on C2D macbook pros?

    anyone know if its any good?

  • Make an iView from MDM Web Dynpro Component

    Hello! I have read documentation about configuration of MDM WD Component. What I have found - MDM WD Components are used as standalone application and inside BPM. But what about iView? How to make an iVIew from MDM WD Component and to link it with Co

  • Error in wait for event activity

    hi all, i am gettin gfollowing error when i am using wait for event activity in my WF. wait step 0000000088: No valid object ID in container element 'EVENT_BOR' 'EVENT_BOR' is my container element of type BOR object which contain event. please tell m