Problem in saving data in spreadshee​t that comes from DAQ
Hi
I am new for using the Labview. I have problem saving the data in spreadsheet. mine just save the last reading that come from DAQ. And can not figure it out .
If there is way to make it save all the data with the time when I start run it till I stop it,please
Thanks in advince
Attachments:
2 temp recording spreadsheet Ver_ 3.vi 141 KB
I've changed the architecture to something that is way better then the sequence structure you had (State Machine). Just to give you an idea on how it could be done.
Still the dynamic data type is in there (which I don't like), but I'm not going to change your method.
I've cleaned up your code a bit. It's still not perfect, but it's done in 2mins.
I do have one question though : why are you saving an entire column (the last) of data which contains the same value (namely the total time the test ran)???
Kind regards,
- Bjorn -
Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
LabVIEW 5.1 - LabVIEW 2012
Attachments:
2 temp recording spreadsheet Ver_ 4SM.vi 100 KB
Similar Messages
-
Hello Team,
We have upgraded from Siebel 8.1.1.3 to Siebel Open UI 8.1.1.11.
But after up-gradation we are getting the below error in "My Account Opportunity" View.
We detected an Error which may have occurred for one or more of the following reasons:
Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
Thanks,
Tirupati Nanda
Mob:-9742404115Hello Team,
We have upgraded from Siebel 8.1.1.3 to Siebel Open UI 8.1.1.11.
But after up-gradation we are getting the below error in "My Account Opportunity" View.
We detected an Error which may have occurred for one or more of the following reasons:
Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
Thanks,
Tirupati Nanda
Mob:-9742404115 -
[svn:fx-trunk] 9171: Adding the change notes that come from the TLF folks
Revision: 9171
Author: [email protected]
Date: 2009-08-07 08:57:35 -0700 (Fri, 07 Aug 2009)
Log Message:
Adding the change notes that come from the TLF folks
bug: nope
qa: nope
checkintests: no need
Added Paths:
flex/sdk/trunk/frameworks/projects/textLayout/ReleaseNotes.txt -
hi, i am trying to open and view a report that comes from another server with different odbc connection
i created a crystal report for a mysql database on my machine and everything works great
but we have other reports that come from other machines with different odbc connection
and this its not working when opens the report asks for credentials
and i cannot use the remote ip for these reports that come from other machine
question
if i cannot connect to remote ip to open the report
for each report i have to create a database the report database on my machine and then open the report ?
or there is some other way to open the report ?
i am using visual studio 2013 and mysql and
<add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
thanksshort
i have a report that it was created on another server with a specific dsn
now i am trying to open the report on my machine
the database from the other server does not exist on my machine
the server machine where the report was created the ip its not accessible
question ?
can i open the report on my machine or its impossible ?
thanks -
How come all my email that comes from facebook comes with the same from name
All e-mail that comes from my facebook has the same from name like sandy wenfel when its from my mother,wife,friend ect.
What did i do and how do i fix itAirmail you my friend are a Genius.
I've been living with that nightmare for months, and you fixed it in seconds.
I should have asked this question here a long time ago. Thank You Kevin (AKA)''Teeter-Kick-Azz [[#question-1056669|said]]''
<blockquote>
All e-mail that comes from my facebook has the same from name like sandy wenfel when its from my mother,wife,friend ect.
What did i do and how do i fix it
</blockquote> -
I am calling an xml , that come from rtmp server and i want to play a video . when i pause it show an error of cross domain. what i can i do?
Please quote the exact error message, word-for-word, verbatim.
What is your operating system?
What version of Lightroom? -
Problem while saving date field in custom table
Hi,
Iam facing the following problem while saving a date field in custome table
i have a date field zdate in which the value is 02082010.
now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
How can i correct it..
Regards
Kumarjust before saving u might have to use a string reverse FM and then save it..
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
STRING = p_string
LANG = sy-langu
IMPORTING
RSTRING = r_string
EXCEPTIONS
TOO_SMALL = 1
OTHERS = 2 -
Facing problem in saving data without overlapping in for loop
Hi,
I am facing problem in writting data withou overlapping if i run outer loop for 2 or more times and in inner for loop i am getting array in a way I want but when i try to build that array with logging temperature i am not able to do it. Please guide me through ths.
Thank You
Hnagpal
Solved!
Go to Solution.
Attachments:
data storage.vi 31 KB
what i am getting.xlsx 10 KB
what i want.xlsx 10 KBThanks odessy27, Matthew Kelton, for replying.
Matthew Kelton: Thanks for the solution i am adding outer loop so that i can increase the number of row. I am using it for some application which require me to save data several time and i used random number here but originally instead of random number there will be power meter reading and i want to save it every hour and plot it. I am also attaching a file what i made I don't know is this a good way or not. Actually i will also beneeded to plot a graph. But again how to increase a row and without replacing previous data i can write another row.
Yes i want to make one row for each iteration.
I attached both files in 2009 version.
Thank You
Himanshu Nagpal
Attachments:
desired result.xlsx 10 KB
data storage (1).vi 26 KB
data storage.vi 37 KB -
My Mail account will pick up all emails but not those that come from aol addresses.
I receive emails without problems to my usual email address set up on the Mail application on my Desktop OSX 10.5.8 unless they are sent from an aol address. Oddly these emails come to my phone (Samsung Galaxy 2). These aol emails are received on the webmail (ie on my ISP server's email) so why can't I get them on my normal email system? Please help but in simple language!
Thanks for suggestion. Just tried to do that, forwarding from my own email address on webmail to my own email address on my client email. It worked! Spooky.
I'm thinking that my computer is either trying to protect itself in some way from this particular sender's emails or it just won't recognise them, but I can't find anything in the security settings that would be blocking them and according to my service provider they haven't set anything up either. I have received other aol email from different senders in the past. -
The extreme heat that comes from my macbook pro
my macbook pro gets so hot where my left palm rests on the laptop that it becomes unbearable. This happens often when I have alot of processes running and I could understand if the laptop just got a little bit hot from doing this task, but this intense heat generation is unacceptable and generally occurs more when I use the apple OS on my computer than the windows OS (even when i am playing hardware intense games on windows it never gets this hot)
I am currently downloading files wirelessley, listening to music, the keyboard is illuminated, the fans are spinning at a normal 1999 rpm's and the temperatures of my hardware seem normal, I am typing on my lap in a chair, but I am allowing proper ventillation from the back of the laptop and it still gets this hot occasionally when I am using it on a surface.
The heat only comes from that one spot underneath my wrist, any suggestions?
Message was edited by: CaptainHowdy
Message was edited by: HostHi, I have the exact same problem. You can read my thread on:
http://discussions.apple.com/thread.jspa?threadID=1076379&tstart=15
Well, besides FanControl, there is also the CoolBook utility were you can undervolt the CPU (without decreasing performance). However, the area we’re worried about is where the HD is located, lowering the CPU heat might not help. But since the entire case is in aluminum, it just might
I haven’t messed with CoolBook yet, as it doesn’t fully support Santa Rosa yet, and would also like to hear more experience from other MBP users. -
Problem with saving data in text file in Application server
Hello Experts,
I am trying to save a text file in application server.When I text file have less that 60000 (i.e 59999) records, it saves the file successfully, but if records in text file (saved in application server) is more than 60000 (i.e 60002), it creates a new file at the 60000th record with the continued records.
Can anyone please advise, why it is creating a new file if records are more that 60000. I tested it with 59000 records in my internal table and it is working fine. I have not given any restriction in my program to create a new file if records are more than 60000.
The logic I implemented is the following:
*Open file
open dataset g_accnt_file for output in text mode encoding utf-8.
if sy-subrc = 0.
clear g_header_record.
*Building header record for Accounting Validation file
concatenate gc_hdr_desc
gc_filetype
gc_sequence
gc_idntf_refresh
gc_cmpny_idntf
gc_accnt_id
sy-datum
sy-uzeit
gc_linde_group
sy-sysid
gc_not_used into g_header_record separated by
gc_deliminator.
transfer g_header_record to g_accnt_file.
*Move Cost center data to file to create a detail record for Accounting
*Validation file
loop at gt_csks into gs_csks.
*Remove leading Zeros
call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
exporting
input = gs_csks-kostl
importing
output = gs_csks-kostl.
* Overlay gs_csks-kostl with space.
* SHIFT gs_csks-kostl RIGHT DELETING TRAILING gc_space.
*Prepare Cost Centre String
perform prepare_costcentre_string.
*Prepare detail record with Company Code & Cost Centre
perform prepare_detail_record.
clear:g_detail_record,gs_csks,g_coa.
endloop.
*Move Order data to file to create a detail record for Accounting
*Validation file
loop at gt_aufk into gs_aufk.
*Remove leading Zeros
call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
exporting
input = gs_aufk-aufnr
importing
output = gs_aufk-aufnr.
* SHIFT gs_aufk-aufnr RIGHT DELETING TRAILING gc_space.
*Prepare Order String
perform prepare_order_string.
*Prepare detail record with Company Code & Order
perform prepare_detail_record.
clear:g_detail_record,gs_aufk,g_coa.
endloop.
*Move WBS data to file to create a detail record for Accounting
*Validation file
loop at gt_prps into gs_prps.
call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
exporting
input = gs_prps-pspnr
importing
output = g_wbs_element.
* SHIFT g_wbs_element RIGHT DELETING TRAILING gc_space.
*Prepare WBS Element String
perform prepare_wbs_string.
*Prepare detail record with Company Code & WBS Element
perform prepare_detail_record.
clear:g_detail_record,gs_prps,g_coa.
endloop.
*Building trailer record for Accounting Validation file which will
*contain the total number of detail records in file
concatenate gc_trail_desc
g_total_count
into g_trailer_record
separated by gc_deliminator.
transfer g_trailer_record to g_accnt_file.
*Close file
close dataset g_accnt_file.
if sy-subrc = 0.
message s036(/lig/fi).
endif.
endif.
endform. " SELECT_DATA
Edited by: Matt on Sep 30, 2010 11:02 AM - added tagsHi Pankaj,
Can u check the concatenate statement with one more data. Check the no of lines for a single file.
concatenate gc_hdr_desc
gc_filetype
gc_sequence
gc_idntf_refresh
gc_cmpny_idntf
gc_accnt_id
sy-datum
sy-uzeit
gc_linde_group
sy-sysid
sy-subrc
gc_not_used into g_header_record separated by
gc_deliminator.
Regards,
Amitava -
Problem in saving data.
Hi all.
i am using oracle 10g forms & reports.
i have tables EXPHEAD and EXPENSES.
i populate a list item in EXPENSES using the following code:-
declare
obj_name varchar2(40):='OBJ_G';
status number;
groupid recordgroup;
begin
groupid:=create_group_from_query(obj_name,'SELECT exp_name, TO_CHAR(exp_code) exp_code FROM exphead');
status:=populate_group(groupid);
populate_list('expences.exp_name',groupid);
end;
DECLARE
vStatus NUMBER;
BEGIN
vStatus := POPULATE_GROUP('OBJ_G');
POPULATE_LIST('expences.exp_name', 'OBJ_G');
END;
when i change values in list items (Exp_Name) exp_code change automatically like:-
when i select RENT (Exp_Name) in list item its code (1) automatically shown in exp_code text item, i used this code on WHEN-LIST-CHANGE:-
:expences.exp_code:=:expences.exp_name;
now the problem is that data in the fields shows correctly but when i store data, in both fields exp_code is store.
means in Exp_Name field data of exp_code inserted.
hope u understand my problem
Regards
Saqib
Edited by: Saqib Alam on Jan 4, 2012 7:52 PMmeans in Exp_Name field data of exp_code inserted. Yes, that is the whole point. A list item shows the description of a code. Like the department code 10 has description ACCOUNTING. You don't store ACCOUNTING in table EMP, you store department code 10 in EMP.
:expences.exp_code:=:expences.exp_name;That is a pretty strange line of code (giving a code a name).
Edited by: InoL on Jan 4, 2012 10:39 AM -
Problem with saving data in database table.
i have ceated on screen prgram...
screen contains one text field of leth 40(type c)...
if user enters some text in that and enters save button it will store in dbtable which is created by me(ztable)...
but that text storing in big letters...even i enter the samll letters....
i want to store as user enters in fiels on screen
woe can i do that?go to screen(painter) of that program and double clik on that field
u will get a small screen there u check the upper/lower letters check box
<b>Reward Points if USEFUL</b> -
Problem in Saving Data Fields to an Object
Hi,
I have a form which includes the User Information when you insert the user Id on to a field. When you enter the user Id in the field and submit the results get inserted into a UserInfoBean class in java. The UserInfoBean object is retrieved to the getUserDat() in flex. The first time I do this it assignes the data to the "userInfo" and I include this into the fields as
<s:TextInput id="firstNameId" text="{userInfo.FirstName}"/>
The issue I am having is IF I do move to another section and comeback and try to look for another user the "userInfo" becomes NULL but the results.getItemAt(0) has data object UserInfoBean. When I try to print inside the getUserData() the userInfo.FirstName I get Null since the userInfo is NULL and results.getItemAt(0).FirstName I get the values.
The code is attached below.
Is there a way to fix this issue? How should I get the result into the userInfo?
Thank you,
Hass
CODE:
MXML Code
<<UserInfo.mxml>>
<fx:Script source="UserScript.as"/>
<fx:Declarations>
<services:DepositInfo id="userData" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
<s:CallResponder id="getUserDataResult" result="getUserData (event)"/>
</fx:Declarations>
<s:Label text="User Id:" id="userIdLb"/> <s:TextInput id="userId" text=""/>
<s:Button label="Show" id="showBtn" click="loadUser()"/>
<s:TextInput id="firstNameId" text="{userInfo.FirstName}"/>
<s:TextInput id="lastNameId" text="{userInfo.LastName}"/>
<s:TextInput id="emailId" text="{userInfo.Email}"/>
ActionScript Code
<<<UserScript.as>>>
[Bindable] public var userInfo:UserInfoBean = new UserInfoBean();
private function loadUser(){
getUserDataResult.token = userData.getUserInfoData(userId.text.toString());
private function getUserData (event:ResultEvent):void{
var results :ArrayCollection;
results=event.result as ArrayCollection;
if(results.length != 0){
userInfo=results.getItemAt(0) as UserInfoBean;Hi,
all development and client independend customizing is visible at once at all clients of an SAP instance.
You have create separate instances like YA1(100) = DEV; YA2(100) = TEST; and YA3(100) = PROD. As a customizing sandbox in DEV a separate cleient might be helpfull.
All instances could be created at the same server in an early stage of the project. Later at least for production a separate server should be used.
Some consultants with some experience could save costs in such a project.
Kind regards,
HP -
Data not updating in Metadata with Select options that come from a view
Hi All,
I have a similar problem.
I have a view called "contractnumberview" created in UCM that gets a "contractnumber" from database table called "Contracts"
The view is used as options list for a metadata called "xContractNumber".
The data is inserted in the "Contracts" table from an ADF Application.
Problem:
After a new contract number is inserted into the Contracts table from the adf application, the new contract number does not show up in the check-in form drop down of the xContractNumber metadata field.
If i open the "contractnumberview" from configuration manager, the new contractnumber is listed there.
Is there anything special required to be done so that the contract number is published in the check-in forms also.
Thanks
AmitHi Everybody,
I Discovered how to ADD or Delete intens in java class, but now would like to update Title value.
The code is:
List fields = new ArrayList(2);
fields.add(new DataResultSet.Field("dDocName"));
fields.add(new DataResultSet.Field("dDocTitle"));
DataResultSet resultSetNovo = new DataResultSetImpl();
resultSetNovo.setFields(fields);
List leilaoRow = new ArrayList(2);
leilaoRow.add("SOME_EXISTENT_ID");
leilaoRow.add("SOME_EXISTENT_DESCRIPTION");
resultSetNovo.addRow(leilaoRow);
IdcClient idcClient1 = manager.createClient ("idc://host:port");
IdcContext userContext1 = new IdcContext ("user","password");
HdaBinderSerializer serializer1 = new HdaBinderSerializer ("UTF-8", idcClient1.getDataFactory ());
DataBinder dataBinder1 = idcClient1.createBinder();
dataBinder1.putLocal("IdcService", "EDIT_SCHEMA_VIEW_VALUES");
dataBinder1.putLocal("schViewName", "C_LISTA_LEILOES");
//add/update/delete
dataBinder1.putLocal("editViewValueAction", "update");
dataBinder1.addResultSet("LeiloesCadastrados", resultSetNovo);
serializer1.serializeBinder (System.out, dataBinder1);
ServiceResponse response1 = idcClient1.sendRequest(userContext1,dataBinder1);
DataBinder responseData1 = response1.getResponseAsBinder();
The error is:
Unable to edit view values for view 'C_LISTA_LEILOES'. The key CCEE_54321 could not be added due to a primary key constraint violation in the LeiloesCadastrados table.
And the consoel messages during the process is:
@Properties LocalData
IdcService=EDIT_SCHEMA_VIEW_VALUES
UserTimeZone=UTC
UserDateFormat=iso8601
schViewName=C_LISTA_LEILOES
editViewValueAction=update
@end
@ResultSet LeiloesCadastrados
2
dDocName
dDocTitle
CCEE_54321
SOME_DIFERENT_TEST
@end
Im my table the column dDocName is the primary key and I´m trying to change only the dDocTitle column
Any help will be appreciated
Thanks for everybody.
LCruz
Maybe you are looking for
-
No SOUND on Youtube and other streaming services.
Hi, I updated my 2011 MacBook Pro to OSX Yosemite. My only problem is: when I play the video on YouTube or other straming services I have to wait 5-10 second to hear the sound from the video. Sometimes i have to reload the page. Very annoying. Is th
-
Husband's iphone won't ring. need help please. thanks
My husband's iPhone 4 won't ring. It will vibrate but ringing has stopped. Can't figure out how to change back to ringing. Thanks for any help.
-
Best Transpose plug in for Logic???
Anyone know the best "transpose" plug in for Mac/Logic/?? I mean a general Transpose plug in that does the most basic job of pitching audio up and down like a sampler, in semitones - but in the arrange window of logic/protools? I dont mean any elasti
-
Hello, I have a field 'A' that is CHAR(8) How do I trim this field to compare with other records that are Varchar2() fields? Will the Trim function work? like trim(A). I know you can trim a Varchar2 field.
-
We are downloading all the pricing related data from R/3 to CRM. Orders will be created in CRM and then sent to R/3. Pricing will occur in CRM. Now, when the order will go back to R/3, we do not want to re-price the order. Is there anyway for us to d