How to take specific values of a 2d array
Hi all
I have a 10 X 10 reasult 2d chart. for example:
1 2 3 4
5 6 7 8
9 10 11 12
and I want a specific values in the table / say 1,3,7 and 10 (there is no reason given to work with..)
I used the IndexArray, but because it's about 20 values, it is hell to change and to debug the hell...
Is there a more elegant way to do it?
Thank you!
(this is a great forum, this is my first time ask your question, but I followed you for a while!)
You can drag the array index down function, by creating something that looks like this:
That will allow you at the exit of the multiple elements of the same array, putting in each other simultaneously prepare for clues. If you want to make it easier to debug, make the index entries, name them effectively and group them in x, y pairs.
You can also do an array of Boolean and can select the indices you want. It makes more sense if your clues must be selected graphically.
Tags: NI Software
Similar Questions
-
How to take a field value in a table?
How to take a field value in a table? its urgent...
I recommend you read up a bit on JS. These are standard questions that are not
associated with Acrobat, as such.
I recommend this site: http://www.w3schools.com/js/default.asp
Specifically, to answer your question, you can use the join() method.
See here: http://www.w3schools.com/jsref/jsref_join.asp
You can then convert this string to a number using the number I
described previously.
-
How to round a number to a specific value and not to a certain number of decimal places
Hello
I'd round up the numbers according to a grid.
Let's say I have a grid of 6 between 3 and 4 (3.0 3.2 3.4 3.6 3.8 4.0)
I'd round up to the nearest number in the grid, so if I choose 3.7125, it will turn to 3.8.
I found already in the forum how to round decimal degree, but not in my approach.
You know to force rounding to the nearest of the grid.
I thought a ramp up to make the grid then interpolate the number and use its index to round. But I don't know that there is a much easier way.
Thank you
Zied
These ideas, everything seems to work if you try to round up to a set of specific values. But you must set specific values for all the possibilities.
If you want to round to a given interval, there is an easier way to do it.
If you want to round each 0.2. Divide your number of this interval. Round to the nearest integer. Multiply your number of this interval.
If you need to force a number less than or greater than a given to be in this range, such as having range 1.255 round up to 3, then put a stove and Coerce before or after this piece of code.
-
How to change the value of the specific element of a cluster
Hi all
I have a cluster that contains the string for the most part, I want to change a specific value of an element of the latter. How can I do that.
joined my vi
Thank you
Bundle name
-
How to choose a specific value in a drop-down list using javascript
Hello
I'm looking for a way to select a specific value in a drop-down list (the first value) using javascript? How would I do that? Thank you in advance.
Here's how you can select the first item without having to know what it is:
Set the value of the drop-down list to the first element cb1
var f = getField ("cb1");
var val = f.getItemAt (0, true);
If (val) f.value = val;
Change 0 to a different index if desired, or use-1 for the last item in the list. More information for the field getItemAt method is in the Acrobat JavaScript documentation.
-
Hello
Photoshop Elements 8, how to show the value, the hue and saturation of a specific area of the image?
How to choose the area? Which tool?
Thank you in advance, Karl
Make sure first that your range of information is visible: window menu / Info (shortcut F8)
In this palette, click the small icon 'more '.
Select "Palette Options".
and choose HSB to second reading of palette.
-
How do you define a table of drop-down list to a specific value boxes?
I have a table of drop-down list boxes that I want to put a specific value. When I say my program to put them to affect only the drop-down list box which just recently I changed and none of the others.
I have attached a small vi presents the problem.
Thank you
-Ben
It would be the value - property
-
How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?
I find easier to use this copy separate Automator Service (download Dropbox).
To install in your numbers > Services, double-click menu just the package downloaded .workflow and if necessary give permissions in system preferences > security & privacy.
To use, just:
- Select the cells in the column with duplicate names.
- Choose separate copy in numbers > Services menu.
- Click once in the upper cell where you want the deduplicated values appear.
- Command-v to paste.
SG
-
To build the waveform.vi function how to calculate the value of dt
Dear all
Please guide me How to calculate the value of dt according to waveform.vi of construction
My sampling rate is 25000 and I take 200000 samples.
Kind regards
Muhammad Irfan
It's all simple arithmetic. The inverse of the sampling frequency power of samples is then the dt or the time between samples the number of samples is not relevant.
-
How to take screenshot in Windows 7?
I need to take a screenshot after a few seconds. My PrntScrn Key is dead. Is it possible to take screenshot without using print screen. In fact, I want to take screenshot of my desktop context menu.
With respect,Thanks in advance...Normally, all you need to do is just press Prt SCr (Note: you will not receive any confirmation that the screenshot was taken), open an application such as Wordpad (Start Menu, all programs, accessories), then right click and paste.
Press the Fn key
If you find the print screen command a keyboard not working not on your laptop, you may need to use the "fn". In some laptops, you must press the Fn key, as well as the printscreen key to do the job. The Fn key is located between the control and the Windows key in the lower left corner of the key board.Some laptops and other mobile devices that do not have a print screen button could use other combinations of keys, such as FN + Insert, to capture the screen. Consult the manual that came with your laptop or device for specific instructions.
If you use a control wireless keyboard on lock (locking function) key on your keyboard. Check top right of your keyboard to the F LOCK key, which can be you can use the print screen key. The CAPS LOCK key activates / deactivates the function keys. A function key is a key that has two possible commands depending on the State of the lock toggle keys.
http://support.Microsoft.com/kb/894037
http://support.Microsoft.com/kb/894513/en-usI would advise you to read all of these links:
http://www.Buzzle.com/articles/print-screen-not-working.html
http://www.WikiHow.com/take-a-screenshot-in-Microsoft-Windows
http://www.intowindows.com/how-to-take-snapshot-of-start-menu-or-context-menu-using-Snipping-Tool-in-Windows-7-hidden-feature-of-Snipping-Tool/And, Yes, it could be that there is no "freeware available to take the screenshot with a time delay. Just use your favorite searchmachine and take a look at what is offered.
I hope this information is useful.
See you soon
Julia -
HOW automatically update the values of the attributes in a VO?
Hi, experts,
In jdev12.1.3
There are two attributes in the original Version, when the line is created or updated and sent, these attributes should be updated automatically:
1 revise_date: the current datetime object is defined on it;
2 revisor: employee name of the user who is a field in the page will be defined on it.
I rewrote the code for RowImpl.java of the VO as java:
public Date getReviseDate()
{
return ((Row.EFFDT_UPDATE_CHANGE_INSERT_MODE == this.getETask () .getEntityState ())
|| ((Row.STATUS_NEW == this.getETask () .getEntityState ())) ? (Date) Date.getCurrentDate ():
GetAttributeInternal (REVISEDATE) (date);
}
But it did not work as I hope. What is wrong with him?
In addition, in order to set the value of revisor, how do I bind values of a reference of a jsf in RowImpl.java of the VO page
Thank you!
Or you can update specific attributes in the method DO DML in your EO Impl class
Oracle ADF and Jasper ireport tips: overview of the ADF OT and VO classes
Ashish
-
How to get the value of the interactive report into apex 5 column
Hello
I want to create the master detail report with ajax.
If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.
Then use the elements of value to refresh the details report.
You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?
Hi SYSMAN2007,
SYSMAN2007 wrote:
I want to create the master detail report with ajax.
If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.
Then use the elements of value to refresh the details report.
You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?
You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.
See: How to use the values in the columns of an interactive report (Apex 5)
Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.
See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5
Kind regards
Kiran
-
How to clear the value of af: inputFile
Hello
12.1.3 Jdev
I have a page that has fields based on a QueryBased VO and an af:inputFile field. This input file has a valueChangeListener which will set the selected file and the name of the attribute to display.
Once I click on send in the page, I'll take the values in the row of VO and using the values that I have created folders in 3 tables using 3 EO according to your.
After that I reset the VO based query as below, so that the screen is refreshed to go into the details of the next:
1 is a recommended approach (everything works fine)? If this is not the case, what is the recommended approach. ?
this.getDBTransaction().commit(); IbisAccountantRegVOImpl accountantRegVO = this.getIbisAccountantRegVO1(); accountantRegVO.clearCache(); accountantRegVO.setWhereClause("1=2"); accountantRegVO.executeQuery(); IbisAccountantRegVORowImpl accountantRegVORow = (IbisAccountantRegVORowImpl) accountantRegVO.createRow(); accountantRegVORow.setNewRowState(Row.STATUS_INITIALIZED); accountantRegVO.insertRow(accountantRegVORow);
Note: Another option that I think is just set to null for all VO plate instead of create a new line.
2. the component of af: inputFile still has the selected file. How to delete this value?
See you soon
AJ
If you don't want any line in your VO, so instead of
accountantRegVO.clearCache ();
accountantRegVO.setWhereClause ("1 = 2");
accountantRegVO.executeQuery ();
You should probably use: accountantRegVO.executeEmptyRowSet)
But I don't know if you still need to do this (you have probably just to set up a new line in the current, with accountantRegVO.setCurrentRow (accountantRegVORow) or something like that)
And for inputFile reset, see: https://blogs.oracle.com/jdevotnharvest/entry/how_to_reset_adf_faces
Dario
-
Create a filter with a large list of non-specific values
I am familiar with a filter using "value in" option to include a list of specific values of construction. If the list of values is non-specific?
For example, I am creating a filter that shows me all the addresses that start with these:
admin@*,all@*,billing@*,everyone@*,feedback@*,ftp@*,hostmaster@*,info@*,investorrelations@*,ispfeedback@*,ispsupport@*,jobs@*,list-request@*,marketing@*,news@*,nobody@*,noreply@*,spam@*,subscribe@*,support@*,tech@*,trouble@*,undisclosed-recipients@*,unsubscribe@*,usenet@*,uucp@*,webmaster@*,www@*
I tried to add with the * using "value in" without success.
Maybe it's two separate issues, because what I'm really trying to figure out how to build a filter based on the example above and perhaps using the "have a value" is not the road to go at all.
Thank you.
Your right, Corey. Several filters are necessary. Not funny, its not like the dentist. Its something you have to do. Maybe Eloqua should make it a policy to send a lollipop after that each of us must do for the first time!
Using filters in comma as instructions BUT is something that I wanted, since a very long time.
-
RX100 ii how to take and keep 3 raw bracketed images and no not the camera to do hdr
RX100 ii how to take and keep 3 raw bracketed images and no not the camera to do hdr.
I want to have 3 separate raw images so that I can do HDR etc myself. How to configure this for example. + 1 0 - 1 EV exhibitions and be able to treat myself. I want to be able to do this hand and align etc. later. I'd be satisfied with +.7 ev 0-. 7 if that's all he can do.
Hi doshin! You can set the camera (support: suite) by going into MENU 2 [Drive Mode]. In this mode, the camera allows you to shoot in 3 different exposures. You can also set the value of the show of support.
If my post answered your question, please mark it as "accept as a Solution.
Maybe you are looking for
-
Cannot download Ccleaner/Piriform. Is this a problem of Firefox or Yahoo?
I don't think that it's Firefox, I have IE and it still does not. I go to my home page and type in "Ccleaner/Piriform" a list of them rise. I take the "official page" for them, but when I try to download it, or what you call (by clicking on it?) All
-
How to add a password protect a document/file existing in El Capitan (10.11.4)? Can't find an answer on Google or communities
-
Satellite 2210CDT: two problems after installing Win XP
Hello! Maby it sounds funny but I found Toshiba Satellite 2210CDT inside my closet, installed Windows XP (oem supplied with the mouse, I bought some time ago) and it works!The only problems I have are:* When the system is in hibernation, it is imposs
-
How to maximize the number of RDP session for Remote Desktop connections in windows 2008 server? By default, the system says 2. and to not change/increase. is everything permissible special necessary to buy?
-
HP15: 15 hp system disabled
I got a disabled system 80778715