How to get values out of spreadsheet and insert them to formula?
So, how do i open a spreadsheet which contains two columns and several rows of data and insert those values in to a formula? To be accurate A1 shell should be input 1 (X1), shell A2 input 2 (X2), shell B1 input 3 (X3) and shell B2 input 4 (X4). After calculation it should continue to the next row and take values out of A2,A3,B2 and B3 and so on, to the end of data. I´m using Labview 7.
Sorry, I missed the overlapping portion of the pattern.
This one goes as follows:
First round: A1=x1, b1=x2, a2=x3, B2=x4
Second Round: a2=x1, B2=x2, a3=x3, b3=x4
Oh, and I'm using Excell conventions, so A=column1, 1=Row1, B=column2, 2=Row2
Cheers,
J5
2006 Ultimate LabVIEW G-eek.
Attachments:
Formula.vi 33 KB
Similar Messages
-
How to get imovies out of iPad and burn them using iDVD or Movie Maker?
Has anyone figured out how to get the iMovies created on the iPad out and onto a computer to burn them onto iDVD or MovieMaker?
Just export the movie to your camera roll and sync it back to your computer.
-
How to get value from option box and submit accordingly
Sorry for posting my question. I have been trying to edit message and repost it and not successful. Hence I am reposting my question. Please let me know.
I am right now exploring JSF for presentation layer. I am designing a form with <h:outputLabel..> and <h:inputText...> for the user to input his value. I also have a radio button as below. <h:outputLabel..>
<h:inputText...>
<h:selectOneRadio id="libraryList" >
<f:selectItems value="#{libraryList}"/>
</h:selectOneRadio>And I have included the following piece of code in faces-config.xml as below.
<managed-bean>
<managed-bean-name>libraryList</managed-bean-name>
<managed-bean-class>java.util.HashMap</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
<map-entries>
<map-entry>
<key>Pass</key>
<value>Pass</value>
</map-entry>
<map-entry>
<key>Fail</key>
<value>Fail</value>
</map-entry>
</map-entries>
</managed-bean>Hence I get two option box as Pass and Fail.
I am also bit aware of navigation rules of JSF. Now I want the user to take to the step 2 if he chooses the option Pass and if the user chooses Fail, then I want to reset the values of the above form and display the same form.
I have not done any Java part of the application yet as I am a newbee and hence started doing JSP pages and config-faces.xml part. Please let me know how to proceed further.Create a bean, bind the value to the bean, let the action method return that value and add navigation-case entries for those outcomes.
-
How to get alerts out of SCOM and into a 3rd party management tool
Hi
I am creating an integration between a 3rd party management tool and System Center Operations Manager 2012 R2. I need to export alerts such as Power Off / Power On / Configuration change for both virtual machines and hyperv servers from SCOM
into our application. Our application runs on linux so I cannot do any .NET programming, however I can run Powershell scripts remotely using WinRM.
What is the best way to do this? I am aware of using the powershell cmdlet Get-SCOMAlert but is there any other way that does not involve polling?
thanks in advanceThink of Orchestrator as a "router", that will route information and workflows between SCOM, and [insert 3rd party product here]. Depending on your 3rd party product, there may be an "integration pack" for it that Orchestrator can use for out of the
box tasks.
So what's an integration pack? Well - think of it like a management pack, but for Orchestrator. SCOM does monitoring, but it doesn't know how to monitor something unless you install the relevant management pack. The management pack contains
all the rules/monitors for monitoring whatever it is you wish to monitor.
Well, an integration pack is similar in concept, except it tells Orchestrator how to interface and integrate with whatever it is you're trying to perform tasks with.
For what you want to do, there is a SCOM integration pack. This is a set of tasks that can get alerts and events out of Operations Manager (there are also tasks that can create and close alerts in Operations Manager).
From what I can imagine - you would want to get alerts out of SCOM when they happen (so you would use one of the SCOM orchestrator tasks to "get alert if status = new, and source = myapplication"), and then you can pass that alert to another task - such
as write it to a CSV file or something. You could then have another task that picks up that CSV file, and passes it to your application where it can be captured. Or you could use the CSV to populate variables in a powershell script, and then powershell
that information into your app.
There are many ways you could do this, but I do believe that Orchestrator would be the better option.
http://www.dreamension.net -
Getting values from a table and concatenate them
Hi All,
I think somebody out there should be able to help me.
I have a list of contract numbers the user has to type in.
I've created a table where user can add as many rows as needed. Each row is a contract number.
Once completed, I have to concatenate all of the contract numbers, separated with commas, so that I can send them to a floating field within a text box.
It should look like this.
.....1234, 2345, 3456 and 5678 (assuming these four values were keyed in by the user in the table form)
Anybody can help me explaining how to concatenate the values and put them into the floating field?
Thanks in advance.
RafaelYou can concatinate them easily but getting them into a floating field on the same form will be an issue. The floating field can only be filled when th eform is rendered and data is placed on the form. Floating fields are not interactive...so after the data load they are turned into text....they are not even fields anymore.
-
How to get values out of a file
I need to read a file with 2 columns of numbers, I use the buffered reader to read each line, but I want to store the values of the numbers into two variables, How can I do this?? Thanks
try this ...
String line = buf.readLine();
StringTokenizer st = new StringTokenizer(line);
int num1 = Integer.parseInt(st.nextToken().trim());
int num2 = Integer.parseInt(st.nextToken().trim());
System.out.println("num1 : " + num1 + " num2 : " + num2);
Hope there are always two columns and both or numbers. If the above code doesn't suits your requirement. Let me know, I will post a sample code for your request.
Thanks. -
How to get value in previous column and another row from Matrix with Custom Code?
I want to calculate the value of tb_Open and tb_Close. I try to use custom code for calculate them. tb_close is correct but tb_Open is not correct that show value = 0 .
This is example report:
* I have 2 Dataset , Dataset1 is all data for show in my report. Dataset2 is only first Open for first month
* First value of Open is item field in Dataset2 and this value only for first month (january). But for other month Open value get from Close in previous month.
Detail for Red number:
1. tb_Open -> tb_Close in previous month but first month from item field in Dataset2
expression =FormatNumber(Code.GetOpening(Fields!month.Value,First(Fields!open.Value, "Dataset2")))
2. tb_TOTAL1 group on item_part = 1
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)))
3. tb_TOTAL2 group on item_part = 3 or item_part = 4
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) + ReportItems!tb_TOTAL1.Value )
4. tb_TOTAL3 group on item_part = 2
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) - ReportItems!tb_TOTAL2 .Value)
5. tb_Close -> calculate from tb_TOTAL3 - tb_Open
expression =FormatNumber(Code.GetClosing(ReportItems!tb_TOTAL3.Value,ReportItems!tb_Open.Value))
My custom code:
Dim Shared prev_close As Double
Dim Shared now_close As Double
Dim Shared now_open As Double
Public Function GetClosing(TOTAL3 as Double,NowOpening as Double)
now_close = TOTAL3 + NowOpening
prev_close = now_close
Return now_close
End Function
Public Function GetOpening(Month as String,NowOpen as Double)
If Month = "1" Then
now_open = NowOpen
Else
now_open = prev_close
End If
Return now_open
End Function
Thanks alot for your help!
Regards
Panda ALooks okay to me.
Perhaps the variables should be declared as public (?) -
How to get the list of parameter and set them using RESTFul WS for a Crystal Report
Hi All,
I am able to schedule a Crystal report using following POST Restful call - http://localhost:6405/biprws/infostore/4738/scheduleForms/now and with a request xml body. But report is failing because I am not passing the parameter.
But I need pass parameters/prompts to the Crystal report to execute successfully.
What is the request XML to pass the parameter for the report?
I was able to do this for WEBI reports but I am not able to find any way to do this for Crystal reports?
Any help on this matter is really appreciated.Hi Venki
Please have a look at:
How to pass parameters and generate the report using RESTful API in VB.net
This is also described in the Developer Help files:
http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_webi_restful_ws_en.pdf
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to Get In & Out of Match, Get your Downloads and Run
How to Get In & Out of Match, Get your Downloads and Run
So you have read the marketing hype, and are thinking what you really want is to pay for the service to upgrade your low quality bitrate files to a bit better 256KBPS rate easily, as don’t fancy rebuying/ reimporting or other method
This guide should show you the fastest route to achieve you upgrades
It assumes you’re working from your main music library, and know something about IT, and have <25k of music files
Backup your music files
If you know how to do this, its simple right – so once done then move to step 2, if not read below so you don’t blame me for a loss
Transfer Hardware
your choice the transfer hardware, suggest offline harddrive via USB3.0 (blue USB connector/eSata/ 1494b/1GB NIC/etcetera but your call
If you use USB2.0/ 100MB NIC/1394a or other lower transfer method, accept the time hit
Don’t use Time Backup/local disk backup software unless you have RAID 5 setup or better (and if wondering what that is, you almost certainly don’t then)
Don’t use internet backup service unless you live next door to the hosting company, with stunning internet connection to envy 99.9% of the human race, remember this is the fast method folks)
Transfer Software
I am assuming you know how to do a copy n paste/ robocoby/xcopy/drag n drop or whatever method turns you on via finder/explorer/cmd window ect
Caveat #01: If not sure how to do above, then stop now as you are not IT literate ready for this
Find your music files and back them up
Now keep the computer running, preferably with nothing else running from this point for ease of use bar an active internet connection, and power saving switched off
If you know where the files are great, backup the files, but some don’t so for them as below
Caveat #02: if you don’t know how to find them your most likely on default settings, or sitting with a legacy from a past upgraded machine - below should help but you might want to stop now if you have never been curious about the location before
Within iTunes , go to [Edit/Preferences/Advanced] and note down the location shown for Itunes Media Location
In the same location of preferences, hit [Keep iTunes Media Folder organised] and let the application do its stuff. You will end up with the location in 1ciii a ready to copy location which for simplicity of topic, copy the whole folder and its subfolders. You may end up with some extra copies of music files (an iTunes safety mechanism, but it won’t show in the folder location, and we can ignore later on)
Enable Match (after paying for the service)
Run Match
Accept that the Apple iTunes process is not perfect, may crash/stop/pause and reboots will be needed, and we can move on so to speak. Key here is you cannot do an unattended script or assume no end user interaction needed L
Turn on iTunes Match, notice the new ITunes Match on the left hand sidebar, click it, then hit the Start button – if it works and you eventually get to STEP 3 perfect.
If it fails before getting to STEP 3, reboot and restart
If this still fails to get to STEP 3, then create a new iTunes database (browse forums on how to do), read your media files from the location in 1civ
Stop MATCH (the upload process only, not the service)
Once STEP 3 starts, CLICK STOP - ASAP, as all this does it upload data, and you don’t want to do this, just get your upgraded files (remember the title of this entry your reading!)
This also avoids future issues with Album art lost
Delete Matched low bitrate files
Create a NEW SMART playlist, with two criteria
Show all files with bitrate is less then 256
Show all files where iCloud status is MATCHED
In the new playlist, click it and it shows the files we want to blow away.
Click Edit / Select All then
Click ctrl in windows/apple (cmd) logo in mac, and press delete button, ensuring you do NOT tick the delete from iCloud Option. Now want a few mins for it do do its stuff.
Download Upgraded BitRate Files
In the same location as 5, reselect all, and right click, and select the option to download all, and off it goes
On the lefthand sidebar in iTunes, click Downloads, and you will then see in the middle bottom screen an option for simultaneous downloads (select it)
Your done Just let the app now do its stuff. I would ignore the message saying you can get on with other things, and use anther machine, preferably not using the same internet connection.
Optional Steps:
Click randomly from the Itunes/Matched/256KBPS listed files, and play them. Not all the files, one every 30 or so, and just the start, then last few seconds to check not dead or corrupt files.
Update your Step 1 backup with the new files, which is going to take up more space, guess at 40%.
Kill your iTunes Match account (both the recurring automatic subscription, and the account if not continuing to use the store part of iTunes)bump
-
I just downloaded the new iOS 5.0 and did all of the backup prompted steps beforehand, but I can't figure out how to get all of my apps and music back on my iPhone. Where did they go and how can I put them back on my iPhone?
Hi, Abril_Perez17.
This may be related to a new feature embedded in iOS7 that shows all purchased music by default. Go to Settings > Music, then turn off Show All Music. See if the issue ceases once the feature has been disabled. This information is located on page 63 of the user guide below.
iPhone User Guide
Regards,
Jason H. -
How to get line item net price and net value?
I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
the return table
ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
how to get line item net price and net value?Hi,
Can u elaborate ur query ?
By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
Regards,
MAdhukar Shetty -
How to get value in a web page automatically and sava output in database
how to get value this table output is
row 1, cell 1
row 1, cell 2
row 2, cell 1
row 2, cell 2
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>Note: This thread was originally posted in the [Java Technologies for Web Services|http://forums.sun.com/forum.jspa?forumID=331] forum, but moved to this forum for closer topic alignment.
-
How to get values/data stored in the database into a list-item.
how to get values/data stored in the database into a list-item.
i tried to make a list item without any values assigned to it...but i got the below error.
FRM-30191: No list items defined for required poplist.
or
FRM-32082: Invalid value for given item type.
List EMPNO
Item: EMPNO
Block: EMP
Form: MODULE5
FRM-30085: Unable to adjust form for output.
then according to some docs, i tried the the following for the trigger
when-new-form-instance
declare
rg_name varchar2(40) := 'emp_rec';
status number;
groupid recordgroup;
it_id item;
begin
it_id := Find_Item('empno');
groupid := create_group_from_query(rg_name, 'select empno from emp');
status := populate_group(groupid);
populate_list(it_id, groupid);
end;
but yet didnt work... :(
so how the heck do i get values fetched from the database table into the list item?for list items you need to values in the record group, one is the shown value and one is the returned value.
Check out the online help for the populate_list built-in.
You'll need something like select ename,ename from emp as the record group query. -
How to get value in showModalDialog()
Hi,
I would like to know how to get value pass into showModalDialog() to be used by the server (using request.getParameter())
TQplease try out this kind of code
<script language="javascript">
function trial(){
var retVal = new Object();
retVal = ShowModalDialog("ur JSp");
</script>
<script>
<form >
<input type="hidden" name ="mylink "value= javascript:trial();>
</form>
<%
String str=request.getParameter("mylink");
%>
and plz let me know .. if it works -
How can i find out the resolution and accuracy of PXI-6602 module?
I have a 32 bit 8 channel PXI-6602 counter module. PXI card is interfaced to PC with MXI-4 link. How can i find out the resolution and accuracy of this system.What is the maximum accuracy and resolution i will get from this system. Because optical signal to cmos conversion signal is given as a input to the counter.
Hi chandhu,
Were you referring to the accuracy of the count register or the timing clock?
PXI-6602 specifications can be found in the NI 660x Specifications. The resolution of the count register is, as you’ve noted, 32 bits. This corresponds to a maximum count value of 4,294,967,295. As long as all of the edges are in accordance with TTL specifications, the accuracy of the count register is 100%.
On the other hand, the PXI-6602 baseclock accuracy takes on the baseclock accuracy of the PXI CLK 10 signal. Again, this is all found in the specifications.
You may also want to check out the NI 660x User Manual – it contains a lot of details on the operation of these counter/timer devices.
I hope this helps. Please post back if you have further questions.
Ed W.
Applications Engineer
National Instruments
Maybe you are looking for
-
Change the colour of the outside of your iphone 3GS?
I have an iphone 3GS in white but the white shell,cover whatever you may call it is slightly chipped broken and generally looking not so great. So i was wondering if it is possible to have the shell/cover replaced in white or to black, can you do thi
-
MS Commerce Server integration with SAP CRM
Hi, We're investigating on how to possibly connect a MS eCom solution (MS Commerce Server) to a SAP CRM backend. With the correct middleware and some Bapi's this would probably be do-able solution I guess, but does anyone have info on standard setups
-
hi, still learning how to use my new ibook, and been downloading widgets, but there are two in particular that when i download one, it deletes another and replaces it with that one. i thought maybe it was a space issue, so deleted some widgets didnt
-
Skype number payment taken three times and only wa...
I have purchased a Skype number recently but on my account it shows three transactions for my Skype order but I only want one help please thanks guys and gals
-
Hello experts, I need you one more time to help me write abap code... In a query, a mandatory variable for multiple values (ZS_ZBILL_TYPE) is populated by the user. I need to check if the value 'ZRE' was selected in this variable. If yes, the result