A running count of how many steps processed?
Hi, I'm using labview to monitor where I'm at in my teststand sequence. I have several goto statements in TS, meaning that certain steps are executed several times. I'm already using the Step.Index to find out which step I'm on, however I need to keep track of how many times that step has been called(goto loops). Is there a count index that increments for each step processed, regardless of goto loops? I've tried, the Loop.Index however it does not keep track of the Goto loops. Thanks for any help.
Joe
Joe,
Teststand does not expose a variable that keeps track of how many times a current step has been executed in a Goto Loop. However, it keeps track of how many steps have been executed so far. This information is store in the property RunState.NumStepsExecuted. If you now how many steps are included in your loop, and if you also know the number of steps executed so far, then you can calculate the current iteration of your goto loop.
Hope this helps,
Alejandro del Castillo
Ni
Similar Messages
-
[solved] How many dbus process are you running?
Hi there,
Recently I looked how many dbus processes there are running on my system. I realised it is quite a few:
~ ps aux | grep dbus
root 367 0.0 0.0 124760 3688 ? Ssl 07:31 0:00 /usr/sbin/thermald --no-daemon --dbus-enable
dbus 374 0.0 0.0 27084 1952 ? Ss 07:31 0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
lightdm 846 0.0 0.0 17992 544 ? S 07:32 0:00 /usr/bin/dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
lightdm 896 0.0 0.0 26664 1040 ? Ss 07:32 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lightdm 902 0.0 0.0 26664 1540 ? S 07:32 0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
orschiro 1128 0.0 0.0 15896 616 ? S 07:32 0:00 dbus-launch --sh-syntax --exit-with-session
orschiro 1129 0.0 0.0 27012 1496 ? Ss 07:32 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
orschiro 1445 0.0 0.0 17992 540 ? S 07:33 0:00 dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
orschiro 1446 0.0 0.0 26664 1036 ? Ss 07:33 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
Is this the same for you?
I do not start dbus manually anywhere on my system except for launching lightdm and thermald through a systemd service.
Last edited by orschiro (2014-02-28 07:16:45)I will mark this as solved for now. In order to minimise the running dbus sessions, I switched back from ldm to startx and also removed the pulseaudio autostart from /etc/X11/xinit/xinitrc.d/ since I want to control myself when pulseaudio starts the dbus sessions.
This is how it looks now with X running and udisks2/gvfs enabled dbus session.
dbus 331 0.0 0.0 27048 1608 ? Ss Feb27 0:10 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
orschiro 1574 0.0 0.0 15896 448 tty1 S Feb27 0:00 dbus-launch --sh-syntax --exit-with-session
orschiro 1581 0.0 0.0 27160 1396 ? Ss Feb27 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
orschiro 12920 0.0 0.0 26664 1216 ? S Feb27 0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
orschiro 15516 0.0 0.0 17992 532 ? S 06:26 0:00 dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
orschiro 15523 0.0 0.0 26664 964 ? Ss 06:26 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session -
How many OSPF Processes does a Cat6500 w/ Sup720 support?
Hi,
we've to build many vrf's and have to run
OSPF on each of these.
My question is, how many OSPF Processes does a Cat6500 w/ Sup720 can support?
regards
kfHarold,
Thanks for the clarification. I hope you don't mind one more question. I have looked it up..http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_4/gtospfvf.htm
but it is not clear whether multiple vrfs can share the same routing process through the routing context mechanism. If this is not supported yet, then I wonder how scalable this is, and in particular whether service providers will view this as a viable feature considering the demand on resources on a PE router to run multiple (according to the document, depending on platform, up to 10,000!) ospf processes?
Regards,
E. -
LF way to see how many steps I walked on a certain day last week. Not minute by minute, just recall the day's steps. All I get is a graph and then all data when I tap a particular day, which is far too detailed and useless.
here is a link to macosxhints.com that tells you how to output all of your feed URLs to a terminal window. from there you can cut and paste them into your new feed reader of choice...
http://www.macosxhints.com/article.php?story=20080319094830396
and if you are in the marked for a new reader may i suggest David Watanabe's excellent NewsFire. he had just recently made it totally free as a gift to the macintosh community.
best of luck. -
How many steps can be recorded in the History panel?
In Photoshop, 20 steps can be recorded in the Histroy panel with the defult setting, and we can change the setting to record more or less steps by choosing "Edit> Preference".
In Lightroom, how many steps can be recorded in the History panel with the defult setting? And how can we change the number of step to be recorded?I guess since the history is kept in the database (and not only in memory as with PS), there is not so much an issue in limiting them.
Beat Gossweiler
Switzerland -
How many work processes are recommended by SAP for 16 GB RAM
How many work processes are recommended by SAP for 16 GB RAM ?
This is the calculation for determining the number of work process according to the available memory for the system.
- Number of dialog work processes = RAM/256 (min 2, max 18)
- Number of update work processes = RAM/768 (min 1, max 6)
- Number of update2 work processes = RAM/1024 (min 1, max 3)
- Number of batch work processes = RAM/1024 (min 2, max 3)
- Number of enqueue work processes = 1
- Number of spool work processes = 1
You can also refer the following link regarding memory management in SAP .
http://help.sap.com/saphelp_nw70/helpdata/EN/02/962817538111d1891b0000e8322f96/frameset.htm
It explains the calculation based on number of processors for the server.
Regards,
Jazz -
How many business processes in ECC5.0 ?
Hello,
I have a simple question : how many business processes are implemented in ECC5.0 ?
thank you in advance for your answersPlease see my latest posting on the mySAP ERP Master Guide.
It may give you more information and insight on your question, and the proper perspective of deployable business processes. -
How many work processes should be configured in ERP?
Hey guys I'm installing ERP 6.0 on a system landscape on AIX 6.1 and Oracle 10.2.0.4.
I wish I had an idea of what is best practice to determine how many work processes can be configured in an instance ?
I give the example of the Quality server:
Only a Central Intance
Number of Users to Log On: 120
Physical Memory: 12 GB
Swap Space: 38 GB
Thanks for your help
DesiréHello,
Refer to SAP Note 9942 for maximum number of work process.
Regarding what would be optimal setting in your system, there is no clear cut solution. You have set it first based on your guess for amount of dialog activity, batch jobs etc.
Typically, you should have dialog process double than background processes. Simillary, background process should be double than update, update should be double than update2 and total should not cross more than what mentioned in above Note for your Operating system and SAP release.
Then you keep checking the system any bottleneck for a week or two and accordingly adjust the work processes if required.
regards,
rakesh -
Dear all,
Oracle 10g
Is it possible to find out that how many records have been processed till now by an sql statement. The sql statement takes some hours to get the results. Can we know after some time how many records have been processed till now.
Regards
SLIt is not necessary that the job be present in V$SESSION_LONGOPS.
A long running DML that is driven by a Nested Loop - IndexRangeScan will NOT appear in V$SESSION_LONGOPS.
A long running Query that isn't doing FullTableScan(s) , Sort-Merge Join etc will NOT appear in V$SESSION_LONGOPS.
Only some classes of operations appear in V$SESSION_LONGOPS. -
Keeping count of how many times a case structure has been entered.
I have a "Case" structure (when a button is pressed, it is "case True").
I want to keep track of how many times this "case True" has been entered.
How can I do this?
Solved!
Go to Solution.For that you need to have a shift register or a feedback node and keep counting whenever the case structure case is executed the count will be increased by one see the attached snippet.
Good Luck
The best solution is the one you find it by yourself
Attachments:
CaseStructure count.png 10 KB -
How do i track how many steps I walk on the health app?
How do I track how steps walked in a day on my iphone in the Health app?
Open Health app, tap Health Data at bottom, tap Fitness, tap Steps.
Turn on "Show on Dashboard" for more convenient access (and then just tap Dashboard at the bottom) -
My macbook is slow to start up. How many active processes on startup
Hi,
My Macbook pro is getting so much slower to start up.
I've just done a macscan and it shows 87 processes at startup.
Is this the reason for the slowness??Things That Can Keep Your Computer From Slowing Down
If your computer seems to be running slower here are some things you can do:
Boot into Safe Mode then repair your hard drive and permissions:
Repair the Hard Drive and Permissions Pre-Lion
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
Repair the Hard Drive - Lion
Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Restart your computer normally and see if this has helped any. Next do some maintenance:
Suggestions for OS X Maintenance
For situations Disk Utility cannot handle the best third-party utility is Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger. These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
For emergency repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line. Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
Carbon Copy Cloner
Data Backup
Deja Vu
SuperDuper!
SyncTwoFolders
Synk Pro
Synk Standard
Tri-Backup
Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
Additional suggestions will be found in Mac Maintenance Quick Assist.
Referenced software can be found at CNet Downloads or MacUpdate.
Additional Hints
Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
Check for applications that may be hogging the CPU:
Open Activity Monitor in the Utilities folder. Select All Processes from the Processes dropdown menu. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file. -
The checkboxes are named 1a, 1b, 1c, 2a, 2b, 2c, etc.. up to 27a, 27b... I could add the word "bed" to the beginning of each name if it helps.
I want to create a text field that will update the count every time a box is checked or unchecked.
ThanksIt would be better to add "bed." instead, so that the field names are "bed.1a", "bed.1b", ..."bed.27b". You can then easily get an array of all of the "bed" fields, check each one, and increment a counter. The custom calculate script for the text field could be something like:
// Custom calculate script
(function () {
// Get an array of the bed fields
var fa = getField("bed").getArray();
// Initialize counter
var sum = 0;
// Loop through the fields and update counter
for (var i = 0; i < fa.length; i += 1) {
sum += fa[i].value !== "Off" ? 1 : 0;
// Set this field's value to the sum
event.value = sum; -
How see how many process in paralell are running?
Hi friends!
I need add a new process chain in the main meta- process chain ( a big one)
How can I know how many process are running in paralell,
and how many process still free or available to use,
between a time range? (ex: 12:00hs to 12:10hs)
Thanks in advance!Hi
There are various ways by which you can determine whether you have enough background work process to run something in parallel.
1. When your process chain is running use transaction code SM66 to see how many background process are being used.
For background work process you get TYPE as BTC. Now monitor this screen for some time and you would know what is the maximum number of background process being used during your PC run. Your Basis team member will be able to tell how what is the total number of background work process in your system. Now you would be able to understand how many of these process remains free.
2. You can run SM51 -
> this will list you number of application servers you have. Double click on each of the server , it will take to to SM50 screen. Top side there will be clock sign. Click on that. This will give you the CPU time of each work process.
i.e what is the time a wp was using CPU since last system restart. If you see for most of the background work process this time is in the range of 0 - 2 seconds , then they are mostly free .
3. You would also get some of the valueable information from RSBATCH -
>Background and Parallell Process -->DIsplay Background Process
Regards
Anindya
Edited by: Anindya Bose on Jan 6, 2012 5:58 AM -
Count how many times a Orchestrator runbook has run in last 30 days
Hi
Please could someone help me with a sql query that could help me do a count on how many times a runbook has run or been executed in the last 30 days ?
ThanksHi,
here is your SQL Query
select Name, count(policies.UniqueID) as Count from Policies
inner join POLICYINSTANCES on policies.UniqueID=POLICYINSTANCES.PolicyID
where POLICYINSTANCES.TimeEnded > DATEADD(mm,-1,GETDATE())
group by name order by Count
Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
facebook.com/techguyat |
youtube.com/techguyat
Maybe you are looking for
-
Mail.app: text in table cells in incoming formatted mail - problems replying
MacOS 10.9.2 mail.app 7.2, threading enabled Sometimes I receive a formatted email that is really difficult to reply to, when I want to intersperse my reply text among the incoming paragraphs. The trouble occurs when multiple incoming paragraphs are
-
Exception handling framework?
Can anyone recommend an exception handling framework or perhaps pattern for Applets? Thanks, Tom.
-
hai i had to find out idoc number after creating a customer, for that particular customer, i know to find out bygoing to the transaction WE05, but it is very tedious to find the idoc num for that particular customer, is it possible to find from the a
-
Java.lang.InternalError: jzentry == 0 after long idle time
Hi, Our J2Se 1.4.1 Client/Server application works fine. However, after a long period of inactivity on the Windows 2000 client side (one hour or two, like during lunch), the icons in the toolbars have vanished and be replaced by black. Some other tim
-
How can I learn about SAP BW?
Hello, I need to work with it and will have access to it soon, what is the best wey to go about learning about it?