HOW TO GET REFFERENCE OF INDICATOR OF TYPE DEF CLUSTRE
Have 2 quastions:
1. Have a type def culster of boolian indicators.
how to extract individual references so I can pass them to sub vi.
2. Since bollian indicators dont latch its value.
Can I make an array of boolian indicators that will keep its value hen passes to sub vi.
Thanks.
Solved!
Go to Solution.
Neos wrote:
Actually the example was to just show how to get reference of individual controls of cluster.
whatever the OP wants to do with refrences its his choice.
Firstly, I got a little confused because you had thanked me and so I thought you were the OP for a moment.
Secondly, though - your example added just enough obfuscation that the OP did not understand that this was actually an exercise to get references from a cluster.
I know you used the property nodes to bring out the reference wires. If the wires were connected to indicators that said "control reference" it would probably have been clearer.
One thing you should note is that if a pupil does not get the concept you are trying to teach, 99% of the time it is the teacher's fault.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Similar Messages
-
How to get the split period wage type amount in payslip?
How to get the split period wage type amount in payslip?
Payroll period for 01.01.09 to 31.01.09.
1. Employee is active from 1.1.09 to 10.01.09
2. Employee is inactive from 11.01.09 to 20.01.09
3. Employee is again active from 21.01.09 to 31.01.09
In Result Table three split periods are created.
From 01.01.09 to 10.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 20.00
From 11.01.09 to 20.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 00.00
From 21.01.09 to 31.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 10.00
My requirement is to print only the last split period in payslip from 21.01.09 to 31.01.09. May you please help me in this regard.
Thanks in advance
Regards,
Rajesh.Hi
Try to read the below:
WPBPC : Distribute Lump Sum Wage Elements to WPBP Periods
Object
Operation
Use
Operation WPBPC distributes the amount of the current wage type to the
active WPBP periods in the payroll period.
Input
The current wage type in the header entry of table OT is used as input
for this operation.
Procedure
Within payroll, wage types are assigned to a fixed WPBP period by
infotype 0014 Recurring Payments/Deductions, for example. However, you
may want to distribute this payment to all active WPBP periods, which is
what would happen if the wage type were entered in basic pay. Therefore,
various specifications exist for parameter S:
o If the specification is 'A', and if several active WPBP periods
exist, the amount is simultaneously reduced on a calendar-day basis.
o If the specification is 'D', the wage type is distributed to all
existing WPBP periods without the amount being reduced.
o If the specification is 'S', and if the validity period starts or
ends during the period, the entry in table WPBP is split using this
date. The wage type is stored in table OT for the corresponding WPBP
period.
This parameter is only allowed if processing was accessed using
function P0014.
In this case, infotype 0014 must be processed before absence
valuation and function PARTT. Otherwise, rejections occur during
payroll processing.
o Specification 'X' is the combination of 'A' and 'S'.
This parameter is only allowed if processing was accessed using
function P0014.
o If the specification is 'W', and if the validity period starts or
ends during the period, the entry in table WPBP is split using this
date (as with option 'S'). Unlike 'S', the wage type is not stored
in table OT.
This parameter is only allowed if processing was accessed using
function P0014.
o If the specification is ' ', the wage type is stored in table OT for
each WPBP period in which the validity interval fits.
This parameter is only allowed if processing was accessed using
functions P0014 or P0015.
If the WPBP split is set for a wage type, the wage type is stored
without changes in table OT. If you specify a different wage type name
in the second parameter, the wage type is stored with this name in table
OT. Before you execute operation WPBPC, you may therefore need to delete
the split using operation ELIMI.
If a country-specific split (C1, C2, or C3 split) is set, the operation
interprets it as an error. The employee in question is rejected by
payroll. All other splits are transferred as they are.
Output
The processed wage type, or the wage type specified in the operation
call, is written to table OT (output table) with the appropriate split
indicator and reduced amount as operation output for each WPBP period.
Parameter specification 'W' is the only exception.
Syntax
OOOOOSVVVV
OOOOO WPBPC Operation name
S
blank distribute to all WPBP periods
S split and distribute WPBP
W split but do not distribute WPBP
A distribute to active WPBP periods
with calendar-day reductions
D distribute to all existing
WPBP periods
X combination of 'S' and 'A'
VVVV Results wage type
blank input wage type = results wage type
wage wage type name of input wage type is replaced
type by wage type name of results wage
name type
Wage type before operation:
Example
M100 02 3000
WPBP split
01 June 01 - June 20 active
02 June 21 - June 30 active
VVVV Results wage type
blank input wage type = results wage type
wage wage type name of input wage type is replaced
type by wage type name of results wage
name type
Wage type before operation:
Example
M100 02 3000
WPBP split
01 June 01 - June 20 active
02 June 21 - June 30 active
Wage type before operation:
WType WPBP Amount
M100 00 3000.-
M200 02 2000.-
Operation: WPBPCA
Wage type after operation:
WType WPBP Amount
M100 01 2000.-
M100 02 1000.-
M200 02 2000.-
Operation: WPBPC
Wage type after operation:
WType WPBP Amount
M100 01 3000.-
M100 02 3000.-
M200 02 2000.-
Regards
Team Member. -
How to get keys of a particular type
Following are my objects:
DepartmentKey - primary key is departmentName, a String
Department
EmployeeKey - primary key is employeeId, an integer
Employee
I have 5 DepartmentKey-Department key-value entries in a cache and 2000 EmployeeKey-Employee key-value entries in the same cache.
How do I get all the DepartmentKeys from the cache? In general, how to get keys of a particular type (class name)?
Thanks
GhanshyamI guess I am deeply off track regarding the general approach towards storing items in the cache.
Following is my problem domain:
A Merchant is any establishment that accepts credit cards. (It could be the local Subway down the street or Macy's, etc.). A Transaction is a credit card transaction.
public class Merchant implements Serializable{
private String merchantId; // primary key
private double averageTxnAmount;
private double totalTxnAmount;
private long totalTxnCount;
public class Transaction implements Serializable{
private String merchantId; // merchant that originated the txn
private double amount;
private Timestamp txnTime;
private String txnType; // sale, return, etc.
public class MerchantKey implements Serializable, KeyAssociation{
private String merchantId;
public Object getAssociatedKey{
return merchantId;
public class TransactionKey implements Serializable, KeyAssociation{
private String merchantId;
private Timestamp txnTime;
private double amount;
public Object getAssociatedKey{
return merchantId;
I want to update a merchant's average txn amount as transactions come in.
Let's say I have a million merchants in a partitioned cache cluster spread across some machines.
Transactions come into the cluster quite rapidly, say tens in a second. The process that inserts the transaction into the cluster must also update the merchant to which the transaction belongs, as follows:
Transaction t = ...
cache.put(tKey, t); // store the transaction into the cache
MerchantKey mKey = new MerchantKey(txn.getMerchantId());
Merchant m = (Merchant)cache.get(mKey);
// update the merchant's avg txn amt
m.setAverageTxnAmount((txn.getAmount() + m.getTotalTxnAmount())/m.getTotalTxnCount() + 1);
m.setTotalCount(m.getTotalCount() + 1);
// store the updated merchant back into cache
cache.put(mKey, m);
OR
Transaction t = ...
cache.put(tKey, t); // store the transaction into the cache
MerchantKey mKey = new MerchantKey(txn.getMerchantId());
Merchant m = (Merchant)cache.get(mKey);
MerchantUpdater agent = new MerchantUpdater(t);
cache.invoke(mKey, agent);
public class MerchantUpdater implements AbstractProcessor{
public Object process(Entry entry){
Merchant m = (Merchant)entry.getValue();
// update m's avg txn amt, total count using t
entry.setValue(m);
The basic idea is to store all merchants and all transactions (which could be tens of millions in a day) for a day in memory and to update the merchant objects as transactions come in throughout the day. The above example shows updating just the merchant's average txn amount, but in reality, it could be updating a number of things about the merchant.
Am I using the api in the right spirit or is my approach seriously whacked? Can you please comment?
Thanks
Ghanshyam -
How to get Caps lock indicator in windows 8.1
How to get Caps lock indicator in windows 8.1 ???
i am using wireless keyboard KG 1061Hi bhargav0,
I understand you would like a caps lock indicator in Windows 8.1. I admit, I don't know of any fix that simply shows you on the screen, but there is an auditory warning that you can implement if that would be of help to you. Take a look at the following video, Windows® 8.1: Make the Caps Lock key beep when pressed. I hope this will be of use to you. Have a great day.
Ryan1216
I work on behalf of HP
The advice and opinions given here are my own and not those of HP -
How to get the Swatch Options Color Type?
How to get the Swatch Options Color Type name that is "Process Color" or "Spot Color" which shown in the Color Type via scripting..
Thanks...Could you please provide any example for how to get the color type name that is process or spot. Thanks for looking into this.
Advance thanks,
Maria Prabudass -
How to get the path of input type="file" tag
-- im using <input type="file"> tag to get an input file from a local host, it returns only the filename but not the complete path of the filename,,,
-- i need to know on how to get the compelete path /directory of the filename using <input type="file"> tag , or is there any other way to get an input file from a local host aside from <input type="file"> tag?
thankshttp://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_file.asp?frame=true
When a file is uploaded, the file name is also submitted. The path of the file is available only to the machine within the Local Machine security zone. The value property returns only the file name to machines outside the Local Machine security zone. See About URL Security Zones for more information on security zones.
i need to know on how to get the compelete path /directory of the filename
using <input type="file"> tag You can't. Its a security thing.
is there any other way to get an input file from a local host aside from <input type="file"> tag?No. Not using just html.
You could always go into activex components, but thats different again.
Cheers,
evnafets -
Hi,
We have to get all the claims providers associated with a web application and its identity claim encoding type using API.
For example:
If the identity claim of windows authentication is user name and the user name is a string, then we should get
"i:0#.w".
If the identity claim of forms authentication is
email and the provider name is "fba" , then we should get "i:0!.f|fba|".
The below link shows us to get all claims providers associated with a web application, but how do we get the identity claim encoding type of each provider?
http://msdn.microsoft.com/en-us/library/gg650432(v=office.14).aspx#SP_WCP_Tip3
using (SPSite theSite = new SPSite("http://someContosoUrl"))
// Get the web application.
SPWebApplication wa = theSite.WebApplication;
// Get the zone for the site.
SPUrlZone theZone = theSite.Zone;
// Get the settings that are associated with the zone.
SPIisSettings theSettings = wa.GetIisSettingsWithFallback(theZone);
// Get the list of authentication providers that are associated with the zone.
foreach (SPAuthenticationProvider prov in
theSettings.ClaimsAuthenticationProviders)
{ // Need to get the identity claims encoding type using the SPAuthenticationProvider
Is windows authentication's identity claim encoding type always i.0#.w or the identity claim is always the user name?
Thanks & Regards,
Kalai.If the requirement is to be able to convert claim identities to windows identities that can be used with other LOB/legacy application that still relies on NTLM/Windows Auth, then I would recommend to explore C2WTS.
Here are some references:
http://msdn.microsoft.com/en-us/library/office/ee539739(v=office.14).aspx
http://blah.winsmarts.com/2013-11-Use_C2WTS_to_get_a_classic_windows_identity_from_a_claims_identity.aspx
http://henrymcclain.blogspot.in/2013/05/claims-to-windows-token-service-c2wts.html
http://blogs.msdn.com/b/rodneyviana/archive/2011/02/20/claims-to-windows-token-service-c2wts-may-not-start-automatically-when-you-reboot-your-server-don-t-blame-sharepoint-for-that.aspx
http://blogs.msdn.com/b/russmax/archive/2010/05/27/understanding-sharepoint-2010-claims-authentication.aspx
Thanks!
These postings are provided "AS IS" with no warranties, and confers no rights. -
How to get detailed specifications by machine type model ?
Hi,
I am looking for a refurbished Thinkpad Lenovo (model X220/X230, T420(s)/T430(s)).
I would like to know where I can find the detailed specifications by using the machine type model ?
For the moment, I was using the PSREF, but I discovered that not all machine type were detailed.
For example, the machine 2324-C44.
I found this : http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x23... but the specifications seems to be incomplete : baclit keyboard ? IPS premium screen ? finger print reader ? webcam ? WWAN ?
Thanks,
Moderator note: fixed broken link.
Lenovo X220 4287-CTO / Intel Core i7 2640M @ 2.8 / Corsair Vengeance 16 Go@1866 MHz CL10 / Samsung SSD 840 PRO 512 Go / Bios 1.38 / Linux Xubuntu 14.04LTS / eGPU ATI Radeon 5870 Eyefinity 6 / 2x DELL U2142M / 2x DELL U2212HMUpdate stauts, I found some solution to get ActiveXData and analytic parameters.result.
PropertyObject ProObj = MyContext.AsPropertyObject();
PropertyObject ProObjResult = ProObj.GetPropertyObject("Parameters.Result",0);
The next question is how to get result by engine OnUIMessageEvent? Current is use timer loop.
Any ideas? -
How to get optional segments of Basic type ORDERS05
Hi All,
I am using ORDERS05 Basic type for one implementation where I need to use segment E1CUCFG of this basic type but it is not coming as this is optional segment. Please let me know how to get it.
Thanks !!Hi,
In WE30, I can see the segment E1CUCFG for ORDERS05, If you want to use that, you will have to populate the same.
Regards,
Amitava -
How can I Change data in a type def control containing a Xcontrol with a local variable
Hello
I made a Xcontrol and I inserted this control in a type def.
When I want to change the control's data with a local variable in a VI, the VI change nothing. The change of data isn't perform
How can I correct this issue?
Thanks for your help
Solved!
Go to Solution.Hello,
What's your LabVIEW version ? Do you have a simple example program which demonstrates this behavior ?
I found another discussions related to your issues with Xcontrols:
updating type defs in Xcontrol Facade
No Data Change event generated for a XControl in a Type Def
XControl facede.vi
Hope this helps.
Regards,
Steve M.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions -
How to get internal order and activity type other than from BSEG
We want the Internal order and activity type fields. From BSEG, it is taking a long time, and it hangs.
Is there any other table we can get these values from?
Our query is this:
select bukrs "Company code
gjahr "Fiscal year
belnr "Document no.
buzei "Document Item no.
aufnr "Internal order
lstar "Activity type
from bseg
into table gt_add_info
for all entries in gt_gl_detail
where bukrs = gt_gl_detail-rbukrs"Comcode from G/L acct detail
and buzei = gt_gl_detail-buzei "Doc item no. from G/L acct detail
and belnr = gt_gl_detail-belnr "Doc no. G/L acct detail
and gjahr = gt_gl_detail-gjahr."Fiscal yea
Can advise please how to make it faster. My internal table (GT_GL_DETAIL) has over 100000 records. ? thanks.I did a SQL trace, and saw that tables CSLA, CSSL, COKL and COKA are being hit with the values I entered inthe Activity type in transaction FB50.
Still not clear but where it gets stored. If in any of these tables, how do I get the object key? -
How to get Backend (R/3) system type
Hi team,
Currently backend (R/3) system details are maintained in SPRO ->Supplier Relationship Management ->SRM Server -> Technical Basic Settings -> Define Backend Systems. Here we maintain entry of logical system, its description, RFC Destination, system type and other fields. Values of backend systems are used at lots of place by referring table BBP_BACKEND_DEST quoting system type in where clause of select query. Currently values of system type are hardcoded as R3470 but now our backend (R/3) system is upgraded to ECC6.0 and this can happen later as well whenever SAP plans for new release.
So now we are looking how we can remove this hardcoding from select query so that whenever system is upgraded, this detail need not to be changed. Please suggest the place either table or function module from where we can get details for system type.
Thanks
SiddarthHello Siddarth,
When you have only one backend system, better way is to use BBP_GET_BACKEND_SYSTEMS function module instead of reading directly BBP_BACKEND_DEST table using SYS_TYPE as select criteria.
If more than one backend is linked to SRM, you have to use LOGSYS given by ET_LOGICAL_SYSTEMS table from function module above.
In this way, your logsys will be used as select criteria, depending on which backend must receive RFC call. It will be also hard coded in your select, but normally you never change a log system, contrary to system type (due to upgrade).
Regards.
Laurent. -
How to get values of complex data type specified in webservice wsdl file
I'm trying to retreive cid from a complex data type[b] course which I'm getting as response from the webservice, it throwing that cid is not valid .
<course>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
<syncbpelResponse xmlns="http://acm.org/samples">
<course>
<startDate xmlns="urn:cms_soa">2005-12-11T18:30:00.000Z</startDate>
<materialid xmlns="urn:cms_soa">234</materialid>
<cdescription xmlns="urn:cms_soa">learn spoken english</cdescription>
<instructorid xmlns="urn:cms_soa">145</instructorid>
<regEndDate xmlns="urn:cms_soa">2005-11-30T18:30:00.000Z</regEndDate>
<cid xmlns="urn:cms_soa">12222</cid>
<cfee xmlns="urn:cms_soa">1000.0</cfee>
<strength xmlns="urn:cms_soa">20</strength>
<currentStrength xmlns="urn:cms_soa">2</currentStrength>
<endDate xmlns="urn:cms_soa">2005-12-30T18:30:00.000Z</endDate>
<cvenue xmlns="urn:cms_soa">ELNET</cvenue>
<cname xmlns="urn:cms_soa">english</cname>
</course>
</syncbpelResponse>
</part>
</course>
I tried using
<from variable="course" part="payload" query="/tns:syncbpelRespons/tns:course/@cid"/>
but not at all accepting....
I 'll be thankfull if u send me a responseHi
This can not be done Vc only "sees" the returned data in the webservice, it can not access the meta data from the webservice.
Jarrod -
Hello,
i want to analyse a programe source code, so i want to get all variable declaration.
like in SE38->utilities->display list object, but in abap code.
can you please help me.Hi Yassir,
If ur program has TOP include then all global variables declarations will exist in this include. All local variables declarations exist with in the FORM.
Open ur program in SE80. Here u can see all objects of ur program like Fields(Variables), TYPES,Tables, Routines etc.
Thanks,
Vinod. -
How to Get MetaData to Show File Type?
In particular, I want to differentiate images stored as NEF, TIFF or Jpeg.
How do I use the MetaData Customization panel to indicate these?You might use color labels and assign them on import (assuming you import by file type).
The color labels are the most obvious indication in the Browser (and, less so, in the Viewer) of _something_. They are easy to see and easy to apply or change. What you map to the color labels is up to you. It should be something of top-most importance -- something you need to be able to tell at a glance. (Logically, you have to deal with having eight labels, and being restricted to assigning one and only one label per Image.)
I use color labels to indicate the current status of each Image's development. For you, the file type of the Image's Original might be more important. For me, just to give an example:
Color Kirbature Label
Red Develop! ✬
Orange Developing (not completed) ✣
Yellow Bracketed by Exposure Set/Replaced by Externally Edited ❊
Green Developed ✯
Blue Version for Sale. Final! ✼
Purple Detail of Developed ❃
Gray Abandon (but keep) •
Maybe you are looking for
-
The Document Information Panel was unable to load. The document will continue to open ?
I am using Sharepoint 2010; DIP in microsoft word all the while is working fine, not sure why suddenly it came out the following error when save word doc into sharepoint. ERROR MESSAGE =========== "The Document Information Panel was unable to load.
-
I need to wipe my MacBook Air's hard drive - how can I do it?
Looking to sell and upgrade and want to be secure!
-
Where can I buy a PC 300 or higher
I bought one a few years ago and now can't find one. My friend wants one but no luck anywhere, I see a picture of one like it on here just a different color but it don't give the option to buy it. I don't want to buy a different digital camera. I wan
-
Hi! We are facing the error message 8I 681 in the following condition: Created Debit Memo request and then Debit Note to the customer for excisable FG. No delivery. But when we create the excise document with J1IIN, system displays error message 8I 6
-
Is there way to bulk paste more then 100 records in edit mode?
I need to replace data in a few columns from my excel sheet into my sharepoint List. I have 24000 records and want to bulk copy and paste.... I am only able to do 100 at a time, because when I do more then 100 I get a "Unable to communicate with serv