Digital counter data is not written into a file
Hello
I'm a beginner with labview and I'm trying to make a measurement program for my setup (sensor data -> file). I have the USB-6008 and I'm trying to save data from a digital counter and 3 analog ports. The counter is for RPM and the number of revolutions. Analog is used for force, potential voltage and temperature. Currently data from the analog ports is written to a file normally but all the data from the digital side is lost. So in the measurement text file columns for the digital data are empty.
The DAQ assist for the counter is set "on demand" but the analog DAQ assist has a sampling rate of 1k (continous). My problem propably comes from the different sampling rates. I could set analog sampling to "on demand" but I need the 1k rate for the measurements. Also making two different measurements files works but it's very inconvinient.
Am I right about the sampling rate and how would I fix this?
Attachments:
measurements.vi 144 KB
Think Data Flow. For a Loop to "loop", everything inside the loop must execute. Furthermore, since your loop starts with "Acquire one sample" and ends with "write one sample", the time for the loop to execute will be the sum of the times to sample (1 msec) + write (??).
Take advantage of the fact that LabVIEW in inherently parallel. Instead of taking one sample/loop, take (say) 1000, but do not write them in the same loop. Instead, "export" them to a parallel loop (via a Queue) so that when the 1000 samples arrive, they are written all at once. While it is true that to acquire 1000 samples at 1KHz will take 1 second, most of that time will be spent "waiting" for the next sample to be taken (it takes almost no time to put a point on a Queue). Similarly, if I have a whole second to write 1000 points to a file, that's more than enough time.
Separating "serial" tasks into parallel streams is a common LabVIEW Design Pattern called the Producer/Consumer pattern. There are numerous examples of this pattern, including a template that will write the basics of the code for you (open the File menu, choose "New...", From Template, Frameworks, Design Patterns, Producer/Consumer Design Pattern (Data)). A slightly more sophisticated example can be found by starting LabVIEW, New Project, Continuous Measurement and Logging.
Bob Schor
Similar Messages
-
Dear Gurus,
Synchronization from SLD to LMDB is working fine, but data is not written to Software ==> Product Instance section tab. What could be the problem ? Normally it should gather automatically, but pushed me to select manually lots of component ???
Here is collecting is working fine !!!Hello Kemal,
You have to ensure that your Technical System info is properly filled automatically.
In LMDB you first create its Product System on LMDB Start Screen ProductSystem tab, after that please assign its respective Technical System. You probably need to run the Verification Check in order to confirm that your Product System has all Product Instances according on Technical System's Software Component Versions.
Regards.
Luis Roel -
MIGO- Goods Issue- Order, the value is not written into Table COSP
Hi,
We make a substitution of wbs element of line item( BSEG-PROJK ). The wbs filed will be filled automatically when the user input a cost center or a order number.
But we found some inconsistency in standard report S_ALR_87013558 OR CJI3.
The following is what we have done:
In Tcode F-02, we enter a order(e.g. A), then the WBS Element is filled automatically. when we post the document, and go to Standard report: S_ALR_87013558,
we can see the amount in the report.
In MIGO, we make a goods issue by order(e.g. A. Movement type is 261) , when we post, Material Document and Accounting document and Controlling document , but in report S_ALR_87013558 or CJI3. the amount is wrong, we can not see the amount we have done in MIGO.
The movement type 201 is also wrong, the value is also not written into tabl cosp.
But GI for project-movement type 221, the value is written into table cosp.
Can you tell me this is wrong or right? if right, why? if wrong, how can i correct it, i need some customizing or others? or my substitution affect the result?
Best Regards
qingdaSorry, not reply these days.
And very thanks for all your replies.
I am a abaper, not familiar with the business.
The business consultant want to control budget, control cost.
At first, he let me do a substibution in FI line item of besg-projk(WBS Element), when we he test the substitution in TCode F-02, the WBS field is filled automatically as per G/L account and Cost Center or as per G/L Account and Order, and then in Standard Report 'S_ALR_87013558', we can see the changes of the cost.
But when biz consultant do a MIGO->Goods Issue by order, we can not see the changes of the cost,but the value of WBS in FI Accounting Document is substituted correctly.
And if we enter the WBS manually when we do a MIGO->Goods Issue by order, we can see the changes of the report 'S_ALR_87013558'.
In the original post, i was wrong, when we do a goods issue with movement type 201, the result is the same as 261, also we cant see the changes. but if we enter the wbs manually(movement type 201),the changes is write to COSP table.
The solution about the original requirement is right or wrong?
Thank You All.
Best Regards
qingda -
CDC Error (JOURNALIZED DATA is not loading into tartet database)
HI,
I have enabled source database for CDC and got green mark on source database model tables.
while inserting data into source, J$ tables updating JRN_SUBSCRIBER and other filed.
when I run the package/ interface JOURNALIZED DATA is not loading into target database.
i have implemented cdc for 7 source table.
and using JKM MSSQL Simple
and enable JOURNALIZED DATA in interface level.
and
source database is : MSSQL Server
Target Database : Oralce 11g.
please advice me.
thanks in advance.
Zakeer HussainZakeer look into this link , -http://odiexperts.com/?p=1096 . Hope this helps.
also before running Can you right click on the Source Datastore and click on Journal Data and can you see the data ? and if still the data is not passing through ,in that case make temporary objects t- yes in LKM , IKM and debug and see at which step data is not flowing through and look if there is any filter or condition which is stopping it .
Still not able to figure out please tell us which step the data is not flowing through we will try to guide you. -
Data is not populate into base table
Hi all,
I am using Oracle EBS R12 and OS is WIN XP. I am working in PO module.The data is not populating into the base table after running the concurrent program.Instead,the interface error table is populated with the error.
The error is :-- Bill to location id not valid
Name of concurrent program:import Standard purchase orderPl identify which version of R12. Pl see if these MOS Docs can help
Vision Demo - How To Import Standard Purchase Orders Using the Purchase Document Open Interface (Doc ID 1054004.1)
How To Diagnose Problems With Importing Standard Purchase Orders (Doc ID 781351.1)
HTH
Srini -
Internal Table data is not overflowing into Next Page - Adobeforms
Hi,
I have an issue if the internal table consits of more than 20 records that data is not overflowing into next page.
Here am using Header only on first page & Table will follows...
Regards,
PraVeen..
Edited by: praveenreddys on Feb 15, 2012 10:51 PMHi praveenreddys ,
I had the same requirement, I did as follows:
LEFT HAND SIDE SELECT "TABLE": check below right hand side properties for this object
1. table tab: select the check box allow page breaks within content.
2. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
LEFT HAND SIDE SELECT "HEADER": check below right hand side properties for this object
3. row tab: select the check box allow page breaks within content.
4. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
select the check boxes: Include header row in initial page
include header row in subsequent pages
Binding tab property:
5.select check box: Repeat row for each data item
LEFT HAND SIDE SELECT "ROW": check below right hand side properties for this object
6. Row tab: DON'T select the chek box allow page breaks with in content
4. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
Binding tab property:
5.select check box: Repeat row for each data item
Then test..it would work for you...ALL THE BEST!!!
If this helps please reward points.
Reards,
Naresh. -
File to RFC problem- data is not inserting into ztable in R3 system
Hi
i have done File to RFC scenario which picks data from flat file and inserts into ztable via RFC in R3. but while testing my scenario everything is successful in XI monitoring (Successful flag in MONI and RWB) and in auditlog message status is DLVD.
it seems to be everything successful in XI and RFC call also successful in R3 system.
but for some reason data is not inserting into table (RFC is used to insert data into ztable)
Is there any way to debug RFC call excecution in XI..?
RFC code is like this:
insert ZMM_AUTO_GR from INPUT_TABLE.
commit work.
END FUNCTION.
please advice what could be the reason not inserting into table.
Help would be appreciated.
Regards,
RajeshHi Praveen,
please see audit log- from communication channel monitoring..
Receiver channel 'CC_INCA_RFC_SAPECC_Receiver' for party '', service 'R3DCLNT210' (internal name 'RfcClient[CC_INCA_RFC_SAPECC_Receiver]')
Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=210, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=jsaha, jco.client.sysnr=00, jco.client.ashost=ausr3devdc02}
Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=210, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=jsaha, jco.client.sysnr=00, jco.client.ashost=ausr3devdc02}
Current pool size: 1, maximum pool size : 1
Channel History
- OK: 2008-07-28 04:32:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
- OK: 2008-07-28 04:31:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
- OK: 2008-07-28 03:56:56 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
- OK: 2008-07-28 03:49:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
- OK: 2008-07-28 03:48:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA -
Data is not inserted into database through OA-Page
Hi all,
I developed a region to store supplier additional information.In that region i'm able to enter data into fields and data is sucessfully stored into custom table.But when I embedded that region with Supplier-Address Book page(in R12) page through Personalization i'm facing a problem with inserting data into custom table.i.e After I entered data the data is not goes to custom table and the fields which are filled by data are also not cleared.
Could anyone please help me..
Thanks in Advance
Edited by: user9970067 on Oct 13, 2009 12:15 PMHi Nilesh,
First I just created region in Jdeveloper and ran it from jdeveloper then it's working fine.After this I added custom region in seeded xml page file and then ran page from Jdeveloper,then the data is not saved into custom table.
Steps I followed:
1. I created an EO(oracle/apps/pos/supplier/server)
2.Created VO based on above EO(oracle/apps/pos/supplier/server)
3.Created AM based on VO(oracle/apps/pos/supplier/server)
4.Created one Region based on this view instance.(oracle/apps/pos/supplier/webui)
5.Created one CO for the above region.( compiled and ran this standalone region then it's working fine)
6.Now I embedded the above region with the page which is located in oracle/apps/fnd/ framework/toolbox/tutorial/webui/SupplierSearchPG.xml through personalization.
When I entered into customized region the "save " button in my region is not highlighted.only "GO" button in SupplierSearch is highlighted.when I click on "save" button in my custom region it's not calling the controller.
could you please give me any solution for this.
Thanks in Advance. -
Data is not inserting into table
Hi Team,
I am inserting data into a custom table.
but my records are not inserting into table
//CO File
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("createEmployee");
// am.invokeMethod("init");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("Apply") != null)
OAViewObject vo = (OAViewObject)am.findViewObject("TestEmpVO1");
String NAME = (String)vo.getCurrentRow().getAttribute("Name");
Number employeeNumber = (Number)vo.getCurrentRow().getAttribute("Num");
String NUM = String.valueOf(employeeNumber.intValue());
am.invokeMethod("apply");
MessageToken[] tokens = { new MessageToken("EMP_NAME", NAME),
new MessageToken("EMP_NUMBER", NUM) };
OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
OAException.CONFIRMATION, null);
pageContext.putDialogMessage(confirmMessage);
else if (pageContext.getParameter("Cancel") != null)
am.invokeMethod("rollbackEmployee");
TransactionUnitHelper.endTransactionUnit(pageContext, "empCreateTxn");
// End CO
//AMImpl
package oracle.apps.fnd.framework.toolbox.labsolutions.server;
import oracle.jbo.Row;
import oracle.jbo.Transaction;
import oracle.jbo.RowSetIterator;
import oracle.jbo.domain.Number;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OARow;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.server.OAViewObjectImpl;
// --- File generated by Oracle Business Components for Java.
public class TestEmpAMImpl extends EmployeeAMImpl
* This is the default constructor (do not remove)
public TestEmpAMImpl()
* Container's getter for TestEmpVO1
public TestEmpVOImpl getTestEmpVO1()
return (TestEmpVOImpl)findViewObject("TestEmpVO1");
* Creates a new employee.
public void createEmployee()
OAViewObject vo = (OAViewObject)getTestEmpVO1();
// Per the coding standards, this is the proper way to initialize a
// VO that is used for both inserts and queries. See View Objects
// in Detail in the Developer's Guide for additional information.
if (!vo.isPreparedForExecution())
vo.executeQuery();
Row row = vo.createRow();
vo.insertRow(row);
// Required per OA Framework Model Coding Standard M69
row.setNewRowState(Row.STATUS_INITIALIZED);
} // end createEmployee()
public void apply()
getDBTransaction().commit();
* Sample main for debugging Business Components code using the tester.
public static void main(String[] args)
launchTester("oracle.apps.fnd.framework.toolbox.labsolutions.server", "TestEmpAMLocal");
//End AmImpl
Please suggest.
Thanks,
AjitAjit,
Its always a good idea to close the thread with an explanation. It will help others whenever they are into similar situation.
--Shiv -
Date rules not copied into service ticket
We are implementing a SAP CRM 2007 Service scenario with the IC Webclient.
When creating a service ticket, a product is assigned and a service contract is automatically determined. This service contract contains a Service Profile and an Reaction Scheme. All date types are copied into my service ticket but I am missing my durations for the items it seems like they are not assigned to the bussiness transaction. This is not what I am expecting because the item, contract, response profile and Service profile are determined.
when creating the same type of service transaction in CRMD_ORDER and assigning the product the contract is determined and all durations are determined and assigned, based on the contract.
Has anyone encountered this problem or a clue how to solve this
regards,
RemkoHello Buijink
By default the service ticket only shows the dates and not the durations of your date profile.
You will have to use the UI config tool to add Durations to service ticket.
Here's how:
1. Tcode BSP_WD_CMPWB - BSP WD Component Workbench
2. Component ICCMP_BTDATE > Display
3. Views > ICCMP_BTDATE/Dates > Configuration
4. Click on "Show Available Fields" you will see "Blocks" folder, expand that and you will see BTDatesDurations.
5. Copy configuration to your role config key and add BTDatesDurations.
Once you add BTDatesDurations you will be able to see durations on service ticket.
Regards
Rupesh Patil -
Data is not loading into the target table in BODS
BODS job is executing successfully but data is not loading.
can anyone please let me know what is the problem
Regards,
DevaHi Deva
The Information provided is very limited, what are your Source and Target Databases?
What is the structure of the job design?
If the job completed without error, review the job logs to confirm that rows were indeed processed.
Regards
Charles -
Billing date is not populating into the sales order
Hi Experts,
I am creating the sales orders by filling the IDOC's Segment data from a file. Sales orders are getting created however the BILLING DATE is not getting populated by the date from file instead it is taking the system date.
Segments used are
Header: E1EDK03 016 021 and 026.
Item: E1EDP03 016 021 and 026.
Please help me in this regard.
TIA.
Regards,
Kishore.
Edited by: kishore gaddam on Jul 18, 2009 10:06 AMHi,
Check with function guy , there could be some settings need to be done for getting external date populated in billing date field.
Thanks, -
Cascading Style Sheets are NOT written to the file system
Hallo,
On the "Cascading Style Sheets" page is written that: "The Cascading Style Sheets are written to the file system, so you can reference them in your HTML source code."
I am true that if this works I can reference the css with something like this?
<link rel="stylesheet" href="/i/sample.css" type="text/css">
and do not need this style:
<link rel="stylesheet" href="#APP_IMAGES#sample.css" type="text/css">
<link rel="stylesheet" href="#WORKSPACE_IMAGES#sample.css" type="text/css">
I have looked on the "Cascading Style Sheets" page: http://127.0.0.1:7780/apex/f?p=4000:37
Are there some other preferences, options, etc. to set that this will be working?
Thx for your help. WilliHi,
CSS files uploaded through Shared Components, Cascading Style Sheets are written into the database, so you would have to use:
<link rel="stylesheet" href="#WORKSPACE_IMAGES#sample.css" type="text/css"/>You should be able to see these if you run the following in SQL Commands:
SELECT * FROM APEX_APPLICATION_FILES
WHERE UPPER(FILENAME) LIKE '%CSS%'Andy -
Import data from Oracle table into flat file
How to import the data in the oracle table into flat file using UTL File of PL/SQL....
I am new in PL/SQL..
can someone help me in writing query?Note : Not Tested.
DECLARE
V1 VARCHAR2(32767);
F1 UTL_FILE.FILE_TYPE;
cursor c1 is select ename,empno from emp;
r_c1 c1%rowtype;
BEGIN
-- In this example MAX_LINESIZE is less than GET_LINE's length request
-- so the number of bytes returned will be 256 or less if a line terminator is seen.
open c1;
F1 := UTL_FILE.FOPEN('MYDIR','MYFILE','W',256);
loop
fetch c1 into r_c1;
v1:= r_c1.ename||''||To_char(r_c1.empno);
UTL_FILE.PUT_LINE (F1, v1,TRUE);
v1:= null;
Exit when c1%not found;
end loop;
UTL_FILE.FCLOSE(F1);
END;
http://download.oracle.com/docs/cd/B19306_01/appdev.102
------------------------------------------------------------------ -
Dump data from server (unix) into flat file on client (PC) on regular schedule
Hi folks,
I wish to dump the contents of a table (Oracle on Unix) into a file residing in a local directory (PC client). I know how to use utl_file but, init.ora resides on unix, therefore it will create file on unix directory and not the client machine.
Any ideas?Hi Bro
if u wan to write a file on Server use this code..
procedure write_file
filename varchar2,
mesg varchar2
is
hfile_handle utl_file.file_type;
begin
begin
file_handle := utl_file.fopen( '<FILE_PATH_HERE>', filename, 'A');
exception
when utl_file.invalid_path then
dbms_output.put_line('invalid path dummy');
when utl_file.invalid_operation then
file_handle := utl_file.fopen( '<FILE_PATH_HERE>', filename, 'W');
when others then
raise;
end;
utl_file.put( hfile_handle , mesg);
utl_file.fclose( hfile_handle );
exception
when utl_file.invalid_path then
dbms_output.put_line('invalid path dummy');
when utl_file.invalid_operation then
dbms_output.put_line('invalid opertaion dummy');
when others then
raise;
end write_file;
==================================================
and If you want it in the client you can use the one given below.
declare
file_handle text_io.file_type;
L_file_name := 'C:\Folder1\Filename.txt';
begin
file_handle := text_io.fopen(L_file_name,'w'); (mode should be 'a' instead of 'w' if u want to append)
text_io.put_line(file_handle,l_data) ;
text_io.fclose(file_handle) ;
end;
4 any help plz write me
Khurram.
Maybe you are looking for
-
How to bring the Header value to the row ?
Dear All, I am a starter in learning SDK. have developed a form having 2 tables a header and a row detailed one. Now i need to update a field in all the row with a header value when the header value is added. it should be like the SE name getting upd
-
How can I get music purchased on my iPhone to iTunes?
I recently bought an album via iTunes Music Store on my iPhone 4S, but I can't seem to figure out why it isn't syncing to my iTunes account on my computer. I am not using iTunes Match cloud or anything. This was happening even with automatic download
-
Oracle8i Release 2 (8.1.6) on Mandrake Linux 7.1
I am trying to install Oracle8i R2 on Linux Mandrake. I've got the Oracle8i EE CD. I have followed the pre-installation steps of creating the groups, user and updating the .bash_profile file for "oracle" user with all the env. variables. After, I exe
-
N8 HDMI only works in portrait mode, gets disconne...
Hi. Like the title states, my Nokia N8 HDMI works as expected in portrait mode but when I turn the phone sideways (like when I want to play Angry Birds) it immediately gets disconnected. Even the small "HDMI" logo in the top right corner disappears.
-
Hi All, While Running the Depriciation i am getting below error Account 600400 is a Depreciation A/c for F & F. Account 600400 requires an assignment to a CO object Message no. KI235 Diagnosis You have not defined a CO account assignment for an accou