Moving an object for certain states?

I want to move an object for about 5 of my states but leave it where it is for about 5 other states.
What is the best way to do this?
I don't really want to try and move it the same distance every time. Is there a way to move something that it does the same thing for certain other states?

Hello,
The exact manipulations you are looking for are not available in Catalyst. Here are some (partial) workarounds.
To make an object the same in StateY as in StateX, you can remove it from StateY and then share it from StateX. This can mess with animations attached to the object, so be mindful of that.
You can create multiple default transitions of a given length by selecting the transitions in the timeline, and clicking the disclosure arrow by "Smooth Transition".
-Bear

Similar Messages

  • Can you set arraycollection objects to certain states?

    hey guys.. so in my application, i need to setup rules and permissions for certain users...
    so basically my applicaion initially displays a login screen, on login success its going to get a variable from the server which says if the user has all or video access
    the way i have my "login success" component setup is i have an array collection and i have states
    basically if the user has "all" access then the user shoudl be able to see everythign in that array collection. and if the user has "video" access the the user shoudl onlly see the video option in the list
    the code i have is
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
              <s:ArrayCollection id="webCoreSourceData">
                   <fx:Object label="Content Group" stackId="contentGroup" />
                   <fx:Object label="Images" stackId="images" />
                   <fx:Object label="Image Renderer" stackId="imageRender" />
                   <fx:Object label="Videos" stackId="videos" />
                   <fx:Object label="Flash Objects" stackId="flashObjects" />
                   <fx:Object label="Story Editor" stackId="storyEditor" />
                   <fx:Object label="Tag Management" stackId="tagManagement" />
                   <fx:Object label="Image and Video Format" stackId="format" />
                   <fx:Object label="Rules And Permissions" stackId="rulesAndPermissions" />
              </s:ArrayCollection>
         </fx:Declarations>
         <s:states>
              <s:State name="all" />
              <s:State name="videoUpload" />
              <s:State name="imageUpload" />
              <s:State name="contentGroup" />
              <s:State name="flashObjects" />
         </s:states>
            <list dataprovider="webCoreSourceData" />
    i need to set each one of these arraycollection objects to a certain state, so when i set "currentState=videoUpload" then only video displays in the list component
    and when i set my "currentState="all"" then i want to be able to all the objects in the arraycollection
    any help is greatly appretiated!! thank you...

    Hi,
    There are a few things you can do, one is to filter the array on change of state you could have it that your dataprovider is different for each state then you do something like below. This might give you some sort of direction anyway..
    David
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
    <![CDATA[
    import mx.events.FlexEvent;
    ]]>
    </fx:Script>
    <s:states>
    <s:State name="State1"/>
    <s:State name="ImageState"/>
    <s:State name="VideoState"/>
    <s:State name="OtherState"/>
    </s:states>
    <fx:Declarations>
    <s:ArrayCollection id="Videos">
    <fx:Object label="Video1" />
    <fx:Object label="Video2" />
    <fx:Object label="Video3" />
    <fx:Object label="Video4" />
    </s:ArrayCollection>
    <s:ArrayCollection id="Images">
    <fx:Object label="Image1" />
    <fx:Object label="Image2" />
    <fx:Object label="Image3" />
    <fx:Object label="Image4" />
    </s:ArrayCollection>
    <s:ArrayCollection id="OtherStuff">
    <fx:Object label="OtherStuff1" />
    <fx:Object label="OtherStuff2" />
    <fx:Object label="OtherStuff3" />
    <fx:Object label="OtherStuff4" />
    </s:ArrayCollection>
    <s:RadioButtonGroup id="radiogroup1"/>
    </fx:Declarations>
    <s:List id="myList" x="163" y="85" width="271" height="386"
    dataProvider.VideoState="{Videos}"
    dataProvider.ImageState="{Images}"
    dataProvider.OtherState="{OtherStuff}"/>
    <s:Button y="15" label="Video" x="160" click="currentState='VideoState'"/>
    <s:Button y="15" label="Image" x="240" click="currentState='ImageState'"/>
    <s:Button y="15" label="Other" x="320" click="currentState='OtherState'"/>
    </s:Application>

  • Database design for objects with multiple states

    Context
    I'm designing a database which, simplified, should be able to handle users sending job requests to each other, and after that a job can be started, finished, and reviewed. The design should be scalable (think millions of users).
    Approaches I've considered:
    Gargantuan table
    One approach, probably not the best one, would be to simply store ALL jobs in one, huge table
    jobs. This table would need a state column to represent which state the job is currently in (e.g.
    ACCEPTED, STARTED, FINISHED, REVIEWED e.t.c.). The biggest problem with this approach that I can see is that jobs in different states have different types of data that are relevant to them. For example, a
    job request has a preliminary agreed upon price, but that could change before the job is started, and change again before the job is finished. This could of course be solved by just adding more columns to the table and naming them properly, but it will probably
    become a huge bottleneck performance-wise very early to have one table containing all the different types of possible data for all the different possible states of a job.
    Different tables for different states
    This approach would be to have multiple tables, for example job_requests,
    jobs_started, jobs_finished, tables who in turn can have substates, e.g.
    job_requests could have the sub-states PENDING, ACCEPTED, while the
    jobs_finished table would have the substates COMPLETED,
    CANCELLED, REVIEWED.
    With this approach each table only contains data which is relevant to the current job state, but on the other hand some data might be duplicated (for example the user ids of the job requester, and job receiver -- on the other hand this information could
    be stored in yet another table?). The problem with this approach is that I can't think of a good solution on how to archive all the information when transitioning between states. For example, once a job request has been accepted, and then started, it should
    be deleted from the job_requests table and moved into the jobs_started table, but it's just a matter of time before a stakeholder wants to know for example how long the average time is between a job request being created, until it's
    been started, at which point I'd need the data from the job_requests table to be able to calculate it.
    It feels like this type of problem should be easy to solve, but I really can't think of any good solution which "feels right", any solution I come up with feels ugly and I can immediately think of a number of things which makes the solution bad.
    Very grateful for any feedback or tips on approaches I could take. Thanks in advance!

    This will be moved to the design fourm, which I don't monitor, by a moderator within a day or so.
    A table in a relational database is supposed to model a unique entity. Job is such an entity. But "Jobs in Washingon state" and "Jobs in Oregon" are two such unique entities.
    I don't see why jobs in different states would have different attributes, but it is not my business domain. And the problem certainly appears in other areas. My area is financial instruments, and they come in many flavours. And still have many attributes
    in common.
    So what we do is that we have a table instruments which holds common data. And then there are tables like funds, futures, bonds, optionandwarrants etc that holds attributes that unique to these classes of instruments. These specific tables are child tables
    to the instruments tables.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Moving objects a certain distance at an angle

    I'm trying to move an object a certain distance at a certain angle. I select the object and hit Enter to bring up the Move dialog. I enter the angle and distance, and instead of moving the specified distance, it moves some other distance. I don't get it. Am I doing it wrong? I can't imagine how else it's supposed to work. Here's a simple example:
    Based on the angle and distance I entered in the video, the duplicate square should have been placed so that its lower right corner touches the upper left corner of the original. Instead, it only moved half an inch or so.

    I did not encounter your problem but you might find this a work around
    Use the Effect>Distort and Transform>Transform
    use the vertical and horizontal distances to get where you want it might also work witht he move tool dialog.

  • Which info object should be used for Financial statement line (BPS and BCS)

    Hi experts.
    A rather easy and straightfoward questions for someone out there.
    In BPS as we know, we use the info object '0SEM_POSIT' (account groups, or financial statement line) to summamrize and store amounts from groups of accounts or for example data from COPA's value fields, and which is already an attribute of the info object '0ACCOUNT'.
    I am told that there is another BCS related info object called '0CS_ITEM' that serves the same purpose, and uses it for the same reason for the purpose of consolidations.
    We'd obviously like to use just the one of these info objects because of planning and reporting.
    Can someone out there with knowledge in BCS recommend which one to use, and from their experience in the past how they combined the use of both (if you in fact did use both).
    Also, is it true that in BCS you cannot use a two characteristic BW hierarchy for consolidations, and it can only consolidate a one characteristic BW hierarchy?
    Thanks dearly

    Hi Eugene,
    I kind of understood what you said, but just incase, let me explain my situation a little clearer. In BPS I'm using 0SEM_POSIT for two reasons:
    1) To create hierarchy based on 0SEM_POSIT info object, and making each node postable. This is because on this project we don't plan at account level. Only at a kind of account group/financial statement line level. So each node is postable so that they roll up to the higher levels.
    2) I will have 0SEM_POSIT as an attribute of 0ACCOUNT (which is standard delivered as an attribute in BW). This will ensure that I derive the actuals at that the same level as the planned. This is required for two reasons:
                               a) I can have the actuals as comaprison column in the Planning
                                   layout.
                               b) I can report on the Actuals vs. Plan at the postable node
                                   level in BW queries.
    So having explained this, what I understood from your explanation is:
    a) I can continue to 0SEM_POSIT as my info object for my postable node hierarchy, and
    b) I can also use 0CS_ITEM as a consolidation unit specifically for BCS only.
    So what I really didn't understand is:
    1) your explanation of the mapping of 0SEM_POSIT to 0CS_ITEM, and what this mapping actually does. For example does 0CS_ITEM derive the values from 0SEM_POSIT because of this mapping? Can you explain this a bit? Is Datastream a tool in BCS by which BCS readinf financial data from other components?
    2) Can BCS use a 2 characteristic postable nodes hierarchy as a consolidation unit? For example, if I create ONE hierarchy using 0SEM_POSIT, and 0ACCOUNT. Both will be postable at any level of the hirarchy.
    Can BCS consolidate using this 2 characteristic hierarchy structure? OR, must it use 0CS_ITEM info object?
    3) How does both 0SEM-POSIT, and 0CS_ITEM co-exist together, in terms of planning, consolidation, and reporting. For example if I report using the 0CS_ITEM hierarchy, then I will not be able to read plan data, because plan data is posted on the 0SEM_POSIT? and vice versa......? This question kind of ties in with 1).
    Sorry for the long message, but I wanted to make sure I explained it better.
    Thanks for your help

  • Date formats for SQL statements used by recordset object

    Hi,
    Date formatting appears to be quite problematic for Business One.  I did a forum search for date issues and I don't think I saw any of them with an "answered" status.  I have an issue with formatting a date for the creation of an SQL statement that the DI sends to SQL Server 2005.  I need to format a date so that the localization parameters don't matter for either the client machine or SQL Server's machine.  We don't have a problem as long as our machines are localized as USA.
    I have PL 22 and I have a form - ours - where I use the Today() function to fill a date field.  So this is a date that is not entered by the user.  The result of this function is consistent with the localization parameters on my machine.  We have two other date fields on the form where the user must type in the date. 
    As a test, I changed my machine to the UK parameters.  I then set up the language parameters of Business One for English(United Kingdom).  I changed the date format specifications in Business One so that its format is dd/mm/yy.  I then brought up the form and the field that is formatted by the above function arrived in the form's field as dd/mm/yy.  I then typed in the two other dates in the same format and added the record to the database.  The form's table is user-defined. 
    I dismissed the form then brought it back up loaded with the new record.  The date that was entered by the function appeared in USA format (mm/dd/yy).  The dates that were typed in appeared in the Business One format (dd/mm/yy).  This of course is not consistent.
    When I looked at what got into the database, the formats were the opposite.  Weird!  To make matters really confusing, I run an SQL statement within SQL Server Mgt Studio, and use the WHERE clause to filter on the date that was based on the function.  It didn’t matter what format I used for the WHERE clause, the record came up.  Does anyone have any idea about how I can ensure that I always use the correct date format for SQL statements passed by Business One to SQL Server regardless of where in the world the application is being run?
    Thanks,
    Mike

    Ian,
    Here's what I'm concerned about:  I’m using the date in a “WHERE” clause.
    Assume the date is Aug 3, 2007.
    "SELECT * FROM Table WHERE StartDate > ‘8/3/2007’"
    OR
    "SELECT * FROM Table WHERE StartDate > ‘3/8/2007’"
    If the client machine is set up as USA, the today function will provide the date as formatted in the first query.  If the database server is setup as let’s say the UK, I believe that SQL Server query parser will interpret the date as Mar 8, 2007.
    If the client machine is set up as UK, the today function will provide the date as formatted in the second query.  If the database server is setup as let’s say USA, I believe that SQL Server query parser will also interpret the date as Mar 8, 2007.
    In both cases it would be wrong.
    I know I could use the DATEPART function to get the three parts and this will make the code indifferent to the localization specs of the client machine.  I need to then be able to concatenate those date parts for the “WHERE” clause so that the localization specifications of the database server don’t matter.
    Thanks,
    Mike

  • 11g Method -- byte[] JGeometry.store( JGeometry ) fails for certain SQL

    Hi All,
    Using the new in 11g byte[] JGeometry.store( JGeometry ) method as oppose to the traditional STRUCT JGeometry.store( JGeometry, Connection) method fails for certain SQL statements.
    It works fine for statements like this:
    UPDATE PARCELS SET GEOM = ? WHERE ID = 47;
    These statements give errors though:
    UPDATE PARCELS SET GEOM = SDO_MIGRATE.TO_CURRENT( ?, (SELECT DIMINFO FROM USER_SDO_GEOM_METADATA WHERE TABLE_NAME = 'PARCELS' AND COLUMN_NAME = 'GEOM') ) WHERE ID = 47;
    ORA-06553: PLS-306: wrong number or types of arguments in call to 'TO_CURRENT'
    SELECT ID, LABEL, GEOM FROM PARCELS WHERE SDO_NN( GEOM, ?, 'SDO_BATCH_SIZE=5000' ) = 'TRUE';
    ORA-29900: operator binding does not exist
    ORA-06553: PLS-306: wrong number or types of arguments in call to 'SDO_NN'
    ? Being where I bind in the byte[] / Object as appropriate.
    So I get the above errors when using setBytes( index,  JGeometry.store( jgeom ) ); but it work when using: setObject( index,  JGeometry.store( jgeom, con ) );
    Is this a bug is known / will be fixed ?
    Thanks,
    Ronan

    Ronan,
    Typically this works fine in OC4J, but does not work in WLS or other containers since the connection type is different between.
    In OC4J, the connection is an Oracle connection which can handle these object conversions.
    We will try to improve the documentation for this to explicitly specify where this interface can be used.
    siva

  • How to create authorisation object for save button please help in abap

    how to create authorisation object for save button please help in abap

    Hi
    In general different users will be given different authorizations based on their role in the orgn.
    We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
    USe SUIM and SU21 T codes for this.
    Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
    If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
    This means you have to allocate an authorization object in the definition of the transaction.
    For example:
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object>
    ID <authority field 1> FIELD <field value 1>.
    ID <authority field 2> FIELD <field value 2>.
    ID <authority-field n> FIELD <field value n>.
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
    To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
    Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
    You program the authorization check using the ABAP statement AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD 'B'.
    IF SY-SUBRC <> 0.
    MESSAGE E...
    ENDIF.
    'S_TRVL_BKS' is a auth. object
    ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
    The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
    This Authorization concept is somewhat linked with BASIS people.
    As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a  profile and that profile in turn attached to a particular user.
    Take the help of the basis Guy and create and use.
    Regards
    ANJI

  • Forward mail to MS Exchange for certain users

    Hello.
    We have a "master" Oracle Messaging Exchange Server and we have recently installed a Microsoft Messaging Server. We need certain users to use MS Exchange. The idea is changing mailHost LDAP attribute for those users (let's take [email protected] as an example), setting the MS Exchange HUB server, let's say hub.domain.com (mailHost: hub.domain.com). Doing so, mails sent to [email protected] are sent to hub.domain.com using lmtp channel. Everything works fine except for an issue: MS Exchange sees the from address like "user@lmtpcs-daemon", so we have to configure MS Exchange to use "lmtpcs-daemon" as secondary domain of domain.com, otherwise it doesn't know what to do with those mails.
    Is there a way to not do that rewrite for certain users? Or maybe can we create a new channel to forward mails to Exchange? Could we define a channel depending on mailHost value or something like that?
    Any thoughts?
    Thank you very much.

    Thank you very much for your inputs.
    It's being quite difficult for me to understand this whole mail routing thing. According to the documentation:
    "The handling of a missing mailhost attribute is different depending on whether the entry is a user or a group. In the case of a user, a mailhost is essential, so if no mailhost attribute is present a new address of the form
    @smarthost:user@domain
    is constructed using the smart host for the domain determined by the LDAP_DOMAIN_ATTR_SMARTHOST MTA option"
    Sounds good, it seems that I just need to delete mailHost attribute for the users who need to use Exchange and set LDAP_DOMAIN_ATTR_SMARTHOST in option.dat. I've tried that but I get a "4.0.0 temporary error returned by alias expansion" when I send a mail to the test user.
    I've deleted the LDAP_DOMAIN_ATTR_SMARTHOST line and I've set mailRoutingSmartHost LDAP attribute for the user but I get the same result.
    I'm not even sure about the mailRoutingSmartHost format. This is what I have:
    mailRoutingSmartHost: correoweb.saludcastillayleon.es
    root@MTA1 # imsimta test -rewrite -debug [email protected]
    Initializing mm_.
    Initializing mm_ submission.
    Checking identifiers.
    *** Debug output from initializing MM for submission:
    09:49:06.60: Debug output enabled, system MTA1.domain.com, process 41f0.1, message enqueue routines version V6.3 compiled Mar 14 2008 17:07:19
    09:49:06.60: mmc_winit('l','[email protected]','[email protected]') called.
    09:49:06.60: Address reversal invoked on [email protected], force reverse URL 1, capture 1
    09:49:06.60: Rewriting: Mbox = "postmaster", host = "mta1.domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.60: Rewrite: "$*", position 0, hash table -
    09:49:06.60: Found: "$A$E$F$U%[email protected]"
    09:49:06.60: Rewrite failed, not forward.
    09:49:06.60: Rewrite: "$*", position 1, hash table -
    09:49:06.60: Failed.
    09:49:06.60: Rewrite: "$*", position 0, rewrite database -
    09:49:06.60: Failed
    09:49:06.60: Rewriting: Mbox = "postmaster", host = "mta1", domain = "mta1.domain.com", literal = "", tag = ""
    09:49:06.60: Rewrite: "mta1.domain.com", position 0, hash table -
    09:49:06.60: Found: "$U%[email protected]"
    09:49:06.60: New mailbox: "postmaster".
    09:49:06.60: New host: "mta1.domain.com".
    09:49:06.60: New route: "mta1.domain.com".
    09:49:06.60: New channel system: "mta1.domain.com".
    09:49:06.60: Looking up host "mta1.domain.com".
    09:49:06.60: - found on channel l
    09:49:06.60: Routelocal flag set; scanning for % and !
    09:49:06.60: Checking reverse URL cache for: [email protected]
    09:49:06.60: Applying reverse URL pattern ldap:///$V?$N?sub?$R to: [email protected]
    09:49:06.68: URL generation failed, status = 0
    09:49:06.68: Mapped return address: [email protected]
    09:49:06.68: from_access mapping check: ||MAIL|l|[email protected]|
    09:49:06.68: Queue area size 145940970, temp area size 21837182
    09:49:06.68: 36485242 blocks of effective free queue space available; setting disk limit accordingly.
    09:49:06.68: 10918591 blocks of free temporary space available; setting disk limit accordingly.
    09:49:06.68: - passed.
    09:49:06.68: Rewriting: Mbox = "postmaster", host = "mta1.domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.68: Rewrite: "$*", position 0, hash table -
    09:49:06.68: Found: "$A$E$F$U%[email protected]"
    09:49:06.68: Rewrite failed, not forward.
    09:49:06.68: Rewrite: "$*", position 1, hash table -
    09:49:06.68: Failed.
    09:49:06.68: Rewrite: "$*", position 0, rewrite database -
    09:49:06.68: Failed
    09:49:06.68: Rewriting: Mbox = "postmaster", host = "mta1", domain = "mta1.domain.com", literal = "", tag = ""
    09:49:06.68: Rewrite: "mta1.domain.com", position 0, hash table -
    09:49:06.68: Found: "$U%[email protected]"
    09:49:06.68: New mailbox: "postmaster".
    09:49:06.68: New host: "mta1.domain.com".
    09:49:06.68: New route: "mta1.domain.com".
    09:49:06.68: New channel system: "mta1.domain.com".
    09:49:06.68: Looking up host "mta1.domain.com".
    09:49:06.68: - found on channel l
    09:49:06.68: Routelocal flag set; scanning for % and !
    *** Debug output from rewriting a forward header address:
    09:49:06.68: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.68: Rewrite: "$*", position 0, hash table -
    09:49:06.68: Found: "$A$E$F$U%[email protected]"
    09:49:06.68: Rewrite failed, not envelope.
    09:49:06.68: Rewrite: "$*", position 1, hash table -
    09:49:06.68: Failed.
    09:49:06.68: Rewrite: "$*", position 0, rewrite database -
    09:49:06.68: Failed
    09:49:06.68: Rewriting: Mbox = "user", host = "saludcastillayleon", domain = "domain.com", literal = "", tag = ""
    09:49:06.68: Rewrite: "domain.com", position 0, hash table -
    09:49:06.68: Found: "$U%[email protected]"
    09:49:06.68: New mailbox: "user".
    09:49:06.68: New host: "domain.com".
    09:49:06.68: New route: "mta1.domain.com".
    09:49:06.68: New channel system: "mta1.domain.com".
    09:49:06.68: Looking up host "mta1.domain.com".
    09:49:06.68: - found on channel l
    09:49:06.68: Routelocal flag set; scanning for % and !
    09:49:06.68: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.68: Rewrite: "$*", position 0, hash table -
    09:49:06.68: Found: "$A$E$F$U%[email protected]"
    09:49:06.68: Rewrite failed, not envelope.
    09:49:06.68: Rewrite: "$*", position 1, hash table -
    09:49:06.68: Failed.
    09:49:06.68: Rewrite: "$*", position 0, rewrite database -
    09:49:06.68: Failed
    09:49:06.68: Rewriting: Mbox = "user", host = "domain", domain = "domain.com", literal = "", tag = ""
    09:49:06.68: Rewrite: "domain.com", position 0, hash table -
    09:49:06.68: Found: "$U%[email protected]"
    09:49:06.68: New mailbox: "user".
    09:49:06.68: New host: "domain.com".
    09:49:06.68: New route: "mta1.domain.com".
    09:49:06.68: New channel system: "mta1.domain.com".
    09:49:06.68: Looking up host "mta1.domain.com".
    09:49:06.68: - found on channel l
    09:49:06.68: Routelocal flag set; scanning for % and !
    09:49:06.68: Rewrite rules result: [email protected]
    09:49:06.68: Checking reverse URL cache for: [email protected]
    09:49:06.68: Applying reverse URL pattern ldap:///$V?$N?sub?$R to: [email protected]
    09:49:06.69: Resulting URL: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    09:49:06.69: mmc_open_url called to open ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected])), flags = 384
    09:49:06.69: URL with quotes stripped: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    09:49:06.69: LDAP URL identified
    09:49:06.69: URL context #1 will be used
    09:49:06.69: Performing URL search on: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|([email protected])([email protected])([email protected]))
    09:49:06.70: mmc_read_url result: [uid=user, ou=People, o=domain.com]
    09:49:06.70: URL resolution returned: [uid=user, ou=People, o=domain.com]
    09:49:06.70: mmc_read_url result: [preferredlanguage] en
    09:49:06.70: URL resolution returned: [preferredlanguage] en
    09:49:06.70: Attribute index: 0
    09:49:06.70: LDAP URL produced preferred language en
    09:49:06.70: mmc_read_url result: [mail] [email protected]
    09:49:06.70: URL resolution returned: [mail] [email protected]
    09:49:06.70: Attribute index: 0
    09:49:06.70: LDAP URL produced address [email protected]
    09:49:06.70: mmc_read_url result: [mailalternateaddress] [email protected]
    09:49:06.70: URL resolution returned: [mailalternateaddress] [email protected]
    09:49:06.70: Attribute index: 0
    09:49:06.70: Alternate address [email protected]
    09:49:06.70: No more results to return
    *** Debug output from rewriting a forward envelope address:
    09:49:06.70: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.70: Rewrite: "$*", position 0, hash table -
    09:49:06.70: Found: "$A$E$F$U%[email protected]"
    09:49:06.70: Match, pattern = "domain.com", current = "(*domaincheck*)"
    09:49:06.70: old state = not checked.
    09:49:06.70: Domain check on domain.com.
    09:49:06.70: Added domain result 1 to cache for domain.com.
    09:49:06.70: new state = succeeded.
    09:49:06.70: New mailbox: "user".
    09:49:06.70: New host: "domain.com".
    09:49:06.70: New route: "mta1.domain.com".
    09:49:06.70: New channel system: "mta1.domain.com".
    09:49:06.70: Looking up host "mta1.domain.com".
    09:49:06.70: - found on channel l
    09:49:06.70: Routelocal flag set; scanning for % and !
    address channel = l
    forward channel = l
    channel description =
    channel caption =
    channel user filter =
    dest channel filter =
    source channel filter =
    channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
    channel flags #1 = NOSMTP DEFAULT
    channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
    channel flags #3 = LOGGING NORESTRICTED RETAINSECURITYMULTIPARTS
    channel flags #4 = EIGHTBIT HEADERKEEPORDER NOHEADERREAD RULES
    channel flags #5 = TRUNCATESMTPLONGLINES
    channel flags #6 = LOCALUSER REPORTNOTARY
    channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
    channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
    channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
    defaulthost = domain.com domain.com
    linelength = 1023
    channel env addr type = SOURCEROUTE
    channel hdr addr type = SOURCEROUTE
    channel official host = mta1.domain.com
    channel after params =
    channel user name =
    urgentnotices = 1 2 4 7
    normalnotices = 1 2 4 7
    nonurgentnotices = 1 2 4 7
    channel rightslist ids =
    local behavior flags = %x7
    expandchannel =
    notificationchannel =
    dispositionchannel =
    saslswitchchannel =
    tlsswitchchannel =
    backward channel = l
    unique identifier = [email protected]
    header forward address = [email protected] (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
    header reverse address = [email protected]
    envelope forw address = [email protected] (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
    envelope rev address = [email protected] (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
    name =
    mbox = user
    Extracted address action list:
    [email protected]
    Extracted 733 address action list:
    [email protected]
    Address list expansion:
    *** Debug output from alias expansion:
    09:49:06.70: Inner expand, level = 0, mailbox = [email protected]
    09:49:06.70: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.70: Rewrite: "$*", position 0, hash table -
    09:49:06.70: Found: "$A$E$F$U%[email protected]"
    09:49:06.70: Match, pattern = "domain.com", current = "(*domaincheck*)"
    09:49:06.70: old state = not checked.
    09:49:06.70: Using result 1 from domain match cache.
    09:49:06.70: new state = succeeded.
    09:49:06.70: New mailbox: "user".
    09:49:06.70: New host: "domain.com".
    09:49:06.70: New route: "mta1.domain.com".
    09:49:06.70: New channel system: "mta1.domain.com".
    09:49:06.70: Looking up host "mta1.domain.com".
    09:49:06.70: - found on channel l
    09:49:06.70: Routelocal flag set; scanning for % and !
    09:49:06.70: Reparsed mailbox: user
    09:49:06.70: Reparsed host: domain.com
    09:49:06.70: Variant #1 = [email protected]
    09:49:06.70: Variant #2 = *@domain.com
    09:49:06.70: Alias magic value 8764
    09:49:06.70: LDAP URL template identified
    09:49:06.70: URL determined to be: ldap:///o%3Ddomain.com?*?sub?(|([email protected])([email protected])([email protected]))
    09:49:06.70: URL context #1 will be used
    09:49:06.70: Performing URL search on: ldap:///o%3Ddomain.com?objectclass,inetuserstatus,mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mailRoutingAddress,mailMsgMaxBlocks,mail,mailAlternateAddress,mailEquivalentAddress,mailDeliveryOption,vacationStartDate,vacationEndDate,mailConversionTag,mailhost,mailQuota,mailMsgQuota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mailAutoReplyMode,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,mailAutoReplyTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessing,mgrpMsgRejectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgrpDisallowedBroadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDomain,mgrpMsgMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,UniqueMember,mgrpRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRemoveHeader,mgrpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?sub?(|([email protected])(mailAlternateAddress=user@09:49:06.72: Scanning LDAP result.
    09:49:06.72: Attribute: objectclass
    09:49:06.72: Attribute index: 0
    09:49:06.72: Attribute: inetuserstatus
    09:49:06.72: Attribute index: 1
    09:49:06.72: Attribute: mailuserstatus
    09:49:06.72: Attribute index: 2
    09:49:06.72: Attribute: uid
    09:49:06.72: Attribute index: 5
    09:49:06.72: Attribute: preferredLanguage
    09:49:06.72: Attribute index: 19
    09:49:06.72: Attribute: mail
    09:49:06.72: Attribute index: 31
    09:49:06.72: Attribute: mailAlternateAddress
    09:49:06.72: Attribute index: 32
    09:49:06.72: Attribute: mailDeliveryOption
    09:49:06.72: Attribute index: 34
    09:49:06.72: Attribute: mailQuota
    09:49:06.72: Attribute index: 51
    09:49:06.72: Attribute: mailAutoReplyMode
    09:49:06.72: Attribute index: 55
    09:49:06.72: Attribute: mailForwardingAddress
    09:49:06.72: Attribute index: 64
    09:49:06.72: Attribute: mailDeferProcessing
    09:49:06.72: Attribute index: 65
    09:49:06.72: Scanning complete, begin actions
    09:49:06.72: Possible user object classes: inetLocalMailRecipient+inetmailuser
    09:49:06.72: Possible group object classes: inetLocalMailRecipient+inetmailgroup
    09:49:06.72: Object class: top
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: person
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: inetuser
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: organizationalperson
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: inetorgperson
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: ipuser
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: inetmailuser
    09:49:06.72: Object class match, reference value 1
    09:49:06.72: Object class: inetlocalmailrecipient
    09:49:06.72: Object class match, reference value 18
    09:49:06.72: Object class: userpresenceprofile
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: inetsubscriber
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: icscalendaruser
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: iplanet-am-managed-person
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: iplanet-am-user-service
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: iplanetpreferences
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: inetadmin
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: sunamauthaccountlockout
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: sunUCPreferences
    09:49:06.72: Object class didn't match
    09:49:06.72: Object class: mailDomain
    09:49:06.72: Object class didn't match
    09:49:06.72: User/group index = 1
    09:49:06.72: Domain is active
    09:49:06.72: Mail domain is active
    09:49:06.72: User status = active
    09:49:06.72: User is active
    09:49:06.72: Mail user status = active
    09:49:06.72: User is active
    09:49:06.72: User UID user found.
    09:49:06.73: Delivery option: mailbox
    09:49:06.73: Delivery options value: 1
    09:49:06.73: Processing mailhost attribute
    09:49:06.73: Mailhost not set for user
    09:49:06.73: Adding result to cache.
    09:49:06.73: Status for this address = -10
    09:49:06.73: LDAP URL template identified
    09:49:06.73: URL determined to be: ldap:///o%3Ddomain.com?*?sub?([email protected])
    09:49:06.73: URL context #1 will be used
    09:49:06.73: Performing URL search on: ldap:///o%3Ddomain.com?objectclass,inetuserstatus,mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mailRoutingAddress,mailMsgMaxBlocks,mail,mailAlternateAddress,mailEquivalentAddress,mailDeliveryOption,vacationStartDate,vacationEndDate,mailConversionTag,mailhost,mailQuota,mailMsgQuota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mailAutoReplyMode,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,mailAutoReplyTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessing,mgrpMsgRejectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgrpDisallowedBroadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDomain,mgrpMsgMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,UniqueMember,mgrpRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRemoveHeader,mgrpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?sub?([email protected])
    09:49:06.75: Search succeeded but 0 entries returned
    09:49:06.75: No matching entries were found that were valid
    09:49:06.75: Status for this address = 0
    0 expansion total.
    *** Debug output from submitting an envelope address:
    09:49:06.75: mmc_wadr(0x08103050,'[email protected]','[email protected]') called.
    09:49:06.75: Copy estimate before address addition is 1
    09:49:06.75: Parsing address [email protected]
    09:49:06.75: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
    09:49:06.75: Rewrite: "$*", position 0, hash table -
    09:49:06.75: Found: "$A$E$F$U%[email protected]"
    09:49:06.75: Match, pattern = "domain.com", current = "(*domaincheck*)"
    09:49:06.75: old state = not checked.
    09:49:06.75: Using result 1 from domain match cache.
    09:49:06.75: new state = succeeded.
    09:49:06.75: New mailbox: "user".
    09:49:06.75: New host: "domain.com".
    09:49:06.75: New route: "mta1.domain.com".
    09:49:06.75: New channel system: "mta1.domain.com".
    09:49:06.75: Looking up host "mta1.domain.com".
    09:49:06.75: - found on channel l
    09:49:06.75: Routelocal flag set; scanning for % and !
    09:49:06.75: Address [email protected] requires local processing.
    09:49:06.75: Variant #1 = [email protected]
    09:49:06.75: Variant #2 = *@domain.com
    09:49:06.75: Alias magic value 8764
    09:49:06.75: Checking for [email protected] in the system alias file
    09:49:06.75: - not found
    09:49:06.75: Checking for *@domain.com in the system alias file
    09:49:06.75: - not found
    09:49:06.75: Checking [email protected] with URL template ldap:///$V?*?sub?$R
    09:49:06.75: LDAP URL template identified
    09:49:06.75: URL determined to be: ldap:///o%3Ddomain.com?*?sub?(|([email protected])([email protected])([email protected]))
    09:49:06.75: URL context #1 will be used
    09:49:06.75: Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|[email protected]|[email protected]
    09:49:06.75: Scanning LDAP result.
    09:49:06.75: Attribute: objectclass
    09:49:06.75: Attribute index: 0
    09:49:06.75: Attribute: inetuserstatus
    09:49:06.75: Attribute index: 1
    09:49:06.75: Attribute: mailuserstatus
    09:49:06.75: Attribute index: 2
    09:49:06.75: Attribute: uid
    09:49:06.75: Attribute index: 5
    09:49:06.75: Attribute: preferredLanguage
    09:49:06.75: Attribute index: 19
    09:49:06.75: Attribute: mail
    09:49:06.75: Attribute index: 31
    09:49:06.75: Attribute: mailAlternateAddress
    09:49:06.75: Attribute index: 32
    09:49:06.75: Attribute: mailDeliveryOption
    09:49:06.75: Attribute index: 34
    09:49:06.75: Attribute: mailQuota
    09:49:06.75: Attribute index: 51
    09:49:06.75: Attribute: mailAutoReplyMode
    09:49:06.75: Attribute index: 55
    09:49:06.75: Attribute: mailForwardingAddress
    09:49:06.75: Attribute index: 64
    09:49:06.75: Attribute: mailDeferProcessing
    09:49:06.75: Attribute index: 65
    09:49:06.75: Scanning complete, begin actions
    09:49:06.75: Possible user object classes: inetLocalMailRecipient+inetmailuser
    09:49:06.75: Possible group object classes: inetLocalMailRecipient+inetmailgroup
    09:49:06.75: Object class: top
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: person
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: inetuser
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: organizationalperson
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: inetorgperson
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: ipuser
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: inetmailuser
    09:49:06.75: Object class match, reference value 1
    09:49:06.75: Object class: inetlocalmailrecipient
    09:49:06.75: Object class match, reference value 18
    09:49:06.75: Object class: userpresenceprofile
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: inetsubscriber
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: icscalendaruser
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: iplanet-am-managed-person
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: iplanet-am-user-service
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: iplanetpreferences
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: inetadmin
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: sunamauthaccountlockout
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: sunUCPreferences
    09:49:06.75: Object class didn't match
    09:49:06.75: Object class: mailDomain
    09:49:06.75: Object class didn't match
    09:49:06.75: User/group index = 1
    09:49:06.75: Domain is active
    09:49:06.75: Mail domain is active
    09:49:06.75: User status = active
    09:49:06.75: User is active
    09:49:06.75: Mail user status = active
    09:49:06.75: User is active
    09:49:06.75: User UID user found.
    09:49:06.75: Delivery option: mailbox
    09:49:06.75: Delivery options value: 1
    09:49:06.75: Processing mailhost attribute
    09:49:06.75: Mailhost not set for user
    09:49:06.75: Status for this address = -10
    09:49:06.75: Temporary alias URL failure; reprocess later
    09:49:06.75: - adding address [email protected] to channel reprocess
    09:49:06.75: Good address count 1 defer count 1
    09:49:06.75: All addresses deferred - treat as general temporary error
    09:49:06.75: Copy estimate after address addition is 2
    09:49:06.75: mmc_waend(0x08103050) called.
    09:49:06.75: Copy estimate is 2
    09:49:06.75: Queue area size 145940970, temp area size 21837154
    09:49:06.75: 36485242 blocks of effective free queue space available; setting disk limit accordingly.
    09:49:06.75: 10918577 blocks of free temporary space available; setting disk limit accordingly.
    Submitted address list:
    Address list error -- 4.0.0 temporary error returned by alias expansion: [email protected]
    Submitted notifications list:

  • How  to create  authorisation object for  report

    hi
    experts..
    hw  can u  create authorisation object for  the  custom report.
    Thanks&  Regards
    Spandana

    Hi,
    In general different users will be given different authorizations based on their role in the orgn.
    We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
    USe SUIM and SU21 T codes for this.
    Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
    If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
    This means you have to allocate an authorization object in the definition of the transaction.
    For example:
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object>
    ID <authority field 1> FIELD <field value 1>.
    ID <authority field 2> FIELD <field value 2>.
    ID <authority-field n> FIELD <field value n>.
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
    To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
    Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
    You program the authorization check using the ABAP statement AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD 'B'.
    IF SY-SUBRC <> 0.
    MESSAGE E...
    ENDIF.
    'S_TRVL_BKS' is a auth. object
    ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
    The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
    This Authorization concept is somewhat linked with BASIS people.
    As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a  profile and that profile in turn attached to a particular user.
    Take the help of the basis Guy and create and use.
    Sy-SUBRC values
    4              User has no authorization in the SAP System for
                   such an action. If necessary, change the user
                   master record.
    8              Too many parameters (fields, values). Maximum
                   allowed is 10.
    12             Specified object not maintained in the user
                   master record.
    16             No profile entered in the user master record.
    24             The field names of the check call do not match
                   those of an authorization. Either the
                   authorization or the call is incorrect.
    28             Incorrect structure for user master record.
    32             Incorrect structure for user master record.
    36             Incorrect structure for user master record.
    http://www.sap.ittoolbox.com/groups/technical-functional/sap-basis/please-how-to-create-an-authorization-object-386391 - 78k -
    http://www.sap-abaprogram.blogspot.com/2007/11/what-is-use-of-
    authorization-checks-to.html - 75k -
    www.sapworld.hpg.ig.com.br/download/ab4query.pdf
    with thanks,
    Abaper.

  • How to keep that valve open for certain period of time and shut off automatically

    Hi everyone,
    The objective of the VI is to measure pH and then open acid or base valve based on pH valve. Below is my UNFINISHED VI
    My question is:  if, for example, the  pH is 10, then, the program will open acidic valve for 5 seconds and then shut off automatically. After that, wait for 5 second. this process will go on and on as I use while loop, but I just dont know how to control the valve on for 5sec and off and then wait for 5sec.
    Anyone can help me out?    Thank you very much
    In the picture, please enter those values before running
    P.S The VI is based on previously posted vi by someone who made it 1 yrs ago.
    Attachments:
    project_trial_1_26.vi ‏27 KB
    Capture.JPG ‏79 KB

    1. The reason the valves close immediately is that the Elapsed Time VI does not cause any wait, it only measures the time. So the valves closed within a small fraction of a second of the time they opened.
    2. I modified your VI to wait until the Elapsed Time has ended.  See the "wait" state.  I probably modified some of your other functionality in the process, but this shows one way you could do the timing. 
    3. You do not need any Value property nodes.  They should never be used if the value can be wired directly.
    4. You do not need any sequence structures. Dataflow will determine the order of things occurring.
    5. If you use an enum for the state machine (and it is a good way to name and select states), you should make it a type def. Then when you need to change it as I did to add several states, you only need to change the Type Def in one place and the changes propagate through to every place you used the control or constants derived from it.
    6. I added a Halt state which will close both valves before stopping the program.  When you are controlling a real world process, it is important to consider the start up and shutdown requirements. For example the digital outputs of the USB-6008 default to inputs when the device is first powered up. And, the inputs are pulled high by a 4700 ohm resistor (at least I think I recall that value). Will this open your valves before the program starts running and sets the I/O lines to outputs and forces them low?
    The USB-6008 has rather limited drive on the digital lines. You will probably need a buffer between it and the valve coils.
    PID and PWM are more complicated than I want to get into here.  First, are your valves proportional or on/off? Second, (assuming that they are on/off) how fast can you open and close them without destroying them in the first week? What is their expected lifetime in terms of the number of operations? How fast do you need to be able to change them to keep your pH where you want it?  Are these values compatible?
    Lynn
    Attachments:
    pH State.ctl ‏12 KB
    project_trial_1_28.2.vi ‏66 KB

  • How to convert an array collection instance to a complex object for interaction with webservice

    Hi there,
    I have a stubborn problem that I am trying to work out the best way to solve the problem.  I am interacting with a WebService via HTTPService calling a method called find(String name) and this returns me a List of ComplexObjects that contain general string and int params and also lists of other Complex Objects.  Now using the code:
    ArrayCollection newOriginalResultsArray = new ArrayCollection(event.result as Array)
    flex converts my complex objects results to an arraycollection so that I can use it in datagrids etc.  Now up until this part is all good.  My problem is when getting a single instance from the results list, updating it by moving data around in a new datagrid for example - I want to interact with the webservice again to do an create/update.  This is where I am having problems - because these webservice methods require the complex object as a parameter - I am struggling to understand how I can convert the array collection instance back to my complex object without iterating over it and casting it back (maybe this is the only way - but I am hoping not).
    I am hoping that there is a simple solution that I am missing and that there is some smart cookie out there that could provide me with an answer - or at least somewhere to start looking. I guess if I have no other alternative - maybe I need to get the people who built the service to change it to accept an array - and let them do the conversion.
    Any help would be greatly appreciated.
    Bert

    Hi Bert,
    According to my knowledge you can use describeType(Object) method which will return an XML... That XML will contain Properties and values just iterate through the XML and create a new Object..   Probably u can use this method...
    public function getObject(reqObj:Object,obj:Object,instanceName:String,name:String=null,index:int=-1):Obj ect
                if(!reqObj)
                    reqObj = new Object();
                var classInfo:XML = describeType(obj);
                var className:String = instanceName;
                if(name!=null)
                    className=name+"."+className;
                if(index!=-1)
                    className=className+"["+index+"]";
                for each (var v:XML in classInfo..accessor)
                    var attributeName:String=v.@name;
                    var value:* = obj[attributeName]
                    var type:String = v.@type;
                    if(!value)
                        reqObj[className+"."+attributeName] = value; 
                    else if(type == "mx.collections::ArrayCollection")
                        for(var i:int=0;i<value.length;i++)
                            var temp:Object=value.getItemAt(i);
                            getReqObject(reqObj,temp,attributeName,className,i);
                    else if(type == "String" || type == "Number" || type == "int" || type == "Boolean")
                        reqObj[ className+"."+attributeName] = value; 
                    else if (type == "Object")
                        for (var p:String in value)
                            reqObj[ className+"."+attributeName+"."+p] = value[p];
                    else
                        getReqObject(reqObj,value,attributeName,className);
                return reqObj;
    Thanks,
    Pradeep

  • ID 5.5 Interact. PDF, cannot remove white background for Multi-States and buttons.

    Hi
    I am working on an Interactive PDF Portfolio document. The problem I have is with Multi-State object feature with several buttons going to states that need to be exported as a SWF and imported back into InDesign 5.5. See, the background of my entire doc. is GREY, but when I import the SWF (as directed in Lynda.com videos correctly) and export the entire doc as Interactive PDF and view it in Adobe Acrobat Pro (version 10.1.1) is when all the trouble starts.
    When I try to get rid of the WHITE background around the Multi-State objects and the buttons for them (using Select Object Tool and then control+click on it to change the Properties to Transparent Background Appearance) it does not change, even when I go forward and backward to the page.
    Does the option of removing white background and making it transparent work only for Animation, but not Multi-State feature with buttons?
    Can anyone suggest any other tecnique to create a nice slide show that works in Interactive PDF in ID CS5.5? Please..
    Sincerely,
    in need of help,
    Eve

    I have 8 Multi-State objects in one stack on the left and the 8 buttons for each state in the stack on the right. The background of my document is dark grey. There is space inbetween Multi-State objects and the buttons that show the grey background. But after exporting as SWF the Multi-States together with the buttons and placing the SWF back in the PDF file, the space inbetween Multi-States and buttons that is supposed to show the grey background appears white. The problem is that I cannot even change this white background to transparent in Acrobat Pro, as well. I used to do that to animations and it worked, but not in this case.

  • Problem For/Each statement (or the problem is the MouseListener...)

    Hi guys,
    I'm making a program in java for school.
    Now I have this:
              for(Stap2TrampolineModel trampoline : lijstTrampolines)
                   trampoline = new Stap2TrampolineModel(0,215,100,"Poing",lijstKinderen); //model
                   trampolineView = new Stap2TrampolineView(trampoline); //view
                   trampolineController = new Stap2TrampolineController(trampoline, trampolineView); //controller
                   trampolineView.setBounds(trampoline.getXInvoer(),trampoline.getYInvoer(),trampoline.getFormaat()+1,20);
                   add(trampolineView);
                   repaint();
    and in the mouselistener this:
    public void mouseClicked( MouseEvent e )
              System.out.println(lijstTrampolines.size());
              // Onderzoek of met de rechterknop is geklikt
    if( e.isMetaDown() )
         // x = e.getX(); (for later needs)
    //y = e.getY(); (for later needs)
    lijstTrampolines.add(trampoline);
    repaint();
    The program should display a "trampoline" when I click...but it doesnt. It is added to the list, because I can see that in the console because of the System.out.println
    But it doesn't show the display I want. When I delete the for each statement, it does show the "trampoline". So the mouselistener works (it gets added when I click) and the arraylist works (it shows that in the console), but the for each statement doesnt work...
    Anyone knows how to solve this problem?

    Where is this foreach loop located? In inialisation presumably. But that's over and done with when your mouseListener is called. I'd guess your list is empty when the loop is called, and it does nothing.
    Your mouse listener, when it adds a trampoline must also add a trampoline view object. And the repaints don't do you any good, use revalidate() after adding a trampoline view to recalculate the layout.

  • Unable to print remittance advice for certain quick payments

    Hi,
    This is regarding issue " Unable to print remittance advice for certain quick payments."
    Product version:11.5.10.2
    Description:
    -Customer has paid through the payment batch.But the payment batch data is not available in ap_inv_selection_criteria_all.
    -The status of the check is 'RECONCILLED'.
    -The payments have already been submitted to the bank and reconciled to bank statement lines.
    -While running "Send Separate Remittance Advices" concurrent program, some payments generated from Quick Payment are not available for selection for generation of remittance advice.
    Research:
    Search in the metalink but could not find any related issue.
    Could you please adivce me how to proceed on this issue.
    Thanks
    Subhalaxmi
    Edited by: user13536207 on Feb 13, 2012 12:43 AM
    Edited by: user13536207 on Feb 13, 2012 12:46 AM

    Found the problem.
    Paper size for those documents are actually A5 size.
    Solve it by adjusting the Scale to paper size in the printing option to the size that our printer is set to printout 
    which in my case is 'Letter'
    Hope this helps anyone who is encountering the same problem.

Maybe you are looking for

  • How do I get my documents to print on the entire page?

    I have an hp 6600 office jet .... How do I get it to print a full page...every tie I email anything it appears in the top left corner using only a quarter of the page? Thanks.

  • How to keep hyperlink from excel to PDF?

    I have some Hyperlinks in excel, and when i convert to PDF, they dont work. I already installed the Adobe Acrobat PRO XI (Trial version) How can i do this? tks

  • No audio from Itunes Movies via AppleTV

    I haven't been able to get any audio from any of the movies I stream from Itunes. Funnily enough, AppleTV works with Netflix and Youtube. The audio works here. Can someone help?

  • Episodes/Song in Reverse Order

    I upgraded my iPod Touch software to 2.2, and all of the chapters in my audiobook podcasts are now in reverse order. (They are downloaded from Librivox.) All of the chapters are in correct order on iTunes and when my iPod is hooked up to iTunes, the

  • Multiple hierarchy levels from single table

    Happy 2014 for everyone! Here is my first problem of the year: I got a product table with "coded" hierarchy, like this: 1  Level 11  Level 111  Level 1111  Level 11111  Product 11112  Product 11113  Product 1112  Level 11121  Product 112  Level 1121