Running a Subvi independently in a stacked sequence

Of expensive Labviewer. We have an instrument that is controlled by a labview program. The program consists of a bunch of operations in sequence and each operation is implemented using sequences la_ROSE923/flat. At some point in the sequence, I want to ramp a furnace (owen) external to a given temperature, for a period of 5 to 10 minutes to do this, I did a Subvi who works for this purpose (using a while loop set). If I put the Subvi in the structure (sequence stacked/flat) all of the process holds it until my Subvi is finished, but I want the overall process to move to the next sequence just after starting Subvi. How do I implement that?

Any help is highly appreciated

Warmly optimistic

Morgan

You can use any loop in parallel.

Tags: NI Software

Similar Questions

  • Order the dish/stacked sequence excecutes

    Normally, a flat structure to sequence in a loop for if Execute from left to the right until it reaches the end and then repeat the left right code as many times as the loop he tells too much.

    I want to be able to change the order / discreet in which the sequence loop around, so that my excecutes stacked in the 'Z' patter above sequence.  He needs to realize from left to right until it gets to the end, then bounce back (without repeating the last image) and run from right to left, until it hits the start frame, bounce again (without repeating the start frame), and executed from left to right to what he hits the last image, bounce back again once , etc etc etc, many times I have to say.

    Tips on how to achieve this?

    Forget the flat/stacked sequence diagram. They are only as a LAST resort.

    If all your actions was I sup vi then call one by one in a while loop. You can use a cluster of error to force the flow of data between the sub of vi.

    If not go get some Statemashine. There are a lot of entries on this site for State mashines in LabVIEW.

  • The output of a stacked sequence index

    Hello world

    I write code in which I instantiate objects much when I first start my code and place objects in a table that is subsequently used as a lookup table in the operation.  It takes a lot of space on the block diagram and it is difficult to understand for the user who is not familiar with the code.  Is it possible to create something like a sequence of plate which may have a single indexed exit tunnel?  I want something like what you get when having a tunnel on a loop for, I want just every single itteration (unlike the loop for).  I have included a picture of what my schema currently looks like for reference.  You can see that I have create all the objects with unique information (ID, order number, etc.) and then create a table with them.  I would like for each of these objects in an image of a sequence that is stacked with a single indexed output instantiate (if possible).

    Thanks for the tips!

    -Eric

    Option 1: use a Subvi

    Option 2: Use a loop FOR as a sequencer.  Instead of the structure of stacked sequence (or flat), put a case inside a loop structure FOR and wire the i for the selector of the case.  Then, in each case, you can initialize a different class.  The output can then be autoindexed.

  • question about stacked sequence

    Hello

    I have a question about stacked sequence.

    I have a stacked with 5 sequences sequence (0,..., 4). I would like to run these as this form

    0, 1, 2, 1, 3, 1, 4, 1 then again 0...

    I don't want to duplicate the section 1 because it contains many objects, variable... One possibility would be to out objects and then duplicate the sequence and use of shift registers, but I don't want to use because in 1, I have some graphs in real time to draw...

    Will there be another (easy) way to do this?

    Thanks for the ideas,

    Concerning

    Why use a stacked sequence?  What you want is a state machine something like this

  • Repeat items in a stacked sequence

    Hi does anyone know how to repeat elements of a stacked sequence?  For example, if I want to repeat that frames 7-12, how would I go all this?  I was watching the State machines, but also to try to understand.  I thought that there could be an easier way to do somehow with a while loop, but not sure how I would go all this.  Thank you!

    Jon

    You need to understand the state machine. It serves to do just what you want to do.

  • structure of stacked sequence

    OK, so what I try to do is to use LabVIEW 8.0 and a USB-6008 is a photocell allows to start the rotation of a motor continuous when it is in the darkness and stop the motor function once it is exposed to light.  Only after the engine stopped moving I want then to a linear actuator to deploy.  Separately all programs work as it should and I was able to integrate successfully the photocell function and motor.  What I can't do, is get the actuator to deploy once the engine has brought his designated position.

    I was planning on using a structure of stacked sequence so that I make sure the actuator goes off until the engine has completed its task.  Because I need to have the photoresistor and the engine in a while loop to ensure that they are constantly looking for the data telling them what to do, I placed them in the while loop and the motor part of the code in a frame of the stacked sequence.  Once the motor stops, I then passes the data forward to the next section, which is just a Boolean wire coming out then the structure of the sequence in a loop to give the necessary tension to control the actuator.  However, it does not, the engine continues to ork in synchronization with the resistance, but the trigger does not fire.  I wonder if there is something wrong with my attempt to pass off while the structure data.  As I read on stacked sequences, it seems that many people do not use them because they do not work properly in time so I wonder if there is a way to avoid using one but to make sure that the actuator will not draw unless the resistance has guided the motor in position.

    I have attached the code to help the understanding of the program.

    I use a bridge allowing movement front and rear H, you will see a 3 x 1 matrix in the structure of the case.

    Thank you!

    Hi Leanne,

    You could use a digital logic to check for a change in value, and the value itself.  In the example below, I did this with a feedback node that stores the value of the digital line of the previous loop iteration:

  • Running (3rd party/independent)

    Hi all

    I have a VM server get this error on "VM ware tools" running (3rd party/independent). status is unknown, the tools are installed, but not pass by VM ware.

    Please find the attached error while trying to upgrade.

    Kind regards

    Abid

    I noticed that you are trying to upgrade VMWare for a telepresence VCS tools.  For servers of telepresence VM that does not a Windows operating system, they have their own flavor of the VMware tools installed within the app, not sure, or even know if they can be updated as I never see any documentation or the mention of it anywhere.

  • How to use 'Start synchronous call' to run a Subvi timeout event and keep in hand vi still running?

    Hi all

    I have an application must periodically check the State of the instrument, and I put it in the "Timeout" vi main event. I need also call some subVis to configuration etc. Somehow when I called these Subvi, the Timeout event in my main vi did not work. I then use the ' Start Asynchronous Call "to call the subVis. Turns out it works fine with a few subvis worthless back, but not as expected with subvis 'return the required value.

    I have attached a simple test, my main vi call two dlg subvis: AboutDlg.vi and SettingsDlg.vi. In the case of delay, I just use a counter for the simulation. When you run it, you can see the meter taken into account when the AboutDlg.vi has been called, but stopped when SettingsDlg.vi is called.

    As I remember, someone suggested to use the queue to pass the return value, but I don't know how to implement here.

    Anyone have any suggestions on this subject?

    Thank you very much.

    Try to play with it - I modified your code to search a Q in there.

    You want to change the bunches to data types more useful (perhaps enum and Variant, so you can ungroup variants according to the enum contribution), you can type def clusters to make it easier to maintain and you will need TO handle the situation where the called VI is left open on program close - I couldn't be bothered, as it was not your immediate deliverance)

    Hope this give you some ideas - totalyy not tested, but should work.

    James

  • using the same indicator of string in different stacked sequences

    Hi guys, I want to use the same string in different sequences stacked indicator. I tried to plug the output of each string constant through the sequence on my indicator chain outside the block in the sequence, but then I get an error "wire connected to a tunnel not channeled. What is the best way to use the same indicator for all sequences?

    Hi JoVMo,

    You can just use a local Variable of this indicator within the sequence...

    Kind regards

    Nitz...

    (Kudos are always welcome)

  • How to run packages in the order of the sequences/ODI11g

    Hello
    I developed 10 package and I want to run these packages in order, one by one.
    When 1 package done that should start automatically 2 package when it finished then should start 3 package and package of 10.


    Concerning
    Sher

    Hello

    Generate a script for each of the 10 package.
    Then create another packet saying MAIN_PACKAGE
    Place 1 package scenario then the scenario of the 2nd package and so not until the 10th scenario package
    Join 1e-2e from line OK and will continue a 10th.

    When you run the whole package your child MAIN_PACKAGE (package1, package2,... package10) will be executed in a sequence provided no child package fails. In the case of any breach your execution stop there only.

    Thank you
    Fati

  • Running reports of independent forms with run_report_object

    Hello

    I'm testing the new version of 12 c (12.2.1) forms and reports. I must say that I am very happy was how smooth the transition of 11g. One thing I'm out by the majority is stand-alone option (no browser). But I encountered a problem when you run the form report with the run_report_object Offline command. As I think that it is probably prohibited, because there is no "common interface" (SST in 11g) in stand-alone mode. On the other hand, there are a bunch of frmsal.jar used to run forms in stand-alone mode. So my question here. Run_report_object is supported in stand-alone mode or should I look for another solution like the report running through reports web service interface?

    THX.

    RUN_REPORT_OBJECT is supported, but you must be aware of the following:

    1. regardless of whether you are using a browser, you must set COMPONENT_CONFIG_PATH in default.env.  Details are provided in the Release Notes (section 2.3.8).

    http://docs.Oracle.com/middleware/1221/formsandreports/FRREL/forms.htm#FRREL5297

    2 once again, regardless of whether you use a browser or not, code former example of integration of forms/States requires that forms and reports were both accessible on the same port.  From v11, each of them now get their own ports.  So, in order to use relative paths to the URL, you need a common access point.  This is possible with SST (or OTD) before WLS.

    3. in the case of use of forms (FSAL) Launcher, remember that authentication may differ between Forms and reports.  In this case, available SSO is the traditional db for forms connection.  This should be considered when calling the reports.  It will prevent the race reports, but the user may need to to re-authenticate in reports if she uses a different configuration (for example, SSO).

  • My Subvi is running independently but do not if you called by a relative of VI.

    Greetings,

    I have a Subvi, which is called by a parent of VI.  The Subvi is running very well independently, but when she is called its parent returns 0.00000.  I'd appreciate it if someone with a little more experience could take a look and tell me why I have questions.  I've included the 4 files:

    (1) DARwire - Targets.VI (this is the parent VI)

    (2) DARwire-range Target.VI (this Subvi who runs correctly when it is called)

    (3) DARwire you to dP.VI (this is the faulty Subvi).

    (4) range.dat (it is a text file which is read by DARwire-range Target.VI to calculate the velocity of a calibration targets).

    Some general remarks:

    1. you want to change the path string in DARwire-range Target.VI to match any directory you save these files in.

    2 typical entered for DARwire-targets are the following:

    Step #: 30-37 or 40-73 (at any stage # it should return all 0.)

    Min speed: 30 kts

    Max Velocity: 150 kts

    Yaw Velocity: 120 kts (this entry is not used at the moment).

    Pressure: 30 inHg

    ATM temp: 74 deg F

    Thanks in advance!

    -BrownBrown

    I didn't know that you could add new cases to a structure of the case, for some reason, I thought that it were only T/F.  It is useful and will definitely help me clean up my code but does not solve my problem.  Crossrulz even rewrite again returned 0 go to the you to RFP Subvi.

    Highlight enforcement helped me to deduce what was going on.  When I ran the code using this option I noticed that the values this is past the ATM press. and Temp ATM. controls in you to RFP were the two 0.  Apparently I had accidentally defined as text rings not of digital controls.  After doing switch things work as expected.

    Thanks to everyone who gave input.  Well done all around.

  • run sequence file locked

    Having some trouble getting a lock file sequence (password protected, not visible) to run (TS2012):

    Saved the file of sequence like password protected / locked / not visible.

    It seems that not visible in the sequence editor and user interfaces.

    I can start a run-through of my custom process template, but partly through the execution of the process model reference"

    "RunState.ProcessModelClient.Data.FileGlobalDefaults. *", and I get an error indicating that

    "The search string RunState.ProcessModelClient.Data.FileGlobalDefaults. * refers to a protected object that is locked."

    http://zone.NI.com/reference/en-XX/help/370052M-01/tsref/infotopics/db_seq_file_prop_adv_tab/ suggests that the API is not meant to be limited to access during execution.

    Recommendations on how to enable process model access to the file of the Client's sequence information during execution when the file of the client's sequence is blocked as not visible?

    The time of the edict of the globals file are protected against copying (even then), but you can access the copy of the duration of the globals file programmatically as follows:

    #NoValidation (Locals.FileGlobals.VariableName = * RunState.Execution.GetFileGlobals (RunState.ProcessModelClient).) GetPropertyObject ("VariableName", 0))

    Another option is to use a sequence settings instead. Those who are protected by default, even at the time of publishing. For example:

    #NoValidation (Locals.FileGlobals.VariableName = RunState.ProcessModelClient.Data.Seq ["MainSequence"]. Parameters.VariableName)

    I hope this helps. Let me know if you have any questions related to this.

    -Doug

  • A program running in the background of my sequence

    In a first time to run a program in the background of my Teststand sequence, I'm trying to accomplish the very well detailed procedure that follows to run asynchronously a VI (my future intention is to call my a VI program which is running in parallel during the Teststand sequence).

    https://decibel.NI.com/content/docs/doc-21743

    I think that I followed every step, however my implementation was a significant failure: 'Asynchronous VI' does not close even if the concerned Boolean parameter is set to "true" and should be read by this VI...

    I guess I'm missing something obvious... But the fact is that really miss me! Can someone show me my mistake please?

    Thank you in advance!

    Attached you will find my sequence and VI.

    Hello

    (1) for your use case, you update the globals (stationglobals.ini) TestStand and VI reading station which should be fine.

    When the two try to update/write to-it will be a problem.

    (2) - I noticed that it is still impossible to read the outputs of the vi running in asynchronous mode in the main sequence: even when I write the result in a variable StationGlobals, it does'nt change throughout the sequence

    The globals station is a physical file (stationglobals.ini) which must be committed (saved) after updating the variable file in VI.

    TestStand also has to reload the stationglobals.

    Check this box:

    https://forums.NI.com/T5/NI-TestStand/writing-to-TestStand-station-Globals-from-LabVIEW/TD-p/3064530

    I hope this helps.

    Ravi

  • Why this Subvi takes longer each time I run it?

    I'm running this Subvi inside a loop, with say 2000 iterations. As the iterations increase, I notice that the time increasing, starting around 15ms when I = 0 and move upward constantly until it is around 100 ms to i = 2000.

    Do us admit that there is a method to my madness and not get bogged down in why I want this turning on and off 2,000 times. I have a similar Subvi in the same Hoop, which made a few signals in input/output tasks, which shows the same problem on a large scale. I notice a memory leak when I look at the Windows Task Manager as well.

    I guess the task of tension is created every time that's the problem, and I can certainly go to move before the loop. But I do not understand where va-the lost time. It has to do with how Labview stores/access tasks maybe?

    My guess?  You are creating a new task every time but without closing the if you find yourself using all of the resources on your computer.

Maybe you are looking for

  • Satellite Pro M500 - cut voltage for USB

    I have the Satellite M500 Pro with Windows 7 installed. Correctly detect several USB pen drive (led inside IT) but when to use 'remove the security apparatus' (bottom right) the led stays ON (never turn off). This for each Keystone model I (2, 4, 8GB

  • Lost PMB Portable in my camera

    I have a DSC-HX9V and I accidentally deleted the "PMB Portable" from my camera. I use a MacBook Pro and I've downloaded these versions of the site Sony PMB: PMBPMAC15_Upgrade1110aPMBP_MAC1001aPMBP_MAC0904a Whenever I try to install/upgrade to level t

  • problems to migrate ReadyCLOUD account

    I have problems with an account is migrated in theory, but something has failed, when added to the nas, e-mail me the user continue to appear and not as old accounts. occurs only with an account

  • Cannot enable bluetooth dongle on, get a code 10 or 43

    I recently bought a couple of bluetooth dongles, the first was an iogear that I continued to get an error telling me to install drivers, even after that I got.  It would not work with the software of my blackberry, so I got another one that is a CSR

  • World of logs are readable?

    The best possible my request please read log files another application allowing you to in Android?