Distinguish the scenario values in ERPI on the basis of the FLAG
Hi team,
I recently started working in ERPi.
I get data from Oracle EBS in Hyperion Planning with ERPi.
Now in EBS they habe two books (reporting entity) and in a book that they have 'Real accrual accounting', 'Budget' and 'Charge' with the same id of ledger, be distinguished by a flag field.
Now loading data using ERPi, I get the correct of 'real' value, but when I'm loading 'Budget' and 'Load' I have an incorrect value and on further investigation, I found that his takes a 'Real exercise' value and loading into 'Budget' and 'burden '.
now can you suggest a way where I can distinguish in ERPi on the basis of the indicator in EBS to load the data to the right place.
Thanks in advance.
Concerning
Anubhav Boitel
Hello Anubhav,
Data loading rules are defined by places and by category (which is mapped to your target scenario)
You can have a location with 3 data load rules, for the category real ERPI, another for the Budget and the other for support. In order to map your categories ERPI you HP scenario, you need to configure mappings of Application category for the three categories you have.
About your type of source of balance, you select when you create the rule to load data (Type of field Source Balance)
So, you will have 1 location with 3 data load rules:
-Data load rule 1: ERPI category SPENDING REAL + Source Balance Type = REAL
-Data load rule 2: ERPI category BUDGET + Source Type = BUDGET Balance
-Data load rule 3: category ERPI CHARGE + Source Balance Type = LOAD
These are the basis. If you need a place more or less categories, you can do it as well.
I hope that clarifies.
Tags: Business Intelligence
Similar Questions
-
Have to reset the flag of string value
Hello everyone
I'm trying to reset the flag of string value.
I use node string indicator property to change the color, its evolution, but when the program runs again it should start default how to do it. Thanks in advance
Here, it's in 2009
-
How to distinguish the figures and characters from a string
I am looking for a simple way to do this or any built-in subVIs that can do this.
I have 3 strings "1234c", "ab3dc". 'XYA', I want to identify those who have numbers and to reclaim all of the numbers. So an important step is to distinguish the character numeric and non-numeric characters. How can I do it in Labview with subVIs integrated?
Thank you
[0-9] is looking for a number, "+" makes the search for 1 or more of them (it is "greedy", so it will get as many as there are has). I added a rope in addition to your list to show that the Pattern Match will match only the first instance of a number. If there's a chance you have data as the last element that you need to run it in a loop. Decimal string number can also work if a figure is the first character that it finds.
-
Hi Expert,
How to distinguish the physical interface and logic (subinterface) interface to the Cisco router/Switch? Can you please clarify a formal way for this so have?
A physical interface is numbered with the same name of the interface when printing on the physical port. For example "GigabitEthernet 0/1" corresponds to port 1 of the 0 module (or the base unit).
A logical interface can be a subinterface on a routed port and will have a point ("". "") preceding the number sous-interface (ex. GigabitEthernet 0/1.1). It can also be a loop or a virtual interface (on a router this could also include interfaces like the tunnel and virtual tunnel or VTI types). A switch may also have a VLAN logical interfaces (e.g. interface vlan 1) which are used as layer 3 virtual interfaces of type.
-
How to distinguish the events within an EventHandler?
Hi all,
being a newbe in JavaFX I try to distinguish the different eventtypes.
I try to produce a MouseEventHandler accepting soe as MOUSE_DRAGGED and MOUSE_PRESSED events
for the calculation of how mouse took and use it to translate my graphics nodes.
I still don't really understand what is the correct syntax.
something like
If (event.getEventType instanceof MouseEvent.MOUSE_PRESSED ())
{
...
}
obviously does not work.
something like
switch (event... getEventType())
{
case MOUSE_PRESSED:
...
}
also isn't the right way.
Is it possible to tell them apart?
Thank you very much in advance
Malta
if (event.getEventType() == MouseEvent.MOUSE_PRESSED) { // ... }
should work.
I've never done this, fwiw. I always just save different implementations of listener for different event types:
node.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler
() { @Override public void handle(MouseEvent event) { // handle mouse pressed } }); node.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler () { @Override public void handle(MouseEvent event) { // handle mouse released } }); In Java 8 this will get much less verbose (using lambda expressions).
-
How to set the flag for the first 3 days
Hi all
I have a table with a complete list of April and may 2015 date month and his working days (just for example, I have included only in April and may 2015 data but the table has data for 20 years since 2000).
Below is the table create and insert scripts for complete data.
CREATE TABLE dates_dim(day DATE, business_day NUMBER, month NUMBER, day_of_week VARCHAR2 (100)); Insert into DATES_DIM Values (TO_DATE('05/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('04/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 21, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 22, '201504', 'THURSDAY '); COMMIT;
I'm looking for a select statement that defines the indicator 'Y' for April records months and "n" for records in may for the first 3 days of the request. Here's the difficult thing, the results should vary depending when they run the select query.
For example:
Scenario-1: If I run the SQL code may 1st, 2nd, 3rd, 4th, or 5th (with in the first 3 days), FLAG must be set on 'Y' for records in April and "n" for records in May.
Scenario 2: If I run anywhere between May6th 31, FLAG must be set to ' do for April month and 'Y' for records in May.
Search results for scenario 1 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'Y' else 'N' end flag from dates_dim;
Results for the scenario-2 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'N' else 'Y' end flag from dates_dim;
Please let me know if it is confusing. Thank you.
Hello
Thanks for posting the CREATE TABLE and INSERT statements; It's very helpfu.
Month article it should really be a DATE, not a NUMBER. This issue (and many others) would be simpler and more effective it was a DATE, rather than a NUMBER, since it must be compared with the DATEs.
As the month is a NUMBER, do not insert VARCHAR2 values, such as '201505', in it.
Why is-day_of_week 100 characters? The longest name in English ("WEDNESDAY") is 9 characters. Day_name fairer apply in trouble.
Here's a way to do what you asked:
DEFINE SYSDATE = "DATE" "2015-05-05.
DEFINE SYSDATE = "DATE" "2015-05-06.
WITH got_effective_month AS
(
SELECT TO_NUMBER (TO_CHAR (ADD_MONTHS (& SYSDATE
CASE
WHEN COUNT (*)<=>=>
THEN-1
0 OTHERWISE
END
)
, "YYYYMM.
)
) AS effective_month
OF dates_dim
Day WHERE BETWEEN TRUNC (& SYSDATE, 'MONTH')
AND & SYSDATE
AND business_day > 0
)
SELECT d.
CASE
WHEN month = e.effective_month
THEN 'Y '.
ANOTHER "N".
Flag of the END as the
OF dates_dim d
CROSS JOIN e got_effective_month
ORDER BY d.day
;
I used the proxy & SYSDATE to test. In Production, you will use the SYSDATE function instead.
A calendar table, like days_dim, is really a good idea. You may consider adding a column business_day_count cumulative, a NUMBER that increments of 1 every day business. To find out how many days passed since any day x (for example, the 1st of this month), you would only need extract the 2 rows in the table: line x and the line today.
-
How to use the flag to Yes and no quick formulas
In the formula below, I try to calculate the netpay for an employee, based on the flag that was created in the section input value of the element called home retention amount and the input value are the amount to pay and the 20 percent retention that has or not to select from the LOV.
Now, the formula is not computer (when RET_FLAG = "Yes"). can someone let me know why its not doing what I want to do?
============================================================
ALIAS FINAL_BENEFIT_BALANCE_ASG_RUN AS FINAL
ALIAS HOUSE_RETENTION_AMOUNT_RETENTION_20_PERCENT_ENTRY_VALUE AS RET_FLAG
Default for FINAL is 0
The default for RET_FLAG is 'yes '.
the entries are Pay_Value (Number)
FINAL = SYSTEM1
If RET_FLAG = 'no' then
(
Pay_Value = 0
)
If RET_FLAG = "Yes" then
(
Pay_Value = (definitive1) * RETENTION_RATE
)
RETURN Pay_Value
========================================
Please help gurusUse 'Y' and 'n' instead of 'Yes' and 'No' respictively.
HTH
-
HOW TO MOVE THE FLAG POINT MAP, MIRCOSOFT 2013
HOW TO MOVE THE FLAG POINT MAP, MIRCOSOFT 2013
Hello
It is not a Community Forum for MapPoint.
Ask here
Highway, Streets & Trips, MapPoint Forum:
http://social.Microsoft.com/forums/en-us/streetsandtrips/threadsOther Support options (not free)
Support for MapPoint, streets & trips and Highway:
http://support.Microsoft.com/ph/851Don
-
HOW TO MOVE THE FLAGS IN MICROSOFT MAP POINT 2013
HOW TO MOVE THE FLAGS IN MICROSOFT MAP POINT 2013
I suggest that ask you in this Microsoft forum:
Highway, streets and Trips, MapPoint .
Thank you.
-
Selection of records based on the flag
Hi all
I have records as follows:
Program name Effective_Date Valid_Flag
N 10/02/2012 ABCD
N 14/02/2012 ABCD
ABCD 20/02/2012 Y
N 01/03/2012 ABCD
N 10/03/2012 ABCD
ABCD 14/03/2012 Y
N 25/03/2012 ABCD
N 26/03/2012 ABCD
N 27/03/2012 ABCD
N 28/03/2012 ABCD
N 29/03/2012 ABCD
ABCD 25/04/2012 Y
I have to write a select statement to keep the first record and then only pull records when the Valid_Flag has changed. The result set should be as below.
Program name Effective_Date Valid_Flag
ABCD 10/02/2012 N - I kept the first record
20/02/2012 ABCD is - Valid_Flag chages to a Y for the first time and so on.
N 01/03/2012 ABCD
ABCD 14/03/2012 Y
N 25/03/2012 ABCD
ABCD 25/04/2012 Y
If there is no change in the flag, I don't have to draw from this record. Please help with suggestions of SQL. Thanks for your time and your help.ssk1974 wrote:
Hi allI have records as follows:
Program name Effective_Date Valid_Flag
N 10/02/2012 ABCD
N 14/02/2012 ABCD
ABCD 20/02/2012 Y
N 01/03/2012 ABCD
N 10/03/2012 ABCD
ABCD 14/03/2012 Y
N 25/03/2012 ABCD
N 26/03/2012 ABCD
N 27/03/2012 ABCD
N 28/03/2012 ABCD
N 29/03/2012 ABCD
ABCD 25/04/2012 YI have to write a select statement to keep the first record and then only pull records when the Valid_Flag has changed. The result set should be as below.
Program name Effective_Date Valid_Flag
ABCD 10/02/2012 N - I kept the first record
20/02/2012 ABCD is - Valid_Flag chages to a Y for the first time and so on.
N 01/03/2012 ABCD
ABCD 14/03/2012 Y
N 25/03/2012 ABCD
ABCD 25/04/2012 YIf there is no change in the flag, I don't have to draw from this record. Please help with suggestions of SQL. Thanks for your time and your help.
In the future, it would be nice if you could provide the sample data as below, I created.
ME_XE?with data as 2 ( 3 select 'ABCD' as col1, to_date('2/10/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 4 select 'ABCD' as col1, to_date('2/14/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 5 select 'ABCD' as col1, to_date('2/20/2012', 'mm/dd/yyyy') as col2, 'Y' as col3 from dual union all 6 select 'ABCD' as col1, to_date('3/01/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 7 select 'ABCD' as col1, to_date('3/10/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 8 select 'ABCD' as col1, to_date('3/14/2012', 'mm/dd/yyyy') as col2, 'Y' as col3 from dual union all 9 select 'ABCD' as col1, to_date('3/25/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 10 select 'ABCD' as col1, to_date('3/26/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 11 select 'ABCD' as col1, to_date('3/27/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 12 select 'ABCD' as col1, to_date('3/28/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 13 select 'ABCD' as col1, to_date('3/29/2012', 'mm/dd/yyyy') as col2, 'N' as col3 from dual union all 14 select 'ABCD' as col1, to_date('4/25/2012', 'mm/dd/yyyy') as col2, 'Y' as col3 from dual 15 ) 16 select * 17 from 18 ( 19 select 20 col1, col2, col3, 21 lag(col3) over (partition by col1 order by col2 asc) as last_flag 22 from data 23 ) 24 where last_flag != col3 25 or last_flag is null; COL1 COL2 COL LAS ------------ -------------------------- --- --- ABCD 10-FEB-2012 12 00:00 N ABCD 20-FEB-2012 12 00:00 Y N ABCD 01-MAR-2012 12 00:00 N Y ABCD 14-MAR-2012 12 00:00 Y N ABCD 25-MAR-2012 12 00:00 N Y ABCD 25-APR-2012 12 00:00 Y N 6 rows selected. Elapsed: 00:00:00.08 ME_XE?
See you soon,.
-
vector of the flags of the nations of the world
Hello
I'm looking for a vector file with the flags of 'all' (some) countries in the world.
UM...
JPD
Wikipedia also has SVG to all (or almost) of them.
-
Is it possible to apply/remove the flag
Hello
is it possible to apply/remove the flag?
Rgds - Anders
No, it isn't.
-
Put a symbol of the flag in the flag column
Hello
I'm putting the symbol of a flag, the flag should change color according to the criteria for conditional formatting mentioned in the application. No idea how to do this.
Rgds,
AmitHi Amit,
You can also use images (standard), when you use the conditional formatting. Check the properties of the column.
Good luck
Daan Bakboord
http://obibb.WordPress.com -
How to distinguish the samples from 6 different inputs analog
Hello everyone, I'm still new to NOR-DAQmx. I write a C++ program that reads 6 analog inputs of the card PCI-6220.
Basically, I created 6 virtual channels in a single task, looks like I'm acquisition of required inputs.
However, the problem is that I don't know which sample comes from what analog input channel. I put the fill mode "DAQmx_Val_GroupByChannel".
Please help me, how can I distinguish between samples of different analog inputs.
Best regards from Kazakhstan,
Khassan
Khassan,
Channel order would be decided in the order in which you added your channels to the task. So let's say I create a task and adds three channels and add them in the order ai0 ai1 and ai2. If I set the fill to "DAQmx_Val_GroupByChannel" mode, DAQmxRead will copy data in "readArray' such that ai0 data all together, followed by the data of ai1, which is followed by the data of ai2. The size of each of these sections of the buffer must be returned through the 'sampsPerChanRead' argument to read. So if were to call read and DAQmx returned 5 for "sampsPerChanRead", then my data buffer would look like this:
AI0, ai0, ai0, ai0, ai0, ai1, ai1, ai1, ai1, ai1, ai2, ai2, ai2, ai2, ai2
Hope that helps,
Dan
-
Distinguish the wheel trackball click OS v4.1
I wish that my application for manage easily clicks trackball on devices, which provide a special touch to access the menu. However, I still work on older devices on wheel, which is not a separate menu key.
To this end, I noticed that I can start by replacing the Screen.trackwheelClick () method. However, I would like to find a way to tell the difference between the wheel and trackball clicks and do not use magic numbers in my code.
My own quick test found that the status of trackwheelClick() parameter is different on the two types of devices. With a 7100t (wheel), its "17039360" and with an 8820 (ball), his "536870912. If I converted to binary, the two following numbers look quite clean. However, I prefer to use constant official APIs for my checks in trackwheelClick().
Any recommendations?
Hello
The substitution of Screen.trackwheelClick () is not recommended for various reasons, including the fact that it can be called internally by other events such as the invocation of the menu buttons, etc.
An elegant way to support/differentiate wheel vs. use of the trackball with a unique construction is to check the instance of the Screen.onMenu () event parameter. On a trackball device this value will be 65536 when it is clicked on the trackball or 1073741824 when the button main menu is used (default = 0 for devices on the wheel). So, you can implement your logic as below. This also has the effect that the menu will also be displayed in the correct location on the display depending on whether you click the main menu button (menu left) vs trackball (context menu, at the bottom) or menu knob (in the top right menu). You can of course replace one of these to the capture and the action just click (by wheel or trackball).
private final static int MENU_CONTEXT = 65536; private final static int MENU_MAIN = 1073741824; public boolean onMenu(int instance) { if (instance == MENU_MAIN) //main menu button pressed, display menu bottom left { super.onMenu(instance); return false; } else if (instance == MENU_CONTEXT) //trackball click (context menu, display bottom) - override here { return openItem(); } else //trackwheel click, display main menu top right (or override if required) { super.onMenu(instance); return false; } }
Hope that helps,
James
Maybe you are looking for
-
one of the three conditions, return true
I just saw the GOLD (Boolean Express) where if one of the TWO conditions, then return true to stop the labview. Y does it have that provides all Boolean Express if one of THREE conditions met, return true?
-
HP Envy Touchscreen M7-J120dx: more memory for HP Envy Touchscreen m7-j120dx
I bought the laptop from Best Buy last year: http://support.HP.com/us-en/document/c04094897 I'm trying to understand if the 8 GB of memory that came from the factory in the laptop is 2 separate 4GB memory modules or a single module of memory 8 GB? Th
-
My question is very simple. I tried all the options I could think for my printer detect the alignment page and it is still unable to detect the page. Can someone who has had the same problem please send me a list of recommended procedures to solve th
-
Startup error message: UNMOUNTABLE_BOOT_VOLUME
Bit of the OS Vista Home Premium32 I cannot restart my computer... do not have a spare drive, and it does not start in safe mode, despite numerous attempts to push the F8 key at startup. Any suggestions on how to restart in safe mode or any other mod
-
2.4 ghz disabled, try to connect at 5 ghz, no signal from the router
Tried switching to 5.0 on the 192.168.1.1 page and no I have no signal from my router on any of my devices. Internet is fine.