Communicate between DAQs

Hi,
This is my project in short
I am generation excitation signal using Function generator.. sending this to DAQ analog i/p.
The DAQ analog o/p gives these values out to the experiment set up.
The DAQs also takes the i/ps and o/ps of the experiment,
The vi reads these values , takes them through a controller ( feedback PID) ,
scales the excitation signal using the weighting value, 
then resends them to the DAQ analog o/p to return to controll the experiment i/p and o/p.
My problem is that there seems to be sonme communication problem between the DAQ analog i/p and analog o/p..
The analog o/p is not generating what the function generator generates.
I only have 2 DAQS. One DAQ does the analog i/p , analog o/p and reading in of the experiment i/p values (digital line).
The other DAQ does the reading in of experiment o/p values (digital lines).
I have attached the vi file...
 please , any clues??
thanks,
ruser.
Attachments:
controllerinterface.vi ‏377 KB

Hello Ruser,
One thing I would try is to put another waveform graph indicator on the signal going into the analog output DAQ assistant.  This will tell you whether your signal manipulation is the problem, or whether there is some miscommunication between acquisition and generation.  If you could attach a screenshot of the two excitation graphs (before and after manipulation) that will help to determine what the problem may be.
Regards,

Similar Messages

  • Can NI-PSP be used to communicate between machines developed with different versions of LabVIEW?

    Hi all,
    A customer has a large PC application developed with LabVIEW 2010 SP1.
    They would like to add extend their system with a cRIO-9075. According to this document (ftp://ftp.ni.com/pub/devzone/tut/crio_software_versions.htm ), the minimum supported version of LabVIEW (with Scan Engine support) is LV 2011.
    To minimize risks, it is preferred that we don't upgrade LabVIEW for the main application, which is atively being used in production.
    I was thinking of developing the cRIO software in a newer version of LabVIEW (say, LV 2013 SP1), and using shared variables only to communicate between the PC and the cRIO.
    Is this a viable option? Does it matter if the PC and the cRIO have different versions of the LV runtime?

    It shouldn't matter, but then with shared variables you can never know for sure -- there are so many things that can make them break.
    You might be money ahead to write the comm using TCP/IP. You know that will work.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Communicate between two iviews

    Hi everyone, if i create two iviews. And i want to pass a variable from one iview to the other one by triggling an event .
    What technology can help me do that?  Thx~~

    Hi Louis,
        Communication between two iviews is accomplished by EPCF concept.
      Refer to this forum thread where Prakash Singh has clearly explained about the same
    Communicate between two iviews
    Hope this helps.
    Regards,
    Joshua Kiran

  • Communicate between SWF & Global static vars

    Sorry for my inglish...
    I’m having some problems on getting full communication between loaded SWFs. I'm totally stuck and my timing is running.
    Suppose the following scenario:
    Father-SWF has his own class and loads A-SWF and B-SWF. A and B SWF has his own class and package. To exchange values and run functions between SWF, I’m using a Global class with public static vars. Some of this vars are function, example:
    GLOBAL CLASS WITH STATIC VARS (com. with other class and package beetween SWF)
    package scripts
         public class GlobalAct
              public static var mainStage:Object;
              public static var myFuncGlobalA:Function;
              public static var myFuncGlobalB:Function;
    MAIN CLASS FATHER SWF
    package
         import flash.display.MovieClip;
         import scripts.GlobalAct;
         public class FatherClass extends
    MovieClip
              public function FatherClass():void
                   GlobalAct.mainStage
    = this;
                   GlobalAct.
    myFuncGlobal = myFunc;
              public function myFunc():void
                   //some wird stuff
    A_SWF CLASS
    package
    scripts
         import flash.display.MovieClip;
         import scripts.GlobalAct;
         public class Layout extends
    MovieClip
              private var someMc:MovieClip;
              public function Layout()
                    someMc
    = new MovieClip();
                    someMc. addEventListener(MouseEvent.CLICK,
    mouseFunc);
              public function mouseFunc (evt:MouseEvent):void
                   GlobalAct. myFuncGlobalA ();
    B_SWF CLASS
         Similar to A-SWF class but with other kind of functions…calling “GlobalAct.myFuncGlobalB();” for example.
    This works great, when I run Father-SWF, it load every SWF and functions run from SWF to SWF.
    The problem happens when I load Father-SWF in another SWF. There is a MAIN-SWF with his own set os class and a Global static vars Class.
    MAIN-SWF loads a SWF that will load Father-SWF into the MAIN-SWF.
    WORKING
    Father-SWF -> many SWF that could load other SWF
    NOT WORKING
    Main SWF -> SWF -> Father-SWF -> many SWF that could load other SWF
    When this happens none of the Global functions seems to work. The other Global vars seems OK, only function vars seems not to work.
    I only get the error: “TypeError: Error #1006: value is not a function. at scripts::Layout/ mouseFunc ()” when I try to click a button inside A-SWF.
    Does I lose my Global reference when loading the Father-SWF in another SWF?
    How can I make this bullet proof and generic for every situation?
    What’s the best oop practice to communicate between class and SWF on AS3?

    I figured it out.
    It's under the pop-up window. Select edit locations to select confirm.

  • Communicate between separate VI's using OOP

    Hello,
    I have a question relating to how two separate labview programs can communicate with each other. Specifically I want to make a temperature controller using the OOP features of labview, and implement a Model-Viewer-Controller design.
    I would like the Controller Object to launch the Viewer (the GUI) object. My question is though, how will these objects communicate between themselves?
    The Viewer object is used to set the desired temperature, and display current temperature. Some how it must communicate this to the Controller object who will use its Model Object to create the correct response (i.e. change the set temperature of some hardware device, although generically the Model Object is an abstract class, to be implemented by it child classes), and then communicate back to the Viewer with the current temperature.
    I was wondering if the Vi server tools are the right for this?
    Thanks,
    Paul.

    Hi Bob, thanks for your post.
    Here is what I want to program using an object oriented approach.
    I want to make a temperature controller, which has three objects. A Controller Object, a model object, and a view object. The controller is a mediator between the model (which will talk to the hardware), and the view (which will display the current temperature, and where the set temperature can be changed).
    The controller will have a method like myController.addView(Object View), and addModel(). So when I run the controller and give it a View object, I want it to open a window with a temperature indicator, and a set temperature control. When the set temperature is changed, the view object will notify the controller of this change (using an event), and the controller will run a method on the Model object which will control some piece of hardware setting its Temperature to a new value. The model will also send events (from time to time) to tell the controller that the temperature (of the device) has changed. The controller will then tell the view to update its temperature indicator.
    I have found a nice article about implementing the Model-View-Controller design pattern using Java (I am a java programmer, trying to use labView). The article is here: http://java.sun.com/developer/technicalArticles/javase/mvc/
    I would like to program this in labView.
    Also I would like to make my code reusable as much as possible. So the controller, view, and model objects will all be abstract classes, to be implemented by code specific to the device. Also some devices will require more than one type of view object displaying the data in different ways.
    I hope this makes what I am trying to do more clear.
    So basically I want the View object to open a window with a temperature indicator and a set temperature control. I want the controller object to start the view object and tell it to open the window. But I am not sure how to do that with labView.
    Thanks, any advise will be valuable!
    Paul.

  • Communicate between TS Executions

    Hello,
    Communicating between two threads in TestStand is easy enough using the Notification step type, but it seems like notifications cannot be used to communicate between two different executions. Is it possible to use the notification step in TS to communicate between two different TS executions? What is the best way to send messages between two TS executions?
    Thanks,
    Kevin

    Scratch that. I believe I've realized notifications do work between executions.

  • Communicate between two backing beans

    Hi !
    How can I communicate between backing beens ?
    I would like to put data from Bean1 to Bean2.
    This is my code in Bean1, I try this:
    Bean2 b = new Bean2();
    //... b settings...
    //Map map = facesContext.getExternalContext().getRequestMap();
    //map.put("Bean2", b);
    HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest();
    request.setAttribute("Bean2", b);
    So I put Bean2 instance in request, but JSF created new instance :(
    How can I solve this problem ?

    This article might give you some new insights: http://balusc.xs4all.nl/srv/dev-jep-com.html

  • Communicate between 2 ipads over internal wifi only

    Can I communicate between 2 ipads over internal wifi WITHOUT internet? They are on the same subnet and would have network access to each other, but it seems to IM or message between them it must go over the internet.

    If you want to message between the two iPads, yes you must be connected to the Internet as the messages are transmitted via Apple Servers.

  • Any standard RFC there to communicate between satellite system and Solman?

    Hi Gurus,
                        Any standard RFC there to communicate between satellite system and Solman?
                   Thanks in advance.
    Regs,
    BBR.

    following four RFCs are created so as to initiate the communication between the satellite system and the solman system
    _READ, _TRUSTED, _BACK, _TMW
    but, you have to Read the Links and the Notes too to understand their names and their meaning
    http://help.sap.com/saphelp_sm310/helpdata/en/48/647e3ddf01910fe10000000a114084/content.htm
    http://help.sap.com/saphelp_sm310/helpdata/en/b3/dd773dd1210968e10000000a114084/frameset.htm
    http://www.slideshare.net/wlacaze/sap-solman-instguide-initial-customizing-presentation

  • Driver to communicate between LabVIEW and Omron CJ1G PLC

    I am trying to communicate between my Omron PLC (Model CJ1G) and LabVIEW.  I want to be able to read specific registers and be able to display and save the data in LabVIEW.
    I have the "Idustrial Automation Servers for OPC" CD but my PLC model no. doesn't appear under the Omron options.
    What other options do I have?
    Thanks, in advance,
    Felipe

    Hi Felipe:
    I checked in our PLC compatibility database and the only Omrom PLCs that are supported are the following: C20, C200, C500, C1000, C2000, CQM, and CPM1.
    The PLCs that are suppored in the IA OPC server is based on the driver dll that was supplied to us by Omron. When newer PLCs are released, they are not included in this dll and are thus not supported. You might want to contact Omron to see which OPC Server supports that PLC. You should be able to use any 3rd party OPC Server to work with DSC which will then be the OPC Client.
    Hope this helps.
    Best Regards,
    Jaideep

  • Can't communicate between JS and ExtendScript

    I tried this: (according to the docs it should work)
    In JS
    var csInterface = new CSInterface();
    csInterface.evalScript('$.test()', function(r){console.log(r)})
    In JSX
    $.test = function() {
                       alert("test");
                        return 65656;
    I'm seeing the alert, but the logged statement is empty. Anyone know how to communicate between the two?

    I tried a few ways but the only way I could do it properly was pretty involved:
    1) Use Socket.io to communicate between generator and extension
    2) When you want to raise an "event" from JSX, update generator settings, use a unique id for your event
    3) Parse the event in generator
    4) Emit the event from generator to extension.

  • RS 232 port to communicate between cFP 2100 and Multiple cFP 1808

    Hello All,
    I am using one cFP-2100 (controller) and two cFP-1808 (network contoller) for a project.
    All the three devices have Ethernet port, so i can connect to a network switch for communicating with the Host PC.
    My question is:
    All the three devices have Serial Ports (RS 232) too, Can i use those ports to communicate between the three devices (1 controller and 2 Net. controllers) and use the ethernet port in the controller (2100) only for communicating with a Host PC?
    If this is possible, how to do the RS 232 cabling ?
    Regards
    John

    Hi bjsprem,
    You can connect network modules to the controller with serial.   This KB shows how to do this.  Hope this helps!
    --Starla T. 

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Can Simple Data Client/Server VIs communicate between computers?

    I am having trouble using the Simple Data Client VI / Simple Data Server VI to communicate between computers? Can these VIs do this ..or do they simply communicate between each other on a single computer? TIA.

    NO it can be used between two computers. You have to replace the localhist string with the IP address of the computer running the server and make sure that the server computer is allowing external connections on the specified port.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • 2 clients communicates between them through a server

    Hy. I am building a client server application with multiple clients. How can I make this: clients communicates between them through a server.Anyone can give me an idea???Or some help??Please

    killer8685 wrote:
    Yes I know how to send message from server to client, and know how to send from client to server, but i don't know how to send from server to a different client, not to that who sent a message to server.Can u help??The server has a list of clients (sockets and outputstreams), right?
    Let's make it easy and send the message to all connected clients, that means that the one that sent the message also will get it. That means that the server should iterate over the list of clients (outputstreams or whatever you have) and send the message to all of them.

Maybe you are looking for

  • HT204074 lost my previous Apple Id, how do i get my music back

    Hello, I lost a big part of my previous purchased ( strangely, not all of it ) My old Apple Id does not work. Some of my purchased made it to my new but when I synced my Iphone to my itunes, most dissapeared. I still see it as purchased when i go on

  • Am.getOADBTransaction().getOrgId() not giving desired result

    Hello, I am trying to query Operating Unit in controller of one OAF page. Code I tried was am.getOADBTransaction().getOrgId(), but it returns -1. The responsibility user selects is assigned a Global Security Profile, which has been added only one Ope

  • Data into class to JSP (using dataTable)

    Hi, I have one class called pessoaHandler I have one JSP file called index.jsp with a dataTable <h:dataTable value="#{pessoaHandler.pessoas}" var="p">How I can acces the java.util.List that stay into pessoaHandler ? In the class has private List pess

  • Is there a way to remove security updates?

    Since installing the latest security update (11-28-06) on a G4 powerbook with 10.4.8 I can no longer launch AOL software which I need to do and can't just use the web version. I have uninstalled and reinstalled AOL software but it unexpectedly quits

  • Looking for help finding a digital recorder that's compatible

    I am looking to purchase a digital voice recorder that's compatible with my MacBook Pro. I want to record voice, import it to my Mac and then post it on the web. I don't want to have to buy software and install it if I don't have to. I bought an Olym