Control Simulation and Design with DAQmx

Hi all, thanks in advance for any helpful direction you can provide.
I was recently setup with Labview 2013 Developer Suite and the Control and Simulation Design add-on and was hoping to get a little nudge in the right direction.
I have used Labview and the NI DAQmx setup for regular external measurements before but never integrated with the Control and Simulation toolbox. I am trying to use the Control and Simulation Toolbox to model a simple system (to start) in conjunction with the DAQmx setup I have, and am somewhat at a loss.
For example, I want to use Labview Control and Simulation to simulate a simple integrator (1/s). The input for the integrator is an external analog voltage (from separate electronics) coming in through the DAQmx setup and the output of the integrator is also and external analog voltage going back to the external electronics. In essence, a very simple control loop.
I have been digging through tutorials and searching for examples, of which there have been many excellent ones. However, I have yet to find an example whereby the control and simulation loop is talking to the outside world through the DAQmx interface. I do not believe the RT module or RT target is necessary for timing as the fastest we are running the loop is around 10Hz. I have found some small examples discussing how the Control and Simulation Toolbox timing can be controlled by the RT target or even the DAQmx but I am still struggling on how to pass data in and out of the loop and how to set the timing parameters. How do you get it to simply run endless, for example.
Again, thanks for any information or direction you can provide.

Hey Cabala,
Based on your description this would be a great starting example. 
https://decibel.ni.com/content/docs/DOC-11521 
Depending on your hardware you may or may not be able to use hardware timed single point for acquisition but you could set it up for continuous as well and use the same structure of 1 read and 1 rate for each cycle of the loop. 
You can replace proportional gain function with the CD and Sim Loop and place a Integrator function with in that.
Sorry it appears one of the dependencies for that example is missing so you can't run it off immediately. 
Please let us know if you have any other questions. 
Kyle Hartley
RIO Product Support Engineer
National Instruments

Similar Messages

  • My wifi will not turn on. The button is settings seems to be locked. I tried turning it on from the control panel, and also with Siri, but it still does not turn on in settings, so i cannot access wifi. Please help ASAP

    Wifi will not work. The button in settings seems to be locked. Tried control panel and siri to turn it on, doesnt work because the settings wont turn it on. Need help ASAP cause my data limit is approaching.

    If the battery was completely drained the iPad will not respond for some time after connecting it to the charger. Connect the iPad to the charger that came with it and plug that into a good wall outlet. Wait 30 minutes. Then reset the iPad.Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
    If the iPad restarts let it continue to charge until it's battery shows fully charged. If the iPad still does not start Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. Be sure to back up your device before taking or sending it to Apple.

  • Ask the Expert: Different Flavors and Design with vPC on Cisco Nexus 5000 Series Switches

    Welcome to the Cisco® Support Community Ask the Expert conversation.  This is an opportunity to learn and ask questions about Cisco® NX-OS.
    The biggest limitation to a classic port channel communication is that the port channel operates only between two devices. To overcome this limitation, Cisco NX-OS has a technology called virtual port channel (vPC). A pair of switches acting as a vPC peer endpoint looks like a single logical entity to port channel attached devices. The two devices that act as the logical port channel endpoint are actually two separate devices. This setup has the benefits of hardware redundancy combined with the benefits offered by a port channel, for example, loop management.
    vPC technology is the main factor for success of Cisco Nexus® data center switches such as the Cisco Nexus 5000 Series, Nexus 7000 Series, and Nexus 2000 Series Switches.
    This event is focused on discussing all possible types of vPC along-with best practices, failure scenarios, Cisco Technical Assistance Center (TAC) recommendations and troubleshooting
    Vishal Mehta is a customer support engineer for the Cisco Data Center Server Virtualization Technical Assistance Center (TAC) team based in San Jose, California. He has been working in TAC for the past 3 years with a primary focus on data center technologies, such as the Cisco Nexus 5000 Series Switches, Cisco Unified Computing System™ (Cisco UCS®), Cisco Nexus 1000V Switch, and virtualization. He presented at Cisco Live in Orlando 2013 and will present at Cisco Live Milan 2014 (BRKCOM-3003, BRKDCT-3444, and LABDCT-2333). He holds a master’s degree from Rutgers University in electrical and computer engineering and has CCIE® certification (number 37139) in routing and switching, and service provider.
    Nimit Pathak is a customer support engineer for the Cisco Data Center Server Virtualization TAC team based in San Jose, California, with primary focus on data center technologies, such as Cisco UCS, the Cisco Nexus 1000v Switch, and virtualization. Nimit holds a master's degree in electrical engineering from Bridgeport University, has CCNA® and CCNP® Nimit is also working on a Cisco data center CCIE® certification While also pursuing an MBA degree from Santa Clara University.
    Remember to use the rating system to let Vishal and Nimit know if you have received an adequate response. 
    Because of the volume expected during this event, Vishal and Nimit might not be able to answer every question. Remember that you can continue the conversation in the Network Infrastructure Community, under the subcommunity LAN, Switching & Routing, shortly after the event. This event lasts through August 29, 2014. Visit this forum often to view responses to your questions and the questions of other Cisco Support Community members.

    Hello Gustavo
    Please see my responses to your questions:
    Yes almost all routing protocols use Multicast to establish adjacencies. We are dealing with two different type of traffic –Control Plane and Data Plane.
    Control Plane: To establish Routing adjacency, the first packet (hello) is punted to CPU. So in the case of triangle routed VPC topology as specified on the Operations Guide Link, multicast for routing adjacencies will work. The hellos packets will be exchanged across all 3 routers and adjacency will be formed over VPC links
    http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/operations/n5k_L3_w_vpc_5500platform.html#wp999181
    Now for Data Plane we have two types of traffic – Unicast and Multicast.
    The Unicast traffic will not have any forwarding issues, but because the Layer 3 ECMP and port channel run independent hash calculations there is a possibility that when the Layer 3 ECMP chooses N5k-1 as the Layer 3 next hop for a destination address while the port channel hashing chooses the physical link toward N5k-2. In this scenario,N5k-2 receives packets from R with the N5k-1 MAC as the destination MAC.
    Sending traffic over the peer-link to the correct gateway is acceptable for data forwarding, but it is suboptimal because it makes traffic cross the peer link when the traffic could be routed directly.
    For that topology, Multicast Traffic might have complete traffic loss due to the fact that when a PIM router is connected to Cisco Nexus 5500 Platform switches in a vPC topology, the PIM join messages are received only by one switch. The multicast data might be received by the other switch.
    The Loop avoidance works little different across Nexus 5000 and Nexus 7000.
    Similarity: For both products, loop avoidance is possible due to VSL bit
    The VSL bit is set in the DBUS header internal to the Nexus.
    It is not something that is set in the ethernet packet that can be identified. The VSL bit is set on the port asic for the port used for the vPC peer link, so if you have Nexus A and Nexus B configured for vPC and a packet leaves Nexus A towards Nexus B, Nexus B will set the VSL bit on the ingress port ASIC. This is not something that would traverse the peer link.
    This mechanism is used for loop prevention within the chassis.
    The idea being that if the port came in the peer link from the vPC peer, the system makes the assumption that the vPC peer would have forwarded this packet out the vPC-enabled port-channels towards the end device, so the egress vpc interface's port-asic will filter the packet on egress.
    Differences:  In Nexus 5000 when it has to do L3-to-L2 lookup for forwarding traffic, the VSL bit is cleared and so the traffic is not dropped as compared to Nexus 7000 and Nexus 3000.
    It still does loop prevention but the L3-to-L2 lookup is different in Nexus 5000 and Nexus 7000.
    For more details please see below presentation:
    https://supportforums.cisco.com/sites/default/files/session_14-_nexus.pdf
    DCI Scenario:  If 2 pairs are of Nexus 5000 then separation of L3/L2 links is not needed.
    But in most scenarios I have seen pair of Nexus 5000 with pair of Nexus 7000 over DCI or 2 pairs of Nexus 7000 over DCI. If Nexus 7000 are used then L3 and L2 links are required for sure as mentioned on above presentation link.
    Let us know if you have further questions.
    Thanks,
    Vishal

  • Controlling Bass and Treble with AS3

    Is there anyway to control Bass and Treble using AS3? I'm
    trying to simulate a new aircraft entertainment system and I'm
    stuck. Thanks

    flash is capable of controlling bass and treble but you'll
    need to code that yourself or find someone that's already coded
    it.

  • Simulation PID on control and design with DAQ card how to connection

    hi guys.. i am a beginner for LabVIEW 
    i have homework design PID on simulation path and i found by google
    how to connect simulation path to DAQ card ??
    anybody can help me
    which function to connect it???

    Duplicate Post

  • Simulation and design

    Plz, can any one tell me
    If there is any program that I can desgin a network with Routers and switches, and make simulation on it to test and see the result
    and thanks

    Assalam-O-Alikum Anas,
    Here is the link to the very best simulation program which is free....
    http://www.gns3.net/
    download and run this application. But you will need Cisco IOS for each platform. If you have CCO account with H/W and Software maintenance, then download and copy into relevant directory.
    There are loads of technotes and video tutorials you can access from the same site as well as loads of tutorials on Youtube.com
    Hope this helps....
    Shaheen

  • Type C thermocouple measurement and compesation with DAQmx

    Need to make type C thermocouple measurment using DAQmx. Analog thermocouple channel configuration VI has spot for custom scales in the units box but nowhere to wire the scale. Want to use cold junction compensation so is the only option to use a voltage input then subtract the cold junction voltage and then run that value through a conversion formula?

    That does not work. The program seems to already try and apply a scale since I get an error from start task that says the prescaled units are already Deg C, and the scale of course goes from volts to degrees. When I try to change the custom scale name after start task I get an error that says the units are invalid for this measurement type. So there seems to be some coding that won't allow you to replace the scale for a thermocouple measurement. I'll probably have to take voltage readings and apply the scale after I subtract the junction value which is unfortunate I have to do things that way.

  • Can we create a simulated DNet device with DAQMX?

    I had no access to the Dnet interface today so I was thinking if there was a way to create simulated dnet devices on which I can run tests on. I did some searching and I found none. If you guys have any useful resources that would be really helpful. Thanks. 
    Labview Learner

    Ashaironix,
    I couldn't find any documentation or examples of MAX simulating any of our Dnet devices. Since our PCI-DNET devices have been end-of-life'd, I suspect that simulation of these devices cannot be done in MAX.
    Kirk L. | Applications Engineer | National Instruments

  • Database Modeling and Design with Sql Developer

    Hi
    After attending Open World and the session wrt the above, is it possible to obtain a stand alone beta version? We are in between tools and would really like to present the above to our team as an option.
    Thanks.
    Leon.
    Edited by: Leond on Oct 1, 2008 6:10 AM

    You may want to Google "RSS".
    You need a Feed Reader - something like Google Reader or Thunderbird.
    Then, you need to click the orange square up in the URL box. If you have a feed reader, it will walk you through the setup, etc.
    --s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to use SOA Suite in conjunction with SOA Analysis and Design Tools

    Hi everybody,
    I am a novice in this field and I need some help regarding integrating analysis and design tools with SOA Suite.
    We used to analyze and design with Oracle Designer and use its powerful form generator to develop a system. It almost covered all the software lifecycle and kept the traceability between anlaysis,design and implementation.
    I have studied about the SOA concepts and read some papaer about SOA Suite. I have also installed the SOA demo based on SOA Suite and I found it absolutely amazing, but my problem is that It seems oracle does not have any tools for SOA Analysis and Design. am I right? if so, How can we analyze and design a system based on SOA concepts and implement it using soa suite in such a way that keeps traceability? What tools is used for this purpose?
    It seems that IBM have some tools like Rational Software Architect and Rational Suite which enable people to design and analyze based on SOA concepts and then generates some pieces of code (like oracle designer in old days) but is it possible to design in these tools and then generating codes for SOA Suite ? (for example generating a bpel file from a design model)
    As I told before I am a novice in this field and I would be so grateful if other users can share their expriences regarding this matter.
    Any help would be highly appreciated.
    Thanks in advance,
    Navid

    Learn About All Things SOA:: SOA India 2007:: IISc, Bangalore (Nov 21-23)
    Aligning IT systems to business needs and improving service levels within the constraints of tight budgets has for long been the topmost challenge for CIOs and IT decision makers. Service-oriented Architecture (SOA) provides a proven strategy to clearly address both of these objectives. Creating more agile information systems and making better use of existing infrastructure are two leading factors that are boosting SOA adoption across large, medium, and small Indian industries from the BFSI, Retail, Telecom, Manufacturing, Pharma, Energy, Government and Services verticals in India. If you are an IT decision maker belonging to any of these verticals, SOA India 2007 (IISc, Bangalore, Nov 21-23 2007) presents a unique opportunity to gather cutting-edge business and technical insights on SOA and other related areas such as BPM, BPEL, Enterprise 2.0, SaaS, MDM, Open Source, and more.
    At SOA India 2007, acclaimed SOA analysts, visionaries, and industry speakers from across the world will show you how to keep pace with change and elevate your IT infrastructure to meet competition and scale effectively. The organisers are giving away 100 FREE tickets worth INR 5000 each to the first 100 qualified delegates belonging to the CxO/IT Decision Maker/Senior IT Management profile, so hurry to grab this opportunity to learn about all things SOA. You can send your complete details, including your designation, e-mail ID, and postal address directly to Anirban Karmakar at [email protected] to enrol in this promotion that is open until 12 October 2007.
    SOA India 2007 will also feature two half-day workshops on SOA Governance (by Keith Harrison-Broninski) and SOA Architecture Deep Dive (by Jason Bloomberg). If you are an IT manager, software architect, project leader, network & infrastructure specialist, or a software developer, looking for the latest information, trends, best practices, products and solutions available for building and deploying successful SOA implementations, SOA India 2007’s technical track offers you immense opportunities.
    Speakers at SOA India include:
    •     Jason Bloomberg, Senior Analyst & Managing Partner, ZapThink LLC
    •     Keith Harrison-Broninski, Independent consultant, writer, researcher, HumanEdJ
    •     John Crupi, CTO, JackBe Corporation
    •     Sandy Kemsley, Independent BPM Analyst, column2.com
    •     Prasanna Krishna, SOA Lab Director, THBS
    •     Miko Matsumara, VP & Deputy CTO, SoftwareAG
    •     Atul Patel, Head MDM Business, SAP Asia Pacifc & Japan
    •     Anil Sharma, Staff Engineer, BEA Systems
    •     Coach Wei, Chairman & CTO, Nexaweb
    •     Chaitanya Sharma, Director EDM, Fair Isaac Corporation
    A partial list of the sessions at SOA India 2007 include:
    •     EAI to SOA: Radical Change or Logical Evolution?
    •     BPEL: Strengths, Limitations & Future!
    •     MDM: Jumpstart Your SOA Journey
    •     Governance, Quality, and Management: The Three Pillars of SOA Implementations
    •     Building the Business Case for SOA
    •     Avoiding SOA Pitfalls
    •     SOA Governance and Human Interaction Management
    •     Business Intelligence, BPM, and SOA Handshake
    •     Enterprise 2.0: Social Impact of Web 2.0 Inside Organizations
    •     Web 2.0 and SOA – Friends or Foe?
    •     Achieving Decision Yield across the SOA-based Enterprise
    •     Governance from day one
    •     Demystifying Enterprise Mashups
    •     Perfecting the Approach to Enterprise SOA
    •     How to Build Cost Effective SOA. “Made in India” Really Works!
    For more information, log on to http://www.soaindia2007.com/.

  • Is it possible to turn off CSS and design text with HTML only?

    I'm trying to design text with HTML only ie: Font, Color, Size. The only method I'm aware of is to highlight the text and then go to Insert> Html> Text Objects. That method is tedious and time consuming.
    I'm not looking for arguments or reasons as to why I should use CSS, I'm simply looking for a solution to disable CSS and design with HTML. I'm using Dreamweaver CS5.
    Thank you,
    Paul

    Murphy,
    Thank you for your response. I checked the preferences as you advised and could not find any option to turn off CSS. I don't understand why there doesn't seem to be a straightforward solution to this, it seems so simple. The reason is that the code will be inputed into an eBay listing and therefore CSS code is not supported.
    Any other input for a seemingly simple yet complex solution to this is welcome and appreciated.

  • Is it worth buying the old Mac pro now, for iOS dev and designing?

    I want to replace my old Macbook Pro unibody 2008 late model, and buy something instead of that. Currently it has 8gb ram, an SSD drive, but it's getting slower and slower. I want to replace it with something, and if I don't have to I won't spend ~3000€ for a new machine.
    Would it make sense for me to buy an old Mac Pro (2008 - 2010 model, with at least 16gb ram, and SSD, and 2x27" monitor) and use that to create my iOS apps and design with Photoshop and Illustrator. I don't need a machine to do crazy stuff like 3D modelling (don't have time for it ) nor gaming.
    Thanks.

    The 2009 model and later are worth buying. They also feature Multi-Threading, which gives a performance boost.
    The 2008 model uses older FBDIMM memories, and its memory has been severely limited in size and expensive (unless you drop down one notch and use 667MHz, which has become quite affordable).
    The 2009 model and later change to processor-on-a-shelf, with either a one-chip  or a two-chip shelf installed. Each offers four memory slots per processor. 4 DIMMs @8GB would give you 32GB four under US$400.
    Four-core models would do what you are talking about, and you can upgrade to a 6-core processor if you are handy and can deal with thermal paste.

  • Problem reporting design with ireport

    i have database with table msFish, this table have 3 column.
    id+name+size
    i want make a report with 4 report in one page that show each fish data
    example report
    id : 1 id : 2
    name : marine name : piranha
    size : 10 feet size : 0.3 feet
    id : 3 id : 4
    name : shark name : gold fish
    size : 30 feet size : 0.2 feet
    but all of this show in one page and design with ireport?

    do i need to have jasper reports installed to use ireports.
    i have dowload ireport.tar file extracted it and im using it.
    I didnt set any path..
    i havent done anything except using ireprts directly by connec ting it to database .
    Plzzz help me out.
    i know this is a seemingly simple question....

  • 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 KB

    Well, 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

  • 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 

Maybe you are looking for