Control of the double loop for a positioning system. - movement ocntrol

I am currently a control of the double loop for a positioning system, I use the speedometer to read the speed and the encoder for position on the position of the platform.

the problem I'm meeting now, is that I'm not sure weather the computer have the PID toolkit, because I can't find them under the control design and simulation module.  so I did a PID using the basic features of labview, related information in the attached documents.

I'm not sure of the part of the dt, the labview has this kind of service as of the timing of simpling?

do I have to install the labview real_time potion? I'm just using the labview 8.5

Another issue is that, how I'm going to let the system remember the position instead of back to 0 whenever I restarted the program? If not is there any other way I can control the motor to move the position of the target that is initially set?

the last question is that is it possible for me to generate a profile about the current and desired position? to set a maximum speed and acceleration.

I do not have a motion controller, so I have not installed the module version and motion.

can someone suggest me a way to do it?

Hey, 14 I never used TDMS files. but maybe this will help. [zip file]

and if it isn't, I found this (which you can probably read into its equivalent in English)

[don't forget to Congrats]

Tags: NI Software

Similar Questions

  • for j in (select one, c (select 1 of the double),) loop... end loop;... error

     for cur in (select (select 1 from dual) col from dual)
     end loop;
    TOAD, OK, BUT in the wrong FORM!

    Published by: indoracle on February 23, 2012 02:38

    Published by: indoracle on February 23, 2012 02:40

    As you may or may not know, the PL/SQL engine forms is not the same as that of the database; Forms is generally a lower version than the database. As for your code block, please try this instead:

      FOR cur in ( SELECT col1 FROM ( SELECT 1 AS col1 FROM dual) ) LOOP
      END LOOP;

    This form of the loop For cursor to compile in 10.1.2 Forms. The problem was that the Forms PL/SQL engine could not derive your view online column.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • Outsourcing of the controls on the front panel for a panel floating Subvi


    I already found a few similar topics, but I still don't know which is the best way to solve my problem. I will try to describe my problem in detail first: I have a main VI that acquires data from a device and displays these data in a large waveform graph. I have also a few controls on the front panel to control my device. First, I placed all of these device controls (digital, sliders, etc.) as well as the chart inside the front of my main VI. However, due to limited screen space now I would like to make the largest possible graph and so decided to "outsource" some controls out of the main façade of VI to several panels front-end Subvi.

    I would then press a button in my main VI and it would open the Panel before the floating of the Sub - VI corresponding with outsourced controls when required. However, everything must be absolutely transparent. It is important that floating panels to run in parallel with my main VI, that is the main VI must continue to operate. That way I'll have my data constantly updated in the chart in my main VI while I can change some settings of the device through the controls placed in my SubVIs. These changes will be immediately applied (for example as soon as the main VI calls this slot - VI in its main loop).

    It is important to the visibility of the outsourced optional control panel, i.e. If the Subvi front panel opens with the user that it will pop up and the user will be able to change the paramers device using the. But then the user should be able to close the front panel (hide) the Subvi to see the entire chart again without the Panel floating in front of her (of course control values must be maintained when the Subvi front is not visible). Then the new button is pressed in the main VI that opens the dialog box not modal Subvi containing controls and it can redefine new values of device.

    Advice how to do this are welcome. I don't know if I need something complex like VI server or asynchronous screws or I can solve my problem by changing some settings simple Subvi? Thank you in advance for your help!

    Best regards


    AStankov wrote:

    How about using a global variable for the VI at VI communication instead of a queue?

    A global variable will, also.  Write you in one place and read the value frequently to somewhere else (in the election). So you can see easily to any value change.  However, mark will waste a lot of time processor.  This is why I have proposed to use a queue or a notification utility.

    AStankov wrote:

    Would be the last option that you mentioned, i.e. finish the Subvi at each change of value, I would keep the Subvi front open as needed until things from the user to hide? Or would there be inevitable flickering Panel or any other drawbacks?

    Yes, the Subvi can keep the façade open until the user closes. And there should be no flickering.  The biggest drawback I see right now is that when you expect an event in the Subvi, the mainVI cannot stop without talking to the Subvi to stop.  So you'll need another channel of communication (again a global, a queue, a declarant or an event) to tell the Subvi that she must stop.

  • control of the while loop


    I m, acquisition of data with the help of DAQ data and looping sound.

    My problem is that I have not be able to control everything in timing loop Pulse like 200 ON 800 OFF time or continuous period as the second 100 m please give me some suggestions. How can I make such a system?

    My second question is that I want to convert the voltage signal into a standard unit as BAR through fourth order equation. I try this thing with Mr. table is another method that I can use and one more thing the constant of the fourth equation of order I made the user set that is to say on the interface.

    Please suggest me this is my first project.

    Thanks and respect

    Admiral Golf

    Regarding your first question,.

    You are eager to control data acquisition timers during data acquisition even acquires data based on your clock?

    In my opinion, convert Wizard vi LabView code (right click on it) and learn to work with him in this way. I would like to keep it all in the execution of the loop at any time (unless you really want it still looks like the counter). State of the meter feed a case statement.

    This may not apply to your situation, that I might have misunderstood. There are dozens of ways to handle this. Maybe you could post what you have so far?

    For your second question, DAQmx drivers and MAX support scales. You can create information from data scaling to convert it to real-world units. I don't remember what exactly it is, but I think you can do what you want with it. This task that uses this scale data in real-world units as opposed to the electrical data. Check measurement and automation for it.

  • The volume control in the mixer Volume for Skype is always set to very low for new calls.

    Hey all!

    It's really annoying to have to adjust the volume in the Volume mixer upside whenever there is a new call. I have no volume of speakers set to automatic in the options, and I have no idea what else controls the adjustment for volume.

    It is not enough that Skype (now a Microsoft product) can't understand the audio, I use as ANY OTHER program (i.e. for other programs to plug my headphones is enough sound to be redirected here but NOT for Skype. For Skype, that I have to go into settings and change the sound output device!). I use Skype for a few years due to its good call quality, but if I can't find a solution for this I have to change to another similar product.

    My system is a 64Pro of Win7.

    All ideas will be more appreciated!



    There is a setting in Windows 7, I don't know about other versions - (tab Communications/sounds/Control Panel that tells Windows to automatically reduce the volume of other sounds when the PC is used to place or receive calls.

    Skype is SO smart that it reduces the volume of itself too when there is an incoming call, and so all incoming calls have a lower volume.

    To solve the problem simply to set the option to "do nothing"...

    .. .and continue looking for alternative software replace Skype. Unfortunately Ms. are actively trying to destroy a good thing...

  • Control disappear the node property for the post of Pentecost

    Why what happened? I accidentally create a situation like that in the VI and control disappear without any errors, can solve this problem, but the control never return to its original position.

    Hi Rodrigo,

    you are unable to find the control you went it off to the left...

    LabVIEW has some problems when the FP elements are moved by far (in a sense). These problems include not being able to find/move this element or results in an object with a width of 0.

    Why someone would move an item to > 16000 positions in both directions?

  • Help understand the Double billing for the same product on the same account

    Recently, I realized that I make double charge on my account from creative cloud for the same exact items charged to the exact same credit card. In addition, I must say that I had two accounts still somehow. It is because I have lost access to the associated e-mail account and do could not connect. When I talked to Adobe at this time there they notify that I have create a new account with a new email, I did. That being said, every month for almost a year I was charged $31,79 and the new account as well. (I admit I'm not very good about checking all my automatic subscriptions online monthly but supposed to Adobe as a company highly and popular, could do things). I called and the first representative I spoke with today understands the problem and transferred to me for a refund, however once transferred, the representative was not only do not understand but rude and gave me a refund for 6 months. As of today, they canceled the account I have not used and me be charged twice a month for but only paid 6 months more than 12 months of double billing. The representative tried to tell me he was doing me a favor because I wasn't in charge of normal early termination fees. It has become so confusing and so I did at that moment that I said I would get more help here in the forums...

    1. I'm trying to understand why in the world they would even charge me a cancellation fee when I was clearly NOT cancellation of an account, just to make a change, which was made according to the way which they charged me and, of course, who they do not now recognize?

    2. How can I reload the same exact account for exactly the same product with activation of the said product as a single computer, and no other user (not to mention that I just used the product)?

    Any help or advice would be appreciated!

    All first of all my apologies for the not so pleasant experience.

    The Adobe ID here in the forum has a CC bought in March 2016 with no cases registered.

    I understand that this is for another subscription CC, could you please me message in private closed, the file number or the number of order which you have been invoiced in duplicate.

    I can probably follow that.



  • text boxes created in the end loop for using DIFFERENT fonts!

    I have a loop that creates videos with text boxes inside of them, all inside an accordion component. Basically, the code performs the Accordion with content navigation.

    Anyway, the strange thing is that text fields that use TWO different fonts! How is that possible? Even if my TextFormat fails for any reason, must not then fail because ALL created text fields and not only some (and why it fails)?

    Well, I just found that it works when I use instead of setTextFormat setNewTextFormat.

    Otherwise, it works also when I place the setTextFormat * after * setting text.

    I should have read the documentation before asking here :-)

  • Is it possible to rename the variable loop for I?

    I do a lot of work with 2D arrays.  Sometimes, it would be useful when browsing the tables for one of the index named i and the other named j.  Is it possible to change the name of the variable increment other than what actually in another variable?



    As already said, there is no way to change the image of the final iteration.  However, you can add a description to the wire.  Click with the right button on the wire, then select "Description and Tip", type the name/description you want in the box.  Now you can move your mouse over the wire, and the description will appear in the context-sensitive Help window.  I hope this helps.

    Chris M

  • Use the recovery CD for Windows 7 system from another computer?

    Hi, I currently have windows vista with the processor intel centrino duo on my Hp pavilion entertainment pc.  I have another laptop that I bought for my mother who is hp with windows 7.  I like windows 7 best and I was wondering if I can use the system recovery windows7 2 dvd disc that comes with it on my vista to upgrade because I don't want to have to buy windows 7 for my vista?  Will this work?

    Hi, I currently have windows vista with the processor intel centrino duo on my Hp pavilion entertainment pc.  I have another laptop that I bought for my mother who is hp with windows 7.  I like windows 7 best and I was wondering if I can use the system recovery windows7 2 dvd disc that comes with it on my vista to upgrade because I don't want to have to buy windows 7 for my vista?  Will this work?

    Hey ALEX1987

    No is the answer to your questiion

    A SINGLE license of windows operating system = the ONE installation of windows operating

    and recovery disks are related to the original machine that they are installed on

    If you want to windows 7 on the vista machine consider purchasing a license to upgrade to windows 7

    Windows 7 price

    upgrade paths (WS.10) .aspx

    Walter, the time zone traveller

  • error code 80240016... This has happened for a long time... .the updates are for Microsoft Office systems... 2007


    Remember - this is a public forum so never post private information such as numbers of mail or telephone!


    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi heather196565,

    Method 1

    Check the link and try the steps mentioned below.

    Windows Update, error 80240016

    Method 2

    If the previous step fails, then reset the Windows Update components and check if it works.

    How to reset the Windows Update components?

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What is the best way for a small System Builder to sell Window 7?

    I'm starting to build specific systems of WMC. Some will be personalised, but many will be identical. I would like to create a Win7 installation with all the drivers and applications disc. What is my best and shortest path to follow and how do I buy and resell the license? What are my limits of cost and reseller price?

  • How to create a control of time for the while loop?

    Hi all

    I want to control my time running of the loop. In other words, I want to stop everything in the execution of the loop after a time (in ms) that is defined by the user. For example user defines Control Panel for 5 seconds before a while loop runs and stops after 5 seconds.

    I don't know is it possible with the while loop. I managed with the timed loop, but this must be wrong with my application. Y at - it of the other loops for timed control if it is not possible with while loop? There is also a simple loop with .vi random number (0-1) as an attachment.

    Best regards


    Hi again,

    I managed to solve my problem right after I posted my first message. I did it with the passage of time and the register shift (for the elapsed time of reset).

    Thanks for your replies anyway!

    Best R


  • Facing problem in the recording of data without overlapping in loop for


    I am facing problem in writing data withou overlap if I run the outer loop for the 2 times or more, and inside the loop, I make table in a way that I want to, but when I try to compile this table with record temperature I am not able to do. Please guide me through ths.

    Thank you


    Himanshu salvation,

    To start reading your matrix of the second line, you can use a table of Index function once you have loaded the table of your spreadsheet file. The function Array Index lie in the range of functions under functions > programming > Board Index. The help of LabView is very useful to explain how to use this function.

    With regard to the accuracy of the numbers when read you the spreadsheet file that you read is formatted in fractional chain, since form you it converted into a mixed string before saving. In order to recover all the precision, read the worksheet as a string and then convert it to a string using a string Fract/Exp to fractional numbers conversion function. This feature is on the range of functions for String > String/Number Conversion > Fract/Exp string in number. The help of LabView is also very useful for explaining the operation of this function.


    Dan Nelson

    Technical sales engineer

  • No control over the computer for printer 8600

    My printer 86600 suddenly has no control of the computer. For example, no option to scan and email, scan and save etc. What happened and how do I get that back.

    Thank you for that updated information.

    If you only have these options as you said, I would recommend uninstalling/reinstalling the HP software. Also, what is your operating system on your computer? Windows. Please follow these steps:

    First of all, please uninstall the software by following this document HP uninstalling the software of the printer. Then, you want to clean your Temp folder. Please follow this document here to help you.

    Now, install the full features on the site of HP software here. Choose your appropriate operating system and download the software. If you need help to install the software, I'll give you a document from HP on install the software of the printer on a wireless or wired (Ethernet) network.

    Please post your results again. Have a good night.

Maybe you are looking for

  • Comments on the Code

    Hi guys,. I'm a 2 weeks of simple DAQ + forums 1 month free self-taught labview user and I'm working on a fairly large control application. Before we continue, I think I have produced a fairly large part of one of the components of my application - i

  • Compaq cq58: bios password locked

    I'm locked out compaq CQ58 Laptop looking for a bios password and give this code: 65487331

  • Insert in the table, the table does not grow

    I'm currently learning Labview 2009. Problem: I have a chart 2D with 3 columns I initialize outside my main loop.  In my loop, I want to add new lines in the table as I collect the data.  I tried to use "Insert into array" but can't seem to get new l

  • My upset screen, how to fix?

    My screen all turned upside down so that I was with my computer. Why? How can I fix the problem? I turn my computer to read on-screen, or typing.

  • CSM 3.3.1: Big database

    Hello is it possible to reduce a CSM 3.3.1 Database? I have a GB 3 DB and it poses problem for replication Thanks for your help