ScanFile with scanning string modifier %s[in]

For skipping over non-numeric characters by reading ASCII files I used to write, e.g.
ScanFile (fhandle, "%s[i8]>%f", &x);
This method works well with CVI 5.0 to 8.11 but no more with CVI 2009 and 2010.  I have modified my old code using other scanning string modifiers:  
ScanFile (fhandle, "%s>%s[dt#]%f", &x);    or  
ScanFile (fhandle, "%s>R1= %f", &x);
The first one does not work with a string like “R1=200”.  The second requires the exact string and is more inconvenient.  Although the modified code works well now with CVI 2009, I would like to know why the scanning string modifier [in] does not work with CVI 2009 and 2010. Is there something wrong in my code, is it a feature of the new versions of CVI or is it a bug? How about CVI 2013?    

Thank you very much for your reply.
I would not use "%s[i8]>%f" to read the number 200 in string "R1=200".  I just wanted to take this string as an example to say that I couldn't simply change all of  "%s[in]>%f"s  in my code to  “%s>%s[dt#]%f"s, somewhere I had to use a quite inconvenient "%s>R1= %f". Therefore I do hope that "%s[in]>%f" works by a new version of CVI.
In my code I use a lot of Scan (string, "%s[in]>%f", &x) and all of them work always correctly, also with CVI 2009-2010. But none of ScanFile (fhandle, "%s[in]>%f", &x) works with my CVI 2009, they work only with earlier versions.. That’s very strange to me as I couldn't find in the documentation/Help of CVI 2009-2010 a description that "%s[in]>%f" should not be used with the ScanFile function,
My further tests showed that this problem seems to be related to CVI Run-time.  By reading the same ASCII file, the same executable created by CVI 8.11 works with CVI Run-time 8.1 but does not with Run-time versions 9.0 to 10.0.1.419.

Similar Messages

  • Scan String Token Problem with leading Tokens

    Hi, I'm using the scan string for token to read in a string of tokens that contain a leading "*" char in front of each string and terminates when the token index = -2. This works great if I have say *12345*1234 and so forth, but if there is bad data, say 1234 without the leading "*" in front, the token index return value is still -1 and it returns data which I read in thinking it found the "*". Maybe I shouldn't use the string for token function since it's probably just designed for ending tokens and not data with leading tokens. Is there a way to make this work properly or should I use another method to search for leading tokens in a string?
    Thanks.
    Solved!
    Go to Solution.

    Here.  Try this one.  It does the same thing and uses exposed functions.
    The string functions look for something to mark the end of a string.  All languages that I know of do this.  So, like I said, remove the first element.  I recommend the Subarray function with the index set to 1 and length unwired.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Parse Message.png ‏10 KB

  • Labview novice with a question about scanning strings

    Hello, I'm a research assistant tasked with taking data received via TCP-IP and plotting it. I've had a couple of problems, probably because I've never used Labview before.
    The data is sent in sets of six values separated using semicolons as delimiters, for example
    "0.086842;0.00020341;0.00039838;-0.14057;-0.12614;​-0.1327;" is one such data set
    Receiving these strings through TCP connection is working just fine, however I just noticed that after passing a string such as my example into a 'Scan String for Tokens' block, the negative signs are dropped from the latter three values. I assumed it has something with setting '-' as an operator, but simply wiring negative sign in as an operator didn't change anything. I know there has to be a way to retain my negative signs, but I can't figure it.

    Is this what you need?
    Attachments:
    SNAG-002.jpg ‏91 KB
    SNAG-003.jpg ‏20 KB

  • Missing HEX characters from scanned string

    Hi everyone,
    I have a program which scans a continuous string of serial data which is divided into header, data and checksum. I have replaced the serial part of my code with a simple string input to simulate the data input for testing and as in the diagram below you can see 0A, 0C and 0D are missing and I can't figure out why. Currently it is an exercise to parse out all the data I need for a data aquisition system. If anyone can help me out with this I would greatly appreciate it. This was in a different thread but it has dissapeared into the ether. Here is the picture illustrating the problem.
    Thanks again
    Stirling
    Message Edited by stirlsilver on 04-09-2007 06:17 PM
    Attachments:
    Serial read v1.2.vi ‏85 KB

    You are doing all this way too complicated. There is absolutely no need to use "scan from string" to simply chop up a string into parts. Use string subset instead (in a loop).
    You also have way too much duplicate code. You can operate on arrays directly and use array indicators for the channels. This reduces the complexity of your diagram 10 fold!!!
    I don't have your serial hardware, but attached is a small code fragment (LV 8.0) that seems to do about the same thing with your string using 10% of your code. Modify as needed. Let me know if anything is not clear.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Serial_read_v1.2MOD.vi ‏24 KB

  • Any additional configuration require to achieve TAF in 11.2.0.4 RAC along with scan listener

    Hi
    We have 2 node RAC database of version 11.2.0.4 running on Linux platform.
    There are 2 SCAN listener running on DB instead of 3 which usually recommenced by oracle.
    When one of instance brought down as scheduled activity, sessions which connected to same instance, received ORA-03113: end-of-file on communication channel.
    They were doing some select activity in db.
    When user reconnected, it got connected to available instance.
    tns entry which users are using (description=(address=(protocol=tcp)(host=p1bds1d4-scan.sldc.sbc.com)(port=1521))(connect_data=(server=dedicated)(service_name=p1bds1d4)))
    Do we need to do any additional configuration to achieve TAF in 11.2.0.4 along with SCAN listener.
    Do we need to change tns to include clause like "FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=180)(DELAY=5)" ?
    Please help.
    Thanks
    Ashish

    You could enable TAF from the cient side by adding a clause such as that you suggest to your connect strings, but in a GI envirinment you would normally do it by adjusting the way the sevice is registered in the OCR. Run
    srvctl modify service -h
    and look up the -e and -m switches.
    John Watson
    Oracle Certified Master DBA

  • SharePoint 2013 List View with query string filter stops working after editing view from browser

    I have created one list definition in which I have added one list view which will filter data from query string paramater
    So when I am creating list from my list definition, view with query string filter is working fine.
    But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
    Any suggestion what I am missing?
    Below is my list view schema
    <View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
    <Toolbar Type="Standard" />
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    <ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
    </ParameterBindings>
    <JSLink>hierarchytaskslist.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <JSLink>clienttemplates.js</JSLink>
    <RowLimit Paged="TRUE">100</RowLimit>
    <ViewFields>
    <FieldRef Name="Body"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
    <FieldRef Name="StartDate"></FieldRef>
    <FieldRef Name="DueDate"></FieldRef>
    </ViewFields>
    <ViewData>
    <FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
    <FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
    </ViewData>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
    <Value Type="Lookup">{TargetId}</Value>
    </Eq>
    </Where>
    </Query>
    </View>
    I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.

    Hi JayJT,
    The Miscellaneous is located in the contact list that you used for the connection.
    So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • VISA and Scan string for tokens

    Hi there,
    I am currently developing a piece of software which needs to take in data from an Arduino board via the serial port and parse the input accordingly.
    I have the 2 pieces of code working perfectly well separately, but I can not seem to figure out why they are not functioning properly together.
    Just now, the input is being retrieved fine and passed into the Scan string for tokens method, but it is not being split on the tokens, it is just outputting the string as a whole.
    The input is in the form of 1:0 2:0 3:1 etc. so I am trying to split it on any spaces found.  If I attach a string to the Scan strings for tokens it works fine, just not when I am attaching the data from the serial port to it.
    Any help would be appreciated.
    Attachments:
    input manipulation.vi ‏16 KB

    Hi,
    In the output which you are getting from the serial port, is there space between 1:0 and 2:0 and 3:1? If there is no space between them, then it wont be able to scan for tokens and will output the whole string. I don't have the hardware here and so don't know what exactly is the output which you are receiving. Try to see in the read buffer indicator whether the tokens are seperated by a space or not.
    I have attached your vi after adding a small part in it. If the problem is with the spacing then this will work fine for 1:0 2:0 3:1.
    Regards,
    Nitzz
    (Give kudos to good Answers , Mark it as a Solution if your problem is Solved) 
    Attachments:
    input manipulation.vi ‏18 KB

  • Scan string for tokens

    Can anyone help me out on how to detect a new line using the scan string for tokens function? I am using the "\n" delimiter but it is not working
     

    Syntyche wrote:
    I opened a text file and display it on string indicator. The following is an example of my text file
    START
    SETMASS 5
    WAIT 5s
    SETVELOCITY 10
    WAIT 3s
    END
    So what I want to do is to obtain the string line by line.
    I am thinking I can use scan string for tokens with delimeter \n.
    So if i put this in while loop, in the first iteration, I would want the ouput to be START
    Second iteration: SETMASS 5
    Third iteration WAIT 5s. and etc....
    In C programming i believe this can be done by using strtok. So i want to have a similar function.
    See James' post above, which is what I was hinting at when I said it could be less complicated.  And that's why I asked WHAT you were trying to do, instead of HOW.  In this latest post, you show WHAT you wanted to do, and doing that in the first place would have made the thread a lot shorter. 

  • "Scan String For Tokens" weird behaviour

    I am trying to carry out the simple task of getting a string with
    comma delimiters and produce a string_array with the values in between
    the commas; this would simplify calling the different parts of the
    string.
    Example:
    INPUT: this,is,an,example
    OUTPUT: this|is|an|example (this would be an array of strings)
    Using a while loop with the two VI "Scan String For Tokens" and
    "Insert to array" should be enough to carry this task. I started
    using a FOR loop as the number of tokens I´ll be using is fixed.
    However I wanted to make the subVI more general by allowing any
    #tokens in the input string and using the token index with a WHILE
    loop to do this. The "token index" output from the "Scan String For
    Tokens" is said to be use
    d in a while loop to process the whole
    string.
    However,I´m getting -1 as an output even if I´ve got more tokens left
    and the while loop therefore exits.
    What am I doing wrong?
    Should I use -2 as the comparison to decide whether I´m at hte end or
    not of the string?
    Cheers and TIA

    Check the offset for -1, not the token index. (See attached image). If course if this is a multiline string, the you also need /n etc as delimiter.
    If the string ends in a delimiter, you need to clip the last array element. I usually use "reshape array" with the output from [n] as input.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ScanForTokens.gif ‏17 KB

  • Crystal 2011 linking table with a String and a Number

    Hello,
    I am able to retrieve the data I want with the following  SQL Query in SQL: If I try to create it in Crystal 2011 APPLRUNN is a string and CNTBTCH is a number. Is there a way I can link these two fields if one is a string and the other is a number ?
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON ENADV.APPLRUNN = ENPBD.CNTBTCH
    Thanks,
    Debbie

    Hi Debbie,
    You cannot linking  table with a string and a number. I have given a example query:
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON
    ENADV.APPLRUNN = ENPBD.APPLRUNN  or ENADV.CNTBTCH = ENPBD.CNTBTCH
    I modify last sentense because one table primary key is equal to another table Foreign key i.e
    one table ID field = another table ID field or one table NAME field = another table Name field.
    Please understand my intenction and check linking fields in tables.
    Thanks,
    DJ

  • WCS#2009.10.20.11.20.34: No matching users were found with search string ..

    Hi,
    I setup my webcenter spaces using OID. I used the console application to setup OIDAuthenticator. I can see OID users and groups in the console application. I can also login to webcenter spaces using any of the OID user. But when I try to create a page in webcenter spaces I get error
    WCS#2009.10.20.11.20.34: No matching users were found with search string ..
    Also, when I try to change permission grants for a given page in webcenter spaces using 'Set Page Access' I cannot search for any of the OID users.
    I have modified my jps-config.xml to add
         <property name="username.attr" value="uid"/>
    <property name="user.login.attr" value="uid"/>
    inside the 'idstore.ldap' serverInstance as mentioned in the document. But stilll it does not work.
    Can anybody help me..
    I see the following error in my WLS_Spaces-diagnostic.log
    [2009-10-20T11:20:34.203-05:00] [WLS_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: executive] [ecid: 0000IHmjzSbFg4WFLzyGOA1ArTye00000E,0] [APP: webcenter] WCS#2009.10.20.11.20.34: No matching users were found with search string executive
    [2009-10-20T11:20:34.203-05:00] [WLS_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: executive] [ecid: 0000IHmjzSbFg4WFLzyGOA1ArTye00000E,0] [APP: webcenter] [[
    oracle.webcenter.webcenterapp.security.WCSecurityException: No matching users were found with search string executive
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getPrincipal(WebCenterSecurityUtils.java:494)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getUserPrincipal(WebCenterSecurityUtils.java:377)
         at oracle.webcenter.webcenterapp.internal.view.shell.WebCenterPagesManagerImpl._grantCustomPermission(WebCenterPagesManagerImpl.java:650)
         at oracle.webcenter.webcenterapp.internal.view.shell.WebCenterPagesManagerImpl.createPersonalPage(WebCenterPagesManagerImpl.java:582)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean._createPage(BoilerplateBean.java:818)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean.clickCreatePageFromWizard(BoilerplateBean.java:947)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean.clickCreatePageFromWizard(BoilerplateBean.java:929)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1282)
         at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:81)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:210)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:603)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:256)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:228)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.security.idm.ObjectNotFoundException: No User found matching the criteria
         at oracle.security.idm.providers.stdldap.util.DirectSearchResponse.initSearch(DirectSearchResponse.java:171)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:52)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:43)
         at oracle.security.idm.providers.stdldap.util.LDAPRealm.searchUsers(LDAPRealm.java:480)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.search(LDIdentityStore.java:265)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.searchUsers(LDIdentityStore.java:358)
         at oracle.webcenter.framework.service.Utility.getUserFromUserName(Utility.java:571)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.searchUser(WebCenterSecurityUtils.java:315)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getPrincipal(WebCenterSecurityUtils.java:486)

    I have run dead smack into this issue using AD also. Is there a solution? I have tried all of the options for the following settings which seem to control the look up process:
    <property name="username.attr" value="cn"/>
    <property name="user.login.attr" value="sAMAcountName"/>.
    For me, this issue rears its ugly head when attempting to add a role to an AD user. I can enter the login name in the find user box, click the find button, and the user is found. I select the user, pick the role, click "Add Member(s)", and then bam "No matching users were found with search string <login user>" message.
    Based on my analysis of the problem, my guess would be that the look up process, which works, differs from the role assignment process in source of data and/or the key-field used to find a match.
    Any help would be greatly appreciated.
    Thanks In Advance.

  • Comparing table attribute with a string without compromising performance?

    in pl/sql what is the best practice for comparing a varchar2 attribute with a string should be case insensetive, without compromising performance.
    I've read on using an index (upper(tbl_attribute)) and then comparing in the where clause using
    upper(tbl_attribute) = input_value'
    is this the only way?
    is there a directive that could make the process faster?
    how about reading the table into memory then do the compare using upper in memory would that be faster than reading the table each time we run the comaprison condition?
    example:
    select name from tblnames
    where upper(name) = upper('Joe')
    thank you

    I would say the ideal case would be to ensure that all the data that is stored in the column is upper case to begin with. To monitor that you could place a constraint on the table like the following:
    ALTER TABLE TABLE_X ADD CONSTRAINT UPPER_CONS CHECK (COLUMN_X = UPPER(COLUMN_X));If the code can't be modified to always store the data in upper case you could always create a trigger to force the value to be upper case.
    Then your WHERE clause would only have to be like the following:
    COLUMN_X = UPPER('JOE')In my opinion storing the data as it should be would be the best performing because it should allow the CBO to have as many access paths as possible. You could then create a regular index on this column if there was truly a need for even better performance.
    A function-based index as you suggested is another viable option as well.
    HTH!

  • Unable to scan and communicat​e with scan function C6180 Vista Home Premium 64 bit Printing works

    I have an all in one C6180 Photosmart connected by wireless network (infrastructure). Network consists of 2-laptops, 1-Desktop and the printer.  Everything works from HP solution Center on the Compaq laptop and the Dell desktop both running Windows XP. My newest laptop is a Dell studio XPS core2   2.4ghz running Windows Vista Home Premium 64 bit. I am unable to scan from the Dell Laptop using HP Solution Center nor can I scan from the printer buttons to the laptop. Solution Center opens I select "scan document" and immediately get an error message "unable to communicate with scanning device. Likewise with the copy function.  The laptop does recognize the printer though and I am able to print wirelessly.  All functions work when connected via USB so I believe the printer is fine.  I have been working with this problem since I bought the printer in 2007. I spent many hours reading hundreds of internet posts, talking by phone with HP and via e-mail support from HP.  I became frustrated and gave up for awhile but now I want to see if there are any new solutions that I don't know about. I downloaded full feature software and drivers for the 6180 from HP and performed various levels of uninstall (L1, L2, L3, L4). I also cleaned the registry with ccleaner, windows disk cleanup and manual registry deletions when allowed per HP. I have checked port settings, tried stopping HP functions is Services.Msc. The Digital monitor is currently running, however no scanner communication-computer to 6180 and no scanner communication 6180 to computer. I can print and fax from computer wirelessly. I have ran the HP diagnostic utility separately and it appears everything is fine, connection IPaddress etc. During install when prompted to run test it says the printer is connected to the network. I have tried to add a device to the network after install and get the message no wireless devices found. The scanner does not appear under Cameras and Scanners in control panel. Nor will it find the scanner when I try to add device. Firewalls and antivirus have been turned off. Still can't make it work. Suggestions please.

    Sorry about your pain.  L3 uninstall is what I recommend.  Re-install from hp.com and this time, with the printer properly attached it should flow OK.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Problem with scanning - printer display shows "Server connection error"

    My printer has been working great and I have had no problems with scanning.  But two days ago, all of a succen I rec'd message "server connection error".  I tried to send to email as well as computer.  Got the same message.  As usual, I don't recall any action on my part that could have caused this problem.    The copying and printing functions work fine. Detailed advice to someone technically challenged will be much appreciated.  Thank you.

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

  • Problem with scanning in Photoshop CS6 after upgrading to Mountain Lion

    After upgrading to latest version of Mountain Lion i've got a problem with scanning directly into Photoshop CS6.
    on the previous Lion version when I wanted to scan something, i just opened Photoshop -> File -> Import -> images from device
    then a new window opened up the ImageCapture app where I could choose the device I wanted to use, and then I selected the scanner (Canon CanoScan 8400F) and I could scan directly into photoshop.
    Now with Mountain Lion when I do the exact same thing, it opens a window, but it's impossible to select any device, as the new window is just a plain white window, with 2 buttons on top to rotate something that isn't there. (text is in dutch, cause I'm from the Netherlands)
    hope someone can help me out.
    I can scan with the use of the ImageCapture app without problems and then save that picture and open it in Photoshop, but it has worked before, so am I doing something wrong? or is this just a little bug
    thnx in advance for the help

    I’m having the same problem with my Epson Perfection 3200 Photo scanner and Adobe Photoshop CS6. It does the initial overview scan then I get the same blank window as BigNoud shows above. I've done a Software Update and have also updated OSX to 10.8.1.
    I know for the Epson you can get a Mountain Lion compatible scan software from SilverFast for about $35.00 as an upgrade here.
    I haven't gone that route yet as I don't want to give up any more money for my Apple/Adobe experience.
    Any help would be appreciated.

Maybe you are looking for

  • Aperture file name and mobile.me

    Hello, I am in the process of figuring out if there is a way to publish an album to mobile me and have the version name become the file name. In this particular case the file names are all generated by the camera and I give them custom version names.

  • MIRO Tax Error NAFF707 Tax does not equal 0 when tax % rate is Zero

    Hello Sap Guru's- New issue with MIRO today for all our invoices with tax.  We have been live with ECC 6.0 and something has changed preventing my users from posting invoices.  When the user adds tax and an item to undisclosed amount for freight, etc

  • I have problem downloading the itunes for mac and safari says it needs to send the form again.

    Hello There, I have been facing this problem for a while. Once I download the ITunes for my Mac the safari says the following: Are you sure you want to send a form again? To reopen this page Safari must resend a form. This might result in duplicate p

  • Call a function module inside of another function module

    Has anyone ever called a function module inside of a remote enabled function module?  Maybe this needs to be accomplished inside of an include.  Just wondering. Thanks!

  • Opening .eml documents

    I get emails with .eml attachments which should use Power Point to open. However, I have not been able to open them with my OSX.4.11 which has Microsoft Ofc for Mac, & for which I downloaded Ofc Open XML Converter for Mac 1.0 this morning, from Apple