Problems with Sequence Operator in OWB

Hi everybody,
i want to use a sequence in my mapping. Now i have two problems.
The first problem is the following. When i want to import my sequence (exists on my DB) i can select the sequence in the Selection Window, but when i click on Import i didn't see it in the Design Center, also there is no window which tells me that i have successfully imported the sequence.
The second problem is, when i drag the Sequence Operator into my Mapping i shows the Selection Window where i have to select the poject and object to bind the operator. But i can't select any object.
Can anyone help me with my problems and tell me how i can use a Sequence and the Sequence Operator in my Mapping
Many thanks in advance.
Greetings

Hi everyone!
I'm having a repeated problem with sequences in OWB: I'm filling a TIME table with 1096 rows. Now matter how and when I create the sequence it always starts with 2 instead of 1. Moreover, the last value of the sequence is 1101, when it was supposed to be 1097 or 1098....
I did achieve the right ouput sometimes, but I must be doing something wrong. Here are the several ways I've tried in OWB:
1) I've created all the sequences by sql code, in SQL DEVELOPER or PLUS*, and then imported to OWB. Because of being imported, I didn't have to deploy each sequence. Then, I've connected (by drag and drop to the canvas mapping) the sequence I wanted with NEXTVAL (as I always do) attached do TIME_ID of table TIME;
2) I've dropped and created, several times(as before), the sequences and never had problems..until now. I've also experimented creating, by scratch, the sequences just in OWB and then deploy them in Control Center. After this, deployed the mapping and executed, just like in 1).
So, the difference lies on how I create the sequences and what are the correct steps to create, deploy (if needed), deploy the map and execute the map.
This is insain and I really need this to work. I've tried so many ways....
Could someone PLEASE help me with this? Any thoughts?

Similar Messages

  • Problem with sequences after import

    We recently imported some table data from QA to DEV and now the DEV database has issues with sequences errors. How can I resolve the problem with sequences since we have constraint violation errors as a result of the table sequences being out of sync after the import of several schema tables.

    We run a script like the following to get the sequences as close as possible after importing from PROD to DEV:
    set serveroutput on;
    DECLARE
         CURSOR CUR IS
              SELECT      otherdb_seq.sequence_owner AS owner,
                        otherdb_seq.sequence_name AS seq_nm,
                        TO_CHAR(otherdb_seq.last_number) AS start_nr
              FROM           dba_sequences currdb_seq,
                        dba_sequences@prod otherdb_seq
         WHERE      currdb_seq.sequence_owner IN ('~schemaname~') AND
                        currdb_seq.sequence_owner = otherdb_seq.sequence_owner AND
                   currdb_seq.SEQUENCE_NAME = otherdb_seq.sequence_name
              ORDER BY      1, 2;
         sql_string VARCHAR2(500);
    BEGIN
         FOR REC IN CUR
         LOOP
         sql_string := 'DROP SEQUENCE '||REC.owner||'.'||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'CREATE SEQUENCE '||REC.owner||'.'||REC.seq_nm;
              sql_string := sql_string ||' START WITH '||REC.start_nr;
              sql_string := sql_string ||' MAXVALUE 999999999999999999999999999';
              sql_string := sql_string ||' MINVALUE '||REC.start_nr;
              sql_string := sql_string ||' NOCYCLE NOCACHE ORDER';
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'DROP PUBLIC SYNONYM '||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'CREATE PUBLIC SYNONYM '||REC.seq_nm||' FOR '||REC.owner||'.'||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'GRANT SELECT ON '||REC.owner||'.'||REC.seq_nm||' TO PUBLIC';
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
         END LOOP;
    END;

  • XSLT-problem with sequence attributes

    Hi,
    in my XSLT-program (i'm a real newbie!) i'm adding dynamically attributes and their values to a tag, by using the following code :
    <SUPPLIER>
      <xsl:attribute name="FUNLOC">
        <xsl:value-of select="SUPPLIER_FUNLOC" />
      </xsl:attribute>
      <xsl:attribute name="NAME">
        <xsl:value-of select="SUPPLIER_NAME" />
      </xsl:attribute>
      <xsl:attribute name="LOCATION">
        <xsl:value-of select="SUPPLIER_LOCATION" />
      </xsl:attribute>
      </SUPPLIER>
    The problem is that the attributes in the resulting xml-file are alphabetically ordered. For instance :
    <SUPPLIER FUNLOC="9522222" LOCATION="NL" NAME="Test vendor VMOI">
    How can i arrange that the result of the xml-file is a sequence of entrance is taken, so
    <SUPPLIER FUNLOC="9522222" NAME="Test vendor VMOI" LOCATION="NL" >
    regards,
    Hans
    [email protected]

    Hi Hans,
    I think you're using ABAP-XSLT?!
    If you do so, you can solve the sorting problem by using a 1:1 Message mapping after the ABAP-XSLT mapping. This resolves the problem that the nodes are not in the correct order.
    In your interface mapping you have to configure 2 mappings:
    1: ABAP-XSLT
    2: Message mapping.
    Of course this means that the total processing time increases a little bit.
    I had the same problem with the sequence of my (ACC_DOCUMENT) idoc nodes, the ABAP-XSLT screwed up the idoc, but the 1:1 message mapping solved the problem.
    Regards,
    Mark

  • Problem with the operator less than or equal to in a weby query

    Hi all.
    The universe is a OLAP Universe
    When i created a query in webi and put the month in the filter area with the operator less than or equal to like this.
    Month (less than or equal to) 2010.01 for example. The all result brings also the all values like 2010.02, 2010.03, etc
    What is the problem and how can fix that ?
    Thanks

    Looks like you are using a less than or equal to with a Sting data type.
    I think you should change to your filter to Year <= 2010 And Month <= 1. Hope you have a month and year object in you BeX.
    Anil

  • Resetting the Sequence operator in OWB

    I have a Sequence operator for one column in the mapping. It correctly increments by 1 for each row (nextval) . I have done some testing and now I want to reset the next increments. Like I want to start from 1 instead of some 588 like that which is result of my testing.
    How to reset the sequence operator so that it starts from 1 again.
    Thanks

    Hi Tom,
    First you should create a store procedure that resets the last_number of a specified sequence w/ parameters sequence_name and start value. Then just call the stored proc from OWB to reset your sequence.
    --stored proc ex:
    create or replace PROCEDURE reset_sequence (
    seq_name IN VARCHAR2, startvalue IN PLS_INTEGER) AS
    cval INTEGER;
    inc_by VARCHAR2(25);
    BEGIN
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' ||seq_name||' MINVALUE 0';
    EXECUTE IMMEDIATE 'SELECT ' ||seq_name ||'.NEXTVAL FROM dual'
    INTO cval;
    cval := cval - startvalue + 1;
    IF cval < 0 THEN
    inc_by := ' INCREMENT BY ';
    cval:= ABS(cval);
    ELSE
    inc_by := ' INCREMENT BY -';
    END IF;
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' || seq_name || inc_by ||
    cval;
    EXECUTE IMMEDIATE 'SELECT ' ||seq_name ||'.NEXTVAL FROM dual'
    INTO cval;
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' || seq_name ||
    ' INCREMENT BY 1';
    END reset_sequence;
    --calling stored proc ex:
    --sequence name is employees_seq; reset value to 1
    DECLARE
    SEQ_NAME VARCHAR2(200);
    STARTVALUE PLS_INTEGER;
    BEGIN
    SEQ_NAME := 'EMPLOYEES_SEQ';
    STARTVALUE := 1;
    RESET_SEQUENCE(
    SEQ_NAME => SEQ_NAME,
    STARTVALUE => STARTVALUE
    END;
    Hope it works! Cheers!=)
    Regards,
    Carlo

  • VariableScope problem with sequence containers (SSIS 2012)

    Hi,
    a co-worker of mine experienced a problem with variable scopes in SSIS 2012 when copying a sequence container.
    This is what he tried to do:
    Create a sequence container with a data flow task and a script component
    Add variable "a" with scope set to the sequence container
    Add "a" to ReadOnlyVariables in the script component and assign it to a variable within PreExecute() in the script
    Copy the sequence container (with DFT and SC)
    Rename (or remove and add new - doesn't matter) variable "b" with scope set to the new sequence container
    Change variable in ReadOnlyVariables of copied SC to "b", change it in the script as well
    Now when executing the package, one of the sequence containers will always fail. Interestingly enough, it is not always the same but switches seemingly randomly. It doesn't matter if the script is written in C# or VB.
    The following error is thrown:
    Exception from HRESULT: 0xC0010009
       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100.get_Item(Object Index)
       at SC_f8fa68ce667a42d2b4b154c26831db5f.Variables.get_VarForCopySeqC()
       at SC_f8fa68ce667a42d2b4b154c26831db5f.ScriptMain.PreExecute()
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PreExecute()
    In this case, VarForCopySeqC is the variable used in the copied sequence container, but the failing one is the original sequence container.
    Does anyone have an idea how to resolve this? Thanks in advance for anyone helping us out here!
    Regards,
    Thorsten H.

    If the variable is scoped to the Sequence Container then you could leave it as is in the new Sequence Container too. Why rename it to "b" ?
    Granular scoping makes the package debugging and maintenance a lot more difficult because you have to bring the component in focus to see its scoped variables. It is easier to have package-scoped variables IMHO.
    - Aalamjeet Rangi | (Blog)

  • Problem With mac Operating system

    ok, had a problem with a piece of software and was told to try and "downgrade" my OS. so i started an installer that was an installer to a previous system. i was on 4.8 and was trying to go to 3.4 i think. I got half way thru and it said start the installer again. restarted. instead of the apple logo coming up a round cross comes up. i connected to my comp thru another comp using the firewire but my user folder is empty. anyways i can find anything in the users folder and fix this problem? cheers

    Who told you to downgrade your OS X version and was this due to the software not being compatible with your OS X version which was 10.4.8?
    What software?
    Your computer detail provided indicates you have an Intel Mac and if so, you certainly cannot downgrade to 10.3 - any 10.3.x version. All Intel Macs have shipped with Tiger (10.4.x) pre-installed and there are no OS X versions prior to 10.4.x that is compatible with an Intel Mac and even if so, you cannot install an earlier or previous OS X version on a Mac that shipped with a later version.
    Unless you meant 10.4.3 which is the version that was pre-installed on your Intel Mac and the version included with the OS X install package that shipped with your Mac when new.
    Did this person who told you to downgrade your OS also tell you to be sure to create a backup or update your existing backup before doing so?
    Did you choose Archive & Install with an option to preserve user and network settings?
    If not and you choose Erase & Install, then your hard drive was completely erased first.

  • Problems with sequence context and W2000

    I have a Test Stand 1.0 sequence that works correctly in W98 but I have tried to execute in a PC with W2000 and the sequence doesn´t work. It seems that the problem is with the sequence context activeX pointer.

    Hello,
    TestStand 1.0 and 1.0.1 did not support operation under Windows 2000. TestStand 1.0.2 and later did. Are you by any chance using one of the versions not supported? If so, I would recommend upgrading to the latest version which is TestStand 3.0.
    Bob

  • Problem with creating Operation with the BAPI_ROUTING_CREATE

    I try to create a routing with operations attached to the default sequence with the BAPI_ROUTING_CREATE, via an external rfc-program.
    I have no problems to transfer the Task Header und the MaterialTaskAllocation, but the transfer of the operation allways fails, without an error message. The system creates the Routing without any operation.
    Are there some additional fields needed for the tranfer of an operation, in the online documentation there is only
    the field OPERATION_ID defined as needed.
    Thank's for any help
    Jörg Sloksnaitis

    I'll share my code snippet since I got this kind of working this morning. The following code with hard-coded values works and is a fairly simple and straightforward Routing. This may be something you can build on.
    Task List Header
      w_bapi1012_tsk_c-VALID_FROM = sy-datum.
      w_bapi1012_tsk_c-VALID_TO_DATE = '99991231'.
      w_bapi1012_tsk_c-PLANT =  zzplant.
      w_bapi1012_tsk_c-LOT_SIZE_FROM = '1'.
      w_bapi1012_tsk_c-LOT_SIZE_TO = '99999999'.
      w_bapi1012_tsk_c-TASK_MEASURE_UNIT = 'EA'.
      w_bapi1012_tsk_c-TASK_LIST_STATUS = '4'.
      w_bapi1012_tsk_c-TASK_LIST_USAGE = '1'.
      append w_bapi1012_tsk_c to t_bapi1012_tsk_c.
    Material Fields
      w_bapi1012_MTK_C-material = zzmaterial.
      w_bapi1012_mtk_c-plant    = zzplant.
      w_bapi1012_mtk_c-VALID_FROM = sy-datum.
    w_bapi1012_mtk_c-VALID_TO_DATE = '99991231'.
      append w_bapi1012_mtk_c to t_bapi1012_mtk_c.
    Operation
      w_bapi1012_opr_c-ACTIVITY = '9000'.
      w_bapi1012_opr_c-CONTROL_KEY = 'RP02'.
      w_bapi1012_opr_c-WORK_CNTR = ' '.
      w_bapi1012_opr_c-PLANT = zzplant.
      w_bapi1012_opr_c-DESCRIPTION  = 'Test Operation'.
      w_bapi1012_opr_c-BASE_QUANTITY = '1'.
      w_bapi1012_opr_c-OPERATION_MEASURE_UNIT = 'EA'.
      w_bapi1012_opr_c-VALID_FROM = sy-datum.
      w_bapi1012_opr_c-VALID_TO_DATE = '99991231'.
      w_bapi1012_opr_c-DENOMINATOR = '1'.
      w_bapi1012_opr_c-NOMINATOR = '1'.
      append w_bapi1012_opr_c to t_bapi1012_opr_c.
    Thanks,
    Tim Stadler
    Menasha Corporation

  • Problem with Sequence in Form

    I created a sequence as:
    -- Create sequence-----
    create sequence MY_SEQ minvalue 1 maxvalue 100000 start with 21increment by 1cache 20 order;
    In Form(Form10g) I set the Initial Value propery as:
    :sequence.30_seq.nextval
    The problem is, Whenever I go for Insert Item and cancel Insertion. The sequence continues to the next after next. How do I keep it with MAX+1 through Sequence

    Yes, I've worked with something like that before. I'm not sure if there was an issue with using a 'for update nowait' lock, but it used dbms_lock instead. After getting a lock, delete the record. If the user saves the form then the sequence will used there, if they roll back it will remain on the table.
    But with more than one user and the option not to save after the sequence has been issued, you could still have gaps in the sequences within each session and sequence numbers will not always be issued in ascending order. In the long term you will have a continuous sequence on the table (unless a record is deleted), but in the short term it may not look like it, so be prepared for complaints.

  • Problem with zip operating system command

    Hello,
    i have the following configuration in the file receiver adapter:
    Directory: /tmp/
    File Name Scheme: %name%.txt
    Variable substitution:
    Variable Name: name                 Reference: payload: record,1,name,1
    Run Operating system command:
    /usr/bin/zip /tmp/%f.zip %F
    The execution is succesful, but i have a small problem. The file name is "file.txt.zip", the .txt should appear but i dont know how to skip it, I have tried so many ways but it doesnt work, I should receive a file called "file.zip" With a file inside in txt format...
    Thanks,
    Luis

    Hi Sriram,
    Thanks, but that wouldnt work out, Im using the %f for my file name, so this move command shouldnt work for me, because my filename changes in every execution, so I cant write something like this: mv file.txt.zip file.zip
    The only solution I see would would be a command which deals with strings and that could remove the four last characters of "%f"..but I havent found anything for doing it.
    Regards,
    Luis

  • Problem with pending operations after migrating to gw2014

    Hi there, this saturday we have migrated to gw2014 from gw2014. We are in a cluster environment.
    We only have one primary domain with one post office, all users are in this post office.
    We have several secondary domains for gwia/webaccess only.
    Mail flow is ok. Mails are coming in and coming out, but administrative message between domains
    are not flowing. For example: if I add a new account in the post office, I cant see this new account
    in secondary. Also, for creating new domains, etc. I dont know whats happening, all mta's are open
    in mta console from the primary. This is a very critical issue for me...
    Where I can debug this pending operations ? How can I know whats happening ? I dont know if I have
    a network issue / problem or its something related to GW system...
    please help!
    Antonio

    Something like that happened to me also. It turned out that the gw install did not copyed the dc files to the mta, poa directory. After copying the dc files manually, admin messages started to flow again.

  • Problem with define operation

    I have wsdl file (simple part of it here)
    <message name="otnAsyncServiceRequestMessage">
    <part name="peiSessionID" type="xsd:string">
    </message>
    <message name="otnAsyncServiceResultMessage">
    <part name="payload" type="xsd:string"/>
    </message>
    <portType name="otnAsyncService">
    <operation name="initiate">
    <input message="tns:otnAsyncServiceRequestMessage"/>
    </operation>
    </portType>
    And my process call async thi service using otn_jaxrpc.jar
    Here simple code from bpel file
    <assign name="assign-1">
    <copy>
    <from expression="ora:getConversationId()">
    </from>
    <to variable="otnAsyncServiceReq" part="peiSessionID"/>
    </copy>
    </assign>
    <invoke name="invokeOTNAsyncService" partnerLink="otn" portType="er2004:otnAsyncService" operation="initiate" inputVariable="otnAsyncServiceReq"/>
    <receive createInstance="no" name="receiveFromOTNCallBack" partnerLink="otn" portType="er2004:otnAsyncServiceCallback" operation="onResult" variable="otnAsyncServiceRes"/>
    .... i look at result throw tcpmon
    and soap envelope look like this
    </soapenv:Header>
    <soapenv:Body><peiSessionID xmlns="http://er2004.ifirst.ru"/></soapenv:Body>
    </soapenv:Envelope>
    But i have no peiSessionID operation in wsdl!
    And my service not define any operation with that name?!
    what's a problem!
    Help please!!!

    First, check if you have any calendar notes or appointments that you entered without a subject. Delete that note and try to sync.
    I hope this helps!
    Post relates to: Tungsten E2

  • Problem with IN operator

    I'm having a strange problem when using IN operator in a query. The following query works in one database which is 9i and does not work(not returning any rows) in another database which is 10g.
    select * from <table>
    where <column> IN
    (select <column> from <view>
    where <column> = <value>
    Another thing is if I replace the view with a table the query returns results in 10g. If I replace IN operator with a '=' the query returns results.
    The question is:
    Am i missing any default setting in database level? Why the query did not return any rows when I use view? Any ideas?
    Thanks in advance,

    Hi,
    I agree with Walter.
    REgarfds salim.
    SQL>  create view v_emp as select * from emp;
    View created.
    SQL> select * from v_emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL>
    SQL> select * from emp
      2  where empno in ( select empno from v_emp);
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL>

  • A possible problem with parallel operation?

    Hello everyone,
             I am working on a labview program that uses parallel execution, and I am running into a possible problem. Please bear with me, as sometimes it is difficult to explain things happening in Labview in text alone. This application reads data from a server that we have in one of our labs via an ActiveX component. This server is known as a TIU server. The server contains various data including part numbers, serial numbers etc. It sends this data out in three different signals. A sequence count, an ASCII high, and an ASCII low. The sequence counter sends data in the following manner. When the sequence count is 0 and both ASCII high and low are NULL, then a new part number sequence is about to begin. When the count sequence changes to "1", then the next two string charaters listed under ASCII high and ASCII low represent a number that is a "Function ID". There are several of these, and each function ID contains different information either a part number, a serial number, etc. Once this is read, and it is determined that you are looking at the correct Function ID, the next Count shows how many charaters are to follow, and then you read each set of two ASCII characters and concatenate them together until you build the entire ASCII sequence as one variable and the sequence is complete.
           There are several equipment cards attached to this TIU server, and each card is free wheeling it's data out. As soon as power is applied, it will continue to send out all of its function ID's sequentially (Function ID 0-9) in order, in a circular fashion at a 1 Hz. rate. A really strange system to be sure, but it is a limitation that I have to deal with. So now that I have laid a bit of the background on this, here is the problem. Occasionally, (maybe one out of 20 trys), the data seems to get slightly corrupted. For example, in the enclosed code, I ran it 40 times, reading the same part number each time. In theory, it should always be the same result. But it is not. I am wondering if there is an issue with running the "READ TIU SERVER.vi" in PreAllocated clone reentrant execution mode? Perhaps on occasion, one of the instances does not fully close, before another instance begins, and a few bits get flipped around? I suppose it is possible that occasionally the TIU server is actually putting out erroneous data (and I am actually reading everything perfectly), but it is a fairly mature system, and I have not gone down that path yet. I have included the .vi that I am using to read the server data "test.vi", and the "Read TIU Server.vi" that is set to Preallocated clone reentrant execution. In this example, the "test.vi" is only a single instance, but in the actual program, I am running 20-30 of these, as Preallocated clone reentrant execution as well. As there are 20-30 cards on each TIU server to get information from. I am hoping that this makes sense, and that I have laid it out in a logical fashion. Sort of hard to explain in text sometimes. Thanks for the help....
    Attachments:
    test.vi ‏123 KB
    Read Tiu Server.vi ‏15 KB

    Hi ,
          Thanks for taking a look. You caught me on the shift register, I had not gotten around to cleaning up a few things. However the "elapsed time" functions acutally are there on purpose. Unfortunately, it takes a VERY long time to get one of those part numbers, as only two ASCII characters are moved accross the bus at a 1 Hz. rate. I orginally had all wait statements, but I discovered that when you stop a while loop, it will continue until the wait timer has expired. With 20+ of these functions in parallel, it was taking upwards of 30 seconds for the program to finally end. From what I was reading on the forums of others that had that problem, a "elapsed time" function can be broken through, while a standard "wait" statement cannot. Now when I press the "STOP" button, the program ends almost immediately.
         This is not a standard piece of equipment that I am using, but I think the explanation is of how it works is fairly accurate. Would you have a guess as to why every so often the data gets corrupted? Other than the bus itself is actually putting wrong data out there? I suppose I should check that as well, but due to the slow rate of the bus, and the tools that we have, I will have to sit and watch it for a long time... Thanks...
    Dan

Maybe you are looking for

  • Runtime errors for Branched in SXMB_MONI

    Hi, After PI 7.0 has been upgraded to SPS16, every time I try to display a message in status "Branched" from SXMB_MONI I get a runtime error. Also I got an error when trying to display it from RWB Monitor. Messages in other statuses donu2019t have pr

  • Using SetLeaf seteaf to get the top hierarchy of the setnode its setname

    hi, using setleaf I have to set its setnode. I have to get the top standard hierarchy setname of that setnode. Is there any function module developed or is there anyway i can get the data. Kamlesh

  • Customer material

    Hello, While in sales order, is to possible determine customer material from description of material? As an example, customer material number is 100 and description of material is Helium. so in sales order, I enter only Helium and system should deter

  • Keyboard shortcut to open new Tab in Terminal.app

    Hi, I'm looking for a way to open new tabs with keyboard shortcuts in Terminal.app Opening the default profile is not a problem (command-T), but how can I get to the non-default profiles? Assigning keyboard shortcuts in the System Preferences doesn't

  • CS4 tool and other pallettes wont stay above images

    Hi CS4, Unlike other versions of photoshop I have had, I am able to bury the tools and other palettes under my images. I have my images free floating as always (as I like them) and as I shuffle them about on screen, they bury anything at the sides !