Collecting data from nested loops
I have ended up with a program having "case" loop at the top level and 3-4 nested "for" and "while" loops. Now from the inner most loop from each "case", I want to pull out the data, fromat it and then write it in a excel sheet. The problem is that I am not able to pull out the data. Everytime I try to do it, the dimension of array changes due to the nested loops. Is there a better way to do it?
Thanks,
Vivek
It is not possible for us to troubleshoot the code from an image that only show part of it.
From what I can see, a lot of things don't make much sense. Also please don't run wires backwards (such as the wires from the "How many channels" Control entering the big loop from the right.) This can make reading and debugging a diagram very difficult!
Let's look at the inner FOR loop on the right: It runs several times, generating 1D arrays each time.
Leaving this loop, they autoindex into 2d arrays, whitch you reshape into 1D arrays.
Leaving the next loop some are autoindexed into another 2D array, except for the top one, where you only retain the data from the last iteration. Is that really what you want?
Now we exit a case strucure, where apparently each case has it's own three outputs, so for each case, One set contains data, but the other two sets generate empty data. About 2/3 of all your data is zero, this is a lot of wasted memory!
Leaving the big FOR loop, nothing is indexed, meaning you only get sets of 1D and 2D arrays from the last iteration. If you would autoindex, you would get 2D and 3D arrays.
As you can see, this all make little sense unless we can see the code and some real data. Also, you have not implemented any of my suggestions from above. Why not?
Message Edited by altenbach on 07-21-2005 08:37 AM
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
Explorer failed to collect data from SE6920 array
Hi,
Any kind soul out there can provide advice how can I collect data from SE6920 using the explorer command ?
The man page of explorer says that to collect data from SE6920 aray, an input file "se6920inout.txt" with login info
must be exist under the /etc/opt/SUNWexplo directory of the server connected to th array.
However, the data collection failed while trying to retrieved from the array. The error as follow :
Gathering data for SE6920 machine at 10.12.22.39...
Nov 18 09:24:12 sslab-79[25355] se6920: ERROR Data collection for 10.12.22.39 failed because the /tmp directory is either 100 percent full,
patch 114591-22 or higher is not installed on the SP, or fix for BugID 6448763 has not yet been implemented.
Thanks very much reading this message.If all of the files are in the same folder you can use List Folder to list all of the files based on a pattern. You can then use this to auto-index a for loop.
-
Retrieve data from nested tables
Hi All,
I have big trouble to retrieve data from nested tables..
From java code developer are passing struct data type to Oracle procedure.. So equal data type in oracle has been created as created as object
CREATE OR REPLACE TYPE TXNDATA AS OBJECT
TRAN_ID NUMBER ,
EVENT_ID NUMBER ,
EVENT_CD VARCHAR2(10 BYTE))and create a procedure which has a IN parameter as TXNDATA
now i need to retrieve the column data's through SELECT clause such as
TYPE Proc_txn IS TABLE OF TXNJOURNALDATA;
EVENT_JOURNAL_SEQ Proc_txn;
select * from table(cast(EVENT_JOURNAL_SEQ));but above SQL will give all column data's but i need to retrieve only 2 column values such as
select EVENT_ID , EVENT_CD from table(cast(EVENT_JOURNAL_SEQ))how can i achieve the above result set?
Thanks & Regards
Sami.use a table alias in your query
SQL> set serveroutput on
SQL> create TYPE TXNDATA AS OBJECT
2 (
3 TRAN_ID NUMBER ,
4 EVENT_ID NUMBER ,
5 EVENT_CD VARCHAR2(10 BYTE));
6 /
Type created.
SQL>
SQL> create type txnjournaldata
2 as table of txndata;
3 /
Type created.
SQL>
SQL> declare
2 txn txnjournaldata := txnjournaldata (
3 txndata(10, 20, 'One')
4 ,txndata(10, 20, 'Two')
5 );
6 begin
7 for rec in (select tx.event_id
8 , tx.event_cd
9 from table (txn) tx
10 )
11 loop
12 dbms_output.put_line (rec.event_id||' - '||rec.event_cd);
13 end loop;
14 end;
15 /
20 - One
20 - Two
PL/SQL procedure successfully completed.Edited by: Alex Nuijten on Oct 24, 2011 12:24 PM -
Use Java to collect data from HTML
Hi Guys
I am doing a online stock trading project, the main part is to collect raw data from http://finance.yahoo.com User can retrieve the stock detail by inputting the right stock symbol, such as "AOL". I dont have too much problem in this part because yahoo provde a spreedsheet format to display the result. If you type the URL below, it can bring you a set of stock data separating by comma. So, I can use StringTokenizer(date, ",") to collect each data from yahoo into my system.
========================================================================
http://finance.yahoo.com/d/quotes.csv?f=sl1d1t1c1ohgv&e=.csv&s=AOL&
"AOL",15.57,"8/12/2003","4:01pm",+0.04,15.47,15.63,15.40,12097200
========================================================================
However beside this function, I also need to search Stock Symbol, because user may only know the company name. Although Yahoo finance also provide this function, with no spreedsheet format provided. So, if I type the URL below, it will only give me a set of result BUT in HTML format.
========================================================================
http://finance.yahoo.com/l?s=AOL&t=S&m=
========================================================================
So, can anyone tell me what is the best way to collect data from a HTML page? Or anyone know any good stock quoting sites which also provide spreedsheet format?
Thank you very much
KelI am doing a online stock trading project, the
the main part is to collect raw data from
http://finance.yahoo.com
Sounds fun.
So, can anyone tell me what is the best way to
to collect data from a HTML page? Or anyone know any
good stock quoting sites which also provide
spreedsheet format?I really don't know any other stock quote sites. But if you want to implement a search function for stock names, I would do it like this
1) Code the HTTP SUBMIT/POST to lookup the possible stock names
2) Use XSL to filter out the HTML path to the table with results, the layout is consistent, so there are no strange exceptions. You can check the DOM structure by using Mozilla's DOM inspector. Just write down the path to the TABLE element and select it, and transform it to CSV for example.
3) Reparse the CSV to fill some boxes
To possibly save some server load use a small fixed size in memory cache to store N requests based on some strategy.
The other part is actual a separate part of what you want to code and should be a separate class in which you can feed the stock name.
If the user types in a bad stock name, you can retrieve a list of possible names using the input as the company name.
Greets.
Maybe there is a SOAP service out there somewhere. -
RICS0001:Internal Error,unable to process the collected data from the device.
Hi all,
I've got the following error in Inventory Collection: 'RICS0001:Internal Error,unable to process the collected data from the device.'
System is CW LMS 2.6
If I search the web I get the following Cisco document:
http://www.cisco.com/en/US/products/sw/cscowork/ps2073/prod_troubleshooting_guide09186a008036dff2.html
'...in the log directory look for IC_Server.log.'
IC_Server.log:
[ Di Nov 16 15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,173,Got Async Request, User Name :admin
[ Di Nov 16 15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,179,Request ID is : 1289919235488
[ Di Nov 16 15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,309,Started processing device ID: 3341
[ Di Nov 16 15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,724,com.cisco.nm.rmeng.util.db.DatabaseConnectionPool,getConnection,59,Inside ICSDatabaseConnection, MAX_COUNT =20
[ Di Nov 16 15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,387,Started processing device Name: 9.152.255.101
[ Di Nov 16 15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,103,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, begins...
[ Di Nov 16 15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,110,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device begins...
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,147,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device successful...
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,149,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population begins...
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,216,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:Before method getSlotsConfiguredStatistics
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,225,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:After method getSlotsConfiguredStatistics
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,245,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population completed...
[ Di Nov 16 15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,105,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, ends...
[ Di Nov 16 15:54:43 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,477,DP time is 15 seconds for 9.152.255.101
[ Di Nov 16 15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,770,com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange,effect,33,Unexpected error :com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
at java.lang.Thread.run(Thread.java:534)
[ Di Nov 16 15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor,448,ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
at java.lang.Thread.run(Thread.java:534)
[ Di Nov 16 15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,861, Exception occured in process method while processing: 9.152.255.101 ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
ICSException :: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:463)
at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
at java.lang.Thread.run(Thread.java:534)
I don't know where the German error message comes from. The whole system is English. Translation is: "ASA error -192: primary key for table 'PhysicalElement' isn't distinct'
Thanks for your help!
AlexWell known issue in LMS 2.6. Most likely you are hitting CSCsm97530. As a temporary solution you could remove and re-add problematic device from CS. To get a permanent fix you need a patch (provided by TAC).
-
How can i control NI-6115 to collect data from 2 channels and save as 2 files?
I want to program NI-6115 card to collect data from 2 channels and save the two data into two different filenames that i specified?
How do i write in labview codes?Calibur,
LabVIEW includes a number of examples that demonstrate how to acquire analog input data and write it to disk. Dependent upon the type of file you would like to use, I would suggest that you examine one of the following examples:
Cont Acq to File (binary).vi
Cont Acq to File (scaled).vi
Cont Acq to Spreadsheet File.vi
With regards to writing each channel's data to a separate file, you will need to use the Index Array function to generate two 1-D arrays, each containing data for one channel. These arrays can then be written to separate files using two Write File functions.
Good luck with your application.
Spencer S. -
Is it possible using SQLite to collect data from an older SQL database?
Is it possible using SQLite to collect data from an older SQL database? Where can I find a possible answer. Thanks in advance.
There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal.
In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
hth,
ido -
Using LabVIEW 6.1 to Collect Data from FieldPoint Modules
I’m just starting off and am stumbling at the first hurdle. How to I collect data from fieldpoint in Lab View 6.1 (yes I no its old)
ThanksBasically, the process is very simple. You first define the channels you want to measure in either FieldPoint Explorer or MAX. Which tool you use depends on how old the drivers are that you are using. Originally there was a seperate program for configuring FP but they eventually rolled it into MAX. In any case once you have the channels defined (and named) yu simply use the FP VIs to read the channels, refering to them by name.
One warning about the original FieldPoint: It is not an industrial product in any sense of the word. The system is very, very sensitive to heat, shock and vibration.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Collecting data from two R3 source systems
Dear All,
Scenario:
We are in the process of implementing SAP BI 7.0 in our organisation.
We have a single BI server (7.01) collecting data from two source
systems from two different divisions within the group.
The first system is of Company 1 where we have IS u2013 MILL (ECC 6.0).
BI has been implemented and running successfully in this unit. Now we
have started implementing BI in the second unit u2018Company 2u2019
where the industry specific solution IS u2013 AFS (ECC 6.0) is the source
system.
We are activating BI Standard Content for AFS. When we try to upload
master data, we face a problem.
The master data (0Division, 0Mat_Grp_3, etc.) is already loaded with
IS Mill data (data from the first source system). Now when the data is
loaded from IS AFS (second source system), wherever, the same key
exists in the info object, we notice that the existing data is
overwritten by the freshly loaded data, thus causing loss of existing
data.
A typical example is as follows:
BW Data u2013 Source system 1 u2013 (Before upload of data from source system
2):
0Division
99 EN Stock Transfer Out
AFS Data (Source system 2) -
0Division
99 EN STO
BW Data u2013 Source system 1 u2013 (After upload of data from source system 2):
After uploading the master data from AFS, the Values areu2026
0Division
99 EN STO
The original data is lost.
Similar problem is noticed with other master data as well.
Please suggest the right methodology for upload of master data when
data to BW is sourced from two systems. How to retain the data in the
same Infoobject but at the same time maintain distinction between the
data from the two systems.
We donu2019t find any specific mention of such scenarios in the standard
documentation.
Will such a problem recur when we upload transactional data?
Regards,
Aslam KhanHi Aslam,
Please use some compounding attribute for your master data object like Sourcesystem ID. While loading the master data from different source systems... you should have two different flows to fill the same master data object. In each flow you can specify the Source system ID as constant value ... eg SS1 (Source system 1) and SS2(Source system 2) in each of the data flows. This should solve your issue without overwriting your master data
Thanks
Kishore -
I have developed one application software using Labview 8.5 in which i am collecting data from 5 temprature controllers on serial line.
This software is done and successfully installed on customer side.
Now the customer want this software to be run on server and some fixed number of clients should access this with some login security.
Is this fascility available with National Instruments in which i can installed this standalone application in server and allow some clients to access this with
proper login?
Regards,
VaibhavYes, that is possible. Multiple clients can access the VI using Web Publishing tool and control the VI operation. However, only one client has the control of the VI at one instance. The client needs to right click on the web page displaying the front panel of the running VI and ask for control and then release control after the execution to let other clients to ask for the control subsequently. The LabVIEW VI needs to be running upon the server computer since closing LabVIEW also closes the Web Publishing server and disconnects the currently connected clients.
Please check this link http://zone.ni.com/devzone/cda/epd/p/id/3797
You might want to create a stand alone executable for the same and then publish it over the internet for access by your desired clients. In that case, check this link http://digital.ni.com/public.nsf/allkb/3A0087DBE9D31F9286256B19000A2DAE?OpenDocument -
FM to collect data from InfoProviders
Hi,
What is the FM to collect data from InfoProviders and write back to the Planning buffer?
Thanks. Have a great day.Hi Crystal,
Adding to Anil's reply .
You can use RSDRI_INFOPROV_READ_RFC function module .
because in RSDRI_INFOPROV_READ you need to give package size .
& in RSDRI_INFOPROV_READ_rfc .All data comes in single package .
Also there is one Demo program which would help you to know its' functionality .
RSDRI_INFOPROV_READ_demo (in SE 38 ).
Regards,
Aparna -
SPD 2010 Workflow "Collect Data From User" activity + Multi User selection
Creating a SPD 2010 workflow. Trying to do something that I think should be simple.
Use a “Collect Data From a User” activity to collect 0 to many “people” that should be affiliated with a piece of content (Discussion).
After the assigned user completes the task (and after ensuring that there have actually been people associated from the task) I want to take the “people” from the Task list item and move them over to a field on the core Discussion item,
that is also setup as a Person/Group field (allowing multiple).
I have tried using both the “Set Field in Current Item” and “Update List Item” activities to map the data over (pulling from the Task item) and in both cases tried using every combination of “Return field as”
values to do the mapping (i.e. ‘String’, ‘Display Names, Semicolon Delimited’, ‘User Ids, Semicolon Delimited’, etc). In some cases I get vague errors about not being able to do mapping (I get it), in others, it sets the
data, but only to the first user entered in the Task’s instance of the field.
After researching a bit, I find that the task from which I am pulling the data only contains one value, eventhough when I submitted the InfoPath form for the task, it accepted my data entry of two
different users. So I think somewhere between the data entry into the custom task's infopath form, and the update of the same data field in the Task list, the value is being lost.
I am sure this would be trivial with a custom activity, but we are exploring OOB ways of doing things and I have to imagine this is possible.
Am I missing something here? This seems “buggy”…
I am able to repro this in two different environments, using an out-of-box Discussion Board on an out-of-box Team Site. If it matters Claims Based Auth against Windows only...
TIA!
Brian McCulloughHi brianpmccullough,
Collect Data from a user action can only use to collect data from one user, and if you need to collect data from one than one user, please use “Assign
a Form to a Group” instead, then it will create separate task for each user.
And if we need to update a user and group field which with multiple selections enabled, we can only use lookup field to get only the one user. And
to add multiple users to this field, we can only use String Builder, type the user account directly or get information from multiple fields.
Best regards
Emir Liu
TechNet Community Support -
Collect data from User workflow error updating list item
Hi, can someone please help me with WSS 3 workflows?!
I'll keep it simple - I have a workflow step "Collect data from user" that will fail with Unknown Error when attempting to update list item (this is after the user has clicked Complete Task). The workflow does not continue past this step and I have
to terminate the workflow.
What is odd, is that if I do another Collect data from User in the same step but following the 1st collect, both will work!! How can this be?? This proves the 1st collect is OK so why won't it run without another Collect data after it?! Doesn't make sense to
me.
I was just trying the second Collect to troubleshoot the issue. I've tried other actions there but having another Collect does seem to be the action that kicks things into life. Is there a clue here?
Any clues would be much appreciated as I'm not able to turn much up when I Google.
ThanksWell, surprise, surprise, this has come back (thought it might!). The trace logs show it's a task locked error but I can't see how. Can anyone please provide me with some clues??
03/14/2014 12:30:25.11 w3wp.exe (0x7698) 0x5EA4 Windows SharePoint
Services Web Controls 88wy Medium SPDataSourceView.ExecuteSelect()
- selectArguments: IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:28.39 w3wp.exe (0x7698) 0x6C4C Windows SharePoint Services
Web Controls 88wy Medium SPDataSourceView.ExecuteSelect() - selectArguments:
IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:28.47 w3wp.exe (0x7698) 0x6C4C Windows SharePoint Services
Web Controls 88wy Medium SPDataSourceView.ExecuteSelect() - selectArguments:
IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:29.86 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72er Medium Microsoft.SharePoint.SPException: This task is currently locked by a running workflow and cannot
be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames, Object& objAttachmentContents, Int32&
parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean
suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData)
03/14/2014 12:30:29.86 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Microsoft.SharePoint.SPException: This
task is currently locked by a running workflow and cannot be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames,
Object& objAttachmentContents, Int32& parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion,
Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[]
transData) at Micro...
03/14/2014 12:30:29.86* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72fe High ...soft.SharePoint.Workflow.SPPendingWork.PerformWorkNow(Transaction txn)
at Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items)
03/14/2014 12:30:30.05 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# 2dc6002d-9f9d-474f-84cf-329025347ec5
03/14/2014 12:30:30.05 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected System.Workflow.Runtime.Hosting.PersistenceException: This task is currently locked by a running workflow
and cannot be edited. ---> Microsoft.SharePoint.SPException: This task is currently locked by a running workflow and cannot be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean
bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames, Object& objAttachmentContents, Int32& parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion,
Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWi...
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ...nOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData) at
Microsoft.SharePoint.Workflow.SPPendingWork.PerformWorkNow(Transaction txn) at Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items) at System.Workflow.Runtime.WorkBatch.PendingWorkCollection.Commit(Transaction
transaction) at System.Workflow.Runtime.WorkBatch.Commit(Transaction transaction) at System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback)
at System.Workflow.Runtime.Hosting.DefaultWorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) at System.Workflow.Runtime.WorkflowExecutor.CommitTransaction(Activity activityContext)
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ... at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean
unlock, Boolean needsCompensation) --- End of inner exception stack trace --- at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation)
at System.Workflow.Runtime.WorkflowExecutor.System.Workflow.ComponentModel.IWorkflowCoreRuntime.PersistInstanceState(Activity activity) at System.Workflow.ComponentModel.Activity.MarkClosed() at System.Workflow.ComponentModel.Activity.ReleaseLockOnStatusChange(IActivityEventListener`1
eventListener) at System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.SafeReleaseLockOnStatusChange(ActivityExecutionContext context) at System.Workflow.ComponentModel.FaultAndCancella...
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ...tionHandlingFilter.OnEvent(Object sender, ActivityExecutionStatusChangedEventArgs e)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()
03/14/2014 12:30:30.38 w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ERROR: request not found
in the TrackedRequests. We might be creating and closing webs on different threads. ThreadId = 59, Free call stack = at Microsoft.SharePoint.SPRequestManager.Release(SPRequest request) at Microsoft.SharePoint.SPWeb.Invalidate()
at Microsoft.SharePoint.SPWeb.Close() at Microsoft.SharePoint.SPSite.Close() at Microsoft.SharePoint.SPSite.Dispose() at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflow(SPWorkflow
workflow, Collection`1 events, SPRunWorkflowOptions runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflow(SPWorkflow workflow, Collection`1 events) at Microsoft.SharePoint.Workflow.SPWinOEItemEventReceiver.RouteWorkflowEvent(SPItemEventProperties
properties, SPWeb web, SPListItem item, Boolean fNeedTas...
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...kReset)
at Microsoft.SharePoint.Workflow.SPWinOEItemEventReceiver.ItemUpdated(SPItemEventProperties properties) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver receiver, SPItemEventProperties properties, SPEventContext
context, String receiverData) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, Object properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.<>c__DisplayClass8`1.<InvokeEventReceivers>b__0()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...userToken, CodeToRunElevated
code) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPUserToken userToken, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](Byte[]
userTokenBytes, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData)
at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCo...
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...de backoutCode, Object
userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
tpWaitCallBack) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state) , Allocation call stack (if present) null -
FI QADB to collect data from the client
Hi,
Can anybody send me FI QADB to collect data from client?QADB is old.Now with solution manager you need to take the data using CI template.
You need to discuss the processess that you are configuring along with the org structures and also need to explain in detail about the features.
A sample CI templat is given for your refernce.
*Requirements/Expectations *
XXXX has to receive during the course of their business, payments from various parties like
u2022 Customers
u2022 Against sale of used assets
For the goods or services availed supplied/made to them.
These payments need to be mapped in SAP system identifying against a customer document.
*General explanations *
Describes in as much detail as possible how this particular business scenario or process will be used in your business. Key business processes should have considerable detail in this section.
*Explanation of functions and events *
Payment is received against an invoice. Accounts receivable makes an entry and sends the same to cashier. After accounting the payment, the balance in the customer account open item is cleared and the balance outstanding is reduced.
Note: System doesnu2019t propose the invoice to which it should be set off. It proposes all invoices that are due. Payment to a particular invoice should be made on manual judgment.
At the time of document entry, the appropriate Invoice needs to be chosen.
*Special organizational considerations *
SAP gives 3 types of clearing.
Post with clearing, Post and then clear at a later date, Automatic Clearing.
Explanation of Post with clearing:
While at the time of receiving a payment, the user knows that this payment need to be adjusted against a specific invoice and adjusts the same and posts this is called post with clearing.
The entry will be
Cash/Bank account Dr
Customer Account Cr
This will set the open item status to u201CClearedu201D
Explanation of Post and then clear:
While at the time of making a payment, the user doesnu2019t know against which invoice this payment need to be adjusted, and there exists some Debit/Credit notes of customers he simply posts without clearing the Open item of customer.
Later accounts receivable department identifies and knocks of these adjustments against a vendor Invoice, this is called post and clear.
The entry will be at the time of posting
Cash/Bank account Dr
Customer Account Cr
This will not set the open item status to u201CClearedu201D
The entry at the time of clearing
No entry is passed except the status of the open item to u201CCleared.
Automatic Clearing:
This is an extension of Post and clear. Here instead of selecting manually user instructs the system to clear for a specific range of customer account on predefined user criteria.
The entry at the time of clearing
No entry is passed except the status of the open item to u201CCleared.
Clearing is having three Concepts.
1) Standard Clearing: One to one payment against a Customer document.
2) Partial Clearing: Part payment against a Customer document.
3) Residual Clearing: You make a part payment, and select the residual clearing method, the system clears of the original Customer document and generates a separate customer document, with the number that of the customer payment document type.
Business Model
*Changes to existing organization *
As per the proposed organizational structure this process will remain constant for the above discussed scenarios.
Due to the new processes of u201CVendor Paymentu201D against an Invoice, all payments to vendors, Employees, are tracked against a Posted Invoice.
If the open Items are not cleared on a regular basis, the system performance may come down.
As a best practice, business need to clear these u201CPaymentsu201D against the invoice so as to make less number of open items failing which the system performance may drop.
As per the understanding of the current business process, XXXX is new to the concepts of Open Item management, Post with Clearing, Automatic Clearing. Adoption and understanding of these processes may take some time.
*Description of improvements *
Payment against an Invoice or Posted document in SAP is an improvement to the process. Usage of u201CAutomatic Payment Programu201D is recommended with identification of vendors against the payment terms which will reduce the process load.
*Description of functional deficits *
None are apparent at this time.
Approaches to covering functional deficits
None.
*Notes on further improvements *
As per the current practice though there exists payment terms, they are not followed as such in practice. Business user wants the process as manual payment only till they stream line transactions. Usage of Automatic Payment Program will be taken up in the next phase.
*System configuration considerations *
F-28, FF67,
File Conversion Considerations
All Customer payments need to be identified against Company Code and Per Profit Center.
Interface Considerations
None
Reporting Considerations
FBL5N :
Customer Aging analysis.
Authorization and user roles
Authorizations for F-28, FF67 transaction codes need to be identified based on the user duties.
This is one process. Like this you need to create for each and every one.
Reward if useful
Sarma -
Hi
LMS 4.2.4 inventory collection fails with Error RICS0001:Internal Error,unable to process the collected data from the device for few devices.
Can anyone help me out.
Regards
LaxmiThey are definately supported. However such issues are usually due to device packages, if unavailable or not installed.
Please do following :
1. Check Admin > software centre > device updates and check any devices packages available in Cisco.com and install it and recheck.
2. Please do a snmpwalk on problematic device on sysObjectID and share result. Following is the way to do snmpwalk :
GUI - Open the device in Device Centre (Inventory > Tools > Device Center) and open the device with IP and from tools select snmpwalk and do it for sysObjectID (1.3.6.1.2.1.1.2)
CLI : CD to NMSROOT/objects/jt/bin from command prompt. run command as per following syntax:
snmpwalk -v2c -c <snmp_community_string> 1.3.6.1.2.1.1.2
Example :
community string = test123
IP = 10.1.1.1
snmpwalk -v2c -c test123 10.1.1.1 1.3.6.1.2.1.1.2
3. Please check your device package, by clicking on the number of packages in front of Inventory, conifg and image management from :
Admin > System > Software Center > Device Update
Also, check device identity under edit identity option from :
Inventory > Device Administration > Add / Import / Manage Devices
Check my screenshots for details :
Please check and share results.
-Thanks
Vinod
**Rating Encourages contributors, and its really free. **
Maybe you are looking for
-
Where can i get the macbook pro (2010) bootcamp drivers for windows 7?
I recently decided to install windows 7 ultimate (32-bit) on my macbook pro (2010 model). However my macbook did not come with installation disks, i know this for a fact and it came pre installed with 10.6. And when i try to download the windows supp
-
No more than 1 sessions at a time are allowed. Please wait until open sessions expire.
I have been unable to log into my Actiontec MI424WR router this week, The router returns the message "No more than 1 sessions at a time are allowed. Please wait until open sessions expire." every time I try to log in. This has been going on for days.
-
Is there any way to launch a script or to automatize a task outside photoshop?
Hi, the title may not be precise, but i don't really know how to sum up my need in one sentence. One of my customer want to create a system to traduce easily his media, originally built with photoshop. Thus, he is searching a way to take a PSD file,
-
Simple Javascript, difficult placement
Hi guys, I have a very simple requirement for which Ive spent the last 3 days trying to figure out. Requirement: Show "JAVASCRIPT DISABLED" on form when Javascript is disabled. Show "" otherwise. What I've done: I placed a TextField on MasterPage wi
-
Adobe Pro 9 Scanning - Change Scan type after Prompt to scan more
I have an end user who is using Adobe 9 Professional to scan pages to PDF. The pages they are trying to scan contain mostly text documents but there are times when there are some photos that are mixed in. The problem they run into is when they scan t