Set of unique controls within array
Is it possible to get a set of unique, individual controls with different ranges within an array of controls?
This is not the default operation.
For example, I'm using Analog Output VI with Fieldpoint AO module.
I have distinct scaling on each channel and need controls whose ranges fit each individual scale.
I don't want to create a separate VI for each channel one the AO module. Surely that's not necessary.
Hello Wes,
It sounds to me like you are trying to configure these ranges such that your user cannot select values that are outside of an acceptable range. If this is the case, then a cluster control on the front panel would allow you to individually control these input ranges. Using the cluster to array function, you will then convert the user's selection to a numeric value in an array. As you have seen, you can then write these values to the FieldPoint VIs as an array. Because those values are inherently within the ranges specified, it should not matter that the individual array elements are not configured for range.
I hope this information is useful for you. Please post back if I have misunderstood your application. Thanks,
Mike D.
National Instruments
Applications Engineer
Similar Messages
-
As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
JS version:
var oLayout = new sap.ui.commons.layout.MatrixLayout({
id : 'matrix3'
columns : 3,
width : '600px',
widths : ['100px', '200px', '300px']
XML version:
<l:MatrixLayout
id="matrix3"
columns="3"
width="600px"
widths="['100px', '200px', '300px']">
<l:MatrixLayout>
The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.Hi,
any settings that are not possible in the XML, need to be set in the controller instead.
Using the string value of an enum is fine, though.
Regards
Andreas -
Event structure to detect value change of a control within a cluster in an array
I have 1D array that contains a cluster. The cluster contains a numeric and a boolean control.
If the user starts to edit the numeric control value i would like to call one subVI, and if the boolean control value is changed, call a different subVI.
The array control on the front panel allows the user to edit a number of the array elements.
I would like to use an event structure to detect a value change in the cluster. When editing the Events, in the Event Sources panel i get the option to select only the array, not the cluster within the array or the controls within the cluster. Can the Event structure be opened up to show controls within clusters and arrays?
The solution i am using is to detect a mouse up event on the array and then use property nodes to determine if the key focus is on the numeric, and a case structure to determine which subVI to call. This works, but is there a better (simpler) way?
Thanks, Blue.Thanks for the responses guys.
The tricky bit was that i wanted the numeric control values to flag they were going to be edited, so i could call a subVI, before their values were changed by the user. This is done by using the key focus property node, - i need to detect changes on the fly rather than post the event. Probably didn't make this clear enough in my original post.
The array is of variable size depending on if the user decides to insert or delete elements. The user also has the option to click and edit the array without having to do to much scrolling through the array index, as the FP shows several elements at a time. The Event Structure does a good job of automatically determining which element in the array is being edited, and returning those values to the property nodes. Turned out simpler than i thought it might be at one point!
Cheers, Blue.
Message Edited by BlueTwo on 01-15-2009 06:52 AM
Attachments:
evstrct1.jpg 63 KB -
Creating a list of unique values within a range.
I have a huge data set I am working with and need to do two things.
First I need to get rid of any repeat entires, which there are many.
Second, and more importantly, I need to generate a list of unique values within a column for which I have no idea what the number or sort of values might be. For instance, say the column contained flavors of ice cream, I am looking for a formula that can return an array of the flavors listed.
Can either of these two things be done in numbers?CJ Eder wrote:
I have a huge data set I am working with and need to do two things.
First I need to get rid of any repeat entires, which there are many.
If entries are in column B starting from B2
In C2 enter the formula:
=IF(COUNTIF($B$1:$B1,B)=0,B,"")
and apply fill down.
You will get a single copy of existing entries.
Select the column C
Copy to Clipboard
Paste in column C
Sort on column C
delete the rows whose cell of column C is blank.
If I understand well, the same protocol apply to your second request.
Yvan KOENIG (from FRANCE mercredi 15 juillet 2009 21:32:30) -
Set of Unique Codes in the Last 24 hours.
Hello. I am trying to figure out a rather confusing calculation and some advice will be greatly appreciated.
I have a table that has the following fields:
Person_ID,
Event_Timestamp,
Event_Code_1,
Event_Code_2,
Event_Code_3
So the table should look like this:
Person_ID | Event_Timestamp | Event_Code_1 | Event_Code_2 | Event_Code_3 |
00001 | 2002 01 01 12:00 AM | A | B | |
00001 | 2002 02 01 12:00 AM | A | B | |
00001 | 2002 03 01 12:00 AM | B | A | C |
00001 | 2002 04 01 12:00 AM | D | B | |
00002 | 2002 02 01 12:00 AM | A | B | |
00002 | 2002 03 01 12:00 AM | A | B | |
So what I want to construct is a variable NUM_UNIQUE_CODES_IN_LAST_2_MONTHS
per Event per Person_ID within the last 2 months.
Person_ID | Event_Timestamp | Event_Code_1 | Event_Code_2 | Event_Code_3 | MyVar
00001 | 2002 01 01 12:00 AM | A | B | | 2
00001 | 2002 02 01 12:00 AM | A | B | | 2
00001 | 2002 03 01 12:00 AM | D | A | C | 5
00001 | 2002 04 01 12:00 AM | D | B | | 4
00002 | 2002 02 01 12:00 AM | A | B | | 2
00002 | 2002 03 01 12:00 AM | A | B | | 2
How do I go about selecting a unique set of Event_Codes across columns over a time frame (2 months)?
I need help with the <> part of the following SELECT statement.
SELECT
SUM(<over the set of unique codes over multiple code columns and the respective rows>)
OVER (PARTITION BY Person_ID
ORDER BY Event_Timestamp
RANGE BETWEEN INTERVAL '2' MONTH PRECEDING AND CURRENT ROW)
AS NUM_UNIQUE_CODES_IN_LAST_2_MONTHS
Your help is greatly appreciated.
X.Denormalization is not the only issue. Another issue is trying to get distinct, since analytic functions with windowing clause (ORDER BY) do not allow distinct. Therefore, we have to:
SQL> COLUMN Person_ID FORMAT A9
SQL> COLUMN Event_Timestamp FORMAT A28
SQL> COLUMN Event_Code_1 FORMAT A12
SQL> COLUMN Event_Code_2 FORMAT A12
SQL> COLUMN Event_Code_3 FORMAT A12
SQL> SET LINESIZE 132
SQL> WITH tbl AS (
2 SELECT '00001' Person_ID, cast(to_date('2002 01 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp) Event_Timestamp,'A'Event_Code_1,'B'Event_Code_2,NULL Event_Code_3 FROM DUAL
3 UNION ALL
4 SELECT '00001',cast(to_date('2002 02 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp),'A','B',NULL FROM DUAL
5 UNION ALL
6 SELECT '00001',cast(to_date('2002 03 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp),'B','A','C' FROM DUAL
7 UNION ALL
8 SELECT '00001',cast(to_date('2002 04 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp),'D','B',NULL FROM DUAL
9 UNION ALL
10 SELECT '00002',cast(to_date('2002 02 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp),'A','B',NULL FROM DUAL
11 UNION ALL
12 SELECT '00002',cast(to_date('2002 03 01 12:00 AM','YYYY MM DD HH:MI AM') as timestamp),'A','B',NULL FROM DUAL
13 )
14 SELECT Person_ID,
15 Event_Timestamp,
16 Event_Code_1,
17 Event_Code_2,
18 Event_Code_3,
19 (
20 SELECT COUNT(DISTINCT Event_Code)
21 FROM (
22 SELECT Person_ID,Event_Timestamp,Event_Code_1 Event_Code
23 FROM tbl
24 UNION
25 SELECT Person_ID,Event_Timestamp,Event_Code_2 Event_Code
26 FROM tbl
27 UNION
28 SELECT Person_ID,Event_Timestamp,Event_Code_3 Event_Code
29 FROM tbl
30 ) t2
31 WHERE t2.Person_ID = t1.Person_ID
32 AND MONTHS_BETWEEN(t1.Event_Timestamp,t2.Event_Timestamp) >= 0
33 AND MONTHS_BETWEEN(t1.Event_Timestamp,t2.Event_Timestamp) < 2
34 ) AS CODES_IN_LAST_2_MON
35 FROM tbl t1
36 /
PERSON_ID EVENT_TIMESTAMP EVENT_CODE_1 EVENT_CODE_2 EVENT_CODE_3 CODES_IN_LAST_2_MON
00001 01-JAN-02 12.00.00.000000 AM A B 2
00001 01-FEB-02 12.00.00.000000 AM A B 2
00001 01-MAR-02 12.00.00.000000 AM B A C 3
00001 01-APR-02 12.00.00.000000 AM D B 4
00002 01-FEB-02 12.00.00.000000 AM A B 2
00002 01-MAR-02 12.00.00.000000 AM A B 2
6 rows selected.
SQL> SY. -
How do I set up parental controls on my apple account, I want to censor the books that she's dowloading. We use the same account Thanks!
Turning off in-app purchases and the App Store itself would be the best bet for you. You can always unlock these features as needed and lock them again.
Apart from restricting purchases, there are a number of other restrictions you can setup. You can even setup a safe browser with remote parental controls from the App Store, like the one from Mobicip. You may find this tutorial to be helpful: How to setup Parental Controls on the iPad.
Hope this helps.
Disclaimer: This response is posted by a Mobicip representative who may stand to gain indirectly from it. -
Set cursor in Control String component
Hello:
I would like to set cursor in "Control String" automatically when I open my VI. If I open my VI, cursor should be seen automatically in the text field of "Control String". The user hasn`t set cursor by mouse into this field. Has anybody an idea how can I do?
Thanks!Create a property node for the control on your block diagram and set the Key Focus property value to TRUE.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/ctrl_key_focus/
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
When I try to set up Icloud control panel in Windows Vista, I get "your setup couldn't be started because the Icloud server stopped responding. I've tried loads of fixes suggested on the net but none worked. Can anyone help me please?
Hello, ksb2.
Thank you for visiting Apple Support Communities.
We are investigating this issue. This article will be updated as more information becomes available.
iCloud: iCloud Control Panel setup cannot be started
http://support.apple.com/kb/TS5178
Cheers,
Jason H. -
In illustratorCC2014, I tried to configure the use of the GPU of the new features.
I have installed the java.
I have a 3D set in navidia control panel.
illustrator CC2014 will not start.
I have not repaired even if you restored in navidia control panel.
I will add information here. HP Z400 Workstation, windous7Pro, NAVIDIA Quadro 2000, Intel Xeon CPU W3565 3.2GHZIn illustratorCC2014, I tried to configure the use of the GPU of the new features.
I have installed the java.
I have a 3D set in navidia control panel.
illustrator CC2014 will not start.
I have not repaired even if you restored in navidia control panel.
I will add information here. HP Z400 Workstation, windous7Pro, NAVIDIA Quadro 2000, Intel Xeon CPU W3565 3.2GHZ -
CProjects - Set-up field control - Usage of conditions
Hello
In cProjects, in set-up field control it is possible to adjust behavior (display, updatable, mandatory, u2026) field by field.
My questions are:
- Where to find the complete list of conditions available?
- Is any condition is usable everywhere, for example C001 Object is released on a DAG Document (means the object link to this document is released)?
- Is there a condition with a meaning like u201CThe object is in creationu201D (to have for example a phase description not updatable after creation)?
- How to create its own conditions?
Thanks for your help.
Rémy
Here you can find a list of conditions for the main objects.
CTO (Checklist) C001 Object is released
ITO (Checklist Item) C001 Object is released
MTG (Project Participant) C001 Object is released
PPO (Phase) C001 Object is released
TTO (Task) C001 Object is released
MTG (Project Participant) C002 CATS is active
TTO (Task) C002 CATS is active
TTO (Task) C004 Confirmation for task
MTG (Project Participant) C005 Role start and finish are specified
ITO (Checklist Item) C006 Object has a superior phase
TTO (Task) C006 Object has a superior phase
TTO (Task) C007 Phase without approval
TTO (Task) C008 Appr. is in process, granted, rejected
CTO (Checklist) C009 Ind. 'Changeability' to 'Cannot Be Chgd'
ITO (Checklist Item) C009 Ind. 'Changeability' to 'Cannot Be Chgd'
CTO (Checklist) C010 Ind.'Changeability' to 'Partlly Chngble'
ITO (Checklist Item) C010 Ind.'Changeability' to 'Partlly Chngble'
PPO (Phase) C011 Project Type 'Initiative'
PPO (Phase) C015 Constraint: As soon as possible
TTO (Task) C015 Constraint: As soon as possible
ITO (Checklist Item) C016 Constraint: As late as possible
PPO (Phase) C016 Constraint: As late as possible
TTO (Task) C016 Constraint: As late as possible
ITO (Checklist Item) C017 Constraint (Finish Date): None
PPO (Phase) C017 Constraint (Finish Date): None
TTO (Task) C017 Constraint (Finish Date): None
TTO (Task) C018 Task is a summary task
TTO (Task) C019 'Remaining Work Man.'indicator is active
TTO (Task) C020 Object is part of a project version
ITO (Checklist Item) C030 Access to Forecasted Dates
PPO (Phase) C030 Access to Forecasted Dates
TTO (Task) C030 Access to Forecasted Dates
OAG (Object Link) C100 Object has not been specified yet
RAG (Checklist Reference) C200 Checklist reference was created
ATO (Approval) C300 Approval has the status: Created
EAG (Project Element Link to Role) C400 Status: Staffing in Process/Complete
MTG (Project Participant) C500 Status: Staffing in Process/Complete
MTG (Project Participant) C501 Confirmation for project role
BAG (Link to Business Partner) C502 Distribution is active
MTG (Project Participant) C502 Distribution is active
MTG (Project Participant) C503 Status: Staffing in Process
MTG (Project Participant) C504 Cost/revenue rate is initial
TTO (Task) C504 Cost/revenue rate is initial
MTG (Project Participant) C505 Org. Unit (Staff. Manager) is changeable
MTG (Project Participant) C506 Org. Unit (Cand. Manager) is changeable
MTG (Project Participant) C507 Staffing Manager is changeable
MTG (Project Participant) C508 Candidate Manager is changeable
SAO (Individual Approval) C600 Approval allows decision maker change
DAG (Document) C700 cProjects file is checked out
DAG (Document) C701 Plug-in for documents is used
DAG (Document) C702 Document has status 'Not in Process'
DAG (Document) C703 Document is changeable
DAG (Document) C704 Link to document template
DAG (Document) C705 Document in projekt-/checklist template
DAG (Document) C706 cProj. file is checked by current userHi Matthias
I am trying to setup field control to make a bespoke field in a bespoke tab toggle between READ only and Editable.
I have gone through number of posts and the SAP note you mentioned. I have setup the entire configuration required and it is still not working.
What confuses me is that, to setup a field control dynamically, is it all done via configuration?. Is some coding still required in the VIEW methods?. I am setting up a debug breakpoint in the class method that is created for the condition I created, but the program is not stopping there so I think the condition method is not being called.
Please can you give some more details.
Thanks
Raj -
Set Up Confirmation Control on PO's.
Dear Colleagues,
I am looking into setting up confirmation control for PO's.(MM>Purchasing>Confirmations>Set Up Confirmation Control)
I've been reading in the IMG notes that "Once you have set up the confirmation control facility in a production system, you should not make any changes to the relevant settings. Changes to the Customising settings can lead to data inconsistencies in your system (e.g. incorrect MRP-relevant quantities)"
For those of you who have configured this,can you share some experiences?
There is no flag set for checking the comfirmed date for ME91F, in our Plant,so I need to be setting the flag...what are my options,as well please?
All help is appreciated,
PAPJ1Hi,
In the config documentation for the Purchase Confirmation Keys it is
recommended by SAP not to change any setting in the Confirmation
Control Keys .
For example after a good receipt the field confirmation key
is greyed, and the reason is that there is a link between the
confirmations and the GRs. If you change the confirmation control key
this link can get lost (the link is the field ETENS in tables EKES and
EKBE). If this would be possible you would get a lot of inconsistencies
in the system.
See also note 451060 which contains the changing of the customizing
of the confirmation control key, which is nearly the same as if you
would be able to change the control key in the purchase order after
a goods receipt.
I hope this answers
Best Regards
Nadia Orlandi -
Is it possible to set up parental control in MultiPoint Server 2012?
Hello everyone!
Is it possible to set up parental control in MultiPoint Server 2012. I'd like to filter adult web sites.
Kind regards,
PavelI found an issue with Multipoint Dashboard that when student select to signout and then select "Cancel" to signout to go back to the session, the Multipoint Dashboard filtering is no longer applied to the session.
here is the scenario -
- Student login to the Multipoint server using the end point device as an standard user.
- The Multipoint Dashboard has the configuration to "limit the website to all desktop". "cnn.com" only
- The student session, limits the use of the web browser to only to cnn.com - this is working.
- Studen open an app like notepad - click save --> prompted him to where to save the file.
do not save the file. leave the "Save as" windows open.
- Click Start (left bottom corner)
- Click the account’s name on the top right corner, Click Sign Out
- It will prompt you with a warning that there is a file open and needs to be saved
- "Signout anyway" or "Cancel"
- student select to "Cancel"
- He is now back to the session
This will allow the student/account logged in to bypass the web filtering -
Why cannot I view my passwords in keychain after having set up parental controls?
I used to be able to open keychain, click on any particular key, click on the box "view password" and see the password after entering my administrator name and master password. Then, I set up parental controls on my macbook pro because I got tired of seeing all the pornographic ads and such that would often pop up when I did a google search. Now, any time I need to see one of my passwords, I only get a dialog box stating that "access is denied." Any ideas on how to solve this frustrating problem?
hello gstout, you can use the no squint extension - it allows you to set a global zoom level for all sites: https://addons.mozilla.org/firefox/addon/nosquint/
-
How to set up parental controls in itunes
I am trying to set up parental controls in itunes. I'm confused, as it says to set it up on the administrator account - but we only have one account. Please help.
If it is like mine, try this; At the top, click on edit and go to preferences. This will open choices for you and you will see parental controls. Click on parental controls and then click on the padlock in the lower left hand corner. The rest is self explanatory.
-
Set up Business Connector within SAP ERP 2005
Hello!
Which SPRO-Activity is responsible for setting up Business Connector within SAP ERP 2005 (only ABAP-Stack)?
What is the effort should be regarded for this issue?
Thank you very much!
regards
ThomHi Tony,
are you using gcj from Red Hat as Java? You can check this by
rpm -qf `which java`
This should point to either Sun JDK 1.4.2 for i386 and IA64 or IBM JDK 1.4.2 for x86_64
Thanks,
Hannes
Maybe you are looking for
-
Hello everyone, I have the iPhone version 4.3.3 and I want to update to the latest iPhone software. With this version, I can only update through iTunes. When I plug in my phone to my computer and select the update option through iTunes, it sends an e
-
Hi Gurus We are on ECC 6.0. We would like to generate the following reports in SAP: 1. S_ALR_87012142 - Postcard Printout of 1099 Vendor Addresses for Tax Code Request 2. S_ALR_87012143 - 1099 Listings 3. S_PL0_09000314 - 1099-Misc 4. S_ALR_87012145
-
What are the 4 settings in ZoneAlarm FREE 7.1.248.000
ZoneAlarm FREE has 4 settings it needs answered: ACCESS & SERVER, each with INTERNET & trusted ZONEs... ...so what should Bonjour Service mDNSResponder.exe firewall settings be under ZA ??? Thanks
-
Hi All , One of our distributed query is running slow. On further analysys we found that as query switches between different instances , because of GCS waits its taking time. If we connect to only single node , it is running well as there were no GCS
-
Is there anything like this in Linux?
http://lifehacker.com/5351737/winlayout - our-numpad Sounds interesting ...... MrG