Save data from rt target to host windows pc
I have a VI created in Windows which I deployed on the RT target and I need to acquire the data from one of the module and store that data in my host windos pc where I am running the VI I am getting an Erro:7 while doing this
I have attached my code
Thanks,
Ninad Regundwar
Junior Engineer | ARAV Technologies | www.aravtech.com
Attachments:
test1.vi 10 KB
Hi Ninad,
The error 7 occurs when LabVIEW doesn't find a file.
I would recommend you to first, send the data to the host (with a shared variable, as an example), and then write on the hard disk of your host.
Tell us if it works !
Regards,
Mathieu_T
Certified LabVIEW Developer
Certified TestStand Developer
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
LabVIEW Tour
Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014
Similar Messages
-
Copying save data from a PS3 to another PS3?
Hi, Is there a way to copy/transfer a save data from one PS3 to another, without using PS+ cloud save?
Please reply ASAP.I am using version 8.2, and it doesn´t allow me to sabe in 7.1
So, I send you the screen shot of blocks diagram.
Thank you in advance.
Attachments:
screenshot.PNG 36 KB -
Save Data From Grid to Database
Hello All,
I want to create a form to save data from a grid to the database just like the SAP Forecast Form .
My requirements are as follows :-
I have created a Table in which there are three fields ItemCode,Date,Qty
But while entering user will first select the Date ranges (from - To) and based on that date range
no. of columns will be created as it will be dynamic and then user will enter the corresponding quantity for that item and date
just like the Sales Forecast (SAP) Form .
Form will be like :-
From Date - 10/10/11 ToDate - 13/10/11
Row Levels Fields :-
ItemCode 10/10/11 11/10/11 12/10/11 13/10/11
A0001 100 150 200 300
While updating system will put the data in database table as :-
ItemCode Date Quantity
A0001 10/10/11 100
A0001 11/10/11 150
A0001 12/10/11 200
A0001 13/10/11 300
This is what i want to do .
Please suggest how to proceed with this using a Matrix or a grid.
Thanks & Regards,
Amit
Edited by: AmitSharma_061985 on Oct 19, 2011 7:08 AMHi,
If you are doing it with oops concept then here are the steps for that.
1) Declare DATA : er_data_changed TYPE REF TO cl_alv_changed_data_protocol,
data_changed TYPE REF TO cl_alv_changed_data_protocol.
--For getting the row no of of the row which is edited by user
DATA : ls_mod_cell TYPE table of lvc_s_modi with header line,
lv_value TYPE lvc_value .
in your program
2) Define a class
CLASS notification DEFINITION.
PUBLIC SECTION.
CLASS-METHODS : handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid IMPORTING er_data_changed.
ENDCLASS. "NOTIFICATION DEFINITION
3) For that class write the implementation
CLASS notification IMPLEMENTATION.
METHOD handle_data_changed.
PERFORM handle_data_changed USING er_data_changed.
ENDMETHOD. "handle_data_changed
ENDCLASS. "NOTIFICATION IMPLEMENTATION
4) In the PERFORM handle_data_changed you code like this
FORM handle_data_changed USING er_data_changed type ref TO
cl_alv_changed_data_protocol.
SORT er_data_changed->mt_mod_cells BY row_id .
LOOP AT er_data_changed->mt_mod_cells
INTO ls_mod_cell .
append ls_mod_cell.
ENDLOOP.
*LS_MOD_CELL will have all the rows which were edited
and all the updated data corresponding to those rows*
You can now use the the data which is in LS_MOD_CELL
to update into your DB Table.
LOOP at ls_mod_cell.
READ TABLE itab3 INTO t_output INDEX ls_mod_cell-row_id.
ENDLOOP.
ENDFORM. " handle_data_changed
Regards,
Syed -
How save data from the one row of db to the one cell of excel sheet
hi
how to save data from one row of db to the one cell of excel sheet and so on..............hi,
see this link
http://poi.apache.org/hssf/quick-guide.html
Regards,
Ram -
How to save data from form into database
i nid to save data from form into the new table, @abc.
got any idea ?
smtg like oObj = BaseAddOn.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes) this but it is a new object or user data source.
Thankshi
i have created UDO i have also done registration i want to bind item master completely to matrix and then in one column i will set check box to check unchecked and then i want to save it to database
i have one user defined form and 4 matrix and 4 child tables
for each matrix i have given 1 form and i have to transfer the data from temp form to main form matrix having large data in matrix on temp form to main form matrix
to load data on matrix i have used for loop that i want to avoid so how i can bind large data to matrix without for loop
regards
amey -
Transfer data from cFP to the host
Hi all, I'm using a Fieldpoint cFP 2120 to take data from temperature sensors. I created the VI to read data and targeted it to the cFP from the project. Since I want to store these data, I saved them in file in the cFP, but I want to see them from the host; so I have some questions:
- How can I transfer the saved file from the cFP memory to the host?
- I can directly save the data into the host while I'm running the VI targeted into the cFP?
- How can I access to the cFP memory (see the files in it)?
I'm using LV 8.0
thanks
sandrinoHi,
I am using Compact FieldPoint 2120 with analog I/O to control a robot arm and i am trying to interface a third party device such as a mobile phone (using Java) to program and control the rotation of each joint of the robot arm. I understand this process can be done through TCP/IP or usign DSC software.
For example:
Hosting on TCP port (?) and use the syntax
[newline]::[joint number]::[degree of freedom]::[set to angle in degrees]::
[arm number] = an ascii value 1 or 2 to determine which arm.
[joint number] = an ascii number value.
[degree of freedom] = ascii value x,y or z.
[set to angle in degrees] = ascii value between 0 and 360.
The true is that i have no clue how to set up the interface steps and i will appreciate if someone can suggest an easy way of doing the above steps and which software to use. I am currently using LabVIEW 8.20 for building the control model for the robot arm.
Many thanks
Bakari -
How to Save Data from DataGrid to Excel Sheet?
Hi All,
I am trying to use Adobe Flex 3.0 for making web pages.
I want to save the data from DataGrid and Advanced DataGrid of Adobe Flex 3.0 to Excel Sheet file. I am trying Flex Help, but didn't find answer for it.
In the application there is a button for 'save' by pressing which the 'Save As' window should appear.
And giving the path to the '.xls' file, the data from DataGrid should be saved on that location in .xls format.
This is my requirement.
If anybody knows how to do this please help.
Thank You,
SharadHi
Using document.applet.saveAsCSVFile(); code you can not get data in proper format.
For one of my application i have stored the data from Grid to excel.
But i am not sure about Adobe Flex 3.0, my code will work or not.
Also you need to make the "Initialize and Script Activex Control Not marked as Safe" as enabled in your IE.
You can share ur email. So that i can send the code. Here I am not able to paste the code.
Thanks -
Save data from a presentation to the BPMObject without moving.
Hi there!
This is the actual problem.
I have an interactive activity calling a presentation with the data from a BPMObject called Person.
The fields are editable and the user can change them.
What I want it's a button to save those changed fields into the original BPMObject without having to close the window.
In the case that this were impossible and a submit were necessary I don't want to move the instance from the actual state so the user could open it again and modify all fields that he wants.
Is this possible? Is there any way around?
Thanks!You can do tis with the predefined variable action, with action.REPEAT the result is what usually is achieved with a Save button in a form that I think is what you are looking for. Also with action.REPEAT you do not pass to the next activity and the data is saved.
Hope it helps
Edited by: ruben.vidaurre on 08-abr-2009 5:08
Edited by: ruben.vidaurre on 08-abr-2009 5:11 -
Passing data from calling page to popup window
Hi All,
We are developing a BSP application for business card.I need to provide a preview button .
when the user clicks this button a
poopup window should open with the preview of business card.
My problem is how to pass the values like name , designation etc from the main page to popup window.
The code for previre image:
<h t m l b : i m a g e s r c = " s _ b _ d e tl . g i f " a l t = " P r e v i e w C a r d " o n C l i c k="addr" on C l i e n t C l i c k = " c a l l W i n d o w ( ) ; "/>
<s c r i p t t y p e = " t e x t / j a v a s c r i p t ">
f u n c t i o n c a l l W i n d o w ()
w i n d o w .o p e n ( " p r e v i e w . h t m " ) ;
</s c r i p t >
preview.htm is a simple HTML page . i need to pass values from main page to this page.
OR
Is it possibel to restrict the size of a VIEW to use it as a popup window?
OR
is there any other way to achieve this like.. the <bsp:call comp_id=" " />
tag , but i have no idea how to use it.
Thanks,
Anubhav.
Edited by: Anubhav Jain on Sep 12, 2008 3:38 PMHi Raja,
I did as suggested by you...but it is behaving strangely.
It works fine in debuging mode but when executed directly ....it is not working.
the scenario is:
Thers an image for preview as follows:
<htmlb:gridLayoutCell columnIndex="3" rowIndex="13">
<htmlb:i m a g e s r c = " s _ b _ d e t l . g i f " a l t = " P r e v i e w C a r d " o n C l i c k = " a d d r " o n C l i e n t C l i c k = " c a l l W i n d o w ( ) ; " / >
</htmlb:gridLayoutCell>
The JS code is:
f u n c t i o n c a l l W i n d o w ( )
<%
data: title(5),
fname(20),
lname(20),
comp(20),
addr(20),
city(20),
state(20),
pcode(20),
country(20),
phone(20),
fax(20),
email(241).
alt_addr-title = request->get_form_field( 'title' ) .
alt_addr-firstname = request->get_form_field( 'fname' ) .
alt_addr-lastname = request->get_form_field( 'lname' ) .
company = request->get_form_field( 'comp' ) .
alt_addr-street = request->get_form_field( 'addr' ) .
alt_addr-city = request->get_form_field( 'city' ) .
alt_addr-region = request->get_form_field( 'state' ) .
alt_addr-inhouse_ml = request->get_form_field( 'pcode' ) .
alt_addr-country = request->get_form_field( 'country' ) .
alt_addr-tel1_numbr = request->get_form_field( 'phone' ) .
alt_addr-fax_number = request->get_form_field( 'fax' ) .
alt_addr-e_mail = request->get_form_field( 'email' ) .
CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
EXPORTING
name = 'FORMFIELDS'
application_name = runtime->application_name
application_namespace = runtime->application_namespace
username = sy-uname
session_id = runtime->session_id
data_value = alt_addr
data_name = 'alt_addr'
expiry_date_rel = 1.
%>
w i n d o w . o p e n ( " . . / z _ b i z c a r d / p r e v i e w . h t m " , " W i n E " , " w i d t h = 2 4 0 , h e i g h t = 3 0 0 , t o o l b a r = n o , r e s i z a b l e = no ")
I was doing something similar...created a controller and a view , was calling the controller from window.open method with all other parameters for sizing etc.
How to pass a structure conatining data,from controller to the view...
Now in the onCreate event of the page PREVIEW.HTM in using;
CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
EXPORTING
name = 'FORMFIELDS'
application_name = runtime->application_name
application_namespace = runtime->application_namespace
username = sy-uname
session_id = runtime->session_id
data_name = 'alt_addr'
CHANGING
data_value = alt_addr.
and in the layout of PREVIEW.HTM in am using this alt-addr:
But if put a break point at the onCreate event of preview.htm and the execute i get the values in alt_addr but if i execute directly...it is empty in the layout?
What is the problem?
Thanks,
Anubhav. -
How to save data from a waveform chart to a file?
Hi! I have a question:how to save a real time data from a waveform chart? attachement is a example,how can i do to save the data from 0 second to 25 seconds to a file ?thanks!
Attachments:
example.vi 23 KBYou can use a property node to get the chart history as a array. Then you can write that data to the file. The data in the array in you example can also be writen to a file. If you only wnat a portion of the data to be saved, use the Array Subset function to get the part you want.
Lynn -
How to Save data from HR_INDVAL BADI
hI
I M USING THE ABOVE BADI FOR CALCULATION OF BONOUS FOR INFOTYPE 15 .... IT IS CALCULATING VERY WEL BUT DATA IS NOT GETTING SAVE IN PA0015 .
KINDLY HELP ME
REGARDS
AMMADhi
i have created UDO i have also done registration i want to bind item master completely to matrix and then in one column i will set check box to check unchecked and then i want to save it to database
i have one user defined form and 4 matrix and 4 child tables
for each matrix i have given 1 form and i have to transfer the data from temp form to main form matrix having large data in matrix on temp form to main form matrix
to load data on matrix i have used for loop that i want to avoid so how i can bind large data to matrix without for loop
regards
amey -
Walkthrough: Displaying Data from Oracle database in a Windows application.
This article is intended to illustrate one of the most common business scenarios such as displaying data from Oracle database on a form in a Windows application using DataSet objects and .NET Framework Data Provider for Oracle.
You can read more at http://www.c-sharpcorner.com/UploadFile/john_charles/WalkthroughDisplayingDataOracleWindowsapplication05242007142059PM/WalkthroughDisplayingDataOracleWindowsapplication.aspx
Enjoy my article.hi,
this is the code :
public class TableBean {
Connection con ;
Statement ps;
ResultSet rs;
private List perInfoAll = new ArrayList();
public List getperInfoAll() {
int i = 0;
try
con = DriverManager.getConnection("url","root","root");
ps = con.createStatement();
rs = ps.executeQuery("select * from user");
while(rs.next()){
System.out.println(rs.getString(1));
perInfoAll.add(i,new perInfo(rs.getString(1),rs.getString(2),rs.getString(3)));
i++;
catch (Exception e)
System.out.println("Error Data : " + e.getMessage());
return perInfoAll;
public class perInfo {
String uname;
String firstName;
String lastName;
public perInfo(String firstName,String lastName,String uname) {
this.uname = uname;
this.firstName = firstName;
this.lastName = lastName;
public String getUname() {
return uname;
public String getFirstName() {
return firstName;
public String getLastName() {
return lastName;
ADF table code:
<af:table value="#{tableBean.perInfoAll}" var="row"
binding="#{backing_Display.table1}" id="table1">
<af:column sortable="false" headerText=""
align="start">
<af:outputText value="#{row.firstName"/>//---> Jdeveloper 11g doesn't allow me to use this.. it says firstName is an unknown property..
</af:column>
</af:table>
Please tell me is this the way to do it.. or is it a must to use the DataCollection from the data controls panel...
Thanks... -
How to save data from a server log to the java dictionary table?
Hi,
I need a java dictionary and a program which will read data from the log file and save records into tables.
Can somebody help how to achieve this? Please help!
Thanks & regards
AmitaHi folks, Give some inputs here....
Thanks & regards
Amita -
Trying to save data from Treo 680 on Desktop by Access into a Palm Zire 21
Hello,
I'm no longer using my Palm 680 for a phone but just as a PDA for the address book and date book, so I figured I could use a Palm Zire 21 instead. I only have my data on the desktop now, so I chose to hot sync data from the Desktop into the Z21 PDA. I also clicked on File and created two export files one for my Date Book and one for my Address Book but when I tried to Import them into the PDA the prompt said: they were corrupt? I hope someone can tell me how to fix this problem. Thanks electrikn <><I had the same problem you did. The standard CD from Palm is V4.2. That version will NOT work with BB Desktop. You can download V4.1.4e from the Palm web site. That will sync with the BB Desktop software. Make a backup of all of your Palm software, uninstall it with Windows Control panel, and then install the downloaded software and restore your Palm data. The data is all in one sub-folder with a name similar to your device name. Here is a web link to the Palm download site:
http://www.palm.com/us/support/palmdesktop.html
Beware: A number of fields DID NOT get copied over using the BB Desktop software. I am now faced with editing 1800 contacts to fix this problem. For example, the Palm Contacts field does not exist in the BB, so it is not imported at all. I also had problems with my Calendar. None of my old history was imported. I wanted to keep my history. I am rather disappointed with the import process. It did work, but left no options to fix these problems and restore my missing data. -
Hi,
We have one dot net system and one java system doing our core business.
I want to save data(which is updated daily) from these systems and save into SAP. Not flat files. I want live data sync.
How is this possible.
Thanks,
SwethaHi Swethan,
I don't understand your question. If you want real-time integration then you would more than likely be using webservice communication between these systems.
Do you have something specific that you want to understand?
Regards, Trevor
Maybe you are looking for
-
Assigning Query to Transport Request
Hello , I need to modify the Query 0CSRV_C01_Q0102 Service Tickets Current Month Completion Rate by Emp Resp The Requirement is I need to change the Text view of Employee Responsible to Mediun Length text . When i changed the text and saved it is not
-
Wired Windows XP Printing Problem to AEBS. HELP!!!!!
I have been trying to figure this out for the past two days. Im basically about to rip my hair out. I have an old AEBS (the saucer one) with the 5.7 firmware, with an HP Office Jet J5780 connected. I have 2 Macs, both running 10.5.2 connected wireles
-
How to recover photos from a usb key to put on ipad
how to recover photos from a usb key to put on ipad
-
Using a MAC.
-
Can't Start WLi server, Need info on System User Rights
Hi: System WIN 2K Professional Laptop Dell Latitude No matter what system/Administrator user I try to use I can't start the WLserver for WLi. Error message is at end of posting What am I missing? or what rights should be assigned system user for WL t