PWM control with compacRIO

Hi, I work in pwm, I have the following code in labview to fight in compactRIO

http://ImageShack.us/photo/my-images/24/pwmlabview.PNG/

the problem is that I Don t understand the flat sequence structure and components that are connected on

could someone help me with this?

Thank you

The two structures of sequence always run on each iteration of the while loop.  The first sequence structure awaits for the duration.  The second expected during the downtime.  The carrier wire of the cluster of error (the wire of gold/black in the image) dictates the execution order because it is an input and output both digital i/o nodes and the structures of the sequence.  If this isn't clear, turn on execution highlighting (the icon of the bulb in the toolbar), you can watch running.

Tags: NI Software

Similar Questions

  • Have no control with the mouse on my Satallite P300-123

    I have a problem with my mouse on the laptop. When I use the mouse, the mouse is every time left right up down.
    So I have no good control with the mouse.

    Can someone help me with this probem?

    (Sorry for my English)

    Hello

    Do you use the touch pad or external mouse?
    If you use an external mouse disable touchpad by using the FN + F9 key combination, especially when you use the keyboard.

  • How to use the "Toshiba controls" with other players?

    Heey

    I have a Satellite with Toshiba controls. How can I change so I can use the buttons for other media players and not only Windows Media Player?

    A dude sorry for the bad news, but I fear that it is not possible to use the Toshiba controls with another application as with WMP (CD) and WinDVD (DVD)
    I think that the utility was already programmed and designed to use only these two applications.

  • PID control with big delay in the process variable

    Hello

    My goal is to control the temperature via a valve and heat exchanger. I proceeded variable (temperature) measured from a hose. This temperature should be raised a few degrees with a heat exchanger. So basically I need to order a valve that allows the water to flow through the heat exchanger to raise the temperature to the desired level.

    My original plan was to use a base PID regulation to operate the dispenser. However, it is about 0.5 to 1 minute of delay time in the temperature probe after I opened the valve, which increases the temperature. This leads to a situation where the PID regulation valve fully open during this period (trying to get the temperature rise). Then once the temperature begins to rise it fires quite quickly. PID begins turning the tap off almost immediately, but because of the time delay in the sensor, the temperature exceeds seriously. This led to severe oscillation and at worst unstable processes. I tried to adjust the PID control to "predict" the timer to close the valve in advance to minimize the excess, but failed.

    I would appreciate if anyone has any ideas how to make this type of control with Labview PID functions. I also wonder if there is a better type of control procedure for this scenario as a PID control?

    -Lars

    This is a very common situation in the heating control, and generally PID can be adjusted to make it work. How do you do the tuning? If you do it by trial and errors, you have little chance to succeed. For a slow process with time delay, I like to use the method Cohen Coons, or similar open Ziegler-Nichols-loop method. The idea is that you temporarily remove or disable the PID. Set the valve in a fixed position and wait for the temperature to stabilize. Then, change the setting of the valve and record temperature at regular intervals data until the temperature is stable again to a new value. Use these data to get the initial values of PID using the equations provided by the tuning method you choose.

  • Update of digital control with different values with array function

    Hello

    I have attached my code base. I want to execute the code for 2 sets of digital control with a gap between the two values, then pass it. Something like that

    ABC

    Initialize the P1 = 10; P2 = 20; P3 = 30; P4 = 40

    Run the code

    delay = 10ms

    Update of P1 = 150; P2 = 200; P3 = 350; P4 = 500

    Run the code

    jump to abc

    I am stuck how can I update the values of P1, P2, P3, P4? I thought about using a function table but couldn't go further.

    Thanks for the help,

    Ana

    Hello Ana,

    One way you might achieve what you are looking for is using property nodes. These property nodes will allow you to change the values of the block diagram control. You can set up a structure of case inside your loop that will change control through nodes of property value after a certain number of iterations. Here is a community sample that shows how to use the nodes property to change the Boolean controls:

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

    -Erik S

  • Update controls with events

    I'm getting to do a settings editor window that has several groups of settings that can be edited and saved.  The settings are loaded and saved on a Bay of clusters.  The window uses a shift register to store all changes and then you can save at the same time when you are ready.  The problem I see is that if I change a value and leave the cursor in the control, and then a new group he will not read this new value.  I understand that you should put the control that you want to play in the same event, but the problem is I want to be able to read this control with several events and it makes sense to have the control outside the structure of the event.  I have attached a sample vi of what I am trying to accomplish.  I'm relatively new to labview and learning I'm leaving, so any help would be appreciated. Thank you


  • To compare the name of the control with a variable

    Hi all

    I want to compare the name of a control with a variable in a loop. Is there any function for it in Labview? Please let me know if it is.

    Thanks in advance


  • are there similar control with UISegmenControl on ios

    I noticed bbuijs includes

    ActionBar ActivityIndicator ContextMenu GridList            

    Common controls

    These controls and the common layouts are supported through BB6, BB7, PlayBook, BB10

    BBMBubbles Button CheckBox Indicated Drop-down list ImageList LabelControlContainer PillButtons ProgressIndicator Option buttons ScreenMenu ScrollPanel Slider ToggleButton                                                  

    are there similar control with UISegmenControl on ios

    Seems to me looking "buttons of the pill?

    This is in bbUI - https://github.com/blackberry/bbUI.js/wiki/Pill-Buttons

  • Brush control with CTRL + ALT + click right + mouse/pen movement does not work with the tool liquify (photoshop cc 2015): what should I do?

    Brush control with CTRL + ALT + click right + mouse/pen movement does not work with the tool of liquefy; I can't change the size of the brush or hardness. OS win 7 Professional 64 bit, wacom tablet intuos 6.3.14 - 1 driver s pro, Photoshop 2015 CC worm.  2015.0.1 20150722.r.168

    What are your settings of GPU acceleration?  As I understand it, the Alt right click size and hardness adjust needs acceleration GPU to be turned on, but I have a feeling Brush hardness is always set to easy when using fluidity.  You can still see the quick mask as representation of the soft brush when Alt right click, but you can't change the hardness.

    Is that you can change the brush size and pressure (framed in red in my screenshot) Alt right click drag left and right changes size and down to pressure changes, and you can see what is happening in real-time by looking at the sign on the right.  It works independently of your acceleration GPU (IME) settings, but you don't get the effect of soft red quick mask.

    Does this fit with what you see, or you are not able to change things at all?  If not, then I've always found that fluidity consumes system resources, if you could check the Task Manager > Performance tab to see what kind of RAM and CPU use is using the fluidity.  That's what I see after direction the lens above with a big brush continuously for 10 seconds.  Note This is on a fairly quick NLE System.

  • character controlled with the mouse problem

    I would like to make a game in which the character is controlled with the mouse exactly like this game: http://flashdo.com/item/asteroid-wave-game/1053/full_screen_preview

    I guess that the author simply used the code snippet that changes the cursor to an object. However, this causes a game to break the question; If the user makes the cursor off the screen flash and then come back somewhere else, the spacecraft will Warp to that location. Full screen, because the user cannot make the cursor off the screen, this problem does not occur.

    The code snippet using drag-and - déposer, when cursor the user comes out of the screen, the object did follow the borders of the screen Flash. However, given that the user has to hold the left button of the mouse and the cursor does not disappear, it is not very useful.

    Is there a way to control the character exactly as the game above, but when the cursor leaves the screen, make the character well follow the borders of the screen Flash like the drag and drop code snippet don't?

    Also, is there a way to make the box where the character can move smaller than the scene?

    Thank you very much.

    If you check the startDrag function, you will see that it provides the inclusion of the two arguments.

    startDrag (lockCenter:Boolean = false, limit:Rectangle = null):void

    The first is to have the cursor centered on the object or not, and the second is where you can specify a rectangle which limits the area of traffic allowing drag.  What to do in smaller just step specify a rectangle for your needs.

  • can anyone tell how to compare two documents with two controlled with the same mouse pointers

    can anyone tell how to compare two documents with two controlled with the same mouse pointers?

    Windows and OS X can only display a mouse pointer - it is created by the operating system, not the application.

  • Using the Grid control with the ALLOWED_LOGON_VERSION parameter

    Hello

    We use a 10.2.0.4 database and a 10.1.2.3.0 grid control (with its own 10.2.0.4 database) and WHO and the database are patched up to April 2010 CPU. We tried setting the SQLNET. ALLOWED_LOGON_VERSION = 10 in the SQLNET.ora of the database, but it seems as if the control grid or the agent cannot connect to the database. This is the error that we received from the grid if the parameter is active.
    ORA-28040: no authentication protocol matching (DBD ERROR: OCISessionBegin).

    I found no information on activate or not the ALLOWED_LOGON_VERSION if a grid control is followed by a database.

    Someone had this problem before?

    Thank you
    Francis

    Francis,
    I googled on "SQLNET. ALLOWED_LOGON_VERSION = 10 ". This leads me to SQLNET. ALLOWED_LOGON_VERSION here is a description of the bug 6051243. Seaching on My Oracle support for this bug led me to the notes 466939. Looks like you're running in this bug.
    Note 755605.1 gives you some solutions.

    Eric

  • How to create the Webservice data control with a secure Web service?

    I am creating a data control with a Web service that requires authentication (SSO)
    There are two ports for my server OC4J 7777 (requires authentication) and 7779 (authentication is not required).
    (The service Web application is deployed in OC4J)

    I am able to create a data control with port 7779 not, but I'm not able to create with the port 7777. In my app, I'll go "user email" the SSO. I require it a data control with authentication. How to pass the user name and password when creating the data control? I'm not able to go "Point endpoint authentication" stage also. I get the error message "the WSDL document is not found" when I type the URL in the first step.

    I created the data control with port 7779 and after I modified the 'DataControls.dcx' file with port 7777. (IE "wsdl ="http://ipaddress:7777/../..?WSDL"), but I do not get the appropriate data.

    I work with JDeveloper 11.1.1.0.0g

    Please help me,

    Thanks in advance
    Vinod

    There was a few bugs in this area, who are already fixed in our current code line, then they should do it in the next version.

  • LabView PID control with PWM output and ramp / soak.



  • Motor by PWM control

    I need to run an engine control (NEMA 17) for a number of steps with maximum possible speed controlled using myRIO. When I used Digital out to produce the wave square for the stepper, the maximum speed obtained was 500 meters per second when I used 1 ms in high, then low 1ms and so on in a loop. But when I use PWM to route the signal, higher frequency was obtained, but there is no way to count the number of steps. Is it possible to get more speed and be able to count impulses? or get a better resolution for wait function?

    Hello justmearun,

    try to use the palette of RT timing functions there is the possibility to use µS instead of Ms. programming of the FPGA is also an option to implement this functionality.

    Be careful, if the frequency is high, the engine do not spin, because that exploitation of couple. A solution for this is to start with a frequency more bass and this increase until necessary.

Maybe you are looking for

  • How to connect my i phone 6 to 10 on my computer windows

    How to connect my I Phone 6-10 Windows on my computer

  • C855 satellite won't stop beeping

    Hello Can someone please? My laptop started randomly beeps, then it beeps constantly. As it has a mind of its own! The sound his mute on yet, it still sounds.Someone knows what it is please? Didn't have laptop 2 months! Thanks in advance!

  • power led is not disable

    Pavilion dv6-3057er Windows 7 64 bit Power light not shut down when the computer is off (it comes out after unplugging the power cord power supply and batteries) In mode 'sleep', it does not blink and stays on update the BIOS to F.28 unresolved probl

  • Addition of keystrokes to a make a chain of 7 digits for a barcode

    I am kind again with this type of LabVIEW as I've especially done entries DAC instead of the keyboard. I have a bar code reader that scans the 7 digits. I tried the keyboard aquire, but it does not zip by the very quick keys and shows only a single k

  • How can I stop auto-updates and keep UserAccounts asking if I was the same update

    User accounts in W7 has no option to not be reminded about the same updates again [I won't need not and cannot use] every thirty minutes or more for a few days. If I click on Yes, I get a message saying that I don't need but 30 minutes later AU wonde