Creating model with Control and Design LV2009
Hello,
I'm trying to make a PI control model with Control and Design in labview 2009. I'm tyring to create the following transferfunction:
D(z)=Kp+((Kp*Ki)/(1-z^-1))
But labview adds by itself an extra z^-1 in the Numerator
See the attachment what I have tried. I first want to create 1+(1/(1-z^-1)). What I'm I doing wrong ?
Greetz,
Jeroen
Attachments:
model.jpg 50 KB
Jeroen,
The two expressions "1+(1/(1-z^-1))" and "(2-z^-1)/(1-z^-1)" are equivalent to one another. They just have the terms rearranged. Since LabVIEW expresses a transfer function as a numerator and denominator, it is drawing the function as "(2-z^-1)/(1-z^-1)". You aren't doing anything wrong.
Chris M
Similar Messages
-
3 tiers model with Java and Oracle.
Hi everybody. I have a problem with my work. I want to design a simple program follow 3 tiers model with Java and database is Oracle. But I do not know how I can design them. Please help me. It will better if you give some source code for each layer.
Thanks in advance.
Ky Thanh.I'd suggest searching the net for tutorials. Pick out the things you don't know about and need to know (SQL? JDBC? Java? software design in general?) and google: tier architecture, sql tutorial, etc. Sun's Java & JDBC tutorials are at http://java.sun.com/learning/tutorial/index.html
Source for each tier? Read the JDBC tutorial and you can write the database tier source yourself. Learn Swing/Servlets/whatever you use for the user interface and you can write the top tier. The middle tier is your business logic, which is dependent on your area of business, and you'll need to know about the business and just general programming. Then if the tiers need to be distributed (hopefully not), you'll need to learn EJB or something.
I hope you haven't been given a task there you aren't ready to take on... Learning to swim by jumping into the river is a great way to learn in a school assignment, but you mention work, and learning that way at work sounds a bit risky to me. -
Create View with Force and No Force
Can Anyone Tell me how to create view with force and no force i have very little idea about this
This is the syntax.
CREATE [OR REPLACE] FORCE VIEW view
[(alias[, alias]...)]
AS subquery
[WITH CHECK OPTION [CONSTRAINT constraint]]
[WITH READ ONLY [CONSTRAINT constraint]];You can see interesting threads about this topic here.
Re: Creating view forcibly
Creating View forcefully
Cheers
Sarma. -
Create Window with Textbox and Button For getting Input Value
Hi All,
I have create plugin application but i want to take input from user. Therefore i want to create window with textbox and button.
please may i get solution...Or if that's all you need to do, just use JavaScript or a form.
-
Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance…..
LibreOffice
-
I am creating webpages with frontpage and trying to make collapsible lists. The lists collapse and work correctly in "preview" mode, but do not work when accessed through firefox or explorer 8. Does anyone know what I am doing wrong?
Welcome to the 'wonderful' world of HTML5 e-learning.
In my view, from the issues I am seeing everywhere, HTML5 output from rapid e-learning tools such as Captivate is not ready for the kind of mobile device e-learning you want to develop.
Sorry to be pessimistic, but you may need to consider going back to the drawing board and coding it from the ground up. -
Create dll with arrays and call it
I am trying to create dll with labview in order to pass a 2d array to the main program. The problem is that I don't really know how to create the function to call it (I don't know much about pointers)
The function I have created to call the dll is void Untitled1(TD1Hdl *Array1) which is suposse to return the array created on it.
For example, in the program attached, how should I do to pass the array to another program using dlls?
Thanks a lot,
Juanlu
Attachments:
Untitled 1.vi 7 KBThe code you've provided doesn't do anything (just a control wired to an indicator) so I'm not sure what you're asking here.
If I understand correctly, you want to build a DLL from your LabVIEW VI. From what language will you call that DLL? There is no standard way to pass a 2-D array. If you can convert to a 1-D array, you can use a simple pointer. With a 2-D array, you're stuck with LabVIEW's array representation (the TD1Hdl type), which means that whatever code calls that function will need to understand the LabVIEW data type and how to manipulate it. -
How to make my waveform in control and design simulation run continuously?
Hi all, i m a begineer of Labview and have some question to ask.
I am using the Labview to design and implement a controller for FOPTD system, but i found that the waveform in the "control and simulation loop" is not running continuously. I mean it keep repeat in the same graph from 0 to 10second. Is there any approach to make it run continuously?
Thankyou very much.
Solved!
Go to Solution.
Attachments:
Project 1.png 12 KB
Project 2.png 18 KBWell, my suggestion then is to do the following: change final time from Inf back to 10 s (or whatever number that capture the whole simulation) and do a while loop around the Control and Simulation Loop with a "wait until next ms" function to give you time to react and change parameters, like this below. This would make LabVIEW to do the whole simulation, wait for 1000 ms and then, run the simulation again with new parameters. If you need more time, just need to change the constant wired to the "wait until next milisecond".
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
Create website with IDCS3 and SiteGrinder?
Media Lab's SiteGrinder is an amazing product for easily converting Photoshop designs into working websites without any knowledge of coding. Unfortunately, I have much more experience with InDesign than with Photoshop, but as it's possible to import InDesign files into Photoshop, I'm wondering if I can go this route with my InDesign designs, rather than learn how to use Photoshop more extensively. Has anyone here created a website with InDesign and SiteGrinder, with minimal Photoshop "intervention"?
> Are you referring to everything crowding and overlapping when the text is enlarged? Isn't that a common problem with all sites?
It's common -- far too common -- but not inevitable. It's bound to happen with SG, though, because they carve up the layout into fixed size chunks and then use absolute positioning, so there's no way for the containers to accommodate changes in font size except by crashing into each other, or growing scroll bars, which is only sometimes going to work. For the same reason -- starting with a single Photoshop image -- they can't identify headings or lists, so the pages aren't properly accessible to some assistive technology. If you don't care about accessibility, you should realize that this also means that they become hard or impossible for search engines to analyze, so people aren't going to find your site so easily.
But I guess this discussion is a bit out of place on an InDesign forum. To get back to that, if you wanted to start in InDesign, the best thing to do is use XML export to get properly marked-up XHTML, and then lay it out with CSS. There's a good piece about doing this somewhere over on InDesign Secrets -- I don't have the exact URL to hand. But you would have to learn some CSS to do that. It seems that you are determined to go with SiteGrinder, though, so I can only recommend that you try things like changing the font size, and checking it with different browsers, so that you don't end up with something too awful. But if you do find the time to read, for example, Zeldman's book on Designing with Web Standards, you'll end up better at making sites than if you don't. -
Control and design applying ramp input and plotting polar coordinates state space
Hi
I am trying to do a fairly simple state space task with Control Design and Simulation toolbox, however I am quite new at using this toolbox and need some help :-)
I want to simulate a MIMO system of a 2-DOF robot arm. The robot arm consists of two links, the first link can rotate arround its origo at its end, and the next link moves inside the first link, in and out.
So the two outputs is define as
r (radius), which is the distance to the end-effector of the robot, and
theta, which is the angular postion of the robot arm
FYI, the two inputs are the currents send to the two motors controlling each link.
I have set up A, B, C and D matrices in the attached VI file and putted it inside a simulation loop.
Now I need help :-)
I want to simulate the system when a ramp input is applied to the two inputs and plot the two outputs in a polar graph to show the end-effectors position when the system is just "let loose". The result should be a spiral (this is verified in MATLAB simulink).
So please, I need help setting up the VI to do the above, can anyone help?
Best regards
Simon
MSc. Eng.
Message Edited by SCMAJA on 10-16-2009 11:21 AM
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
Attachments:
2 DOF robot with ramp input, polar coordinates plot, state space.vi 49 KBHello Simon,
The error comes from your Ramp Input. Since your system is MIMO, you would need to feed in a vector input to the system.
I've changed your VI and attached here~!
Andy Chang
National Instruments
LabVIEW Control Design and Simulation
Attachments:
MIMO Robot VI.vi 76 KB -
Recover database with control and dbf files
Dear all,
How to recover a database whose registery was damaged but it's control and dbf files are still there
Notes there is no dmp files to recover after reinstalling the oracleHi,
How to recover a database whose registery was damaged but it's control and dbf files
are still thereWhat do you mean by "registry" damaged? Do you mean Windows Registry?
If you have control files, data files, and online redo log files then you can simply reinstall Oracle Software, create a windows instance (assuming its on Windows) and start the database without any loss.
Regards -
I have created a video with pictures and music. When i export it, it goes into a MP4 video. which I have done before and it worked ok. Now the only thing on the MP4 video is music but not my pictures.
I am very new to this and have taught myself everything so far. I have no technical understanding. So please make any answers as basic as you can.
Many thanks.I am using standard photoshop cs6.
Regards
Clifford Marker
Director – Clifford Marker Associates.
Email : <mailto:[email protected]> [email protected]
Tel : 0208 504 2570
Tel : 07539 833852
9 Warners Close, Woodford Green, IG8 0TF
Web : <http://www.cliffordmarkerassociates.com/> www.cliffordmarkerassociates.com
CMA Logo
This communication and any attachments are confidential and may be protected from disclosure. We endorse no advice or opinion contained in this communication that is not the subject of a contract between the recipient and ourselves. If you have received it in error please notify us immediately and note that any storage, use of disclosure is strictly prohibited and maybe unlawful.
Whilst we check the communications we send for virus infection, we accept no responsibility for any loss or damage caused to your systems by this communication.
Those communicating with us by electronic mail will be deemed to have accepted the risks associated with interception, amendment, loss and late or incomplete delivery. They will also be deemed to have consented to you intercepting and monitoring such communications. -
Create Report with CR4E and XML Data Source
Hi all,
I have a problem when create a report with CR4E that should use a XML data source. It is not possible to choose fields from the field explorer, because ther are no fields from the XML-file. Is there a general problem when using an ODA data source in CR4E? At the moment I can only create reports with a database as data source.
Please help me with a tip.
Thanks
ArnoldHi,
After Installing CR4E Version 2 the code snippet for creating a XML-report not works as JSP. Has anywhere a hint to resolve the problem or a complete JSP-file?
reportClientDocument = new ReportClientDocument();
java.lang.NoClassDefFoundError: com/crystaldecisions/reports/common/data/CrystalResultSet
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)
org.apache.jsp.XMLDataSource_jsp._jspService(XMLDataSource_jsp.java:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Thanks
Arnold Meier -
How to create table with rows and columns in the layout mode?
One of my friends advised me to develop my whole site on the
layout mode as its better than the standard as he says
but I couldnot make an ordinary table with rows and columns
in th layout mode
is there any one who can tell me how to?
thanx alotYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
How to create table with javascript and jquery in abap
Hello masters,
i want to create table using javascript and jquery.
i know how to use these languages but i dont how to implement them to abap.
regards.Look at the sample BSP application SBSPEXT_HTMLB
also you can look at the below Blog..
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
<i>*Reward each useful answer</i>
Raja T
Maybe you are looking for
-
Excise duties not flowing while creating return excise invoice
Hi friends , During sales return excise invoice creation ,excise duties are not determined automatically in J1IH. Is there any settings instead of entering the value manually in J1IH? I have searched the forum but only manual entries related results
-
Do I HAVE TO enter my 4 digit code every time I use my iPhone? Just updated to iOS 7
-
In OWB 9i, the database links are not generated as part of the mapping anymore. My problem is that I create a new source module and then a mapping using this source module, but it does not generate the code for the database link. When I deploy the ma
-
Rollover hyperlink in external HTML page
Gentlefolk; I have an HTML page that contains a list of URLs. This page is imported into a dynamic text field in Flash. This part works fine. I would like to create a mouseOver (or other process) whereby when the cursor is moved over the links, the l
-
Weird problem with my Notes app on my new Macbook pro
I opend the notes app today and this is what i see: Anyone know how to fix it???