Ignore certain values when graphing
Hi all,
I am currently using labview to automatically QC check data from a weather station. I have one VI that checks the incomming data for errors and outputs the data with any corrections to a text file. I have another VI that opens the text file and graphs the results. If the first VI finds a obvious error, it exchanges the bad data point with -9999 to make sure the error is obvious. Therefore, a series of temperature data may start like this: 45,45.4,800,46.5,47.3 and end up like this 45,45.4,-9999,46.5,47.3
My question is this. Is there anyway to have labview ignore certain values when graphing. I need the auto ranging feature turned on to insure that the graphs are legible, but if the -9999 value is included it creates a problem when the scales try to incorporate it. I need to be able to set labview to graph everything but to ignore the -9999 value when determining the scale. This would create an auto-ranged graph with the -9999 value simply going off the graph.
Tim
You can replace the -9999 values in your array data with the double precision value NaN (Not a Number - you can actually type that into a numeric control). LabVIEW will leave an empty spot when graphing, and it won't upset your autoscaling.
Jarrod S.
National Instruments
Similar Messages
-
Display a Custom Sum that will Ignore Certain values
In addition to the sum that I am computing on Current Total Column in SQL Plus, I also want to do a Custom Sum on Current Total Column that will ignore certain values of the Current Total column, but displays at the same frequency as the break group. How can I do it in SQL Plus?
Hi!
I think you can use DECODE or user-defined function to create an artificial output column in your query ignoring certain values of the Current Total column and then just compute sum on it as you did on Current Total.
Regards,
Andrew Velitchko
BrainBench MVP for Developer/2000
http://www.brainbench.com -
Can I make Genius ignore certain songs in my l
Is there a way to make Genius ignore certain songs when creating playlists? For example, if I create a playlist based on "Adult Alternative" music, Genius will frequently select some of my off-beat Christmas music.
I'm not sure that playlists take up much space on an iPod, so what about a duplicate of the playlist in question without the songs you don't want?
-
When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?
Hi Ranendra,
For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
For path File-->Templates(or Samples).
Under Templates you ll have different categories and for each you ll find the dashboard Templates.
Regards,
Venkat P -
Import-csv how to make powershell ignore a line in a csv file if a column contains a certain value
Basically I got a very basic script that uses a csv file to input values needed to remove people from a distro list. That part is working fine. I'd like to add to it's functionality so it can look at values in a certain column, and if any of those certain
values are present, I want powershell to skip that line and not process it. For instance I have a column in the csv called Group. If I have a listing under Group that says ABC I want the script to skip that line and not try to process it. What could I insert
into the script to acheive this?You're welcome. You can add to the if test with -and:
Import-Csv .\groups.csv | ForEach {
If ($_.Group -ne 'ABC' -and $_.Group -ne 'DEF') {
Write-Output "Group is $($_.Group)"
Write-Output "Name is $($_.Name)"
Output:
Group is GHI
Name is Show Me
groups.csv:
Group,Name
ABC,Skip Me
DEF,Skip Me Too
GHI, Show Me
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
How to look for a certain value in a database using sql
Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
1. the name of the table(s)
2. the column/field name(s)
Note: "abcdefg" could exist in different tables with different column names with different data types.
Any help is much appreciated. Thanks.
UPDATE: What about if I just want to check those fields/columns with string data types?
Message was edited by:
dongzky
Message was edited by:
dongzkyJust a teeny tweek
DECLARE
l_dummy VARCHAR2 (4000);
BEGIN
FOR rec IN (SELECT table_name
FROM all_tables)
LOOP
FOR rec2 IN (SELECT column_name
FROM user_tab_cols
WHERE table_name = rec.table_name)
LOOP
BEGIN
EXECUTE IMMEDIATE 'select 1 from '
|| rec.table_name
|| ' where to_char('
|| rec2.column_name
|| ') = ''CAS'' and rownum = 1'
INTO l_dummy;
DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
NULL;
END;
END LOOP;
END LOOP;
END; -
Pulse train generation fails with certain values for "number of samples"
I'm generating a retriggerable analog output signal, and so I'm using a counter as the sample clock (see: Retriggerable AI Using Retriggerable Counter). I am finding that, above a certain number of samples, and only for certain values of the number of samples, the counter task gives me error -200305, "Desired finite pulse train generation is not possibe." The error crops up only when actually starting the task.
The analog signal that I'm trying to generate will be about 800 kHz, so my counter is set to run at the same frequency. I find that the counter task works fine if the number of samples to generate is anywhere between zero and 671,088 samples. Setting the number of samples to 671,089 gives the error above, as does 671,090 samples and so on. However, using 671,096, the counter task works fine. After that, the counter seems to output fine only if the number of samples is divisible by 8.
The only thing I can think of is that (617088 samples) / (800000 Hz) = 0.839 s. At the internal clock rate of 20 MHz, 0.839 s is 2^24 samples, and it is a 24-bit counter on this hardware. So if it's this internal counter rolling over, that's fine and I can work around that. But if that's the case, what I don't understand is why increasing the number of samples in increments of 8 samples still works.
The hardware is a PXI-6733 board, running with LabView 7.1.1 and NI-DAQmx 8.1.Hmmm, multiples of 50 & 100? Now I'm puzzled again.
Here's how to make sense of the 100 kHz timebase idea though, even if it turns out not to be the right explanation. For a retriggerable finite pulse train, you actually use a pair of counters. If you were to program it manually, you could set your output counter to generate a continuous pulsetrain at 800 kHz using the internal 20 MHz timebase. This output counter would also be configured to use the other counter's output as a digital level-based pause trigger. So the 800 kHz pulsetrain is only output while the other counter's output is, say, high.
The other counter is configured for retriggerable pulse generation. The pulse duration or high time should be set for (# pulses) / (800e3 pulses/sec). This other counter can be configured to use the 100 kHz timebase, so its high time would then have to be an integer multiple of 10 usec.
So let's see... An 800 kHz pulsetrain is possible with a 20 MHz timebase (exactly 25 cycles). A 700 kHz (28 + 4/7 cycles) or 900 kHz (22 + 2/9 cycles) is not. So when you request those other frequencies, you actually get a near approximation. I dunno if DAQmx can be queried for the actual value correctly or not -- I recall an early version that reported back whatever freq you had asked for rather than what it actually used. Queries based on ticks (rather than time or freq) did return what was actually used, as I recall.
Let's suppose a request for 700 kHz gets truncated to 28 cycles of the 20 MHz timebase making a 1.4 usec period. Then 50 of those periods becomes 70 usec, which is evenly divisible by the 100 kHz timebase. Bingo! (Note: 70 is the least common multiple of 10 and 1.4)
Now suppose the request for 900 kHz turns into 22 cycles of the 20 MHz timebase, or a 1.1 usec period. Now it takes 100 of those periods to get to 110 usec, which is also evenly divisible by the 100 kHz timebase. Bingo again! (Note: 110 is the lcm of 10 and 1.1).
Did you follow the method here? It should help you figure out expected results for various output freqs and #'s of samples.
-Kevin P. -
Syntax to only allow certain values in column
What is the syntax, when I create a table, to only allow certain values in a specific column ?
create table x
col1 char(1) <- for example, only want to allow Y or N
) tablespace myspace;That would be a check constraint. Please check the oracle syntax on constraints.
create table x
col1 char(1),
CONSTRAINT check_col1
CHECK ( col1 in ('Y','N') )
) tablespace myspace; -
How can I restrict a vendor with certain value limit?
Hi Gururs,
How can I restrict a vendor with certain value limit?.
Scenario is like this
If my company was decided to purchase goods from a particular vendor upto Rs.1000, if cross the rs.1000 limit don't allow the Posting the PO and get the Message as warning/error.
Give the configuration setting's and T.codes
Thanks and regards
G.N.RaoHi
Go to T.Code oms4 and then select the material status BP (Blocked for purchasing)
Click on Details
In that under Purchasing select the option A= Warning or B=Error
Click on Save
Thus by doing this no further purchasing function for that material can be done. So the PO can not be issued
So as and when the value limit reaches see that purchasing option is blocked
So no further PO are generated in the future
I hope this helps you out
If found useful reward accordingly
Thanks
pavan -
LOV Displays the Return Value when Read Only
Greetings,
I searched for a question/answer for this, but didn't find this exact scenario mentioned, but I may have missed it. If you know of this already been asked/answered just point me to the thread.
On APEX version - 4.1.1.00.23
I have a LOV that is populated by a dynamic action from another LOV. That works great. Depending on the value of another page item the 2nd LOV is Editable or Read Only. The problem is that when the 2nd LOV is Read Only the result value (an ID) displays instead of the display value.
1 - Why is this?
2 - How do I prevent this from happening?
Also, I don't want 2 separate page items (one for edit, one for display) for the 2nd LOV, because the 2nd LOV also has a dynamic action on it to populate a 3rd LOV. The population of the 3rd LOV works great, whether the 2nd LOV is editable or read only.
= = = = = = = 2nd LOV SQL = = = = = = =
select sub_com_desc||' - '||commodity_desc d, defect_code_header_id r
from qcis_defect_code_header
where inactive_date IS NULL and plant_id = :P10_PLANT_ID
order by sub_com_desc
= = = = = = = = = = = = = = = = = = = =
Thanks, Tony
Edited by: cloaked on May 8, 2013 12:11 PMI've decided to try a different approach. Since the Select List LOV was Read Only and not populating correctly it was causing a session state error when inserting the row. So, I've made the Select List LOV editable, but it shouldn't be. I now need to disable the page item using JavaScript to prevent it from being changed. I need to do so only when a page item contains a certain value.
Will someone share an example of JavaScript snippet of code I need to use? (I'm not much of a JavaScript coder.)
The page item I need to disable is named - P10_DEFECT_HEADER_ID
I need to disable it when P10_MAP_TYPE = 'P'
Thanks, Tony
Edited by: cloaked on May 15, 2013 1:00 PM -
What do I need to do to default some values when a new row is created in a tabular form?
Hello all -
I have a tabular form which requires a few columns to be entered by the user when s/he creates a new row, but other fields in the column can just default to certain values. How do I set those default values so that the user doesn't have to be bothered with entering any data except those that MUST be entered?
An example:
Form1
REGION COUNTRY CITY
APAC JAPAN TOKYO
APAC AUSTRALIA SIDNEY
APAC KOREA SEOUL
REGION is nearly always APAC, so I want to default to that. The user can still adjust it if necessary, but I want to set it for the user, just to save having to enter a value. When the user clicks the the Add Row button, I want to load that value right away and leave the next two fields blank so the user can enter whatever they want.
Thanks!
JohnHi,
Go edit that column.
Under Tabular Form Attributes you can find options to set default value
Regards,
Jari -
Incorrect Sender value when 'mail' attribute is multivalued
hi,
i've just upgraded Sun messaging server 2005Q4 from IMS 5.2 and noted some behavioural difference in the reverse_url operations.
I've noted that reverse_url operations on the 'mail' attribute for ims5.2 seems to ignore subsequent values of this attribute if it's multivalued.
Sun Messaging 2005Q4, however, seems to have taken into account the multiple values of the 'mail' attribute.
This is resulting the mail's "From:" field to be using the subsequent values.
Setup
Account: mailtes1 (with multivalued 'mail' attribute)
mail: [email protected]
[email protected] (Not a configured mail domain handled by Sun messaging. Used by other applications)
mailhost: mailsit.portnet.com.sg (for Sun messaging 2005q4)
pnsasit1app1.portnet.com (for ims52)
test mails are sent to the same accounts.
Results of ./imsimta test -rewrite -debug mailtes1 on Sun Messaging 2005q4 as follows:
*** Debug output from rewriting a forward header address:
00:07:53.03: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:07:53.03: Rewrite: "$*", position 0, hash table -
00:07:53.03: Found: "$E$F$U%[email protected]$V$H"
00:07:53.03: Rewrite failed, not envelope.
00:07:53.03: Rewrite: "$*", position 1, hash table -
00:07:53.03: Failed.
00:07:53.03: Rewrite: "$*", position 0, rewrite database -
00:07:53.03: Failed
00:07:53.03: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:07:53.03: Rewrite: "portnet.com.sg", position 0, hash table -
00:07:53.03: Found: "$U%[email protected]"
00:07:53.03: New mailbox: "mailtes1".
00:07:53.03: New host: "portnet.com.sg".
00:07:53.03: New route: "png1app1-mail.portnet.com.sg".
00:07:53.03: New channel system: "png1app1-mail.portnet.com.sg".
00:07:53.03: Looking up host "png1app1-mail.portnet.com.sg".
00:07:53.03: - found on channel l
00:07:53.03: Routelocal flag set; scanning for % and !
00:07:53.03: Rewrite rules result: [email protected]
00:07:53.03: Checking reverse URL cache for: [email protected]
00:07:53.03: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:07:53.05: Resulting URL: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:07:53.05: mmc_open_url called to open ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 384
00:07:53.05: URL with quotes stripped: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:07:53.05: LDAP URL identified
00:07:53.05: URL context #1 will be used
00:07:53.05: Performing URL search on: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:07:53.05: mmc_read_url result: [uid=mailtes1,ou=People,ou=ZZZ,ou=Customers, l=SGSIN, o=portnet.com]
00:07:53.05: URL resolution returned: [uid=mailtes1,ou=People,ou=ZZZ,ou=Customers, l=SGSIN, o=portnet.com]
00:07:53.05: mmc_read_url result: [mail] [email protected]
00:07:53.05: URL resolution returned: [mail] [email protected]
00:07:53.05: Attribute index: 16
00:07:53.05: LDAP URL produced address [email protected]
00:07:53.05: mmc_read_url result: [mail] [email protected]
00:07:53.05: URL resolution returned: [mail] [email protected]
00:07:53.05: Attribute index: 16
00:07:53.05: LDAP URL produced address [email protected]
00:07:53.05: No more result to return
*** Debug output from rewriting a forward envelope address:
00:07:53.05: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:07:53.05: Rewrite: "$*", position 0, hash table -
00:07:53.05: Found: "$E$F$U%[email protected]$V$H"
00:07:53.05: Match, pattern = "portnet.com.sg", current = "(*domaincheck*)"
00:07:53.05: old state = not checked.
00:07:53.05: Domain check on portnet.com.sg.
00:07:53.05: Added domain result 1 to cache for portnet.com.sg.
00:07:53.05: new state = succeeded.
00:07:53.05: New mailbox: "mailtes1".
00:07:53.05: New host: "portnet.com.sg".
00:07:53.05: New route: "png1app1-mail.portnet.com.sg".
00:07:53.05: New channel system: "png1app1-mail.portnet.com.sg".
00:07:53.05: Looking up host "png1app1-mail.portnet.com.sg".
00:07:53.05: - found on channel l
00:07:53.05: Routelocal flag set; scanning for % and !
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTNOTARY
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = png1app1-mail.portnet.com.sg
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
expandchannel =
notificationchannel =
dispositionchannel =
saslswitchchannel =
tlsswitchchannel =
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (png1app1-mail.portnet.com.sg,png1app1-mail.portnet.com.sg)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
Results of ./imsimta test -rewrite -debug mailtes1 on ims52 as follows:
*** Debug output from rewriting a forward header address:
00:09:58.97: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:09:58.97: Rewrite: "$*", position 0, hash table -
00:09:58.97: Found: "$E$F$U%[email protected]$V$H"
00:09:58.97: Rewrite failed, not envelope.
00:09:58.97: Rewrite: "$*", position 1, hash table -
00:09:58.97: Failed.
00:09:58.97: Rewrite: "$*", position 0, rewrite database -
00:09:58.97: Failed
00:09:58.97: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:09:58.97: Rewrite: "portnet.com.sg", position 0, hash table -
00:09:58.97: Found: "$U%[email protected]"
00:09:58.97: New mailbox: "mailtes1".
00:09:58.97: New host: "portnet.com.sg".
00:09:58.97: New route: "pnsasit1app1.portnet.com".
00:09:58.97: New channel system: "pnsasit1app1.portnet.com".
00:09:58.97: Looking up host "pnsasit1app1.portnet.com".
00:09:58.97: - found on channel l
00:09:58.97: Routelocal flag set; scanning for % and !
00:09:58.97: Rewrite rules result: [email protected]
00:09:58.97: Checking reverse URL cache for: [email protected]
00:09:58.97: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:09:58.99: Resulting URL: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:09:58.99: mmc_open_url called to open ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 256
00:09:58.99: URL with quotes stripped: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:09:58.99: LDAP URL identified
00:09:58.99: URL context #1 will be used
00:09:58.99: Performing URL search on: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:09:58.99: mmc_read_url result: [email protected]
00:09:58.99: URL resolution returned: [email protected]
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTHEADER
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = pnsasit1app1.portnet.com
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (pnsasit1app1.portnet.com,pnsasit1app1.portnet.com)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
emails sent to mailtes1 using the Sun messaging 2005q4 service will be en-queued as '[email protected]' for sender but de-queued to mail store with '[email protected]' as sender.
09-Dec-2007 21:00:47.38 tcp_intranet ims-ms E 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
09-Dec-2007 21:00:48.19 ims-ms D 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
Physical message file will show '[email protected]' as sender.
Return-path: <[email protected]>
Received: from portnet.com.sg (pnsgsit1app2.portnet.com [10.106.65.36])
by mailsit.portnet.com.sg
(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
with ESMTP id <[email protected]> for
[email protected]; Sun, 09 Dec 2007 21:00:47 +0800 (SGT)
Received: from [10.106.65.101] (Forwarded-For: 10.10.140.109)
by mailsit.portnet.com.sg (mshttpd); Sun, 09 Dec 2007 21:00:47 +0800
Date: Sun, 09 Dec 2007 21:00:47 +0800
From: [email protected]
Subject: test
To: [email protected]
Message-id: <[email protected]>
MIME-version: 1.0
X-Mailer: Sun Java(tm) System Messenger Express 6.2-8.04 (built Feb 28 2007)
Content-type: text/plain; charset=us-ascii
Content-language: en
Content-transfer-encoding: 7bit
Content-disposition: inline
X-Accept-Language: en
Priority: normal
Original-recipient: rfc822;[email protected]
test
Action tried.
1) Re-order values of mail attribute as follows:
mail: [email protected]
[email protected]
results from ./imsimta test -rewrite -debug mailtes1 on Sun messaging 2005q4:
*** Debug output from rewriting a forward header address:
00:21:45.57: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:21:45.57: Rewrite: "$*", position 0, hash table -
00:21:45.57: Found: "$A$E$F$U%[email protected]"
00:21:45.57: Rewrite failed, not envelope.
00:21:45.57: Rewrite: "$*", position 1, hash table -
00:21:45.57: Failed.
00:21:45.57: Rewrite: "$*", position 0, rewrite database -
00:21:45.57: Failed
00:21:45.57: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:21:45.57: Rewrite: "portnet.com.sg", position 0, hash table -
00:21:45.57: Found: "$U%[email protected]"
00:21:45.57: New mailbox: "mailtes1".
00:21:45.57: New host: "portnet.com.sg".
00:21:45.57: New route: "mailsit.portnet.com.sg".
00:21:45.57: New channel system: "mailsit.portnet.com.sg".
00:21:45.57: Looking up host "mailsit.portnet.com.sg".
00:21:45.57: - found on channel l
00:21:45.57: Routelocal flag set; scanning for % and !
00:21:45.57: Rewrite rules result: [email protected]
00:21:45.57: Checking reverse URL cache for: [email protected]
00:21:45.57: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:21:45.58: Resulting URL: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:21:45.58: mmc_open_url called to open ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 384
00:21:45.58: URL with quotes stripped: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:21:45.58: LDAP URL identified
00:21:45.58: URL context #1 will be used
00:21:45.58: Performing URL search on: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:21:45.59: mmc_read_url result: [uid=mailtes1,ou=People,ou=PSA,ou=Customers, l=SGSIN, o=portnet.com]
00:21:45.59: URL resolution returned: [uid=mailtes1,ou=People,ou=PSA,ou=Customers, l=SGSIN, o=portnet.com]
00:21:45.59: mmc_read_url result: [mail] [email protected]
00:21:45.59: URL resolution returned: [mail] [email protected]
00:21:45.59: Attribute index: 16
00:21:45.59: LDAP URL produced address [email protected]
00:21:45.59: mmc_read_url result: [mail] [email protected]
00:21:45.59: URL resolution returned: [mail] [email protected]
00:21:45.59: Attribute index: 16
00:21:45.59: LDAP URL produced address [email protected]
00:21:45.59: No more result to return
*** Debug output from rewriting a forward envelope address:
00:21:45.59: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:21:45.59: Rewrite: "$*", position 0, hash table -
00:21:45.59: Found: "$A$E$F$U%[email protected]"
00:21:45.59: Match, pattern = "portnet.com.sg", current = "(*domaincheck*)"
00:21:45.59: old state = not checked.
00:21:45.59: Domain check on portnet.com.sg.
00:21:45.59: Added domain result 1 to cache for portnet.com.sg.
00:21:45.59: new state = succeeded.
00:21:45.59: New mailbox: "mailtes1".
00:21:45.59: New host: "portnet.com.sg".
00:21:45.59: New route: "mailsit.portnet.com.sg".
00:21:45.59: New channel system: "mailsit.portnet.com.sg".
00:21:45.59: Looking up host "mailsit.portnet.com.sg".
00:21:45.59: - found on channel l
00:21:45.59: Routelocal flag set; scanning for % and !
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = MASTER_DEBUG SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTNOTARY
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mailsit.portnet.com.sg
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
expandchannel =
notificationchannel =
dispositionchannel =
saslswitchchannel =
tlsswitchchannel =
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (mailsit.portnet.com.sg,mailsit.portnet.com.sg)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
emails sent to mailtes1 using the Sun messaging 2005q4 service will be en-queued as '[email protected]' for sender and de-queued to mail store with '[email protected]' as sender.
10-Dec-2007 00:20:00.88 tcp_intranet ims-ms E 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
10-Dec-2007 00:20:01.63 ims-ms D 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
Physical message file will show '[email protected]' as sender.
But this time the recipient is '[email protected]'
Return-path: <[email protected]>
Received: from portnet.com.sg (pnsgsit1app2.portnet.com [10.106.65.36])
by mailsit.portnet.com.sg
(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
with ESMTP id <[email protected]> for
[email protected]; Mon, 10 Dec 2007 00:20:00 +0800 (SGT)
Received: from [10.106.65.101] (Forwarded-For: 10.10.140.109)
by mailsit.portnet.com.sg (mshttpd); Mon, 10 Dec 2007 00:20:00 +0800
Date: Mon, 10 Dec 2007 00:20:00 +0800
From: [email protected]
Subject: test mail from ims62
To: [email protected]
Message-id: <[email protected]>
MIME-version: 1.0
X-Mailer: Sun Java(tm) System Messenger Express 6.2-8.04 (built Feb 28 2007)
Content-type: text/plain; charset=us-ascii
Content-language: en
Content-transfer-encoding: 7bit
Content-disposition: inline
X-Accept-Language: en
Priority: normal
Original-recipient: rfc822;[email protected]
test
Questions:
1) How do i retain the functionality of using 1st value of the mail attribute as the address to be used?
I need the address reversing to retain '@portnet.com.sg' value.
2) I've not encountered the same problem when using ims52.
Is there a functional diffences here?Hi Shane,
Thank you for the reply.
We tried adding a mailequivalentaddress attribute, eg [email protected] but the From field still have the value from the mail attribute, eg [email protected]. Do we still need to configure anything to make this to work?
Besides we tried another option by doing the following:
a. Changing the following lines in options.dat file:
REVERSE_URL=ldap:///$V?mail?sub?$Q
to
REVERSE_URL=ldap:///$V$N?sub?$R
b. We ensure that '@portnet.com.sg' is the 1st value
c. adding a 'noreverse' keyword for the 'ims-ms' channel
And it works without the need for the mailequivalentaddress, is this a proper implementation?
any implications with putting 'noreverse' for ims-ms channel?
We're now considering changing of primary address attribute used.
Need your advise on the following:
1) Please advise how go about configuring another attribute to store the primary address.
2) Can we use mailAlternateAddress as the new primary address attribute?
If a totally new attribute is needed, please advise on the requirements for the creation of this attribute to be usable by Sun Messaging 2005Q4.
This change was mentioned in the administration guide.
Chapter 9 The Direct LDAP Algorithm and Implementation
Seeding the Reversal Cache
Next the primary address and any aliases attached to the user entry are considered. This information is used to seed the address reversal cache. It plays no part in the current address translation process. First, the primary address, personal name, recipient limit, recipient cutoff, and source block limit attributes are considered. The primary address is normally stored in the �mail� attribute; another attribute can be specified by setting the LDAP_PRIMARY_ADDRESS MTA option appropriately. (The primary address reverses to itself, of course.) There is no default attribute for any of the other attributes. If you want to use them, you must specify them with the LDAP_PERSONAL_NAME, (see Vacation Autoreply Attributes) LDAP_RECIPIENTLIMIT, LDAP_RECIPIENTCUTOFF, (see Limiting Message Recipients) and LDAP_SOURCEBLOCKLIMIT (see Specifying Absolute Message Size Limits) MTA options. The corresponding domain-level recipient limit, recipient cutoff, and source block limit attributes are also considered at this point. User-level settings completely override any domain-level setting.
Next, any secondary addresses are considered and a cache entry is made for each one. There are two sorts of secondary addresses: Those that undergo address reversal and those that do not. Both must be considered in order to properly seed the address reversal cache because of the need to check for message capture requests in all cases.
Secondary addresses that undergo reversal are normally stored in the mailAlternateAddress attribute. Another attribute can be specified by setting the LDAP_ALIAS_ADDRESSES MTA option. Secondary addresses that do not undergo reversal are normally stored in the mailEquivalentAddress attribute. Another attribute can be specified with the LDAP_EQUIVALENCE_ADDRESSES MTA option.
Edited by: sheeyong on Dec 10, 2007 5:25 AM -
Restrict Certain Values seen in Portal
Hi all,
We have MDM/Portal integreation where i want to Resrtict certain Values which is seen Portal I-Views
Suppose I have some values like in my MDM lookup Table
Name Number
a 1
b 3
c 4
I don't want allow b and 3 to seen in Portal.How can I acheive in MDM.
Thanks,
MadhuHi,
As per your requirement, It seems like Masks and Named Searches would not help in this case.
Since Mask and Named searches work for Table of TYPE MAIN only. You don't have this option when you select any other table rather than Main table in record mode of MDM Data Manager.
I mean to say, In Data Manager Record mode when you select Main table as your current table, if you not select Name(B) and Number(3) from Drill down search for that look-up tables then correspondingly all main table records associated with this look-up field value too would not display for the user who is assigned to this mask or Named search.
So, I feel you want to display all the records in Portal ( you have there i-view of Record details and detail view) but for look-up field only (legal value of entries) you want to restrict the values from main table .
So, only using look-up table constraints option you can achieve when you unload your repository ->go to Roles--> Tables and Fields-> constraints , assign that role to user for who you want to restrict the limited no. of look-up values. Here corresponding to your look-up table under constraint column you need to add only those values for that look-up table using Available to selected values(Don't add here b).
Note: Constraints enabled when a field from main table is look up to Single-valued look-up sub-table( say Flat table, Hierarchy table, Taxonomy table) but not multivalued look-up table(e.g. Qualified Flat etc). Further if you select Flat table as also Multi-valued then constraint would not work.
Thanks and Regards,
Mandeep Saini -
The spanning-tree add strange value when I create new Vlans
Hi,
On all switchs access, the spanning-tree add strange value when I create new Vlans from Distrib Layer,
and no association is created with any interface with spanning-tree vlan 700, see below in this exemple,
until I reboot the switch.
somebody already saw this values ?
DSFDS112#sh span sum
Switch is in rapid-pvst mode
Root bridge for: none
EtherChannel misconfig guard is enabled
Extended system ID is enabled
Portfast Default is disabled
PortFast BPDU Guard Default is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default is enabled
UplinkFast is disabled
Stack port is StackPort1
BackboneFast is disabled
Configured Pathcost method used is long
Name Blocking Listening Learning Forwarding STP Active
VLAN0001 0 0 0 3 3
VLAN0002 0 0 0 22 22
VLAN0006 0 0 0 3 3
VLAN0007 0 0 0 8 8
VLAN0009 0 0 0 4 4
VLAN0010 0 0 0 3 3
VLAN0011 0 0 0 3 3
VLAN0012 0 0 0 3 3
VLAN0013 0 0 0 3 3
VLAN0090 0 0 0 15 15
VLAN0109 0 0 0 3 3
VLAN0200 0 0 0 4 4
VLAN0300 0 0 0 26 26
VLAN0302 0 0 0 4 4
VLAN0700 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0702 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0704 0 0 0 4 4
VLAN0710 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0816 0 0 0 3 3
VLAN0820 0 0 0 3 3
20 vlans - 759 -1323302384 1966606322 -1323302237 1946160764
DSFDS112#sh span vlan 700
VLAN0700
Spanning tree enabled protocol rstp
Root ID Priority 4796
Address 0008.e3ff.fcbc
Cost 10000
Port 608 (Port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 62140 (priority 61440 sys-id-ext 700)
Address 885a.9213.6880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
Po1 Root FWD 10000 128.608 P2p
DSFDS112#sh run int Gi1/0/25
Building configuration...
Current configuration : 194 bytes
interface GigabitEthernet1/0/25
description Station12
switchport access vlan 700
switchport mode access
end
DSFDS112#sh span interface Gi1/0/25
no spanning tree info available for GigabitEthernet1/0/25
DSFDS112#sh int status interface Gi1/0/25
Port Name Status Vlan Duplex Speed Type
Gi1/0/25 Station12 connected 700 full 100 10/100/1000BaseTX
Thanks for your help,
Regards.Venki,
The ORA-00942 is okay because there is no existing object. But what stuck me is the ORA-01921 error which may indicate that this might not be a new database.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
Are there any existing databases on this server? Have you tried to create it on other machine?I searched on Metalink too and found Doc ID: 237486.1 ORA-29807 Signalled While Creating Database using DBCA which say that eroror could be ignored. You may want to review that as well.
Ittichai -
Shouldn't ACE 4710 ignore cookie stickiness when the server is down?
Hello,
I have implemented sticky load balancing with cookies. The problem is that if one of my two servers in the server farm is down (and even if the ace recognizes it as down via a probe) it keeps sending the requests to the server that is down, obviously because it has set a cookie for this server,
Shouldn't the ACE ignore the cookie when the server is down?
Is there a command to ignore cookie stickiness if the server is down? Is there another workaround?
an example of my config is
serverfarm host SF_Ebanking
rserver RS_IAS_1 XXXX
conn-limit max 4000000 min 4000000
probe http_probe_ebanking
inservice
rserver RS_IAS_2 XXXX
conn-limit max 4000000 min 4000000
probe http_probe_ebanking
inservice
sticky http-cookie ACE_COOKIE ebanking_sticky
cookie insert
replicate sticky
serverfarm SF_Ebanking
16 static cookie-value "server01" rserver RS_IAS_1
24 static cookie-value "server02" rserver RS_IAS_2
thanks,
georgeThis is not as obvious as you seem to believe.
ACE will not select a server that is down !!!! Even if the cookie points to that server.
What might be happening is that the connection from the browser to the ACE has not been killed, so when client sends a new request it reuses the existing connection and ACE does allow an existing connection to be maintain with a dead server by default.
Try the command 'failaction purge' under the serverfarm.
This should kill the active connections with the dead server and allow a new connection to be open with the other server even if the cookie points to the dead one.
Regards,
Gilles.
Maybe you are looking for
-
What should I do when iTunes won't let me redownload a song I previously purchased?
I have previously bought many songs and some of them aren't displayed as "purchased". When I manually try to find them in iTunes, they appear as if they have never been purchased before. HOWEVER iTunes does offer "Complete My Album", which is extreme
-
How do I save a modified image?
I am a total beginner and have just managed to modify an image (I think). How do I save it? One tutorial said you do not save in Photoshop you export but I cant find an export button. Second question is - there are lots of tutorials and videos but is
-
How to read data from different tabs of an excel sheet?
Hello everybody: I try to read an specific sheet from excel workbook with multiple sheets, but I can't obtain any soluction. Any have a example ABAP code for the specific question? Regards, Piero Cimule Troise,
-
coded curved lines in dreamweaver. How do I do that?
-
Converting multiple files into a one PDF:Error
I have a .net app which converts multiple pdf files to one big PDF using postscript. For few PDFs while combining I get this error message. What is this means? How to fix it? ERROR: undefined OFFENDING COMMAND: findresource STACK: /Adobe-Identity -di