LV 7.1 VI with match pattern fails in LV8
I am seeing something weird with LabVIEW 8. Attached
is a VI that was developed in 7.1 and has been working for the past year and a
half. When I upgraded to 8.0 it started exhibiting weird behavior.
The very first time it is executed it works fine. All subsequent
executions fail. The problem is that the match pattern VI only matches
the search string the first time it is executed, after that the offset past
match is always -1. Why?
If I start from scratch in LabVIEW 8 and recreate this VI it seems to work
fine.
Joshua
Attachments:
Read_RCG_File.zip 21 KB
Thanks for looking at this for me. Now that you have pointed out
that the Request Deallocation was causing the problem I need to correct
what said in my original post. If I recreate the VI from scratch
in LabVIEW 8 there is still a problem. The first time I recreated
it I neglected to add the Request Deallocation.
Thanks again for your help.
Joshua
PS This VI is simplier and duplicates the problem.
Attachments:
MatchPatternDeallocateBug.vi 9 KB
Similar Messages
-
Match hex 00 or NULL with Match pattern function
Hi, I am using Match pattern funciton to match NULL character and 0000 character in a string (hex display).
Someone told mu use the following regular expression:
^[\00]*, and [\00]*$ , and he said:
\00 is Hex 00
\0 un-defined
But I read some stuffs about regular expression that \0x00 is Hex 00, \00 is Octal 000.I want to know what meaning the \00 is.
Please refer to the attached trim00.vi.
Solved!
Go to Solution.
Attachments:
trim00.vi 7 KB
trim00.vi 7 KBMatch Pattern and Match Regular Expression are two different functions. With Match Pattern the string ^[\00]* matches any number of null characters starting at the beginning of the string, while the string [\00]*$ matches any number of null characters starting at the end of the string. Check the help for the Match Pattern function for more info.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Help with regex pattern matching.
Hi everyone
I am trying to write a regex that will extract each of the links from a piece of HTML code. The sample piece of HTML is as follows:
<td class="content" valign="top">
<!-- BODY CONTENT -->
<script language="JavaScript"
src="http://chat.livechatinc.net/licence/1023687/script.cgi?lang=en&groups=0"></script>
<a href="makeReservation.html">Making a reservation</a><br/>
<a href="changeAccount.html">Changing my account</a><br/>
<a href="viewBooking.html">Viewing my bookings</a><br/>I am interested in extracting each link and the corrresponding text for that link into groups.
So far I have the following regex <td class="content" valign="top">.*?<a href="(.*?)">(.*?)</a><br>However this regex only matches the first line in the block of links, but I need to match each line in the block of links.
Any ideas? Any suggestions are appeciated as always.
Thanks.Hi sabre,
thanks for the reply.
I am already using a while loop with matcher.find(), but it still only returns the first link based on my regex.
the code is as follows.
private static final Pattern MENU_ITEM_PATTERN = compilePattern("<td class=\"content\" valign=\"top\">.*?<a href=\"(.*?)\">(.*?)</a><br>");
private LinkedHashMap<String,String> findHelpLinks(String body) {
LinkedHashMap<String, String> helpLinks = new LinkedHashMap<String,String>();
String link;
String linkText;
Matcher matcher = MENU_ITEM_PATTERN.matcher(body);
while(matcher.find()){
link = matcher.group(1);
linkText = matcher.group(2);
if(link != null && linkText != null){
helpLinks.put(link,linkText);
return helpLinks;
private static Pattern compilePattern(String pattern) {
return Pattern.compile(pattern, Pattern.DOTALL + Pattern.MULTILINE
+ Pattern.CASE_INSENSITIVE);
}Any ideas? -
RegEx: How to find out which part of the pattern failed?
Hi there,
I was wondering: is there any way to find out where the pattern matching failed?
Say I got the string "John Paul Yoko Ringo", and I want to match it against the pattern /John Paul George Ringo/.
I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
Is there any way to do this? Thanks in advance!
Best regards,
- Torbenjschell wrote:
I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
Is there any way to do this? Thanks in advance!
I wonder if that is reasonable. It means that the parse tree for the regex would need to keep mapping information.
At a minimum it is going to require an array, not a single result, because a regex can 'fail' in many ways.
Consider the following regex with the following input
/(a|b)d/
abababababx
Where does it 'fail'?Right. If you just want the character position at which it failed, those tools might tell you that as part of a bigger picture. But by itself, without any context, that number's not necessarily meaingful. A given character can be examined many times due to backtracking. Part of the expression could succeed for part of the input, then the expression might fail for the rest, so we backtrack, and may get several more failures, then more partial successes, all at different points, then ultimately it may fail anywhere within the input.
So just knowing where isn't enough. You need to know what steps were taken to get there. I do think these tools provide that, though I haven't looked closely. -
ZenWSBrowser"No User object matches pattern..." Intermittently works
Hi,
I have configured a few of our Helpdesk users to use the ZenWsBrowser
utility instead of ConsoleOne. They will open the utility and do a
search on "users." Lately and intermittently the ZenWsBrowser search
fails with the error below:
No User Object matches pattern 'username' could be found below container
'[Root]'!
I cannot figure out why it sometimes works and sometimes does not.
Any ideas?
Thank you,
TroyMr,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Java Pattern Matcher (Pattern.class bug? Stuck in Infinite Loop)
Hi,
I'm using the java pattern matcher and it appears to be stuck in an infinite loop and will not return from Pattern.class.
It stays stuck in the following two code sequences...
I'm using the following regex...
java.util.regex.Matcher[pattern=[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|biz|info) region=0,353648 lastmatch=
MAIN BLOCK STUCK IN LOOP:
boolean study(TreeInfo info) {
if (type != INDEPENDENT) {
int minL = info.minLength;
atom.study(info);
info.minLength = minL;
info.deterministic = false;
return next.study(info);
} else {
atom.study(info);
return next.study(info);
SECOND BLOCK STUCK IN LOOP:
boolean match(Matcher matcher, int i, CharSequence seq) {
// Check for zero length group
if (i > matcher.locals[beginIndex]) {
int count = matcher.locals[countIndex];
if (count < cmin) {
matcher.locals[countIndex] = count + 1;
boolean result = body.match(matcher, i, seq);
// If match failed we must backtrack, so
// the loop count should NOT be incremented
if (!result)
matcher.locals[countIndex] = count;
return result;
if (next.match(matcher, i, seq))
return true;
if (count < cmax) {
matcher.locals[countIndex] = count + 1;
boolean result = body.match(matcher, i, seq);
// If match failed we must backtrack, so
// the loop count should NOT be incremented
if (!result)
matcher.locals[countIndex] = count;
return result;
return false;
return next.match(matcher, i, seq);
Is this a bug with the Java 1.6 Pattern Matcher?
Thanks
V$h3rThe Java Pattern Matcher is getting stuck in the following code...
boolean study(TreeInfo info) {
if (type != INDEPENDENT) {
int minL = info.minLength;
atom.study(info);
info.minLength = minL;
info.deterministic = false;
return next.study(info);
} else {
atom.study(info);
return next.study(info);
boolean match(Matcher matcher, int i, CharSequence seq) {
// Check for zero length group
if (i > matcher.locals[beginIndex]) {
int count = matcher.locals[countIndex];
if (count < cmin) {
matcher.locals[countIndex] = count 1;
boolean result = body.match(matcher, i, seq);
// If match failed we must backtrack, so
// the loop count should NOT be incremented
if (!result)
matcher.locals[countIndex] = count;
return result;
if (next.match(matcher, i, seq))
return true;
if (count < cmax) {
matcher.locals[countIndex] = count + 1;
boolean result = body.match(matcher, i, seq);
// If match failed we must backtrack, so
// the loop count should NOT be incremented
if (!result)
matcher.locals[countIndex] = count;
return result;
return false;
return next.match(matcher, i, seq);
}Here is a copy of the REGEX that I'm using...
It works on most of the other STRINGS but when I do a REGEX on the the html source for http://www.exponent.com it will get stuck...
Pattern p = Pattern.compile("[a-zA-Z0-9+_~-]+(?:\\.[a-zA-Z0-9+_~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+(?:com|org|net|biz|info|[a-zA-Z]{2})");Thanks,
V$h3r -
How do I use the Match Pattern Function to exclude only 0.000?
Hi,
I'm trying to use the mattch pattern function to find the first string in a table thats is >0. My table looks like:
1,0.000000,0.000 %2007/01/13 00:16:19 196281
1,0.000000,0.000 %2007/01/13 00:16:22 196282
1,0.831262,0.000 %2007/01/13 00:17:20 196375
2,0.811154,0.000 %2007/01/13 00:17:20 196375
If I us the paremeter "1,[~0]" It doesn't find the line 1,0.831262,0.000... which is the one that I want. I also tried :1,[0-9].+[~0] and that didn't work either. the problem is that the first digit after to 1, isn't allways going to go from 0 to 0.0 sometimes it might go from 0 to 2.??.
Thanks for the help
Matt"Matt361" <[email protected]> wrote in message news:[email protected]..
Hi,
I'm trying to use the mattch pattern function to find the first string in a table thats is >0. My table looks like:
1,0.000000,0.000 %2007/01/13 00:16:19 196281
1,0.000000,0.000 %2007/01/13 00:16:22 196282
1,0.831262,0.000 %2007/01/13 00:17:20 196375
2,0.811154,0.000 %2007/01/13 00:17:20 196375
If I us the paremeter "1,[~0]" It doesn't find the line 1,0.831262,0.000... which is the one that I want. I also tried :1,[0-9].+[~0] and that didn't work either. the problem is that the first digit after to 1, isn't allways going to go from 0 to 0.0 sometimes it might go from 0 to 2.??.
Thanks for the help
Matt
Hi,
1,[~0] matches a "1" a "," and then any character that is not "0".
1,[0-9].+[~0] matches a "1" a "," and then any character that is "0-9", any number of anything!! (1 or more) and then anything that is not "0". Note that you have to escape a . to match a ".". Like this "\.".
There is no way to check if there is anything other then a "0" in the match, from within the match pattern function. So I think you won't be able to find a pattern that does the trick.
Why not use a whileloop to find the first item? Or use the Spreadsheet String To Array, and then compare the desired row or column with the string "0.000000"? (Or replace all ,0.000000, by a string like ",NULL,", then match the pattern?)
In LabVIEW 8 there is a new Match Regular Expression function. Haven't tried it, but it should be much more powerfull then the Match Pattern function. But also much more complex.
Regards,
Wiebe. -
Match Pattern does not function properly when searching for a null character
I'm using Match Pattern to extract a null terminated string from a response I'm getting from a device on a serial port. The VI is attached and below is a screenshot of the block diagram.
It works just fine with index set to 0, 1, or 2. When index is 3, I get the output shown below.
Why is Match Pattern not finding the null character?
Thanks!
Solved!
Go to Solution.
Attachments:
Grab Nullterm String.vi 15 KBI'm a dope, need to remove the wire from the Offset control to the Match Pattern control.
DUH! -
ITunes Match and failing to upgrade some of my tracks
Does anyone know why ITunes Match sometimes fails to upgrade certain popular tracks to 256 AAC when it's established that the song/track exists in the Itune store? I just completed the reorganization of my ITunes library today after using iTunes Match to upgrade the compression quality of my songs. And out of approximately 1100 songs, iTunes Match failed to upgrade the compression quality on about a 100 of these tracks. It's not a big deal but I do find it very interesting with popular tracks. As just one example to make my point, Sheryl Crow's 1998 hit My Favorite Mistake was not converted from the current 128 kbps to 256. I could list a number of others that I see in the ITunes Store. And it doesn't make any sense. If the song is in the ITunes store, it should be making a match with the tracks in my library. All of my music meets the minimum compression quality to be eligible for upgrades to 256 AAC under the ITunes Match service. Any thoughts/feedback from anyone? Thanks.
Hi
Read this user tip Some User Tips (April 2015)
Jim -
Ok...... How can I delete this post? ---- > I resolve the issues......
Hi, When I create the trusted Recon, connector sendme:
ERROR [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' org.apache.struts.actions.DispatchAction - Request[CreateConnector] does not contain handler parameter named method
follow by
ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.SERVER - Class/Method: tcTableDataObj/setTimestamp encounter some problems: {1}
java.lang.NullPointerException
at com.thortech.xl.dataobj.tcDataSet.setTimestamp(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.setTimestamp(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.setTimestamp(Unknown Source)
at com.thortech.xl.ddm.instance.visitor.ImportVisitor.visitStarted(Unknown Source)
===================================================================
Hi, I think I need to re install the GTC or OIM because all works fine (Recon with AD, Exchange... DataBase Provisioning) But when Im try to Recon with Oracle Databse11g Fails.
I read the manuals but nothing..... ok I do the next configs:
- Generic Technology Connector
- Create
=========================*Step 1*=================
Name ReconCity
Transport Provider (Reconciliation)................Database Application Tables Reconciliation
Format Provider (Reconciliation).....................Database Application Tables Reconciliation
Trusted Source Reconciliation.........................Selected
========================*Step 2*==================
Database Drive : oracle.jdbc.driver.OracleDriver
Database URL : jdbc:oracle:thin:@192.168.1.101:1521:DFGOB
Database User ID : system
Database Pass......: my_pass
parent Table/View
Name.......................: Recon_Users
Batch Size...............: All
Stop Reconciliat
ion Threshold..........: None
Stop Threshold........: None
Sourcedate Format: yyyy/MM/dd hh:mm:ss z
Reconcile Deletion
of Multival.................: "Selected"
Reconciliation
Type..........................: Full
========================*Step 3 (try 1)*===========
SOURCE.................*RECON STAGING*.......................*OIM*
USER_ID--------------> USER_ID -------------> User ID
FIRTS_NAME--------> FIRST_NAME ----------> FIRST_NAME
LAST_NAME---------> LAST_NAME ----------> . --> Yes, I map all fields to OIM
PASSWORD----------> PASSWORD ---------> .
EMAIL------------------> EMAIL ----------------> .
STATUS---------------> STATUS --------------> .
..........|Xellerate |--> ORGANIZATION ------------> .
..........|End-User |------> EMPLOYEE TYPE -----> .
..........|Full-Time |-------> USER TYPE ------------> .
- (STATUS values from my database table is: Active or Disabled)
- ( I try (Enabled/Disabled) )
For Fields USER_ID to STATUS
(Edit option)
Dataset.......................: Reconciliation Staging
Child Dataset Name :
Field Name.................: USER_ID
Mapping Action..........: Create mapping Without Transformation
Matching Only............: Not Applicable
Case-Insensitive........: Not Applicable
Data Type *.............: String
Required.....................: Selected
For Fields ORGANIZATION to USER TYPE
(Add option)
Dataset........................: Reconciliation Staging
Child Dataset Name :
Field Name.................: ORGANIZATION
Mapping Action..........: Create mapping Without Transformation
Matching Only.............: Not Applicable
Case-Insensitive........: Not Applicable
Data Type *.............: String
Required.....................: Selected
Input
Literal: Xellerate
===After save on step 4 I go to Resource Manager-->Manage Scheduled task--> RUN NOW and the log send me
DEBUG QuartzWorkerThread-4 XELLERATE.ADAPTERS - Class/Method: tcStructureUtil/getUserDefinedCols entered.
ERROR QuartzWorkerThread-4 XELLERATE.APIS - Class/Method: tcReconciliationOperationsBean/ignoreEventData encounter some problems: {1}
java.lang.NullPointerException
at com.thortech.xl.dataobj.util.tcAttributeSource.getAttrColumnName(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.getRuleElementWhere(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.getRuleWhere(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.getMatchedUserList(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.getMatchedUserList(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEventData(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beans.tcReconciliationOperationsSession.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beans.tcReconciliationOperations_gmh3ba_EOImpl.ignoreEvent(tcReconciliationOperations_gmh3ba_EOImpl.java:692)
at Thor.API.Operations.tcReconciliationOperationsClient.ignoreEvent(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy62.ignoreEvent(Unknown Source)
at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
ERROR QuartzWorkerThread-4 XELLERATE.GC.FRAMEWORKRECONCILIATION - Reconciliation Encountered error:
Thor.API.Exceptions.tcAPIException: java.lang.NullPointerException
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEventData(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beans.tcReconciliationOperationsSession.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beans.tcReconciliationOperations_gmh3ba_EOImpl.ignoreEvent(tcReconciliationOperations_gmh3ba_EOImpl.java:692)
at Thor.API.Operations.tcReconciliationOperationsClient.ignoreEvent(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy62.ignoreEvent(Unknown Source)
at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
WARN QuartzWorkerThread-4 XELLERATE.GC.FRAMEWORKRECONCILIATION - Though Reconciliation Scheduled task has encountered an error, Reconciliation Transport providers have been "ended" smoothly. Any provider operation that occurs during that "end" or "clean-up" phase would have been executed e.g. Data archival. In case you want that data to be a part of next Reconciliation execution, restore it from Staging. Provider logs must be containing details about storage entities that would have been archived
==========================================
========================*Step 3 (try 2)*==============
SOURCE..................*RECON STAGING*....................*OIM*
USER_ID--------------> USER_ID -------------> User ID
FIRTS_NAME--------> FIRST_NAME ----------> FIRST_NAME
LAST_NAME---------> LAST_NAME ----------> .
PASSWORD----------> PASSWORD ----------> .
EMAIL------------------> EMAIL -----------------> .
........|Xellerate |--> ORGANIZATION -------------> .
........|End-User |------> EMPLOYEE TYPE ------> .
........|Full-Time|-------> USER TYPE --------------> .
........|Active |------> SATUS -----------------> .
- (On STATUS I try (*Active/Enabled/Disabled*) )
For Fields USER_ID to EMAIL
(Edit option)
Dataset.......................: Reconciliation Staging
Child Dataset Name :
Field Name.................: USER_ID
Mapping Action.........: Create mapping Without Transformation
Matching Only.............: Not Applicable
Case-Insensitive.........: Not Applicable
Data Type *..............: String
Required.......................: Selected
For Fields ORGANIZATION to STATUS
(Add option)
Dataset.......................: Reconciliation Staging
Child Dataset Name :
Field Name................: STATUS
Mapping Action..........: Create mapping Without Transformation
Matching Only............: Not Applicable
Case-Insensitive........: Not Applicable
Data Type *.............: String
Required......................: Selected
Input
Literal: Active
===After save on step 4 I go to Resource Manager-->Manage Scheduled task--> RUN NOW and the log sende me the same ERRROR posted up.
===============Step 3 (try 3)=======================
SOURCE...................*RECON STAGING*...................... OIM
USER_ID--------------> USER_ID -----------> User ID
FIRTS_NAME--------> FIRST_NAME ----------> FIRST_NAME
LAST_NAME---------> LAST_NAME ----------> .
PASSWORD----------> PASSWORD ----------> .
EMAIL------------------> EMAIL ------------> .
USER_STATUS----| T |--> USER_STATUS ---> .
.....................................|
.........................|Lookup.M4..|
............|Xellerate |--> ORGANIZATION ------------> .
............|End-User |------> EMPLOYEE TYPE ------> .
............|Full-Time |-------> USER TYPE -------------> .
- (USER_STATUS have the next Values: True/False)
For Fields USER_ID to EMAIL
(Edit option)
Dataset.......................: Reconciliation Staging
Child Dataset Name :
Field Name.................: USER_ID
Mapping Action..........: Create mapping Without Transformation
Matching Only.............: Not Applicable
Case-Insensitive.........: Not Applicable
Data Type *..............: String
Required......................: Selected
For Fields ORGANIZATION to USER_TYPE
(Add option)
Dataset........................: Reconciliation Staging
Child Dataset Name :
Field Name................: ORGANIZATION
Mapping Action..........: Create mapping Without Transformation
Matching Only............: Not Applicable
Case-Insensitive........: Not Applicable
Data Type *.............: String
Required.....................: Selected
Input
Literal: Xellerate
Dataset.......................: Reconciliation Staging
Child Dataset Name:
Field Name................: USER_STATUS
Mapping Action.........: Create Mapping with Translation
Matching Only...........: Not Applicable
Case-Insensitive.......: Not Applicable
Data Type *............: String
Required....................: Selected
Field Name USER_STATUS
Input
Dataset........:Source
Field Name :USER_STATUS
Lookup Code Name
Literal...........: Lookup.M4.Recon
===============
Lookup Definition
Code : Lookup.M4Recon
Field:
Lookup Type(Selected)
Required (Not Selected)
Group: Object
Lookup Code Info
| Code Key | Decode |
1 | True/False | Active/Disabled|
===After save on step 4 I go to Resource Manager-->Manage Scheduled task--> RUN NOW and the log sende me the same ERROR posted up.=============
I hope you can help me, Thanks.....
Edited by: user11296330 on Oct 18, 2009 8:55 PM
Edited by: user11296330 on Oct 18, 2009 10:10 PM
Edited by: user11296330 on Oct 19, 2009 3:33 PM
Edited by: user11296330 on Oct 20, 2009 1:52 AM
Edited by: user11296330 on Oct 21, 2009 9:08 AM
Edited by: user11296330 on Nov 8, 2009 10:16 PM
Edited by: user11296330 on Nov 8, 2009 10:20 PMHi amigo I solve my problem with the next:
OK, all above is good but in the manual they mistake something.... one step.
(All succesful with --> ========================*Step 3 (try 2)*==============)
1.- Ok, if you got every thing like above the last thing you need is follow the next link:
http://www.oracle.com/technology/obe/fusion_middleware/im1014/oim/obe12_using_gtc_for_reconciliation/using_the_gtc.htm
Go to: "Modifying the GTC" ( just do this part)
Restart the OIM and Enjoy it.
Good day Amigo.
And don't forget on step three:
Click the Edit icon of the User ID field of the OIM - User data set.
b. On the Step 1: Provide Field Information page:
- From the Mapping Action list, select Create Mapping Without Transformation.
- Select Matching Only.
- Click Continue.
Mapping Information page, select Reconciliation
Staging from the Dataset list, select EMPLOYEE_ID (your ID Field) from the Field Name
list, and then click Continue.
If something go bad, tell me the steps like I did with the log.... see ya
Edited by: user11296330 on Nov 8, 2009 9:57 PM
Edited by: user11296330 on Nov 8, 2009 10:21 PM -
Hi, I want to extract the space (sometimes, !#" etc) from "@020 12345' using match pattern function.
When I used [\s!#"] as a regular expression, the result "20".
Why my expression is not worked and Can you propose more suitable expression?
labmaster
*)Enclosed is the VI example in LV2009
Solved!
Go to Solution.
Attachments:
yahoo.vi 7 KBlabmaster wrote:
Hi, I want to extract the space (sometimes, !#" etc) from "@020 12345' using match pattern function.
You should also describe what you mean by "extract". If you simply need a space, you can use a space diagram constant. No need to extract it. Do you want the resulting string without the space, for example?
I am sure one of the regex gurus here will jump right on this one...
LabVIEW Champion . Do more with less code and in less time . -
Lazy (not greedy) match pattern
Hello
I want to use match pattern to return every substring enclosed between 7E characters in a hexadecimal string.
The string looks like this : ....7E7E ....7E7E....7E7E...
I used the following regular expressions: 7E.*7E, 7E .+ 7E, 7E .+?7E but they return nothing or they return the maximum match possible (greedy match). (The regular expressions actually not like this because 7E is in hexadecimal representation and the other characters are not, the expressions would look like this: ~.*~, ~.+~, ~.+?~)
Is there a way to perform non-greedy matches in LabView?
Thank you for your helpHi forsaken,
what about this little sub-vi:
'data string' is your data value (without surrounding 0x7E), 'remaining string' is therest of the string (with 0x7E).
Message Edited by GerdW on 06-05-2007 04:44 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
match.png 2 KB -
Match Regular Expression does not match what Match Pattern does
I have read through a lot of posts about how Match Pattern does not match what Match Regular Expression will due to not processing some characters.
However, I found a problem with the other way. A simple Reg-Ex that works in Match Pattern but not Match Regular Expression.
What I have here is just an example. I want to use Match Regular Expression so I can specify some sub-matches.
The reg-ex is for: one or more non-numeric characters, a space, one or more numeric characters. At the start of the string.
How can I get this working in Match Regular Expression? I am working in LabVIEW 2010f2 32 bit. Here is the code snippet and the results:
Rob
Solved!
Go to Solution.Robert Cole wrote:
I think I prefer the ~ for negation since ^ is also used for beginning of the string. But we work with what we have.
Let me offer you a tip and perhaps defend the honor of the regex a little bit. One of my favorite features of regexes is the ability to specify character classes (and their negation). One of the reasons I have to think about the ~ versus ^ is that I rarely use ^ in a regex alternative.
Some examples:
[0-9] = \d (digit)
[^0-9] = \D (not a digit)
The equivalent regex for your case is: \D+ \d+ -
Split a string using Match Pattern function
I am trying to split a response string from a climate chamber into different parts. The string goes something like this: 0030.0\s0034.6\s0080.0\s0083.4. I am using the match pattern function to split the string using \s as the search string. But it is not splitting the string as required. If I use only \ , its working fine. Can anyone please suggest why \s is not being recognised as a part of the input string?
Subhro.
Solved!
Go to Solution.Is the string you show in normal display mode or in \ codes display mode?
Anyway, if you need to match a '\' character you'll have to mask it using \, so the match string would be '\\s' to match '\s'.
Alternatively you could use spreadsheet string to array with the correct delimiter. For the data you show this would work perfectly. -
Regular Expression for Match Pattern (string) Function
I need to find a variable length string enclosed by brackets and
within a string. Can't seem to get the regular expression right for
the Match Pattern function. I'm able to get the job done using the
Token function, but it's not as slick or tight as I'd like. Does
anybody out there have the expression for this?Jean-Pierre Drolet wrote in message news:<[email protected]>...
> The regular expression is "\[[~\]]*\]" which means:
> look for a bracket "\[" (\ is the escape char)
> followed by a string not containing a closing bracket "[~\]]*"
> followed by a closing bracket "\]". The match string include the
> brackets
>
> You can also read "Scan from String" with the following format:
> "%[^\[]\[%[^\[\]]" and read the 2nd output. The brackets are removed
> from the scanned string.
Thanks, Jean_Pierre
I did some more experimenting after posting and found that \[.*\] also
works with the match pattern function. Thanks for your input.
sm
Maybe you are looking for
-
Is my 2009 internal bluetooth module out of date? Can I upgrade? I can connect an external bluetooth speaker, but windows is unable to find drivers. According to HP.com, the drivers are up to date. The icon for the speaker shows up in Devices and
-
IPhoto opens whenever iPhone is connected
Even though I have syncing of photos deselected in my iPhone settings in iTunes. Is there some way to turn this off? Thanks
-
Hi there. I am currently producing a newsletter and have found that, once converted into a pdf file, very fine white edges are becoming visible on the document. I have laid down on the page a few images and text boxes that bleed off the sides of the
-
Hello. I have a new 13 Mac Book Pro with Retina display. I'm having trouble using iPhoto on my new Mac Book Pro. Every time I try to open the app it says my library needs to be prepared. I've downloaded the library upgraded tool and let it run. It sa
-
HELP ME PLEASE!!! iphone 4 fails to restore via itunes, error code -1
okay, so i have an iphone 4 and i updated it to ios 6.1, it failed to do so and shows the arrow and asks to connect to itunes. im freaking out, because the last time i tried connecting to itunes, it restored my software, now i does not. it keeps show