What is Principal Propogation
Hi ALL
Need to get an idea what Principal Prorogation.
What is the purpose and importance of Principal prorogation.
Just wanted to get an idea, as to when we could use this feature. Also, saw a check box in the configuring agreements.
Thank you,
Patrick
Hi,
It refers to propagating the user context (user-id and password) from sender system to receiver system.
Without using PP we need to include different users at each of the involved systems...for Source system the XI user shoulde be used, for the XI system the user configured in receiver system should be used...with PP you can avoid this.....only the user configured in the Sender system is needed..
there is a blog by Alexander which mentions PP in SAP XI and in SAP PI.
As of now it is available only in RFC, XI, SOAP, WS-RM (SAP PI) adapters.
Regards,
Abhishek
Similar Messages
-
Hello,
What is principal Propogation and in which context we go for that?
Thanks in advance,
NithyaHi nithya,
check this links,
Principal Propagation in SAP XI
http://help.sap.com/saphelp_nw04/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/45/345d11a7993446e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/45/341a19e1a21ba3e10000000a155369/frameset.htm
Understanding message flow in XI
regards
srinivas -
Principal Propagation with SOAP sender
Hello
I've already read some blogs and SAP help about configuring the principal propagation (PP), those blogs explains details about the configuration with SAP (ABAP and Java) system.
However in my case I have the third party SOAP sender application. I jsut wonder how to configure or write the soap Java program. Basically 2 things need to be done for hte soap sender:
1) Force the soap sender to send message along with a SAP assertion ticket
2) Sign the assertion ticket with private key (Public key/certification will be installed in PI Java AE)
I have no idea how step 1 works (Take Java soap client program as example)
Once a private key / public key is generated, how to use it to sign the assertion ticket?
Basically our soap sender could be from any platform (.net, java program, oracle, etc.), I need to know how to configure the soap sender for PP generally.
Anybody configured PP for soap sender?
Thank you so muchHi Jayson,
With the amount of questions asked in one single question , i feel things are not clear at your end.
i suggest you going through:
Prinicipal propogation:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/808d3048-638c-2a10-35a6-faa48e50ad59
Principal Propagation in SAP XI
/people/alexander.bundschuh/blog/2007/01/16/principal-propagation-in-sap-xi
Configuring adapters for principal propogation
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/cf9e199bf23e49e10000000a421937/frameset.htm
Regards
joel -
What LabVIEW for Linux based on ?
Whar is the way LabVIEW 7 for Linux communicate with
DAQ boards ?
Is it the same as on Windows ?
Can I write application on 'C/C++', that use only low level library that LabVIEW based on ?
It this possible on Windows with Visual C?
With LabWindows it is possible.
More precisely, I may use only NI-DAQ library and do
nothing with IDE of LabWindows.
But if I right, neither LabWindows nor NI-DAQ/NI-DAQmx is't for Linux.
I have some experience with LabWindows/CVI, but nothing
with LabVIEW.
What is principal difference between them in low level communication with DAQ boards ?
Thanks.
AndreyAndreyCherepenko wrote:
> Whar is the way LabVIEW 7 for Linux communicate with
> DAQ boards ?
> Is it the same as on Windows ?
No! LabVIEW for Linux does not come with any DAQ libraries. There are
basically two options at this time:
You can download the NI Measurement Hardware DDK from NI and the
according LabVIEW VI libraries or you can use Comedi.
> Can I write application on 'C/C++', that use only low level library
> that LabVIEW based on ?
The NI Measurement Hardware DDK (and Comedi) is a C based interface with
precompiled binary libraries which you can use from your C/C++
application. The NI provided VI libraries allow access of that API from
within LabVIEW.
> It this possible on Windows with Visual C?
The NI Measurement Hardware DDK is also available for Windows in which
case it consists of a number of DLLs, header files and examples. They
are callable from any C application. But this DDK is in principle a low
level API which often requires you to go down to register level directly.
You can also call NI-DAQ (the API LabVIEW uses on the Windows platform)
from your C compiler, Visual C or whatever, but that API is not
available on non Windows platforms (oh well there was an old version for
MacOS and Sun Solaris but that is I don't know how many years old).
> With LabWindows it is possible.
> More precisely, I may use only NI-DAQ library and do
> nothing with IDE of LabWindows.
LabWindows just provides FrontPanels to the NI-DAQ libraries. It is not
a LabWindows implementation of NI-DAQ but instead it accesses exactly
the same libraries LabVIEW does or your own C application would.
> But if I right, neither LabWindows nor NI-DAQ/NI-DAQmx is't for Linux.
No! They aren't and except hopefully for a limited DAQmx library
probably never will be.
> I have some experience with LabWindows/CVI, but nothing
> with LabVIEW.
> What is principal difference between them in low level communication
> with DAQ boards ?
LabVIEW is a graphical programming environment whereas LabWindows CVI
uses C programming. The difference between LabWindows and a standard C
compiler is the standard built in support for many libraries used in
Test & Measurement, Data Acquisition etc, the extensive library of
graphical user interface components and the FrontPanels provided for all
the library functions. Nothing you couldn't do with a normal C compiler
nowadays, but they are very tightly integrated in CVI and generally
working together well.
As an experienced LabWindows CVI user it may be better to stay in that
environment than starting to use LabVIEW. LabVIEW is similar in what you
can do, a lot more comfortable for the casual programmer, but on the
other hand also a little patronizing in more advanced features. As much
as it is comfortable to generally not have to worry about memory
allocation and code frameworks before you even can start to implement
your first algorithme, it can get in the way when you try to do high
performance operations as you not only don't have to worry about memory
allocation but you have in fact limited and only indirect influence in
how memory is allocated.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
what is the propogation utility being used in SP5,
The Propagation Utility allows you to propagate the configuration of one portal environment to another. Use this utility to propagate your portals from a staging to a production environment, or from production back to staging.
Here is the link: http://e-docs.bea.com/wlp/docs81/prodOps/propTool.html
Cheers,
Satish -
Contacts, AddressBookSourceSync, etc., hogging processor
I'm on a clean install of Mavericks on an early 2009 8-core Mac pro.
1. After the machine is up for a while, it becomes unresponsive, and Activity Monitor typically shows AddressBookSourceSync as the culprit, hogging 100% of the CPU.
2. Console shows many icbaccountsd events every minute. Those messages state:
1/13/14 1:02:32.279 pm icbaccountsd[422]: -[ICBLocalDictionary discoverLocalIAAccounts]: Unknown high level account: com.apple.account.addressbook -
1/13/14 1:02:32.280 pm icbaccountsd[422]: -[ICBLocalDictionary discoverLocalIAAccounts]: Unknown high level account: com.apple.account.google -
1/13/14 1:02:32.280 pm icbaccountsd[422]: -[ICBLocalDictionary discoverLocalIAAccounts]: Unknown high level account: com.apple.account.addressbook -
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Got the following deleted accounts: { }
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Looking for UUID: (null) from remote key:
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Account not found during local discovery, however was not found in list of deleted accounts, will not delete:
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Got the following deleted accounts: { }
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Looking for UUID: (null) from remote key:
1/13/14 1:02:32.289 pm icbaccountsd[422]: -[ICBSyncOperation mergeLocalChanges:]: Account not found during local discovery, however was not found in list of deleted accounts, will not delete:
(Bolding is mine. That item seems telling. And I've removed numeric strings that may be personally indentifiable; I'm not sure.)
The last 4 items always repeat another 10 times (for a total of 12 times), and then the process stops briefly. Then, 3-5 minutes later, the entire cycle starts all over again.
3. In Preferences > Internet Accounts, there are a few accounts that I'm unable to delete. I have 3 active iCloud email addresses and 1 inactive gMail address. The primary iCloud address of course has all of the typical items checked -- mail, contacts, calendars, etc., etc. I noticed that the two, secondary addresses also had contacts and notes selected -- but I don't need either of those addresses to sync contacts or notes. So, I've attempted to untick those checkboxes, but generally, whenever I do, the boxes recheck themselves automatically after a minute or so.
There are also separate Contacts entries, at the bottom of the list, bearing the names of the secondary email addresses. I've attempted to delete those, but they always come back automatically.
With that in mind, I logged into those accounts in iCloud.com (on the web), and I discovered that each address had a few contacts in its own address book. So, in Contacts.app (which syncs with my primary iCloud account), I exported vcards for those contacts, just in case, then at iCloud.com, I deleted those entries from the secondary accounts' Address Books. Those items remained in the primary address' Address Book, and I have no idea why those contacts ever got assigned to the secondary addresses. But now, those Address Books are absolutely empty. I was hoping that after doing so, I could delete those entries in Preferences > Internet Accounts, but even though those address books are now empty, the deleted entries always reappear after a minute or two.
4. Another thread brought to my attention the folder ~/Library/Application Support/AddressBook/Sources. That person had similar, but not identical, problems, and he found that on his computer, this folder had a few hundred folders, each containing a Configuration.plist file that pertained to one of his email addresses. He was able to solve his problem (duplicate address collections in Contacts.app) by deleting all of the folders with plists that pointed to the problem address. When I viewed this folder on my Mac, I found it contained 13,800 such folders.
But on my Mac, the plot thickens, because in my Sources folder, a new plist folder is created and added to the folder every 20-25 seconds. So the Sources folder gains 2-3 new items every minute. (Hence, the 13,800 folders previously mentioned.) I have not been able to determine what function is propogating the folders.
5. Following the advice on another thread, I tried:
• Quitting Contacts.app
• Force-quitting AddressBookSourceSync
• Deleting the reappearing items in Internet Accounts, and
• Deleting com.apple.internetaccounts.plist -- then
• Quickly restarting the Mac.
But to no avail.
This is a clean install, so, I'm stumped. Obviously I signed in to my existing iCloud accounts, but I did not copy over any preference files for address book, etc., from the previous hard drive's backup in an attempt to avoid copying over any gremlins from the last hard drive. But for the record, I never had this problem in Mountain Lion. So, this is something that has arisen as a result of migrating to Mavericks. (No, I did not use Migration Assistant) :-)
If anyone has any suggestions, they'd be most welcome.
Thanks.I was having the "ICBSyncOperation mergeLocalChanges Account not found during local discovery" error repeatedly in the Console after adding and deleting some email accounts. This support article fixed my problem <OS X Mavericks v10.9.1: Repeated prompts to unlock "Local Items" keychain>.
-
Can a different SubQuery replace a Set function Minus?
I'm a student in an Oracle SQL class using 10g. We are nearing the end of our class.
We are working on a chapter on Subqueries.
In one of the homework problems I have a solution that uses a Subquery.
But it also uses a Minus. We studied the Set functions earlier. So my solution
does use things we have already studied. I'm just wondering if the whole
problem could be solved with a different use of Subqueries.
And eliminating the use of the Minus.
Here is the question - 'List the title of all books in the same category as books previously
purchased by customer 1007. Do not include books already purchased by this customer.'
And here is my solution:
SELECT InitCap(Title) AS "Book Title",
Category
FROM Books
WHERE Category IN
( SELECT DISTINCT(Category)
FROM Books JOIN OrderItems USING (ISBN)
JOIN Orders USING (Order#)
JOIN Customers USING (Customer#)
WHERE Customer# = 1007 )
Minus
SELECT InitCap(Title),
Category
FROM Books JOIN OrderItems USING (ISBN)
JOIN Orders USING (Order#)
JOIN Customers USING (Customer#)
WHERE Customer# = 1007
ORDER BY Category;
There is nothing tricky about the tables.
Customers has Customer# which Joins to Orders via the Customer#.
Orders Joins to a table called OrderItems via the Order#.
OrderItems is also joined to Books via the ISBN.
So to get the details of an Order (like which specific books and quantities)
we have to get to Orderitems which has the ISBN and the Quantity.
But every time I go back and look at this question I keep seeing the answer as
'Find the large group, take out the part we don't need, leaving the answer'.
Well, I hope I gave enough explanation here.
Thanks for any thoughts or advice.Hi,
To understand the problem better, let's do the join that finds the given customer's books only once, by putting it in a WITH clause. That has the additional advantage of keeping it away from the rest of the query.
Since you understand the issues with INITCAP (Title), let's further simplify by not doing INITCAP.
Now we can concentrate on alternatives to MINUS.
MINUS, which you are already doing, can thus be written like this:
WITH this_customers_orders AS
SELECT Title
, Category
FROM Books
JOIN OrderItems USING (ISBN)
JOIN Orders USING (Order#)
WHERE Customer# = 1007
SELECT Title
, Category
FROM Books
WHERE Category IN (
SELECT category
FROM this_customers_orders
MINUS
SELECT *
FROM this_customers_orders;You should always format code, so you can easily see where sub-queries begin and end, and what the principal parts of each query are. This is especially important when you are learning.
To get the same results using NOT EXISTS:
WITH this_customers_orders AS
SELECT Title ... -- as shown above
SELECT Title
, Category
FROM Books b
WHERE Category IN (
SELECT category
FROM this_customers_orders
AND NOT EXISTS (
SELECT NULL
FROM this_customers_orders
WHERE Title = b.Title
);Note that the NOT EXISTS sub-query is corellated to the main query. Perhaps 99% of the uncorellated EXISTS (and NOT EXISTS) sub-queries that I've seen have been errors.
You can also get the same results using NOT IN:
WITH this_customers_orders AS
SELECT Title ... -- as shown above
SELECT Title
, Category
FROM Books b
WHERE Category IN (
SELECT category
FROM this_customers_orders
AND Title NOT IN (
SELECT book_title
FROM this_customers_orders
WHERE book_title IS NOT NULL
);Notice the condition "WHERE book_title IS NOT NULL" in the NOT IN sub-query. "x NOT IN (sub_query_y)" will never be TRUE if sub_query_y has even one NULL value.
You can also get the same results by doing an outer join:
WITH this_customers_orders AS
SELECT INITCAP (Title) AS Title ... -- as shown above
SELECT b.Title
, b.Category
FROM Books b
LEFT OUTER JOIN this_customers_orders t ON b.Title = t.Title
WHERE Category IN (
SELECT category
FROM this_customers_orders
AND t.Title IS NULL;An outer join is almost certainly the least efficient way of doing this. The reason I mentioned it here is so that, if you ever see yourself writing a outer join like this, you'll have a model for writing it miore efficiiently as a MINUS, NOT EXISTS or NOT IN query instead. -
D300 raw files in A2 - Colors are terrible?
I've been using Nikon's Capture NX software to edit my D300 raw files since Aperture 1.5 didn't support D300 raw files. Tonight, I downloaded the trial version of Aperture 2.0 and imported some of my D300 raw files into A2. Side by side comparison is night and day - The colors in the NX software are brilliant, while the exact same raw file viewed in A2 is pathetic. I also noticed that you can do a lot more correcting of the files in NX than you can do in A2, like adjusting active-dlighting and built-in picture control (vivid, etc.)
My first impression of A2 for editing D300 raw files is very poor. Capture NX does a much better job, probably because it's made by Nikon for a Nikon camera. A warning to A2 users - the raw images from a D300 are REALLY raw, they don't appear to include any in-camera corrections. Making these corrections in A2 is almost impossible because the Nikon-specific controls aren't in A2.
Am I losing my mind or has anyone else noticed this?
I still plan on using A1.5 or A2 to manage my libraries, but can't see any reason to use Aperture to edit my D300 raw files!NoMoreDells4me wrote:
A warning to A2 users - the raw images from a D300 are REALLY raw, they don't appear to include any in-camera corrections.
Ask anybody who knows anything about raw converters what the principal difference between Capture NX and other raw converters is and your observation will be first thing mentioned. This probably was not your intention, but by making the obvious appear sensational you created the impression that Aperture has been unduly hyped in an insincere manner. Which is not true since what you describe is one the first things people learn about raw converters and therefore cannot be hidden behind any hype.
That does not change the fact that your observation is absolutely correct. Unfortunately, there is far no software available that would make switching between different raw conversion engines simple and easy (except Aperture with raw version 1.0, 1.1 and 2 but almost nobody would want to choose any of the older converter versions over the current one). So, you cannot have the raw conversion of Capture NX and the ease of use of Aperture in one simple package. -
Iiop user/pass authentication
Hi,
I would like to access an OC4J deployed application through IIOP from Tomcat.
I can access the EJBs with no problem, using the following jndi.properties:
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
java.naming.provider.url=iiop://localhost:5555/appname
java.naming.security.principal=jazn.com/admin
java.naming.security.credentials=welcome
The only problem is that if I change the credentials, it still accepts the request.
When I use the following jndi.properties:
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=ormi://localhost:3101/appname
java.naming.security.principal=jazn.com/admin
java.naming.security.credentials=welcome
All works as expected, if I don't have the right principal/crendentials the authentication fails.
I tried the following settings too:
java.naming.factory.initial=com.oracle.iiop.server.IIOPInitialContextFactory
java.naming.provider.url=corbaname::localhost:5555#appname
java.naming.security.principal=jazn.com/admin
java.naming.security.credentials=welcome
This is the same behaviour as with the sun iiop implementation.
I would like to know how it is possible to allow access over iiop with username/password authentication.
Server Version: Oracle9iAS 9.0.3.0.0
Thank you,
CsabaHi Debu,
thanks for your reply.
I tried the property u mentioned but it still behaves the same. It still accepts connection over iiop no matter what the principal/credentials are.
I haven't tried with 9.0.4, and I am not 100% sure, but I am afraid it is not possible to switch AS in this project.
I might give it a try just to see, but I have to use 9.0.3 .
thanks,
Csaba -
I have to build a DR environment. The drive letters on principal are different than I HAVE to use on new DR server. Is 2008R2 mirroring able to handle that difference in drive letters. And what are the complexities for managing this setup and failing over
from principal to DR? Thank you for your reply!You can handle database Mirroring with difference in drive letters.
The mirroring is not centralized on drive letter but there will be some issues when you add a file to a PRINCIPAL, the DDL gets applied across mirror, then your database will go into suspended status until you duplicate the path on the mirror.
Its recommended to have same identical configuration.
You can refer the below link
http://www.extremeexperts.com/sql/articles/DBMirroring2.aspx
http://blogs.msdn.com/b/suhde/archive/2009/07/13/step-by-step-guide-to-configure-database-mirroring-between-sql-server-instances-in-a-workgroup.aspx
http://sqlserverperformance.wordpress.com/2012/03/12/sql-server-database-mirroring-tips-and-tricks-part-1/
-Prashanth -
With 2008 - What would be the 'best practice' approach for giving a principal access to system views
I want to setup a job that runs a few select statements from several system management views such as those listed below. Its basically going to gather various metrics about the server, a few different databases and jobs.
msdb.dbo.sysjobs
msdb.dbo.sysjobhistory
sys.dm_db_missing_index_groups
sys.dm_db_missing_index_group_stats
sys.dm_db_missing_index_details
sys.databases
sys.dm_exec_query_stats
sys.dm_exec_sql_text
sys.dm_exec_query_plan
dbo.sysfiles
sys.indexes
sys.objects
So, there a number of instance-level permissions that are needed, mainly VIEW SERVER STATE
https://msdn.microsoft.com/en-us/library/ms186717.aspx
Granting these permissions to a single login seems like introducing a maintenance headache for later. What about a server role?
Correct me if Im wrong, but this is a new feature of 2012 and above, the ability to create user-defined server roles.
Prior to version 2012, I will just have to settle for granting these instance-level permissions to individual logins. There wont be many logins that need this kind of permissions, but id rather assign them at a role level then add logins to that role.
Then again, there is little point in creating a seperate role if there is only 1...and maybe 2 logins that might need this role?
New for 2012
http://www.mssqltips.com/sqlservertip/2699/sql-server-user-defined-server-roles/Just as any Active Directory Administrator will tell you you should indeed stick to the rule - "user in role- permissions to role" - in AD terms "A-G/DL-P. And since this is very much possible since SQL Server 2012 why not just do that. You
lose nothing if you don't ever change that one single user. In the end you would only expect roles to have permissions and save some time when searching for permission problems.
i.e.
USE [master]
GO
CREATE SERVER ROLE [role_ServerMonitorUsers]
GO
GRANT VIEW SERVER STATE TO [role_ServerMonitorUsers]
GO
ALTER SERVER ROLE [role_ServerMonitorUsers]
ADD MEMBER [Bob]
GO
In security standardization is just as much key as in administration in general. So even if it does not really matter, it may matter in the long run. :)
Andreas Wolter (Blog |
Twitter)
MCSM: Microsoft Certified Solutions Master Data Platform, MCM, MVP
www.SarpedonQualityLab.com |
www.SQL-Server-Master-Class.com -
How to find out in a servlet what is my identity (Principal)
Hi,
is there a way to retrieve in a servelt or JSP the name of the weblogic user that
is currently executing the thread? I mean something like in the EJB ctx.getCallerIdentity().
I am using Weblogic 7.0.
Thanks
Zdenek
HttpServletRequest.getUserPrincipal()
"Zdenek" <[email protected]> wrote:
>
>Hi,
>
>is there a way to retrieve in a servelt or JSP the name of the weblogic
>user that
>is currently executing the thread? I mean something like in the EJB ctx.getCallerIdentity().
>I am using Weblogic 7.0.
>
>Thanks
>
>Zdenek
-
JAAS security prncipal not propogating in EJB web service end point
I have a web application which communicate a independent EJB module via web service end points. when request reaches the web service principal is found as null. I use BASIC authentication in web page. I works well on web pages.
Pl. help me how jaas security principals, group and roles an be propogated to a web serviceTook a look at your .ear file .
So here's the problem .You are trying to use sun's proptrietary DD entries to secure an ejb-ws : <login-config> from is an entry from sun's proprietary DD.(sun-ejb-jar.xml)
oracle also provides a mechanism to transport secure an ejb-ws , though the publicly available version of app server (the one you have , did not had that feature ).The next drop will have the same .
Having said that , what you have should be enough to secure an ejb-ws if you are using only BASIC auth .
I can see that your EJB has some C:\... entries , unless those entries have the right security permissions , your ejb would not be able to load them , with the security credentials sent from the client .
When I deployed and ran your .ear file ,
I got errors such as
<faultstring>Internal Server Error (caught exception while handling request: oracle.oc4j.rmi.OracleRemoteException: Error in ejbCreate(): nested exception is: javax.naming.NameNotFoundException: java:comp/env/configFileContent not found in RoSrapScriptExecServiceImplWSI; nested exception is: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: java:comp/env/configFileContent not found in RoSrapScriptExecServiceImplWSI)</faultstring>
</env:Fault>
implying that there are some references to entries not available inside the .ear .
you can test if the ejb-ws is deployed and running by using the test page through your browser :
http://<your host>:8888/rochade/srap/scriptExecWSI
Anirban -
What is the proper way to close all open sessions of a NI PXI-4110 for a given Device alias?
I've found that, when programming the NI PXI-4110 that, if a the VI "niDCPower Initialize With Channels VI" (NI-DCPower pallette) is called with a device
alias that all ready has one or more sessions open (due to an abort or other programming error) a device reference results from the reference out that has a (*) where "*" is post-fixed to the device reference where and is an integer starting that increments with each initialize call. In my clean up, I would like to close all open sessions. For example, let's said the device alias is "NIPower_1" in NI Max, and there are 5 open sessions; NIPower_1, NIPower_1 (1), NIPower_1 (2), NIPower_1 (3), and NIPower_1 (4). A simple initialize or reset (using niDCPower Initialize With Channels VI, or, niDCPower Initialize With Channels VI, etc.) What is the proper way to close all open sessions?
Thanks in advance. Been struggleing with this for days!When you Initialize a session to a device that already has a session open, NI-DCPower closes the previous session and returns a new one. You can verify this very easily: try to use the first session after the second session was opened.
Unfortunately, there is a small leak and that is what you encountered: the previous session remains registered with LabVIEW, since we unregister inside the Close VI and this was never called. So the name of the session still shows in the control like you noted: NIPower_1, NIPower_1 (1), NIPower_1 (2), NIPower_1 (3), and NIPower_1 (4), etc.
There may be a way to iterate over the registered sessions, but I couldn't find it. However, you can unregister them by calling "IVI Delete Session". Look for it inside "niDCPower Close.vi". If you don't have the list of open sessions, but you have the device name, then you can just append (1), (2) and so forth and call "IVI Delete Session" in a loop. There's no problem calling it on sessions that were never added.
However - I consider all this a hack. What you should do is write code that does not leak sessions. Anything you open, you should close. If you find yourself in a situation where there are a lot of leaked sessions during development, relaunching LabVIEW will clear it out. If relaunching LabVIEW is too much of an annoyance, then write a VI that does what I described above and run it when needed. You can even make it "smarter" by getting the names of all the NI-DCPower devices in your system using the System Configuration or niModInst APIs.
Hope this helps.
Marcos Kirsch
Principal Software Engineer
Core Modular Instruments Software
National Instruments -
What you need to know about British Telecom Total ...
I don't want to waste time on this forum. I've changed to Virgin - and thank God !
Here's the text of the last letter I wrote to Customer Service Director, BT plc, Correspondence Centre, Durham, DH98 1BT. I got the briefest of replies, which dealt with none of the points I raised.
During April I was engaged in searching for a new flat. There were a number of possible candidates. I phoned British Telecom to ask about the service to the flat I favoured
Your representative told me that I could expect up to 4 Mbs in this are. That was a lie
The maximum possible speed is 2 Mbs. My IP Profile has typically been 1,2Mbs and currently you have restricted me to .9 Mbs and then to .78 Mbs
Given that I was at the start of an 18 month contract with you, I would not have moved to this address had I been told – truthfully – by BT that this area is the worst in Cardiff for Internet access.
In the same call your representative told me that there would be no problem providing a telephone service to 93 B because the line had very recently been in use and just needed to be switched on at the exchange That was a lie.
Before moving in, I plugged a handset into the BT socket. There was no 'soft dial tone' which confirms that an inactive line is still connected to the exchange. I notified BT three times, but was assured – in a patronising manner – that then line had been tested and would be connected Friday 30th May. It wasn't of course.
I notified BT by email. No reply on Saturday, nor the following days. On Tuesday an engineer called me. He told me my phone was working. I said it wasn't. He said he would check and ring me back within a half hour. He did not do so.
It was not until the following Friday, that an engineer called and the problem was resolved. By that time I had spoken to the landlord and discovered that the BT line had not been in use for some time. Previous tenants had taken the Virgin Media telephone service. The flat had been decorated and the condition of the BT cabling inside the house could not be guaranteed.
You have therefore deprived me of my telephone/internet service during the first week of May. You have not offered any compensation.
I now raise a matter which may seem marginal, but which speaks volumes for the way British Telecom manage their business. The BT website offers a 'BT Community Forum'. I registered to use it because I wanted to document my experience for the benefit of other customers. The procedure ends with a message saying that an email with a clickable link will be sent, serving to verify the identity of the person registering. No such email was received. I tried again. No result. I notified BT. No reply.
After perhaps six emails, a young woman phoned me. She wasted half an hour of my time establishing what I had already said in my emails. She said she would pass the matter on to technicians. No response – of course.
It is evident that BT does not allow customers to register to use the BT community Forum, for fear that you will receive bad publicity. Given the shoddy manner in which you treat your customers, I imagine that bad publicity is inevitable. The Forum is a sham.
I now come to the main issue – the provision of an Internet service. I wish once more to make it clear that it is not the slowness of this service that is the principal issue – it is the dishonesty of British Telecom personnel.
I add that I am being advised by an independent expert who is an ex-BT manager with knowledge of the provision of digital services in Cardiff. You will understand that the press are always interested in 'whistle-blowers'
If I had been honestly advised by BT that the area I was proposing to move to was poorly served by BT for digital services – and if I was experiencing the best speed that the line could offer me – about 1.5 Mbs real download speed – then I would consider myself bound by my contract with you. I would have moved to this area, knowing what performance I could expect.
However, as I have outlined above, my decision to move here was largely based on a lie told to me by your representative on the phone – that I could expect up to 4Mbs
In addition, the line speed has now been restricted to .78 Mbs. In my last letter I said that on the first occasion this 24 hour restriction was imposed I had complained and the peak time restriction was lifted. I had 1.2 Mbs off-peak, and .9 Mbs peak speeds.
This continued to the end of May. On the 2nd June ther 24 hour restriction was reimposed.
I have received an email from your customer service manager stating that this is simply because of 'long line length'. Very little technical knowledge is required to know that that statement is nonsense.
My independent advisor tells me that in fact technicians constantly 'tune' speeds in bad areas. Obviously you try to get as many customers under contract as possible by lying to them about the speeds they will receive, then progressively reduce their line performance in order to accommodate other customers
It is quite simply an outrage that BT should behave in this fashion, and nothing will please me more than having an opportunity to describe all of this in court.
I estimate that the damages in time and stress you have caused me amount to one thousand pounds. I look forward to receiving your cheque for that amount.Hi sonsenfrancais,
Welcome to the forum.
I am sorry to hear you've now moved to another provider following some problems with the installation of your line and broadband speeds, if there's anything you'd like us to look into feel free to drop me an email at [email protected] with your BT account details.
All the best,
Stephanie
Stephanie
BTCare Community Manager
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.
Maybe you are looking for
-
Instalation od free ORACLE 10.2
Please help my with this problem: Could I install this version on Suse Linux? Thank you very much. Peter
-
Load balancing v/s Clustering with BOXI enterprise premium
We are planning to install Businessobjects enterprise premium on windows2008 server (64 bit) and we are going to use oracle database. my question is "Can we set up Crystal reports and businessobjects (web intelligence) both either on clustered enviro
-
Completion Insight changes since v1.5.5
The completion insight is dramatically less useful in versions since 1.5.5. In that version the pop up completions were very fast, and the focus was always on the "best match" for the table in question. Also, common keywords such as FROM, WHERE, etc.
-
Install and Create Database Using ASM Restart
I'm performing a clean install of Oracle grid + database (11gR2) on Oracle Linux R5U6. Both installs seem to go just fine. The ASM processes start and run just fine. But, when I try to create a database, I get the following errors: PRCR-1079: Failed
-
Hi Friends, Iam implementing a master detail page. Here I have taken two sequences...one(emp id sequence) for emp custom table and one (dependent id) for family details. empid is common column for them. Based on this empid I should get child detai