Call the owning VI multiple times
Hi all,
I'm trying to call the owning VI multiple times and wasn't sure if it's possible.I trying to call the same VI within a VI with different condition.
I have this VI as a template with reentrant enabled (VI_1), and inside the loop, it will call another instance of this template (call it VI_2) and wait until called VI (VI_2) completes and proceed to next action. The problem is wait until done doesn't wait although I set it to True. Can someone tell me what I'm doing wrong? or even this is possible.
Thank you in advance.
Solved!
Go to Solution.
Attachments:
VIT_Reentrant.png 18 KB
So the VI is calling itself?
If so you can drop the VI onto it's own diagram if it's set to reentrant in LabVIEW version 2009 and later.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Similar Messages
-
Introspector calling the Base Class multiple times
Hi
I am having a Java Bean C (which extends B which in turn extends A) ...and each of these Classes have the BeanInfo classes .. ABeanInfo , BBeanInfo , CBeanInfo....
And i had written my beaninfos such a way that they are optimised by extending the basebeaninfo and calling super.getPropertyDescriptors and adding them to the Descriptoirs of extra methods like
Class A
private String name;
public void getName()
Class B extends A
private String city ;
public void getCity
class ABeanInfo extends SimpleBeanInfo
public PropertyDescriptors[] getPropertyDescriptors()
// Got the property descriptor for name
// return by forming array
My Class B bean info will look like this
class BBeanInfo extends ABeanInfo
public PropertyDescriptors[] getPropertyDescriptors()
PropertyDescriptors[] baseDesc = super.getPropertyDescriptors();
// Get the property descriptor for City
// Club the base class desc and the new ones added
// return by forming array
But when i use Introspector.getBeanInfo(B.class) , the A.getPropertyDescriptors method is getting called twice (One internally by the introspector and the other when my super.get...)
How can this be avoided ?? Ofcourse after the first time , the introspector is caching the instances of BeanInfos...
If this is the implicit behaviour , can i change my BeanInfo classses in such a way that it won't get calledWhy is this a problem?
-
Why is Apple TV showing the same computer multiple times for Home Sharing?
Why is my Apple TV showing the same computer multiple times for Home Sharing? Also have connectivity issues. Sometimes will lose signal.
JonRod's music
JonRod's music
JonRod's music
JonRod's music
JonRod's music
I recently updated to Yosemite and never had this issue before.I'm not 100% sure of the ins and outs, but it's some sort of known issue between Yosemite, Airport and wifi. All you can do is wait for a fix and keep restarting your equipment as and when needed, unless you have the ability to connect your Mac via ethernet.
-
Can I gift the same app multiple times to multiple users?
Can I gift the same app multiple times to multiple users?
Like, if I wanted to buy iMovie for 3 friends, could I buy the app as a gift 3 times?You should be able to gift it multiple times
Gifting content : http://support.apple.com/kb/HT2736 -
Is it possible to copy the same database multiple times simultaneously?
This is the setup of my environment.
I have a 'master' database that contains the full schema plus some pre-populated data such as default settings. When database schema changes are made, they get made to the master database. When a new customer signs up for the service, I make a copy of this
master database (using SMO) that will now be the database containing all of the customer's information. The database is rather large, and the copy operation can take a couple minutes.
Everything works fine as expected, unless I try to provision two new customers at the same time. It appears that Azure only allows for one DB copy operation at a time. Is there a way to allow for copying the same database multiple times simultaneously?
Thanks for you input. I understand that this is likely not the optimal setup, and that there is many better ways of doing this, but I am somewhat heavily invested in the current process and I would like to find out how to make it work if I can.BTW, you can do this programatically by using PowerShell (https://msdn.microsoft.com/en-us/library/ee210569.aspx), SqlPackage (http://www.benday.com/2012/12/18/deploy-a-sql-server-database-projects-dacpac-with-sqlpackage-exe/)
or the SQL Server binaries for .NET (http://www.vijayt.com/Post/Deploying-a-data-tier-application-in-SQL-Azure-programatically)
Hope this helps.
Alex -
TS3276 how do I get Mail to stop downloading the same email multiple times?
My mail keeps downloading the same email multiple times. I've had as many as 10 of the same emial. How do I stop this?
Me too - did you ever figure it out?
You can't even delete from the server in mountain lion.... I did it from my old mac, but it didn't work. I keep having 11,000 new emails that can not even be deleted in blocks!!!
Was it a gmail account? Mine is, and my other 2 are fine... -
How to automate saving the same image multiple times?
Hello. I wish to save the same image multiple times in a folder... is there a way to automate this function? I also need the flexibility of determining the starting number in this image sequence. Thanks.
Good day!
I would recommend asking for help over at
Photoshop Scripting
And going into more detail about what you want to achieve (maybe post a screenshot, diagram, mock-up to illustrate it).
Regards,
Pfaffenbichler -
Running the same code multiple times with different paramters automatica​lly
Hi guys,
I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
X_Intial, X_Final, X-StepSize
Y_Intial, Y_Final, Y-StepSize
Thanks,
DushyantAll you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
Attachments:
Cluster Array.JPG 9 KB -
Hi,
I have a HP desktop computer. The model is HP Pavilion a6030.uk, Opertating system: windows vista.
My computer has had no problem at all until yesterday for some reason i had to push the power button multiple times to start it until it finally turned on and did the normal start up. Such as i would press the power button as normal to start it, but all of a sudden, it would turn off after about 2 seconds, and so I would press the power button several times and each time it would not start up and turn off, so the power button would be pressed again until it would finally turn on and start up and run as normal and seems to work fine. And it was the same today, i pressed the power button mutiple times (e.g. 6 times) until it finally started as normal.
As im not very knowledgeable or very computer/technology savvy wise in this area, please will someone help me and give me some advice/help to fix/solve this.
Thankyou for taking time to read this and any help would be much appreciated to resolving this problem.
Thanks.
This question was solved.
View Solution.Vonbon90, welcome to the forum.
When I see these symptoms on an older computer, I believe that it may be a failed/ing power supply unit (PSU). Here is a guide that will help your troubleshoot it.
Also, you could test the memory. This can be done by removing all of the memory modules and replacing them one at a time and booting.
Please click the " Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
Signature:
HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
HP Photosmart 7520 AIO
++++++++++++++++++
**Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
Intelligence is God given; Wisdom is the sum of our mistakes!
I am not an HP employee. -
I have an iPod touch 2nd generation and therefore I can not download the new software. I did the restore option multiple times and my iPod still skips in the middle of songs, suddenly takes me out of a playlist, and is extrememly delayed. Anyway I could fix this?
If you already restored to factory defaults/new iPod then it appears you have a hardware problem. I would make an appointment at the Genius Bar of an Apple store and hear what they have to say.
-
Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be
Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be
-
HT3180 When using my remote the cursor moves multiple times. How can I fix this?
When using my remote the cursor moves multiple times. How can I correct?
Hi Freebyrd1999,
In order to get your Apple TV working correctly you may need to restore it. Use the steps in this article -
Apple TV (2nd and 3rd generation): Restoring your Apple TV
http://support.apple.com/kb/HT4367
Thanks for using Apple Support Communities.
Best,
Brett L -
Placing the same object multiple times
Does anyone know how to place an object multiple times in either Illustrator or InDesign? I have a small graphic that I would like to have repeated (probably hundreds of times) to create a background. I could place it over and over (and over and over and over), but that would be way too labor intensive.
Is there a way to put it in like it is a self-replicating background?
Thanks,
JohnA Symbol, by definition, is stored only once in the file. A Symbol Instance is just a reference. When an Instance is duplicated, only a reference is duplicated.
Evidently Transform Effect--albeit "live"--does not do the same. It actually does create multiple duplicates of the original. The duplicates are "linked" to the original so that if the original changes, the effect is reapplied on-the-fly in response--but it is applied (and the copies made) all the same. Copies of a Symbol Instance, however, are in and of themselves nothing but position/scale references to the original. So Transform Effect is replicating just those references.
I don't really find this surprising. Consider other so-called "live" effects. When you add multiple strokes and fills to a path, you are not just adding position/size references to the path; the added strokes and fills are, in fact, being created--regardless of the fact that they are recreated on-the-fly if you modify the path.
Same way with Pattern fills. The pattern is actually stepped-and-repeated enough times to fill the clipping path to which it is applied. If you reshape or resize the clipping path, the Pattern Fill gets re-built on-the-fly. But it still gets built all the same.
Apply a live Drop Shadow Effect. That raster image acutally gets created. Change the object to which it is applied, or change the parameters (like resolution) of the shadow, and the raster gets deleted and a new one gets created on-the-fly. But it still gets created, and exists in the file until and unless it is changed.
I think of "Expanding" a live effect as nothing more than breaking the "link" between all the extra created stuff (which is there) and the object to which it was applied. I don't think of all that extra stuff as "not existing yet." It exists. It's been drawn. You're just not allowed to manipulate it directly, because it is "linked" to the original so that it will be deleted and re-created if you edit the original. Breaking the link (Expanding) doesn't take long, becaues all that stuff is already created; it's not just a string of concise commands waiting to be created. It's already there. But make an edit to the original and it does take a long time to re-draw, because all the extra stuff now has to be re-created.
Do a Transform Effect on a Symbol Instance. Expand the result. You'll see that what you have is a group of Symbol Instances. And Symbol Instances are just references--commands to "put a copy of that here."
Use a Symbol Instance in some other construct, like for example, a Pattern Fill. Expand the Pattern Fill and you'll not end up with a group of Symbol Instances; you'll end up with a bunch of actual copies of the artwork which the Symbol contains.
Same with a Scatter Brush. Now, I can understand a Symbol not working with a Pattern Brush or Art Brush because of the enveloping that has to go on. But all a Scatter Brush does is position/scale/rotate copies. So I would expect a Symbol Instance used in a Scatter Brush to create Symbol Instances. But it doesn't. Try it. Draw a red circle. Make it a Symbol. Use the Symbol Instance to define a Scatter Brush. Draw a path and apply the Brush. Now doubleClick the original Instance still on the page to put it in Isolation Mode. Change its fill to green. Exit Isolation Mode. The circles on the Brush Path do not update. They are actual copies of artwork, not Symbol Instances. Who knows why? Perhaps it would break other features/behaviors of Scatter Brushes I never use (Wacom tilt?). Or maybe they could have made it work with Symbols, but just didn't. Didn't AI Brushes exist before Symbols? Illustrator's history is full of later features not being well integrated into the pre-existing feature set (ex: LivePaint and Brushes).
JET -
Please:How to repeat the return values multiple times in sapscript
Currently my subroutine is returning a value called TOQBSSHB single time and i am working with standard layout called RFFOUS_C.Please can anybody tell me if i want to show multiple times TOQBSSHB for different values of VBLNR .Is it possible if it is what are changes i should make on layout and subroutine.
PERFORM EXTRACT IN PROGRAM Y_MIT_TEST2
USING ®UH-VBLNR&
USING ®UH-NAME1&
CHANGING&TOTQBSHB&
ENDPERFORM
FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.
TABLES : REGUP,BSEG,REGUH,REGUD.
DATA : BILL_NO LIKE REGUH-VBLNR.
DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.
DATA : JTAB LIKE REGUP OCCURS 0 WITH HEADER LINE.
DATA : BELNR1 LIKE ITAB-BELNR.
DATA : QBSHB1 LIKE REGUD-SWNES.
DATA : QBSHB2 LIKE REGUD-SWNES.
DATA : TOTOQBSHB LIKE REGUD-SWNES.
READ TABLE IN_PAR WITH KEY NAME = 'REGUH-VBLNR'.
IF SY-SUBRC = 0.
BILL_NO = IN_PAR-VALUE.
ENDIF.
SELECT * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE VBLNR
= BILL_NO.
READ TABLE ITAB INDEX 1.
IF SY-SUBRC = 0.
MOVE ITAB-QBSHB TO QBSHB1.
MOVE ITAB-BELNR TO BELNR1.
ENDIF.
SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE JTAB WHERE BELNR
= BELNR1.
LOOP AT JTAB.
READ TABLE JTAB INDEX SY-TABIX.
IF SY-SUBRC = 0.
QBSHB2 = QBSHB2 + JTAB-QBSHB.
ENDIF.
ENDLOOP.
TOTOQBSHB = QBSHB1 + QBSHB2.
READ TABLE OUT_PAR WITH KEY NAME = 'TOTQBSHB'.
IF SY-SUBRC = 0.
MOVE TOTOQBSHB TO OUT_PAR-VALUE.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDIF.
ENDFORM.I said :
- A) you should copy the main program without to copy
includes, so when the systems ask you which objects
you want to copy: check all excluding INCLUDES.
So you'll have a new program which uses the same includes of the standard program.
- B) in your z-program you find the point where you should insert your code: you'll have two cases:
- you should insert code in a point that is writen in z-program;
- you should insert code in a point (for example a form) that isn't write in z-program, but in a standard include your z-program use.
In first case you only write your code, in second one before you should copy the include, than insert it in your z-program and so insert your code in the include.
For example:
- A) Copy RFFOUS_C in ZRFFOUS_C
- B) I should change the code of routine
SCHECKDATEN_EINGABE, it's defined in RFFORI01, so I copy it in ZRFFORI01, insert my code in it.
- C) found where my z-program call include RFFORI01:
subroutines for check print and prenumbered checks *
INCLUDE RFFORI01.
now replace this with the call to my new include:
INCLUDE RFFORI01.
INCLUDE ZRFFORI01.
If you do in this way you copy only includes where you should change the code.
Message was edited by: max bianchi
Message was edited by: max bianchi -
Calling setText or setContent multiple times on BodyPart clears headers
Are you supposed to be able to re-use a MimeMessage, changing the body parts and sending it multiple times?
When I try the following, the content-type and content-transfer-encoding headers are stripped from the html body part:
MimeMessage msg = new MimeMessage(Session.getDefaultInstance(System.getProperties()));
msg.setFrom(new InternetAddress("[email protected]"));
msg.setSubject("TEST");
msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
final MimeMultipart multipart = new MimeMultipart();
final MimeBodyPart htmlPart = new MimeBodyPart();
htmlPart.setText("<html><body>This is an html part</body></html>", null, "html");
multipart.addBodyPart(htmlPart);
msg.setContent(multipart);
Transport.send(msg);
// now call setText on the html part and send the message again
htmlPart.setText("<html><body>This is another html part, overwriting the first</body></html>", null, "html");
Transport.send(msg);I end up with a message that looks like this:
Content-Type: multipart/mixed;
boundary="----=_Part_0_10496062.1211756263858"
Date: Sun, 25 May 2008 18:59:42 -0400
------=_Part_0_10496062.1211756263858
X-TESTHEADER: test
<html><body>This is another html part, overwriting the first</body></html>
------=_Part_0_10496062.1211756263858--Which renders as plain-text in my browser. I know I can re-create the entire MimeMessage and body parts, but my real-world example is significantly more complicated. Another way to get it to work is to explicitly set the content-type and content-transfer-encoding headers on the HTML part after changing the content. I'm not sure what to set the content-transfer-encoding to, however (I'd like this to work for multiple encodings)Call msg.saveChanges() before Transport.send(msg).
Maybe you are looking for
-
Continual Consumption : Variable field in PPM from R/3
Hi All - I have a multi-mixed resource and it is used in one of the operations in the PPM. I was manually creating the PPM and testing a few things and I had populated the field " Continual Consumption: Variable" How can this field be CIF'fed over fr
-
We have three different forests in three different locations and one domain under each forests. All of them are trusted bidirectionally. Our Objective is user name creation should be done by a single person from one location across all domains. Is it
-
Order of the selection fields in SAP QUERY
Hello All, How can we set the order of the selection fields in SAP QUERY! Regards! Ashish
-
I was recently in Paris and tried to use my iphone 5s (Verizon is my carrier here in the states) and kept getting, no service in the left hand corner. Before when I used my phone with ATT everything was fine and easy. Is there something I need to kno
-
Encore CS6 - Bluray; some buttons with wrong color (precomposed White Wedding)
Hello, Yesterday, I've authored a DVD with the White Wedding template from precomposed. Everything is fine and ok! Today, I started with the Blu-ray version of the same movie. So, I created a new project, import the menu assets/menus/videos. Linked e