Limit Mask Test Limit Trapezoid Profile

So to one of our proportional valves, we are going to use the gain scheduling set point profile to create a trapezoidal input current to the valve. This trapezoidal input represents one cycle for the rocker arm we are controlling (it is periodic and this profile is repeated for many cycles). I'm creating a fail-safe system and am wanting to create a limit profile that is essentially an offsetted trapezoid of +/- 1 mA. The largest and smallest trapezoids would be the constraints and the middle one would be the input to the system. I want it where if the input current exceeds this inner or outer trapezoid, the system goes into the safe state. I've tried using the Mask and Limit VI and defined my upper and lower limits by making 4 different points for each limit but when I give it my input signal and observe the tested signal, all I see is the input to the system with a horizontal line at y=0 which is the green colored limit. I can get the constant upper and lower limits to work but I'd really like a closer more defined constraint since we are controlling a very big structure. What am I doing wrong? I've attached a picture of the input to the system.
-Thanks
Solved!
Go to Solution.
Attachments:
trapezoid profile.jpg ‏57 KB

Hello,
I believe the issue is that you do not have enough datapoints defining your upper and lower limits.  You only placed coordinates for the vertices of each trapezoid.  The Mask and Limit Testing VI will not automatically generate datapoints between these points it needs a full set of datapoints defining the whole graph.
Your input data has much more datapoints than the actual boundary you've defined, that's why it appears as a line at y = 0.  It plots four points on a chart that probably that has much more data points on the input.  You should generate trapezoidal signals and wire those signals into the upper and lower limit inputs of the express VI.  That way you do not have to fill out all the datapoints manually.
Below I've attached an example LabVIEW project that shows how to do this.  I used this example to create a subVI to generate a trapezoidal signal.  It uses ramp functions to piece together an array of datapoints that looks like a trapezoid.  
I think you should use the "Generate Trapezoid" subVI I included in my project.  Generate the upper and lower trapezoids outside the while loop with the same amount of datapoints as you expect from your input data.  This should save processing so you don't have to generate the waveform each loop iteration.  It will look something like this:
Regards,
Isaac S.
Applications Engineer
National Instruments
Attachments:
TrapezoidalLimits 2010.zip ‏839 KB

Similar Messages

  • CUA - Creating a test user with profile

    Hi All,
           I just set up the CUA in our newly installed solution manager which is the central system and another sandbox system with three  clients as the child systems.
    I referred to the follwoing for the setup:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cc/50b43be7492354e10000000a114084/frameset.htm
    One of the tests for checking the setup is to create a test user with profiles in the central system and distribute it to the child systems. I did the text comparision and saved the user; i still cannot see the user in the child systems.
    I checked SCUL and BD87. SCUL shows me grey. BD87 do not show any IDOC that were transferred.
    Could anyone help/direct me in fixing this.
    Thanks
    Shabna

    Hi,
        To make the test simpler I tried it again sending the test user to only one of the child systems. The RFCs between the systems are working fine. I checked /BD64, it shows the whole set up.
    When I check /BD87 of the central system I see the following error:
    "Could not find code page for receiveing system".
    Diagnosis
    For the logical destination XXXCLNTXXX, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Procedure for System Administration
    Possible causes are:
    1. The entry no longer exists in the table of logical destinations.
    2. The target system could not be accessed.
    3. The logon language is not installed in the target system.
    I can see the central system as well as the child systems in the logical systems table. And the RFC destination does note shown any errors in the connection as well as authorization test. What else do I check?
    Thanks
    Shabna

  • Help w/ Eye Diagrams and Mask Tests

    I could use some experienced help here
    So i have a scope capture of a representative signal that will be used in this VI.
    I have several problems which i could use some help with.
    1) Trying to create an EYE diagram out of this waveform.  Because it is repeating i have already have the algorithm to chop it up into seperate 'waveforms', how would i go about displaying something like this as an eye diagram with the LV graphs?  I have tried everything i can think of, i cant just use build waveform or hardwire anything because the # of Voltage arrays will differ every time in real usage.
    What i did is create a waveform chart, i build a waveform type w/ dt and the Y values and plug it in.  I was hoping to use the 'scope' setup as from the description in help seemed to do what i wanted, but it does not seem like it overlays onto the graph.
    Basically i need a way to create a multiplot graph from X,Y coordinates and dynamically increment the number of plots until its done. Hopefully that makes sense.
    2) Eventually i also need to do a multi part mask test on this 'infinite persistence' signal if you were.  This shouldnt be too hard as i will have the arrays of voltage at my disposal from above that i can loop through.  My question regarding Mask tests is this, for this particular mask test there are 4 actual masks.  An upper & lower and 2 'eyes' that it must clear, it seems LV's express mask testing only lets you do a top/bottom mask.
    What would be the best way to do mask tests like this?  Use the express VI and split it into 2 parts and 'and' them together?  Or would doing it more manually with some of the non express mask stuff prove to be easier?
    I got many more questions but i'll stick with that for now   Thanks in advance!

    Here they are... Note that in the SubVI I use an interpolate 1d that is available in 8.0.  I do that to stretch the points out some.
    I would also suggest taking a look at http://forums.ni.com/ni/board/message?board.id=170&message.id=183506&requireLogin=False
    Attachments:
    Calculate Intesity Array.vi ‏72 KB
    Eye Diagram For Forums.vi ‏2993 KB

  • Inbound idoc testing via partner profile

    i want to test inbound idoc testing via partner profile.
    the problem is i its generating idoc no and giving a message like
    "idoc no 12453152.. is saved but cannot or shd not be processed".
    what does that mean ..
    how shd i veiw properties of partner p[rofiles

    i am getting thid message from we 19 ..
    in that i am creating a sales order...
    i am clicking on startinboung button on application tools bar.
    this is an information pop up window ..
    if i press f1 on that ..
    help says that ...may be you  cannot process the idoc immediatly...
    check for partner profiles

  • Firefox won't open at all since May 4 update, yet no error message appears. Am not savvy/brave enough to test for corrupt Profile data. HELP, PLEASE!

    Tried to start Firefox 3.6.16 from Desktop May 4. Instead of opening, message showed an update in progress, then a message that it could not install because two Firefox programs were running (?). After the install message closed Firefox wouldn’t open from the Desktop, the Start Menu, or the Run command. I’ve rebooted numerous times & even did a System Restore to May 3.
    C:\Program Files\Mozilla Firefox currently shows only one firefox.exe, last modified 03/23/11, and the only changes May 4 to chrome folder (6 Executable Jar Files), components folder (browser.xpt), & blocklist.xml.

    Thank you very, very much for providing the simple, concise directions that solved my problem! After sorely missing Firefox 3.6.16 for a month, today I finally worked up the courage/got desperate enough to attempt (with much trepidation!) the download and re-installation.
    Step 4 was a bit of a challenge, but following Uninstall directions in the 3.6.16 Release Notes advising removal through Control Panel appears to have preserved my Profile and worked fine. Was not quite sure how to go about properly removing the Firefox program folder, so I opened Local Disk (C:)/Program Files/ and deleted (to Recycle Bin) the Mozilla Firefox folder – and am keeping fingers crossed that that was the correct method.
    It was quite a satisfying thrill when Firefox 3.6.17 opened, but very distressing to note that “Firefox 3.6.x will be maintained with security and stability updates for a short amount of time. All users are strongly encouraged to upgrade to Firefox 4”. Sadly, it seems all things Internet seem to be evolving towards mobile devices, social networking, and the ability to sync all the fancy new toys – and getting much to complex for us old dogs who don’t learn new tricks easily, or need them for that matter.
    Thanks again!

  • Blend functions fail for three simple trapezoidal profiles

    Ashamedly, I'm double posting
    I placed this in the Motion Control forum, where it belongs, but it's had pitiful recognition (according to the view counter), so I'm hoping there are others walking the LabVIEW fourms with experience using the NI Motion profile blending functions?
    Thanks everyone
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Hi Thoric,
    National Instruments motion control is so advanced that stepping back in time is no big deal. I hope you enjoy the feature.
    In all seriousness, though, this is a bug and, depending on your end goal, may have a suitable workaround.
    Goal #1: You want to perform an online blended move with NI motion. If this is the case, you can construct your blended move in the Motion Assistant environment (which can handle 3 blended moves) and then generate LabVIEW code once you have the trajectory you want. This will generate NI-Motion code for the 3 (or more) blended moves. You will not get an array of velocities, positions, and accelerations, but you will be able to send the proper commands to the NI Motion board and it will use the trajectory you specified.
    Goal #2: You want the arrays of velocities, positions, and accelerations. If you only care about the actual arrays of setpoints, you can use SoftMotion instead. I have attached an example that you will run on My Computer. It currently allows you to blend three single axis moves together, but it could be expanded to do more. Let me know if you have any questions about the example (and please excuse its messiness!).
    Thanks,
    Paul B.
    Motion Control R&D
    Attachments:
    Blending Mode.zip ‏129 KB

  • Oracle 11gR2 RAC: how to solve "user profile creation mask failed" ?

    Folks,
    Hello.
    I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
    I am using Cluster Verification Utility (CVU) to test the 2 nodes for Grid installation as follows:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    All items for rac2 are passed. There is only one item for rac1 is not passed as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    There are 3 ways to solve this issue:
    1) In the file /etc/bashrc, change the line "umask 0002" to "umask 0022".
    2) In the file /etc/profile, add line "umask 0022" at the end of the file.
    3) In the file /etc/csh.cshrc, change the line "umask 002" to "umask 0022".
    In rac2, I got the same issue in the past. I just change the line "umask 0002" to "umask 0022" in the file /etc/bashrc and the issue is solved.
    But in rac1, I have tried each of the 3 options and also combined 1) and 2), 1) and 3), 2) and 3), 1) and 2) and 3). Totally, that's 7 options. But all of 7 options cannot solve the issue.
    The script runcluvfy.sh still tests rac1 user profile creation mask failed. My question is:
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

    Folks,
    Hello. I follow the document "Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Linux E22489-04" and do the following:
    [root@rac1 /]#echo $SHELL
    Output: /bin/bash
    This means we need to edit Bash shell file .bash_profile.
    [ora11g@rac1 ~]$vi /home/ora11g/.bash_profile
    Add this line: umask 022
    Then I save the file .bash_profile and reboot OS.
    Then I run the following command:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    But the reusult is the same. The issue is not solved as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

  • Sql Profile Error ORA-13786: missing SQL text of statement object "1"

    Hi,
    I am testing a Sql Profile sample executiion with the hint result_cache for faster execution of a query. I have created a tuning task but got no recommendations. But when i tried to create sql profile with the pkg dbms_sqltune.accept_sql_profile i am getting an error. The db version is 11.1.0.7. Given below is the sql and the output.
    Please let me know if you have any suggestions.
    -- Accept SQL Profiles
    SET SERVEROUTPUT ON
    DECLARE
    l_sql_tune_task_id VARCHAR2(2000);
    BEGIN
    l_sql_tune_task_id := DBMS_SQLTUNE.accept_sql_profile (
    task_name => 'Permissionstab_tuning_task',
    name => 'Permissionstab_profile',
    description => 'sql profile for Permissionstab_profile',
    force_match => TRUE);
    --profile_type => DBMS_SQLTUNE.PX_PROFILE);
    DBMS_OUTPUT.put_line('l_sql_tune_task_id: ' || l_sql_tune_task_id);
    END;
    with profile_type commented out output
    DECLARE
    ERROR at line 1:
    ORA-13786: missing SQL text of statement object "1" for tuning task "Permissionstab_tuning_task"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 11049
    ORA-06512: at "SYS.PRVT_SQLPROF_INFRA", line 30
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 5836
    ORA-06512: at line 4
    including profile_type
    profile_type => DBMS_SQLTUNE.PX_PROFILE);
    ERROR at line 9:
    ORA-06550: line 9, column 35:
    PLS-00302: component 'PX_PROFILE' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    Given below is the complete script and output
    CONN / AS SYSDBA
    GRANT CREATE ANY SQL PROFILE TO ariba;
    GRANT DROP ANY SQL PROFILE TO ariba;
    GRANT ALTER ANY SQL PROFILE TO ariba;
    conn ariba/****;
    EXEC DBMS_SQLTUNE.DROP_TUNING_TASK('Permissionstab_tuning_task');
    -- Tuning task created for a manually specified statement.
    DECLARE
    l_sql VARCHAR2(4000);
    l_sql_tune_task_id VARCHAR2(1000);
    BEGIN
    l_sql := 'SELECT /*+ result_cache */ rootId, pe_DefaultingSetBits, pe_Version, pe_Creator, pe_Active, pe_AdapterSource, pe_AdapterFlag, pe_PartitionN
    umber, '||
    'pe_PurgeState, pe_TimeCreated, pe_TimeUpdated, pe_CommonId, pe_ServerVersion, pe_UniqueName, pe_Name, mls_DefaultingSetBits, '||
    'mls_PrimaryString, mls_MaxTranslationID, mls_Translations, mls_PrimaryStringLanguageID, mls_LocalizationKey, pe_Description, '||
    'mls0_DefaultingSetBits, mls0_PrimaryString, mls0_MaxTranslationID, mls0_Translations, mls0_PrimaryStringLanguageID, '||
    'mls0_LocalizationKey, pe_Created, pe_Modified '||
    'FROM PermissionTab '||
    'where pe_UniqueName = '||''''||'PurchasingAgent'||''''||' '||
    'and ( pe_PurgeState = :1 ) AND pe_PartitionNumber = :2';
    l_sql_tune_task_id := DBMS_SQLTUNE.create_tuning_task (
    sql_text => l_sql,
    user_name => 'ARIBA',
    scope => DBMS_SQLTUNE.scope_comprehensive,
    time_limit => 60,
    task_name => 'Permissionstab_tuning_task',
    description => 'Tuning task for an Permissionstab query.');
    DBMS_OUTPUT.put_line('l_sql_tune_task_id: ' || l_sql_tune_task_id);
    END;
    EXEC DBMS_SQLTUNE.execute_tuning_task(task_name => 'Permissionstab_tuning_task');
    SELECT task_name, status FROM dba_advisor_log WHERE owner = 'ARIBA';
    SET LONG 10000;
    SET PAGESIZE 1000
    SET LINESIZE 200
    SELECT DBMS_SQLTUNE.report_tuning_task('Permissionstab_tuning_task') AS recommendations FROM dual;
    SET PAGESIZE 24
    -- Accept SQL Profiles
    SET SERVEROUTPUT ON
    DECLARE
    l_sql_tune_task_id VARCHAR2(2000);
    BEGIN
    l_sql_tune_task_id := DBMS_SQLTUNE.accept_sql_profile (
    task_name => 'Permissionstab_tuning_task',
    name => 'Permissionstab_profile',
    description => 'sql profile for Permissionstab_profile',
    force_match => TRUE,
    profile_type => DBMS_SQLTUNE.PX_PROFILE);
    DBMS_OUTPUT.put_line('l_sql_tune_task_id: ' || l_sql_tune_task_id);
    END;
    11:17:17 SYS@FLBUYPM 02-APR-13> @sql_profile_result_cache.sql
    Connected.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Connected.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    TASK_NAME STATUS
    Permissionstab_tuning_task COMPLETED
    RECOMMENDATIONS
    GENERAL INFORMATION SECTION
    Tuning Task Name : Permissionstab_tuning_task
    Tuning Task Owner : ARIBA
    Workload Type : Single SQL Statement
    Scope : COMPREHENSIVE
    Time Limit(seconds): 60
    Completion Status : COMPLETED
    Started at : 04/02/2013 11:17:20
    Completed at : 04/02/2013 11:17:20
    Schema Name: ARIBA
    SQL ID : 2y6yar7r71tj1
    SQL Text : SELECT /*+ result_cache */ rootId, pe_DefaultingSetBits,
    pe_Version, pe_Creator, pe_Active, pe_AdapterSource,
    pe_AdapterFlag, pe_PartitionNumber, pe_PurgeState,
    pe_TimeCreated, pe_TimeUpdated, pe_CommonId, pe_ServerVersion,
    pe_UniqueName, pe_Name, mls_DefaultingSetBits,
    mls_PrimaryString, mls_MaxTranslationID, mls_Translations,
    mls_PrimaryStringLanguageID, mls_LocalizationKey,
    pe_Description, mls0_DefaultingSetBits, mls0_PrimaryString,
    mls0_MaxTranslationID, mls0_Translations,
    mls0_PrimaryStringLanguageID, mls0_LocalizationKey, pe_Created,
    pe_Modified FROM PermissionTab where pe_UniqueName =
    'PurchasingAgent' and ( pe_PurgeState = :1 ) AND
    pe_PartitionNumber = :2
    ADDITIONAL INFORMATION SECTION
    - At least one important bind value was missing for this sql statement. The
    accuracy of the advisor's analysis may depend on all important bind values
    being supplied.
    EXPLAIN PLANS SECTION
    1- Original
    Plan hash value: 778402129
    | Id | Operation | Name | Rows | Byte
    s | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 29
    8 | 1 (0)| 00:00:01 |
    | 1 | RESULT CACHE | 9qsg9vxnpk5r13h9gb3wcgujg1 | |
    | | |
    |* 2 | TABLE ACCESS BY INDEX ROWID| PERMISSIONTAB | 1 | 29
    8 | 1 (0)| 00:00:01 |
    |* 3 | INDEX UNIQUE SCAN | ARIBAINDEX341 | 1 |
    | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter("PE_PURGESTATE"=TO_NUMBER(:1))
    3 - access("PE_UNIQUENAME"='PurchasingAgent' AND "PE_PARTITIONNUMBER"=TO_NUMB
    ER(:2))
    Result Cache Information (identified by operation id):
    1 - column-count=30; dependencies=(ARIBA.PERMISSIONTAB); attributes=(single-r
    ow); parameters=(nls, :1, :2); name="SELECT /*+ result_cache */ rootId, pe_Defau
    ltingSetBits, pe_Version, pe_Creator, pe_Active, pe_AdapterSource, pe_AdapterFla
    g, pe"
    DECLARE
    ERROR at line 1:
    ORA-13786: missing SQL text of statement object "1" for tuning task "Permissionstab_tuning_task"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 11049
    ORA-06512: at "SYS.PRVT_SQLPROF_INFRA", line 30
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 5836
    ORA-06512: at line 4
    11:17:20 ARIBA@FLBUYPM 02-APR-13>
    profile_type => DBMS_SQLTUNE.PX_PROFILE);
    ERROR at line 9:
    ORA-06550: line 9, column 35:
    PLS-00302: component 'PX_PROFILE' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    Edited by: 997562 on Apr 2, 2013 8:34 AM

    Hi Experts,
    i too getting this error while attaching the tuning task to the sql profiler, below are the details, appreciate any help on this.
    SQL> SQL> VAR profile_name VARCHAR2(30);
    SQL> BEGIN
       :profile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE(task_name => 'sql_tuning_task');
    END;
    /  2    3    4
    BEGIN
    ERROR at line 1:
    ORA-13786: missing SQL text of statement object "1" for tuning task "sql_tuning_task"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 16442
    ORA-06512: at "SYS.PRVT_SQLPROF_INFRA", line 31
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 7544
    ORA-06512: at line 2
    SQL> select banner from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production

  • Enabling Password controls in the Default Profile

    After sharing with customer metalink note 114930.1, customer has the following questions:
    1. Will Oracle suggest enabling password controls in the profile "Default" that is created during the installation without those controls enabled?
    2. Oracle accounts (SYS, SYSTEM etc.) are created with the default profile associated with them (at that time there are no manually created profiles). Does Oracle permit assigning other profiles (created after installation) to those most critical accounts
    Any help/direction is much appreciated

    Hi,
    1/ I don't know if Oracle would suggest that, but I would either enable password control if you have such a requirement, wherever you set it up, or don't touch anything if it's just to leave it disabled... I usually create specific profiles for the users and set up the limits according to the kind/type of users they are.
    2/ Don't you have no test instance?
    TEST> create profile p limit failed_login_attempts 5;
    Profil cr�
    TEST> alter user sys profile p;
    Utilisateur modifi
    TEST> alter user system profile p;
    Utilisateur modifi
    TEST> select username, profile from dba_users where username in ('SYS','SYSTEM');
    USERNAME                       PROFILE
    SYS                            P
    SYSTEM                         PMy 2cp,
    Yoann.

  • Profile WS run time too long

    My first test run (in dev) of the custom Java PWS against a SQL server database seems to be taking too long. Its seems to be taking appx. 1 second or more per user. This will be a problem when processing around 20,000 users. We can't have a PWS running for 4-6 hours everynight.
    I'd really appreciate any tips to optimize this for faster performance. I am opening DB Connection and running 2 queries for each users and clsoing the statement and connection. Can I do this another way so I open the DB connection(and maybe statement) for the Profile Source only once and release the connection etc. after the whole job is done or in case of errors.
    Please help as this could be a huge bottleneck for us!
    Thanks.
    Vanita
    Staples

    Hi Akash,
    Thanks for your quick reply. Unfortunately I don't have any signature field to limit the profile sync by. I am currently running the PWs in ToMCAT 4.1.30. We plan to deploy on WAS in dev. I am not sure if there is connection pooling being done by Tomcat in 4.1.30 version. Do you have any information on that? I am doing db connect and 2 property queries in the getuserproperties method.
    1. Would the connection pooling (if done in WAS) make any difference to the run time?
    2. Would opening the connection in initialize() method versus GetUserProperties() make any difference?
    As always, thanks for your help.
    Vanita
    ------- Akash Jain wrote on 3/1/05 1:25 PM -------Hi Vanita,On recent hardware, you should be able to perform an initial profile sync at at a rate of ~10/second. This means you should be able to perform your 20k users profile sync in under an hour. Resyncs should be much faster if you use a signature attribute.
    I'm going to assume you're hitting some database backend with a table structure like the following:Users Table String UserGUID Date LastModified
    Properties Table int PropID String UserGUID String PropValue
    You have your users keyed off a unique name - a GUID in this example - and properties in a seperate table keyed off PropID and GUID.
    Lets review the protocol and each step:a) initialize() - sends the parameters of the profile sync to the PWS, this is a good place to do a single query to your database in order to cache all user unique names and signatures (LastModified dates) in a HashTable. This will make re-syncs much faster since subsequent AttachToUser() and GetUserSignature() calls will be derived from this HashTable.b) attachToUser() - in this call you can simply lookup your user record against the HashTable created in Initialize(). If no entry is returned, then throw a NoSuchUserException. If a user does exist continue.c) getUserSignature() - again use the HashTable created in Initialize() to lookup the signature for this user. return it as a String.d) getUserProperties() - if called, this means the signature you sent back in step (c) has changed since the last profile sync. you now want to make a call to your properties table (a single DB call) to load all the property values for the user. return these as a UserPropertyInfo object.
    During an initital sync, you will always get to step (d) above. During re-syncs, assuming there is low churn, I'd say a max of 1% of your calls will get to step (d) and thus the re-sync should be an order of magnitude faster in most cases.
    With respect to database connections - if you are opening and closing a connection for each user, this is pretty poor with respect to performance. Your best bet in Java is to use a single connection (this is a single threaded process) which is setup in initialize(). In the shutdown() method, close this connection.
    I hope this helps, the combination of using a single connection, using the signature attribute and caching all the users unique names and signatures in one call at the start of the profile sync should drastically increase performance.
    Thanks,Akash

  • Afeter install ffx 4, google maps not loading: If start ffx.exe -profile , says 'missing or invalid profile '

    I installed 3.x.16 and then installed 4.0 .
    Now my google maps is not working. Main map page doesn't load.
    One suggestion was to start-run firefox.exe -profile .
    First time I did this a message came back: 'missing or invalid profile' .
    Second time no message about profile, but the google map failure persists (main map page faisl to load).
    Can you help?
    Thanks!
    [email protected]

    Thanks TreoAide....
    I Did a Reset All, Before I Got Your Post, as I Was Worried that Waiting Past the Scheduled BackUp Profile Time, Might Mess Up the BackUp Like Using BackupBuddyVFS on PalmOS.
    If You Could Clarify If There is a time Limit the Profile Needs to Be Restored By.
    Thank You For Letting Me Know Which Reset To Use, In Future, if I have Difficulties.
    All My Applications, Except One (Expess News, I think, as I accidentaly cancelled before it got to a setting window, and know says updating, or a circle turning (I Think).
    Before Reset, I Copied Photos, etc, to Laptop, After the Reset, I avoided messing about, but connected WIFI.
    At This Moment, I Have Hotsynched WIFI With Palm Desktop 6.2 Access, Contacts to Contacts, and Memos and Tasks to Echo Memos and Echo Tasks, Successfully, And I Am Currently Hotsynching nearly 8500 Appointments with Notes over a Ten Year Period, Which appears to be working and am around three quarters of the way through, and has taken a number of hours, maybe 4-6 but still a quarter left of the appointments. I Am Happy, though, because this time, Echo Appointments did not stop working after 2 or 3 k, as likely works better due to cleaned up Pre, or Improvements that were promised by Chapura for the error.
    Thanks Again, and All the Best....
    Ralph :-)
    PS Sorry for Typos.

  • Users profile

    i have created profile as
    create pfile developer limit
    ALTER PROFILE developer LIMIT connect_time 10;
    ALTER PROFILE developer LIMIT idle_time 10;
    when i assigned this profile to user but user is not getting time out why?
    Thanks.

    Hi;
    Duplicate post.
    users profile
    Please post once
    Regard
    Helios

  • The Ultimate Guide to Resolving Profile and Device Manager Issues

    The following article also applies to issues after re-setting the severs' hostname. It also applies to situations where re-setting the Code Signing Certifictateas described by Apple has not resolved the issue.
    Hello,
    I have been plagued with Profile Manager and Device Manager issues since day one.
    I would like to share my experience and to suggest a way how to resolve issues such as device cannot be enrolled or Code Signing Certificate not accepted.
    I shall try to be as brief as possible, just giving an overview of the steps that resolved my issues. The individual steps have been described elsewhere in this forum. For users who have purchased commercial SSL certs the following may not apply.
    In my view many of these issues are caused by missing or faulty certificates. So let us first touch on the very complex matter of certificates.
    Certificates come in many flavours such as CA (Certificate Authority), Code Signing Certificate, S/MIME and Server Identification.
    (Mountain?) Lion Server creates a so-called Intermediate CA certificate (IntermediateCA_hostname_1") and Server Identification Certificate ("hostname") when it installs first. This is critical for the  operation of many server functionalities, including Open Direcory. These certs together with the private/public keys can be found in your Keychain. Profile  and Device Manager may need a Code Signing Certificate.
    The most straightforward way to resolve the Profile Manaher issues is in my view to reset the server created certicates.
    The bad news is that this procedure involves quite a few steps and at least 2 hours of your precious time because it means creating a fresh Direcory Master.
    I hope that I have not forgotten to mention an important step. Readers' comments and addenda are welcome.
    I shall outline a sensible strategy:
    1. Clone your dysfunctional server to an external harddrive (SuperDuper does a reliable job)
    2. Start the server fom the clone and shut down ALL services.
    3. It may be sensible to set up a root user access.
    4. Back-up all user data such as addess book, calendar and other data that you *may* need to set up your server.
    5. Open Workgroup Manager and export all user and workgroup accounts to the drive that you using to re-build your server (it may cause problems if you back-up to an external drive).
    6. Just in case you may also want to back-up the Profile Manager database and erase user profiles:
    In Terminal (this applies to Lion Server - paths may be diferent in Mountain Lion !)
    Backup: sudo pg_dump -U _postgres -c device_management > $HOME/device_management.sql
    Erase database:
    sudo /usr/share/devicemgr/backend/wipeDB.sh
    7. Note your Directory (diradmin) password for later if you want to re-use it.
    8. Open Open Server Admin and demote OD Master to Standalone Directory.
    9. In Terminal delete the old Certificate Authority
    sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
    This step is crucial because else re-building you OD Master will fail.
    9. Go back to Server Admin and promote the Standalone Directory to OD Master. You may want to use the same hostname.
    10. When the OD Master is ready click on Overview and check that the LDAP and Keberos Realm reflect your server's hostname.
    11. Go back to Workgroup Manager and re-import users and groups.
    NOTE: passwords are not being exported. I do not know how to salvage user passwords. (Maybe passwords can be recovered by re-mporting an OD archive - comments welcome! ).
    12. Go to Server App and reset passwords and (not to forget) user homefolder locations, in particular if you want to login from a network account!
    If the home directory has not been defined you cannot login from a network account.
    13. You may now want to restore Profile Manager user profiles in Terminal. Issue the following commands:
    sudo serveradmin stop devicemgr
    sudo serveradmin start postgres
    sudo psql -U _postgres -d device_management -f $HOME/device_management.sql
    sudo serveradmin start devicemgr
    14. You can now switch back on your services, including Profile Manager.
    In Profile Manager you may have to configure Device Management. This creates a correct Code Signng Certicate.
    15. Check the certificate settings in Server App -> Hadware -> Settings-> SSL Certificates.
    16. Check that Apple Push Notifications are set.(you easily check if they are working later)
    17. You may want to re-boot OS Server from the clone now.
    18. After re-boot open Server App and check that your server is running well.
    19. Delete all profiles in System Preferences -> Profiles.
    19. Login to Profile Manager. You should have all users and profiles back. In my experience devices have to be re-enrolled before profiles can be pushed and/or devices be enrolled. You may just as well delete the displayed devices now.
    20. Grab one of your (portable) Macs that you want to enrol and go to (yourhostname)/mydevices and install the server's trust profile. The profile's name  should read "Trust Profile for...) and underneath in green font "Verified".
    21. Re-enrol that device. At this stage keep your finger's crossed and take a deep breath.
    22. If the device has been successfully enrolled you may at last want to test if pushing profiles really works. Login to Profile Manager as admin, select the newly enrolled device. Check that Automatic Push is enabled (-> Profile -> General). Create a harmless management profile such as defining the dock's position on the target machine. (Do not forget to click SAVE at the end - this is easily missed here). If all is well Profile Manager will display an active task (sending) and the dock's position on the target will have changed in a few seconds if you are on a LAN (Note: If sending seems to take forever: check on the server machine and/or on your router that the proper ports are open and that incoming data is not intercepted by Little Snitch or similar software).
    Note: if you intend to enrol an Apple iPhone you may first need to install the proper Apple Configuration software.
    Now enjoy Profile and Device Manager !
    Regards,
    Twistan

    HI
    1. In Action profiles, logon to system and recheck correcion are available in action definition as well in condition configuration and the schedule condition is also maintained. but the display is not coming(i.e in the worklist this action is not getting displayed).
    You can check the schedule condition for the action and match the status values...or try recreating the action with schedule condition again....for customer specific ....copy the standard aciton with ur zname and make a schedule condition and check the same.
    2, In suppport team of incident when i give individual processor it throwing a warning that u r not the processor. but when i give org unit it is working perfectly. Could anyone guide on this.
    You need to have the empolyee role for BP ..goto BP and got here dropdown for ur bp and choose role Employee and then enter ur userid
    also make sure that u have the message processing role
    Hope it clarifies ur doubt and resolve ur prob
    Regards
    Prakhar

  • Serial Profile "2 Inconsistencies in stock data - error" is NOT validating GR&GI

    Hi Gurus,
    I have the following scenario:
    1.- We have customized in OIS2 a Serial Profile (X001) and added the following Serializing procedures:
    MMSL - Maintain goods receipt and issue doc.     03     02
    PPAU - Serial numbers in PP order                       03     02
    PPRL - PP order release                                       03     02
    2.- We have selected in StkCk option "2 Inconsistencies in stock data - Error"
    3.- We create material "TEST" with Serial Profile (X001)
    4.- We GR (561) the material TEST with serial 111
    5.- We create an Order for material TEST
    6.- We GI (261) the material TEST serial 111
    7.- We GR (501) material TEST serial 111
    System is allowing me to GR the same serial against the same material. We are working with PM Orders and these materials (equipments) that we GI in the future will be uninstalled (262) and will come back to our Storage Location. We cannot have 2 same serial numbers against the same material (equipment).
    Do I need to customize anything else?
    Regards

    Adding Error Anaylsis:
        Short text of error message:                                            
        Only 0 serial numbers entered instead of 1                              
        Long text of error message:                                             
         Diagnosis                                                              
             There is a serial number obligation, so the number of serial       
            numbers must equal the number of serial numbers in the material document. 
             You can post the operation only if you entered the correct number  
             of serial numbers previously.                                      
         System Response                                                        
             Depending on the context in which the error arises, the system     
             continues processing, or the required function cannot be performed.
         Procedure                                                              
             You have the following options, for example:                       
             o Check that the serial numbers are entered fully.               
             o If necessary, display an error log.                            
             o If necessary, contact your system administrator.               
        Technical information about the message:                                
        Message class......."IO"                                               
        Number.............. 304                                                
        Variable 1.......... 1                                                  
        Variable 2.......... 0                                                  
        Variable 3.......... " "                                                
        Variable 4.......... " "                                                
    Trigger Location of Runtime Error                                
        Program.........................SAPLMBWL             
        Include...........................LMBWLU21             
        Row................................62                   
        Module type...................(FUNCTION)           
        Module Name.................MB_POST_GOODS_MOVEMENT

  • Apple Hardware Test- oddity

    Tonight I ran the Apple Hardware Test on my new iMac. System profiler correctly shows 256mb of video ram.... AHT shows only 128mb.
    I'm not concerned, but just curious if this happens on all upgraded vram 20 inchers...
    iMac Intel Core Duo 20"   Mac OS X (10.4)   2gb Ram, 256mb Vram

    Just spoke with applecare and was told that engineering is still investigating this problem - the VRAM discrepency between apple hardware test and system profiler. The applecare rep did say that the system does have 256MB but could not yet confirm the problem was with AHT.
    imac   Mac OS X (10.4.4)  

Maybe you are looking for

  • PO Material Field got grey-Error

    Hi All, We have created  a PO by refering the PR with Accnt assignment category K, so the entry of matl code is not required, we entered the matl decription. After that we have creted a PO with Account assignment cat A, as it is a asset, .. In all th

  • Question concerning backing up itunes' music's meta data...

    That big ole xml file with your music's information contains an absolute reference to your music files. Now if i were to reinstall my OS and somewhere in this process the letter of the drive containing my music files changes, is itunes "smart enough

  • Down Payment Paid without PO

    Hi Friends, user has paid the downpayment thrugh F110 but, I am not able to see that for a PO . and therefore we cant attach it to the PO. Is there anyway we can attach paid downpayment to the PO. Please let me know its urgent Thanks Message was edit

  • FI  posting not allowed for WBS Element

    Hi All, While doing down payment billing I'm getting error that FI posting is not allowed for WBS element. But FI periods are open for all months in 2008. Please suggest how to resolve this issue. Regards, Harish

  • Lumia 520 - *hate* the upgrade :-(

    I was really happy with my Lumia 520 - it did everything I wanted it to do.  I accidentally accepted the update to 8.1 and now I hate it - and it seems it's not possible to roll back to 8.   Apart from anything else, battery life is now very poor and