Display and interact with a vi front panel on remote C++ app

Hello:
I am new to LV and need a little advice.  I need to display a LabVIEW VI front panel in my C++ .Net application that users can interact with to view real-time spectrum data.  The C++ app (client) must reside on a separate computer(s) from the VI so that the client can connect from anywhere around the world and interact with the VI. 
I am not sure about the basic architecture that should accompany a good solution.  We want to use TCP/IP but not DataSocket.  I do not have access to Measurement Studio but I do have access to LabVIEW Professional Development System v 8.2.  Can anyone provide suggestions on what I need to do in order to
1.  Connect to my TCP server using my C++ client app - I have already written TCP client and server code which communicate but now I need to integrate LV
2.  Get access to the VI sitting on that server
3.  Send the VI front panel to the client for display
4.  Allow the user to modify parameters on the front panel displayed on the C++ client, send those changes back to the server, and refresh the front panel displayed in the C++ client given the new parameters (I would like a real-time display of the spectrum to always be available)
Is this possible?  Has anyone done this using C++ .NET in VS2005?  Are there examples I can mimic or references that will help direct me?  I have searched and searched through NI's help and found a lot of good stuff but I'm still feeling confused about the best way to utilize LV.
Thank you in advance!

One more question ... what if I could use Measurement Studio?  The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment.  Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
Question: why can't you just use LabVIEW for the client application also?

Similar Messages

  • Best way to display and interact with a tree

    I am trying to create an interface that is similar to the interface on this website for the skill tree:http://www.pathofexile.com/passive-skill-tree. What is the best way to go about doing this and have the same or similar user interaction. ie. you click on a node and it activate or deactivates it. The movement of the tree and zooming on it would be nice as well. I am somewhat new to this and am not familiar with all of the libraries that the SDK has to offer if anyone could give me pointers on where to look that would be great. I would like to try to stay away from webView as I am thinking about features I want to add. Thanks in advance just want to see what a good way to do this is.

    One more question ... what if I could use Measurement Studio?  The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
    Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
    Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment.  Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
    Question: why can't you just use LabVIEW for the client application also?

  • Dynamic display and interaction with UI components...Need help!!

    hi
    I want to create forms which asks users to enter data in some fields/GUI components. If i call these field one "group" then i have to display this group of components as many times as may be required (based on some other calculation). How can i do this.. and even if i do this how would i write the code for interaction.. Can i do this??
    plz reply
    thanks

    hi
    I want to create forms which asks users to enter data in some fields/GUI components. If i call these field one "group" then i have to display this group of components as many times as may be required (based on some other calculation). How can i do this.. and even if i do this how would i write the code for interaction.. Can i do this??
    plz reply
    thanks

  • I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadshee​t. Any ideas?

    I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadsheet. Any ideas? Right now my data will collect one reading instead of continuously reading my IMU which displays data in a continuous stream.
    Thanks
    Attachments:
    Read_IMU_Drew.vi ‏21 KB

    Hi
    Your vi is in 2009 version, which i am unable to open in 8.6
    However, if you want your data to be saved in excel sheet, here is the VI
    Somil Gautam
    Think Weird
    Attachments:
    save to excel.vi ‏12 KB

  • How to: display large error note in the front panel?

    hi guys,
    When "error out" has an error, I would like to display HUGE RED TEXT in the FRONT PANEL saying: "STOP, ERROR DETECTED!"  )
    How to do that?
    Thanks for your help.
    Solved!
    Go to Solution.

    Place an indicator on the panel. Set the text to HUGE and RED, and set its value to "STOP, ERROR DETECTED!". Make it not visible. When you get an error, use the "Visible" property node to display it.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

  • Share Cinema Display and peripherals with MBP and PC

    Share Cinema Display and peripherals with MBP and PC
    I am about to be forced to use a business network connected PC in my office, but I will continue to bring my personal MacBook Pro to work for my personal e-mail, calendar, internet, etc. (it will be connected to a seperate open DSL network). I am thinking about getting an Apple Cinema display and trying to use this one display for both computers. I would like a way to "switch back and forth" between the two systems, all the while using the same mouse, keyboard, printer and Cinema display.
    Does anyone have any experience setting up what I am wanting to do?
    Also, how does connecting an external display effect a MBP? Can you close the screen on the MBP, turning off the MBP's display but keeping the computer running? I'd like to be able to tuck the MBP out of the way to save deskspace but still be using it via the Cinema display and peripherals...
    Thanks so much!

    You can use synergy (link: http://synergy2.sourceforge.net/) to link the mouse and keyboard across the two platforms.
    If you want to use only one display, you'll need a KVM switch.
    You can run the MBP either with it's own screen open, or shut it and use only the external screen.
    Hopefully this helps a little...

  • View/table v_fagl_activec can only be displayed and maintained with restric

    Hi,
    When i required to activate a New G.L in ecc.6.0.I am getting following error while activating.
    view/table v_fagl_activec can only be displayed and maintained with restrictions.
    Please guide me
    Thanks and Regards
      RAVi

    From se11's Delivery and Maintenance tab check out Data Browser/Table View Maint property. Make it without any restrictions.

  • How can I make a global change so all controls and indicators labels on the front panel change to another colour?

    How can I make a global change so all controls and indicators labels on the front panel change to another colour?
    I need to change the front panel so that it can be used in a dark environment.

    Hi
    The only way I see, is to use the "Controls[]" property and iterate through all of them. But don't forget about nested elements (i.e. clusters, tab-controls, ...).
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Hi,View/table J_1IEWTECESS can only be displayed and maintained with restri

    hi,
    View/table J_1IEWTECESS can only be displayed and maintained with restrictions. i changed package j1in.but when i maintained in sm30.it will display this error. plz help me .
    error.View/table J_1IEWTECESS can only be displayed and maintained with restrictions.
    Murali.

    Hi,
    The view is already maintained by SAP , why do u want to change that? it is SAP standard view right???I'm able to add entries without any problem.
    regards,
    madhu

  • View/table V_T682 can only be displayed and maintained with restrictions

    Hi friends,
    When I want to displaying for V_T682 table  from  SM30 tr.code , it gives me about error "  View/table V_T682 can only be displayed and maintained with restrictions". I think ,this table's maintenance status is  marked as  display/maintenance allowed with restrictions on SE11. So, how I can display the this table from sm30 tr.code.(Note: I have only displaying authorization)

    Hi Lakshmipathi
    I already knowing to execute the tables from se16 tr.code,  My aim is to displaying the customizing view.(Note: I have no authorization for SM34 tr.code.)
    Edited by: kaiz34 on Sep 20, 2010 4:51 PM
    Edited by: kaiz34 on Sep 20, 2010 4:52 PM

  • View/table Ztable can only be displayed and maintained with restrictio

    Team,
    I am getting this error when I enter my table in SM30 and click on either -No Restrictions; -Enter conditions. (I already created Table Maint. for it.)
    Error:
    "View/table ZTABLE can only be displayed and maintained with restrictions"
    I deleted and recreated but the error is still there. What could be the reason for the above error.
    Thanks

    Hi,
    Try this..
    Goto SE11 give the table name goto change mode
    then click on DELIVERY MAINTANCE TAB
    then select option data browser/table maintance allowed as 'DISPLAY?MAINTAINCE ALLOWED.
    this will work
    Thanks,
    Naren

  • Is it possible to connect an iPad to a SmartBoard and interact with the iPad on the SmartBoard, like you do on a computer with the Smart-software Notebook on it?

    Is it possible to connect an iPad to a SmartBoard and interact with the iPad on the SmartBoard, like you do on a computer with the Smart-software Notebook on it?

    You can purchase an adapter from apple that uses the monitor cable from the projector, its the same one that is probably connecting either your laptop or school workstation. On the projector control you might need to refresh the source.

  • How can I stop and restart a .vi with a single front panel button?

    Hey guys, a newbie here.
    I have a .vi with a stacked sequence. The first few frames are hardware initialization and settings (LIN master node) and the data the hardware should transmit (frame response table). In the next frame there's a loop in which the hardware sends and recieves data (LIN monitor). If I want to change the initialization, settings or data values, I have to stop the .vi and restart it. I was wondering if there is a simple way of doing this with a single click (a button on the front panel).
    An alternative would be to put another loop outiside the whole stacked sequence and then run it a single time with a push of a button (the inner loop should let the outer one restart), is that possible?
    I hope I made any sense. Thanks for any suggestions.
    Tomaz
    Solved!
    Go to Solution.

    Ideally, redoing the code with a state machine would be the best way to go, if only so that you can add this powerful tool to your toolbox. That being said, wrapping your existing code in a while loop, with its own stop button to stop the program, will work if executing the entire sequence is ok. Where you might run into problems with this is if there is a step in the sequence that shouldn't be executed again, then it would require wrapping that sequence frame's code in a case statement that executes only the first time through. If you have the time, learning how to use a state machine would be a real benefit, really taking your LabVIEW knowledge to the next step, if you pardon the pun.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to display some html code in the front panel

    Hello.
    I am trying to properly display a few lines of html code in some kind of indicator on my front panel.
    I was trying to use an ActiveX container with MS IE in it, but all the methods I find are to make it navigate to a given URL. I did not find any method or property by which I could give it some html code and it would display it.
    Anybody know of a way to do this? It does not have to be using ActiveX or MS IE.
    Thanks in advance,
    Alejandro

    Here is a simple way using the activeX that I have embedded in some programs in the past. You will have to call the file path to show the file.
    Hope this helps some.
    -Dave
    Attachments:
    HTML Window.vi ‏36 KB

  • I want to publish my data using datasocket connection on the net and I want to use Front panel binding. Can I?

    I want to publish my data on the net.
    I want to use front panel binding and I do not want
    to write the code. Can I do that. What should I modify
    in my datasocket server manager. The other question is, When I open my VI, I want to open automatically my DataSocket Server. My english is bad. When I open the LabView I also want to open my DataSocket server. How can I do this?

    To use datasockets to publish data to be accessed via the web, see the following document.
    http://digital.ni.com/public.nsf/websearch/F58A6C2DAAADECB68625672400636145?OpenDocument
    This document explains how you can create an interactive Web page with which users can view data from a remote acquisition application without the common problems of a client-server application. You use the Measurement Studio DataSocket control and Microsoft Visual Basic to create a software component that you can insert in a Web page. You then use that Web page to read, write, or share data with other applications across the Internet.
    If you want to publish data but do not want to write any code, you should consider the web publishing tool available in Labview 6.1. This tool allows
    you to create a webpage to be published from the the LabVIEW webserver on your machine. See the following link for more information on ways to easily publish to the web from LabVIEW.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/E4E311FA046EE24586256B1F0074F39D?opendocument
    As for starting the datasocket server when you run your VI, you can use the 'System Exec' VI to run the application. The exe to start the server is located in the following directory:
    C:\Program Files\National Instruments\DataSocket\cwdss.exe
    I hope this is helpful.

Maybe you are looking for

  • RMI w/ SSL Applet

    I'm trying to create an applet that will communicate via RMI/SSL. I tried the sample HelloWorld program in the JSSE Examples as well as implementing it in my own applet but I can't get past the "unable to find valid certification path to requested ta

  • Black rectangle floating with my cursor

    I just installed Mountain Lion and I now have a black rectangle that floats around my cursor. I've check all the accessability settings and nothing is turned on and I can't seem how to make it go away.

  • How do i unlock my iphone if i forgot my password

    what could do besides reseting?

  • At launch Firefox updater keeps asking permission to update, how do I permanently stop that?

    In the past when I've updated Firefox it has made my add-ons stop working, however I've never had any virus problem as I have other programs to handle that. So for me, updating Firefox is more of an inconvenience than a benefit (not to mention change

  • ODI Integration - Hyperion Planning inbound to GL

    ODImates, I am designing a full integration (2 way-sided) from EBS-GL to Hyperion Planning and Hyperion Planning back to EBS-GL. The first side is almost finished, I extract the information from GL and create the specific format used by OTL Loader to