Dynamic process simulation

Hi Forum members,

As a newbie to LabVIEW, I am in need of basic advice on how best to proceed with the development of my process in LabVIEW simulation, what follows is basically what I want to implement:

1. a ship is initially set at a certain level (I express the content in the form of volumetric cubic units).

2. press a start button.

3. open a tap at the bottom of the boat (opening time is 2 seconds) - then the following steps 4. and 5. occur simultaneously

4. material flow by boat (I have an expression of volumetric flow in units rate cubes per second)

5. material feeding in the upper part of the ship (I have the volumetric flow rate in cubic XX per second units)

I tried to implement the above using various methods (Simulation framework, sequence timed, etc.), but with all the various functions in LabVIEW I am baffled that you select as I have flow rates, delay going on in my application.  I also want to do some animations and show graphs of discharge and volume of content of ship over time.

If anyone can suggest the best approach to this problem it would be appreciated.

Kind regards

Bunnykins,

I think that your description of the process is fine.  I got a lot more serious real customer.

For applications like yours, look at a state machine.  There are examples or available in LV design patterns to help you get started. The architecture of State machine can be very flexible as needs change and can allow alos robust management errors and conditions initial and final, as well as the ongoing process operation.

The best way to get help on the Forum is to display your classic attempt as well as data. Indicate as clearly as possible what you expect it to do, and he does that you didn't expect.  Ask questions that are specific: why my delay in step 3 2 seconds when I was expecting 100 ms? a much better than why my VI is not working?

Lynn

Tags: NI Software

Similar Questions

  • do called ondemand dynamic process

    Hi guys,.

    I write a js code to call and run several processes application ondemand level as below - any process on request can be passed when the js code is triggered by button

    #1.

    function updateEmp (p_proc, p_empno) {}

    var v_value = document.getElementById (p_empno) .value;

    var v_proc = 'APPLICATION_PROCESS =' + p_proc;

    asynchronous HTTP AJAX request using jQuery

    $.ajax({)

    type: 'POST',

    URL: "wwv_flow.show",

    data: {}

    p_flow_id: $('#pFlowId').val (),.

    p_flow_step_id: $('#pFlowStepId').val (),.

    p_instance: $('#pInstance').val (),.

    x 01: v_value,.

    p_request: ' "' + v_proc + '"' / /'"APPLICATION_PROCESS =" + p_proc + ' "' designate the application process"

    },

    beforeSend:

    function() {}

    do something

    },

    success: / / to be called if the request is successful

    function() {}

    do something here

    Alert (' test this value = "+ v_value);

    }

    });

    }

    #2. the call button (url redirect) is

    JavaScript:updateEmp('OnDemandx',_'P3_EMPLOYEEID');

    but when I hardcode the process name directly as below, it works.

    , p_request: ' "APPLICATION_PROCESS = OnDemandx"

    so, what could be the problem here?

    Apex 5.x

    Kind regards

    Gor_Mahia wrote:

    I write a js code to call and run several processes application ondemand level as below - any process on request can be passed when the js code is triggered by button

    What exactly is the point of this? The result of each process on request will probably be different, so as well as use the "dynamic" process, the function must also manage the value returned by the callback dynamically, which it does not currently appear to support.

    Always advanced postal code using the functionality of the syntax highlighted in the editor.


    function updateEmp(p_proc, p_empno) {
    
        var v_value = document.getElementById(p_empno).value;
        var v_proc =  'APPLICATION_PROCESS=' + p_proc;
    
      // perform an asynchronous HTTP AJAX request using jQuery
      $.ajax({
        type: "POST",
        url: "wwv_flow.show",
        data: {
          p_flow_id: $('#pFlowId').val(),
          p_flow_step_id: $('#pFlowStepId').val(),
          p_instance: $('#pInstance').val(),
          x01: v_value,
          p_request: '"' + v_proc + '"'  //'"APPLICATION_PROCESS=' + p_proc + '"'  refer to the application process
        },
        beforeSend:
          function() {
        // do something
          },
        success:  // to be called if the request succeeds
          function() {
          // do something here
            alert('tested this value = ' + v_value );
          }
      });
    }
    

    but when I hardcode the process name directly as below, it works.

    , p_request: ' "APPLICATION_PROCESS = OnDemandx"

    so, what could be the problem here?

    Line 15: v_proc a string value is not a literal and so should not be enclosed in quotes:

    function updateEmp(p_proc, p_empno) {
    
        var v_value = document.getElementById(p_empno).value;
        var v_proc =  'APPLICATION_PROCESS=' + p_proc;
    
      // perform an asynchronous HTTP AJAX request using jQuery
      $.ajax({
        type: "POST",
        url: "wwv_flow.show",
        data: {
          p_flow_id: $('#pFlowId').val(),
          p_flow_step_id: $('#pFlowStepId').val(),
          p_instance: $('#pInstance').val(),
          x01: v_value,
          p_request: v_proc
        },
        beforeSend:
          function() {
        // do something
          },
        success:  // to be called if the request succeeds
          function() {
          // do something here
            alert('tested this value = ' + v_value );
          }
      });
    }
    

    Using the apex.server.process API would be clearer and involve a lot less typing.

  • "Unable to create a second process" Simulator BB9800

    Everytime I try and launch my app in the simulator of torch, I get an error message of the Simulator itself (not on the simulated BB) stating "unable to create a second process. Please see the release notes for more information".

    This only happens if I run the application browser first.  If I restart the phone and launch my widget, it works fine - but then I can't launch the browser without the same mistake happening?

    I built my application using a copy of the packer of widget patched with the files of http://supportforums.blackberry.com/t5/Web-Development/Supporting-BlackBerry-Widget-applications-on-... but it doesn't seem to help.

    Is there anything else I should do?

    Hello

    You do everything correctly.  The version of the torch Simulator that is currently available for download will not accept that a single instance of webkit work.  This is a limitation of the Simulator is implemented.

  • Dynamic processing of single quotes in SQL

    Version: 11.2.0.4

    I'm kinda a beginner when it comes to dynamic SQL.

    I had a condition in which I had to run the following command on all the data files in the DB.

    -Expected results

    change datafile resizing '< Filename >' database 10g;

    The name of file, which is generated dynamically must be in single quotes.

    -Sample data

    create table x (file_name varchar2 (90));

    Insert into x values ('/ u04/oradata/ORCL/system.dbf');

    Insert into x values ('/ u04/oradata/ORCL/sysaux.dbf');

    Insert into x values ('/ u04/oradata/ORCL/users01.dbf');

    I managed to do it using a similair below code. But I had to do several things of trial and error to get this working in reason to get the correct number of single quotes for the string generated for v_sql below. So, I want to rethink the basics.

    declare

    v_sql varchar2 (350);

    Start

    for rec in (select x file_name)

    loop

    v_sql: = "alter database datafile"'| " Rec.file_name | " 'resize 10g;

    -RUN IMMEDIATELY v_sql;

    dbms_output.put_line (v_sql);

    end loop;

    end;

    /

    ALTER database datafile ' / u04/oradata/ORCL/system.dbf' size 10g

    ALTER database datafile ' / u04/oradata/ORCL/sysaux.dbf' size 10g

    ALTER database datafile ' / u04/oradata/ORCL/users01.dbf' size 10g

    PL/SQL procedure successfully completed.

    I would like to know the role played by each single quote. I used 8 apostrophes in the V_SQL variable above, and I numbered each single quotation mark as shown below.

    1                        234                 567           8

    |                        |||                 |||           |

    v_sql: = "alter database datafile"'| " Rec.file_name | " 'resize 10g;

    Example of output from the generation of dynamic channels:

    alter database datafile '/u04/oradata/ORCL/users01.dbf' 10g resizing

    1 and 4-> start and end of the string alter database datafile '

    3 > literal single quote of string in red in the example output

    2 > escape 3 (single literal quote of string)

    5 and 8-> start and end of the string ' resize 10 g

    6-> escape 7 (single literal quote of string)

    7 > literal single quote of string in green in the example output

    My asssumptions are correct?

    I would like to write like this.

    declare
       v_sql    varchar2(350);
    begin
      for rec in (select file_name from x)
          loop
            v_sql := q'[alter database datafile '#FILENAME#' resize 10g]';
            v_sql := replace(v_sql, '#FILENAME#', rec.file_name);
            --- EXECUTE IMMEDIATE v_sql;
            dbms_output.put_line ( v_sql);
        end loop;
    end;
    /
    
  • Compression of dynamic range to set audio levels of people who speak at training meetings

    I know almost nothing about audio manipulation, but I recently started recording sessions of training for my company. Some people microphones while others do not. The tool that I got is the latest version of Adobe Audition. Is it possible for me to get easily all talk at the same level, so that people don't constantly put their volume up and down while watching?

    Well, you can use the dynamic processing to equalize the levels, but according to the differences between the voices (and some with microphones, others without sounds pretty drastic), you may not be happy with the results.

    You will find the desired effects/Amplitude and Compression/Dynamics treatment effect.  I'm afraid that's not the kind of thing where you can simply call a "Preset" and make it work the first time.  You will need to set the various parameters to control the threshold and the ratio of the effect to achieve the best results.

    For quick and dirty, it might work.  However the other thing to consider is manually adjust the levels on the fly.  Using volume envelopes you can change the levels by ear to adapt each piece to sound as good as possible.  This seems tedious, but once you get your hand, you can probably do the workout together faster than real-time.

  • Possible to delete the pix of Photos &amp; keep about iCloud?

    I'm a jump and move photos to another management/editing software. I want 90 GB free on my Macbook Pro by deleting all my photos photos, but I want to KEEP all my photos (30,000 of them) in iCloud.

    It is an intermediate movement until I am sure that I don't want to use the Photos.

    Is this possible? Is it as simple as click on the button "Optimize Mac Storage" in the Panel preferences of Photos? Or is it possible to actually DELETE the pictures of my HD while keeping on iCloud?

    Thank you-

    Is this possible? Is it as simple as click on the button "Optimize Mac Storage" in the Panel preferences of Photos? Or is it possible to actually DELETE the pictures of my HD while keeping on iCloud?

    If you click on "Optimize storage", Photos will remove more original images, if you are running out of storage and replace with smaller optimized versions.

    It will be a dynamic process and take a long time.

    The fastest solution would be to move your photo library on an external drive, then remove it from your system disk. If you keep iCloud active library, you can still use iCloud photo library, if your external drive is connected, and you do the library on your external drive your system library.

    Or you can disable iCloud photo library on your Mac in ' Photos > Preferences > iCloud. Do not click on "Disable and remove" in system preferences > iCloud > Photos. The photos will remain in iCloud.

    Then don't use that the web interface for iCloud to www.icloud.com > Photos

    See this help https://help.apple.com/photos/mac/1.0/?lang=en#/phtf5e48489cpage. -the last paragraph "stop using iCloud photo library.

    Important: If you decide to disable iCloud photo library, first be sure to select 'Download this Mac originals' in the iCloud Photos preferences pane, then all your original photos can be downloaded from iCloud to your Mac. Be sure to leave your originals to download before shutting iCloud library completely.

    • Choose Photos > Preferences, then click on iCloud.
    • Uncheck the box for iCloud photo library to turn it off.

    After having turned off iCloud photo library, the Photos on your Mac app can't access your iCloud library, and changes you make to photos on your Mac do not appear on other devices. Your library remains in iCloud and available to other devices than iCloud use photo library. To disable iCloud photo library on all your devices, open the iCloud of system preferences pane, click on the button manage, then click on photo library. Click on "Disable and remove." Your photos and videos will be deleted icloud library within 30 days, unless you click Undo deletion before that date.

  • If I use iCloud photo, why iPad uses 10 times more space than my iphone

    I optimize selected storage to iPhone/iPad, using photos from iCloud, and my iPad Pro uses 55 g of storage then my iPhone 6 + uses only 5.8 g

    Optimize is a dynamic process and does not follow a specific formula.

    It is designed to provide 'optimized for device' size photos, then your iPhone and iPad needs would be different only on this basis. It is also based on the space available, once again, that would make the files different on each device depends on available storage at any time.

  • What software to use to open a file .igx in the Windows environment

    What software to use to open a file .igx in the Windows environment

    Hi Docsri,

    The IGX file type is primarily associated with ' iGrafx FlowCharter / iGrafx Process' by iGrafx LLC. A graphical process simulation and modeling program.

    You can use the software provided by ' iGrafx IGX to open files in Windows.

    Frequently asked questions

    http://www.iGrafx.com/products/Flowcharter/14/FAQs.html

    Evaluation software downloads

    http://www.iGrafx.com/downloads/trial.html

  • Try to defragment (Vista/Windows Live OneCare)... No way to track progress?

    Please forgive me if I am posting this in the wrong place...

    I get messages in Windows Live OneCare, which is supposed to manage my 'tune up' monthly including defragment my hard drive, saying that "Defrag has only partially completed due to high levels of fragmentation."  My computer is really slow and so I try to do a full defrag - but the window Disk Defragmenter has just said that there "defragmentation, which can last a few minutes or a few hours.  Is it possible to track its progress?  It is the first version of windows I've used that did not have a kind of screen with boxes inside as well as the Defragmenter, indicating what has been done.  For more than a few hours Defragmenter that happened and always says the same thing.  I've done a few times, and I can't tell if it's just hang up or if it's even the defragmentation.  usually after that about 8 to 12 hours, I start to swear, abandon and simply cancel it.

    Please help - I'm about to hire a ninja out of my computer...  Thank you!!!

    Little.

    I can't understand why people want an old defrag process. I want to use my computers, not watch the blocks move around the screen. With XP and earlier versions, defragmentation was not a dynamic process which took place without user intervention. You need to stop using the machine or program it so that it occurs in the middle of the night, because any interruption, even something as simple as a kick, screen saver required process to start over. Some machines would never get defragmented due to other processes constantly interfere.

    Subsequently, the machine will start to become more and more fragmented, until the user remembers to start the process.

    With Vista, it's a continuous process of low priority that does not interfere with your use of the machine. Simply, it is done without having to do a thing. And it is ongoing, the machine must never get heavily fragmented.

    As I mentioned earlier, if you - or anyone - really wants to watch the blocks to move, there are a lot of software vendors that will allow you to give them your money if you can. Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Things I've learned...

    I have an application that has just been approved.

    His n try to buy

    Here are a few things about the dynamic license it is... boring... written here for posterity...

    1. I don't think there is a way to test the recovery of the "RIM_APP_WORLD_LICENSE_KEY" of the codeModuleGroups without going live. (Please tell me I'm wrong... but I do not.)
    2. NEVER try to fake out by putting a false RIM_APP_WORLD_LICENSE_KEY in the. JAD file.  Your application won't start not even... at least mine would not be without a thorough cleaning of your handheld. "Why dear rim overlords, why!
    3. The post for the dynamic license includes all of the fields that must be reported.  However, the pin can be in hexadecimal or may be in decimal format.  I had both, in an interval of 5 minutes, from the same server.
    4. The version number has no relationship to your number of version... at least no I can discern.

    Now I'm off to test my live application :-/

    Please forgive my confusion. What I would do, is to implement a manual key entry screen that uses the same property to CodeModuleGroup. Test that. RIM uses the same property, and insert the key into this property isn't your problem.

    You probably already know, but you must install the application OTA (or alx?) in order to use the CodeModuleGroup API.

    You must manually key in any case logging screen, because the dynamic process of key does not always work unless you are guaranteeing availability 24/7, in this case, what are you doing reading this forum?

    In my manual key entry screen, I pop a dialogue immediately after that the user clicks on the button Save. The listener dialog reads the property of CodeModuleGroup who just wrote. This gives me confidence that the property has been made persistent. In addition, the following instances of demand to bypass the registration process, after reading the persistent key of the CodeModuleGroup property, proving that the CodeModuleGroup property has been properly stored.

    I hope that answers your question.

    Tooter

  • upgrade to 12 c causing problems with APEX 4.2.5

    Hey everyone, our dba updated our database this past weekend at 12 c.  Today, we have problems with one of our more complex pages.  Here's our software configuration where after upgrade:

    APEX: Application Express 4.2.5.00.08

    Database: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c

    The page in question has dynamic actions which fire when a user clicks a button.  The action has 3 processes related to it.  The first is javascript that runs that changes some css classes.  That seems to work.  The second is supposed to be executing pl/sql code (with a dynamic process page element).  This does not appear be to fire.  I watched with firebug and chrome dev tools, but it seems that no ajax call is sent when I click on the button.

    The page seems to generate exceptions in the scenes.  I see the following in newspapers several times on the page.

    ORA-20987: APEX - ORA-00001: unique constraint (APEX_040200.WWV_FLOW_COLLECTIONS_UK) violated

    Unfortunately, I can't determine if what is happening on the loading of the page or under dynamic actions.  Apparently not loading the linked page cause I can't recreate it all by refreshing the page.  But I don't see how it could be created by the dynamic action since they don't seem to be calling the server either.  (no ajax call I see)

    Does anyone know of none known between 4.2.5 and 12 c?  Everything worked well Fri/Sat, so the upgrade must be the cause.

    Thank you!

    It looks like given the scope of the implemented dynamic actions in dynamic instead of static electricity was the problem.  Their transition to static seems to have fixed everything.  Not sure if it "just worked" under the previous version and 12 c was somehow more special or if the parameter got reversed somehow in the process, but it was certainly before.

    Well.  I'll consider it fixed!

  • Role of the Manager of GoldenGate

    What is the role of the GoldenGate Manager regarding the excerpt/replicat process?  If the Manager/extract/replicate all run, can I stop the Manager? Will be the excerpt/replicat continues to run or it will abend?   If the Manager does not work, can I start manually extract replicat of OS command line?

    Yes that's right, E/R built resilience to continue running and to reproduce even if the Manager is stopped, so this isn't a single point of failure. However, if the Manager does not work then some actions which only Manager to do cannot be done, for example, purge files path or start a dynamic process.

  • How can I set a few seconds from the beach to the specific level of db?

    Hi all, I'm new to this software,

    I want to know how can I put a few seconds from the beach to the specific level of db?

    For example, I just want the maximum dB higher and the low dB to be only 3.

    the sound is more concentrated.

    How can I do?

    audition.png

    Ah, you mean compression. There are several tools in hearing that, and one to use depends on the source material. If it is spoken word, then you can use dynamic processing tool (the original), the single band compressor or, possibly, the leveller speech volume to achieve this goal. If it's music, then the multiband compressor is rather sweet.

    But with each of them, there is something important, you should firstly to your track, and it is to normalize it to 0 dB using Effects > Amplitude and Compression > Normalize. You should do this because all compressor settings are associated with a full range signal (i.e., 0 dB) to treat. If you do not do this, none of the controls will make sense. On your screen that you've expanded the display to make it much larger than it should be, then you might want to get back to normal, otherwise you will not see clearly what is happening. Hearing can artificially display any amplitude of the signal at all, due to floating-point processing system internal use, but in the real world, the audio device cannot handle more than 0 dB, please make sure that the signals exceed this.

  • right to After Effects, first, SpeedGrade workflow

    Hello world.

    I have a big question about how to use the dynamic links between After Effects, first announcement SpeedGrade expecially to make the color.

    I usually start with a pre cut first, without any color (speaking of lumetri) and then I export images in ae.

    I usually import fotage in Ae doing a simple copy and paste from Pr chronology to Ae.

    I don't like the links dynamics because big nested comps. After that I usually have to redo some cuts (because of last-minute client changes) so if I use the dynamics it just does not work because the comp is locked.

    Also, assuming that the same thing happens if I create a dynamic according links for the first I present the nested compositions. So if I want to do some color extended on the front lumetri I am having the same problem.

    So, why we cannot get a dynamic link 'open' smart?

    My workflow is probably wrong, but you must understand that I do all my work on my own, so I'd go back between the two after and first. Generally, I applied my color at the end of my work process, after having put graphics, stuff on caterpillars, etc. 3d.

    I don't see any use for these dynamic link. They seems to be quite difficult.

    Can someone explain a workflow that is not to destroy the dynamic process of back and forth between Pr, Ae, SpeedGrade and so on?

    Thank you

    You don't want the Dynamic Link option. More like file > import > Import Premiere Pro Project

  • Insert jpg file psd and update the text file

    FreshPaint-5-2015.08.09-05.10.35.png

    I want to add jpeg images in the 'photo' of the folder field and also update the details of name, announcements and contact information in the text file.

    It is a dynamic process for 100 students. It should be at the top format only.

    Please help me how to do this using Java Script in Adobe Photoshop CS4 or CS6. How to make this format only.

    Thank you

    No JavaScript code not required, see this...

    PS CS5 - working with Variables | The complete picture with Julieanne Kost. Adobe TV

Maybe you are looking for

  • How can I install Firefox for android on my Kindle HDX7?

    I find the browser for download only on the Google game, but this site sent me away to the Amazon appstore that doesn't have Firefox. It is a unexpected drop in death of my Macbook...

  • Satellite P300 - how to install Windows 7 64 bit?

    Hello I had a Toshiba Windows 7 upgrade for my P300 which was under Vista 32 bit. During installation, asked me if I wanted to install 32-bit or 64-bit Windows 7 and I chose 32-bit. Installation worked fine. Now (moths later) I decided that I would l

  • Liquid E1 NFC problems

    Hello world So I can't use my NFC... I tried to connect my phone today (NFC) to a sound system, led NFC in the settings... but that's happened to notting...NFC box is checked, but the text is not white gray (I think that white is 'active'?) And also

  • Crooked printing checks

    Hello I have the HP 8600 Premium for a few months now.  Everything worked very well; until this morning.  I went to print checks, everything came out crooked.  You will never have this problem before.  I adjusted the spring (?) in the status bar, and

  • I don't want windows mail app 8-remember password

    I keep my open counter top all the time but I don't want the messaging application in windows 8 to remember my password.I would rather every time to my email when I click on the mail app so that not everyone can read my email, how can I do this pleas