Help with the efficiency of the program, stop a loop for?
Hi all
I need some advice programming General to help my VI to operate more effectively. I have a table in which the program runs each point and 2d compares the value for the surrounding points. The user can select the range of cells to inspect range, so if the user selects 1, then, it will compare the point (0,0) to all cells in a single cell. If the user selects 2, then all the cells in a range of cells 2 and so on. If the point (0,0) is superior to everything around him, then he writes this point in a table.
I made more notes in the VI to explain what is happening, but I think that the program would be more effective if I could stop a for loop to run as soon as it detects a false condition, i.e. the point (0,0) is not more than one of the surrounding points. As it is right now, it compares at all points around him, writing TRUE/FALSE for a table, then checks if all conditions are TRUE. That takes a lot of time if the user selects a value of 8, for example. It would reduce a lot of processing time if he just threw to the next point as soon as it finds a FALSE condition.
Any other advice would be appreciated as well. Try to be a more effective programmer!
Thank you!
Alex
I do not attach the data file, because it is too big.
In versions before the invention of the loop For with conditional stay terminal, you can do it, but you have over what a while loop to stop when your condition is True, OR when the terminal i is equal to the size of the incoming array - 1.
Tags: NI Software
Similar Questions
-
I need help with the program of Photos on my macbook pro
I use a Macbook Pro with OS of Yosemite. I really need help with the Photo program. I never really got the hang of IPhoto and now that it's a new program, I'm really confused. Where can I go to learn this without waiting for the next workshop in a local store?
Hi, I'm fighting to open same mine, making a new software update
-
Help with the FLVPlayback component in Air for Android
Hi all
I am currently working on a project for an Android tablet in which I need to play a FLV video on a specific image.
To do a standard PC/Mac packadge I would use normally FLVPlayback component to load the external FLV video, I did a few times before with no real problems.
But I can't seem to get this working for the Android tablet that I'm working on.
I post the .apk file and got the .sfw of player and the FLV video file include the value, but I can't seem to load the video playback component.
Once the application is installed on the tablet of the Player bar appears but no content is never displayed.
I think it must be something to do with the path of the source I put in place for the components of reading, but once the .apk is installed I don't really know where ends the FLV video or what will be the relative path to it: S
Everyone manages to get the FLVPlayback component to work on an android Tablet?
I hope someone can help!
Thanks in advance.
I found the solution. If someone asks me. Simply change the video format. do not use flv. Yassin
-
Need help with the Word format Req'd for RoboHelp
I was asked to help a company with technical writing for an online application. All their online help is in RoboHelp. I need to create about 450 pages of extra help to complete the help system. The company is owner of RoboHelp, I did not. I understand that Word documents can be imported in RoboHelp. Where can I find the format that word documents should be so that they can be imported successfully into RoboHelp?
Any help would be greatly appreciated.Welcome to the forum.
Importing in RoboHelp Word documents can give rise to a number of problems, as you will see if you take a look at the section about this on my site. The first thing that would answer this question is to know if the company is using HR to Word or HTML HR.
If they use HR for Word, all you need to do, is make sure that the styles you use in your documents are the standard ones they use to existing aid. Only they can tell you what they want and it is for them to sit down with you to suit the required format. Note that each topic must begin with the heading 1 style. You should also know if they want a document with 450 topics (not recommended) or 450 documents, something between the two.
If they use HTML HR, then I suggest you create a few sample topics and make import these topics. They need to become familiar with the process and I suggest that they too see the topics on my site.
In particular, if there are many tables, you should test they import properly.
The company themselves will have to work closely with you on that in the early stages with several test runs. They must save their project before you import it to save a lot of grief, if things don't quite work.
I'm sure others can add others.
-
Help with the purchase of a license for an earlier version of Lightroom
I am looking to buy Lightroom, but my computer is old and supports only LR 4. I had success with the free trial version, but now I need to buy a license, I'm only directed towards LR 5. Y at - it an option to buy the license for the earlier version of the software, or should I just buy 5 LR and just be stuck with 4?
Thank you
Adobe does not sell the old versions of the software so to buy lr 4, you must use a 3rd party seller.
you shouldn't buy lr 5 unless your computer meets the specifications, http://www.adobe.com/products/photoshop-lightroom/tech-specs.html or you are considering buying a computer that meets the specifications.
-
Please help with the oracle text and select for each word in the sentence
Hello
I have a problem with a query which NEEDS to be done in SQL (not pl/sql in the stored procedure):
Suppose that a phrase such as "Church of snowboarding."
Can I divide this by using:
Select regexp_substr ('church snowboard', ' [^] +', 1, level) word
of the double
connect regexp_substr ('church snowboard', ' [^] +', 1, level) is not NULL)
now I have words 'showboard' and 'Church '.
So far so good.
Now I need for each of these words, to create a list of unique IDS collected using text oracle contains the query as follows: (pseudocode)
for SPLIT.word in "snowboarding", "Church".
SELECT SCORE (1) NIVEAU_RECHERCHE,
NO_MATRC,
NO_NOM_
OF GR_OT_NOM_ASSJT
WHERE CONTAINS (name, SPLIT.word, 1) > 0
UNION
SELECT SCORE (1) NIVEAU_RECHERCHE,
NO_MATRC,
NO_NOM_
OF GR_OT_NOM_ASSJT
WHERE CONTAINS (name, ' SYN('||)) SPLIT.word: ', GR_THESAURUS)', 1) > 0
UNION
SELECT 100 AS NIVEAU_RECHERCHE,
NO_MATRC,
NO_NOM_
OF GR_OT_NOM_ASSJT
WHERE NAME LIKE '% "| SPLIT.word | '%'
so of course I have to untangle this UNION to remove duplicates
Anyone here sees a way out of my situation? A way to make the loop in a select (use with and such) then
Just add a select distinct NO_MATRC, NO_NOM_ from)
I tried, but I'm out of ideas so I thought that some guru here might have the answer ;)
Thanks in advance for any advice
See you soonYou might end up with something like the XML below, ideally as binding in the query.
SELECT SCORE (1) NIVEAU_RECHERCHE,
NO_MATRC,
NO_NOM_
OF GR_OT_NOM_ASSJT
WHERE CONTAINS (name, e (1) > 0
Church of snowboard
transform ((JETONS, "{", "}", "AND"))
transform ((JETONS, "{", "}", "OR"))
turn ((JETONS, «SYN (",", GR_THESAURUS) ', 'AND'))
turn ((JETONS, «SYN (",", GR_THESAURUS) ', 'GOLD'))
transform ((JETONS, «?)) {","} "," AND")) /seq >
transform ((JETONS, «?)) {","} "," GOLD")) /seq >
-
Need help with the installation of SQL 2005 for my VC 2.5
Someone can tell me where I can find the instructions for the installation of SQL 2005 and create the DB and connect via ODBC?
IM assuming that I will first install SQL and then install VC 2.5, correct?
Hi, take a look at page 21...
http://www.VMware.com/PDF/vi3_35/esx_3/R35/vi3_35_25_quickstart.PDF
Dave
-
Need help with the arrival of serial number for a report
Hi all
I have a situation like, give the serial number for the first row of each group (Ministry), I had to use for a report.
The report may look as below,
S.L. NO EMPNO DEPTNO
1-10-7782
10-7934
10-7839
2 20 7902
20 7788
20 7566
20 7369
20-7876
3-30-7521
30 7654
30 7844
30 7900
30 7499
30 7698
OR
S.L. NO EMPNO DEPTNO
1-10-7782
1-10-7934
1-10-7839
2 20 7902
2 20 7788
2 20 7566
2 20 7369
2-20-7876
3-30-7521
3 30 7654
3-30-7844
3 30 7900
3-30-7499
3-30-7698
I have just the DEPTNO column to perform this operation.
Please guide me in this.
Kind regards
Aru.
Published by: Arumugam on 12 Aug 2011 04:15Use ROW_NUMBER + DENSE_RANK Analytics:
select case row_number() over(partition by deptno order by empno) when 1 then dense_rank() over(order by deptno) end serial#, deptno, empno from emp order by deptno, empno / SERIAL# DEPTNO EMPNO ---------- ---------- ---------- 1 10 7782 10 7839 10 7934 2 20 7369 20 7566 20 7788 20 7876 20 7902 3 30 7499 30 7521 30 7654 SERIAL# DEPTNO EMPNO ---------- ---------- ---------- 30 7698 30 7844 30 7900 14 rows selected. SQL>
Or:
select dense_rank() over(order by deptno) serial#, deptno, empno from emp order by deptno, empno / SERIAL# DEPTNO EMPNO ---------- ---------- ---------- 1 10 7782 1 10 7839 1 10 7934 2 20 7369 2 20 7566 2 20 7788 2 20 7876 2 20 7902 3 30 7499 3 30 7521 3 30 7654 SERIAL# DEPTNO EMPNO ---------- ---------- ---------- 3 30 7698 3 30 7844 3 30 7900 14 rows selected. SQL>
SY.
-
Original title: System Restore loops
Hi, I am trying to run restoring the system on my desk is a problem with the program in a loop. He directs the system restore and then comes back just to start the system again Restore page. How to solve this? I started having problems when I have updated the BIOS on my motherboard. When I installed the motherboard at the start, I think I used the incorrect installation disc (my son has same brand motherboard but the sound is more advanced).
Recovery of your computer (Windows) using "Recovery Partition" of the Manufacture or
contact PC manufacturing (see support links below) and order the recovery media.Note: Activation is not required when you use the recovery partition or recovery media, but you will need to reinstall all your applications.
Also to save your documents on external support (if possible) before starting the recovery process.
Once completed, your PC will be actually in the State when you first purchased it and turned on for the 1st time.
To access the recovery Partition, start your computer, and then by pressing the appropriate function key. It can be either F1, F2, F9, F10, F11, F12, DEL or tab key. Check the list below or your user manual for your brand and model.
If your hard drive has failed, do not have a recovery partition or the recovery partition is not accessible,
Then, you must contact the manufacturer support team and ask for a "recovery disc" which allows to reinstall Windows 7.How access/start the process of recovery of the manufactures listed below.
Acer: Press and hold ALT + F10, as soon as you see the logo
http://Acer.custhelp.com/app/answers/detail/A_ID/2631
Acer support: http://www.acer.com/worldwide/support/
Acer recovery support: http://store.acer.com/store/aceramer/en_US/eRecoveryAdvent: restart your computer, then the immediate start by pressing the [F8] key or the F10 key.
The fastest way to restore your computer is to use the hard disk recovery tools. You can access them by restarting your computer and then pressing the [F8] key or the F10 key until the Advanced Boot Menu appears. Use the arrows to select "Repair your computer", then press [Enter]. Read all of the instructions on the website of advent and made your choice as to the action you want to perform: http://www.adventcomputers.co.uk/restore-or-reinstall-windows-your-computer
Support: http://www.adventcomputers.co.uk/product-support/support-servicesASUS: Press or press the F9 key as soon as you see the Asus logo.
http://support.ASUS.com/troubleshooting/detail.aspx?SLanguage=en&m=X53E&OS=&no=1775
ASUS support: http://support.asus.com/contactus.aspx?SLanguage=enDell: Press F8 directly after switching on / to start the computer
Recovering detail instructions:
http://www.Dell.com/support/troubleshooting/us/en/19/KCS/KcsArticles/ArticleView?docid=DSN_362066
http://www.Dell.com/support/troubleshooting/us/en/19/KCS/KcsArticles/ArticleView?docid=52182
Dell support: http://www.dell.com/support/home/us/en/19?c=&l=&s=
Or: http://www.dell.com/EMachines: hold the Alt key and hold press and release the key F10
http://Techchannel.RadioShack.com/eMachines-system-recovery-1747.html
Support: http://www.emachines.com/ec/en/US/content/supportFujitsu: Press F8 several times directly after switching on
https://answers.Yahoo.com/question/index?QID=20110406074143AAcx1Zw
Support: http://www.fujitsu.com/global/support/Gateway:
http://www.ehow.com/how_6297937_restore-gateway-laptop-factory-settings.html
https://support.gateway.com/s/software/Microsof/Vista/7515418/7515418su531.shtml
Support: http://www.gateway.com/worldwide/support/HP Notebook: Usually to begin recovery process press the F10 key, power on the computer
HP Mini: Press F11 directly after switching on / to start the computer
http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01867418&cc=us&destPage=document&LC=en&tmp_docname=c01867418
Support: http://www8.hp.com/us/en/contact-hp/ww-contact-us.htmlLenovo uses the F11 key to launch the restore process:
http://support.Lenovo.com/en_US/detail.page?LegacyDocID=MIGR-4UFUYK
Directions for Lenovo OneKey Recovery, hidden partition and recovery DVDs:
https://support.Lenovo.com/us/en/documents/ht077384
and: http://support.lenovo.com/en_US/detail.page?DocID=HT077144
Support: http://support.lenovo.com/en/supportphonelistHow to run Lenovo Onekey Recovery
http://support.Lenovo.com/en_US/downloads/detail.page?docid=HT062552
Detailed as follows: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=127597018499211You can also find parts of this article from Lenovo worth reading:
http://support.Lenovo.com/en_US/detail.page?LegacyDocID=MIGR-4VFUDULG: Press F11 directly after switching on / to start the computer
Support: http://www.lg.com/Packard Bell: Turn on your computer. When Packard Bell logo is displayed, press in and hold the ALT key while pressing the F10 key several times. Release the keys when a message that Windows is loading files.
After the system recovery program has loaded follow the instructions to reinstall the operating system.
Support: http://www.packardbell.com/index.htmlSamsung: Press the F4 key to the Samsung logo when you turn on first of all of the computer.
Support: http://www.samsung.com/Sony VAIO Windows 7: restart and press "F10".
https://CA.en.KB.Sony.com/app/answers/detail/A_ID/35585/p/48903, 49902,71663,71664/c/65,67/kw/recovery%20using%20f10
Sony VAIO Vista: Restart and press "F8" repeatedly until the screen "Advanced Boot Options".
https://us.en.kb.sony.com/app/answers/detail/a_id/41931/~/how-to-perform-a-system-recovery-using-the-vaio-recovery-center.
https://us.en.KB.Sony.com/app/answers/detail/A_ID/41949/session/L2F2LzEvdGltZS8xNDA4MjI2NTAzL3NpZC8qWVBPbCpfbA%3D%3D
Support: http://www.sony.net/SonyInfo/Support/Toshiba: Press on F12 or the value 0 (zero) key on the top of the keyboard (not the zero on the numeric keypad key)
and at the same time, press the button power once to turn on your laptop.
When the Toshiba screen appears; release the 0 key.
References: http://www.mytoshiba.com.au/support/items/faq/71
http://forums.Toshiba.com/T5/system-recovery-and-recovery/how-to-perform-system-recovery-Windows-7/Ta-p/279643
Support: http://www.toshiba.co.jp/worldwide/Windows 7 - location of the Partition Recovery and information.
"Configurations of drive partitions using the BIOS has recommended.
Note: Check the diagrams of this article
http://TechNet.Microsoft.com/en-us/library/dd744364%28WS.10%29.aspxJ W Stuart: http://www.pagestart.com
-
My MSN Premium or constantly stop itself or takes forever to finally adjust to I can use it. I tried to go to the Microsoft Fix It, with the help of MSN Premium and I get a message saying that it cannot connect with the program that I use. I have Windows 7. If I connect to my Hotmail account, I have no problem there, but MSN Premium is something that I pay for, want to use it, but doesn't seem to work as well.
Hi Nancy,.
Because the problem is with MSN premium I suggest you to contact MSN support for help.
https://support.MSN.com/default.aspx?scrx=1
I hope that helps!
-
Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.
Here
-
I can't add youtube video on my site (Muse response: there is a problem with the program and windows stops)
Use the command search at the top of this page or follow this link: YouTube embedding continues to crash the app.
-
Help with the startup problem. Start load page never stops
This morning, I found a window on my PC (vista home prem SP 3) who said he had a problem with my departure upward. And that characteristic fixed departure could not fix it. I tried to restart my PC and he had charge green/starrt infinite loading bar. I tried to start in safe mode, but can apparently do not have start that is. I grabbed my system recovery DVD, tried to have either boot with the DVD or are looking for a repair-start feature. But when I try to start from the DVD he wants to restore then only of factorry. Did I miss something there at - it something I can do? I don't want to do a restore with since I have given, I don't want to lose and he's going to take me with all my software and udates about 1 week at least for good install and configure my PC.
Hi Henry,.
· What is the exact error you see on the screen?
· You did changes to the computer before the show?
Check to see if the following is useful.
Method 1: Remove non-essential external devices and reboot the computer.
Method 2: Repair of the boot from WinRE (Windows Recovery Environment) mode. Follow the article mentioned below, to do.
Startup Repair: frequently asked questions
See also:
-
Hello. I recently got a new computer and transfer all my files across using Time Machine. Whenever I try to connect to any CC (including CC) program, the program stops immediately and an Apple error happens. I have uninstalled and reinstalled CC twice with no result and removed all Adobe products on my computer and nothing works.
I've seen similar discussions before... transfer does not work, you must install
Discussions of re - install
-http://forums.adobe.com/thread/1408331?tstart=0
-http://forums.adobe.com/thread/1398961?tstart=0
- and http://helpx.adobe.com/creative-cloud/help/install-apps.html
-using the vacuum after you have uninstalled and before reinstalling will usually help
-http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
-
keep the program, stop the office pop up at the beginning upward
keep the program, stop the office pop up at the beginning upward. I removed Skype because it came with start-up. I have Hp dock or something that is close to files on my desktop. Same thing with Cannon. I'm tired of "xing"off each time it starts. "
I moved your post to Windows | Programs where it will receive more targeted attention. I can't determine which version of Microsoft Windows you are using, so I try to make these generic instructions in nature.
Start by typing the Windows key + r Type or paste in msconfig and click OK in. When the applet opens, you will find all the programs that starts with windows on Startup as well as their location of registry tab or the program folder. Simply uncheck all that you want to remove the review. While you're here, take careful consideration to everything you think you can do without. This area is usually grossly overcrowded with utilities and unused software.Changes will not take place until the computer is restarted, for example to uncheck a program won't stop him. It simply prevents starting the next time Windows is started.
Further examination of all the things that start automatically is probably through a small utility called Autoruns program (Yes, that's plural) from Windows Sysinternals. You can get a copy here:
Maybe you are looking for
-
Issue scan fingerprint with Win 7 and Satellite Pro A300
SORRY, MODEL IS A300. Bunk/upgrading Vista to Windows 7 Professional and we found the fingerprint reader does not.Unable to remove program and custom accept the new installation of fingerprint reader or even of new fingerprints to be scanned. (Former
-
Procedure to display my desktop on MSN?
How can I check my office when I have a bit of conversation msn my webcam on? Gr. Tom Heuts Netherlands
-
Lenovo A6000 - low call Volume
Hello I bought the phone A6000 recently in India. During phone calls, people complain to me that my volume is very low and they are hardly able to hear me. Everyone knows the same problem? Y at - it a setting I need to change to fix the problem of ca
-
message of undefined LabVIEW on custom codes error code
"I use the VI General error handler to define custom errors, I have inserted all entries for this vi (user-defined descriptions, codes, user-defined error code, source of the error, type dialog and error in) but some I still get the message:" This er
-
HP Pavilion 17 laptop PC: new position question
I have a Pavillion under Windows 7 Pro 17 laptop. I want to disable the touchpad mouse because it causes me severe headaches when I type. I use a USB external mouse and that you don't need for the touchpad at the moment. I would like to find a way