Interface between LabVIEW and c#

Hello

IAM trying to send data to Labview via ithernet in a product that already have in c# .net. This means that data send LabVIEW must be posted in c#. Thus the Labview will act as the server and the product in c# will be serving the customer. I have serached in the forums to make the connection between Labview and c#. I saw a tutorial to make dlls in labview, in what they explained to hold tools > Build Application or shared Library.But I can't find in my tools although I version2009 of professional development.

Can someone give me some instructions to send Labview data and display it in c#. IAM attaching the VI Server I made. The client in c# is a great product that has already done by others in c#. I have very less experience of programming in c#. Can someone give me some instructions or attach a few tutorials to make the connection between Labview and c#.


Tags: NI Software

Similar Questions

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • The interface of LabVIEW and matlab

    Hello, I want to interface LabVIEW with MATLAB using the TCP/IP protocol for data transfer. Can anyone, please give me an instruction step by step how to do this? If not, can point out you where I can get them? Thank you.

    Hi Gilles,.

    TCP/IP is a generic protocol then you should easily be able to build enough interfaces TCP/IP for your LabVIEW and Matlab code and data transfer on ASCII or variants, etc., depending on what kind of data you are trying to transfer. I'm not too familiar with Matlab, but on the end of LabVIEW, there are a few examples of server and client very good TCP/IP provided with LabVIEW.

    Another option you may want to, and the reason why I answer it is that I did recently a project through which we took some legacy code MATLAB which we wanted to transpose into LabVIEW, so that we can automate then completely a test system that we use TestStand. A big part of it, we have been able to derive equivalent LabVIEW, but some functions where LabVIEW does not have an equivalent appropriate, or where it was simply more effective, simply copy us and paste Matlab code in any event in the first instance MathScript nodes (not dependant on Matlab) or Matlab script nodes (which will return if all goes well at a later date to transpose in full) LabVIEW for that is no longer dependent on a Matlab license).

    In both cases, the facility to do this was very impressive, and we were able to wrap huge amounts of code Matlab LabVIEW with very few problems. As an idea, have you considered your functionality of Matlab of packaging in this way and keeping all the customer TCP/IP and comms server in LabVIEW?

    Note: If you have not found it pick up the palette "Matlab Script.

    Good luck

    David

  • Table does not work correctly between LabView and TestStand

    I'm doing a TestStand program that reads data from a LabView VI.

    If I run the VI in LabView, it works perfectly well and generates a table with 18 points in length, the first 3 are numbers between 0 and 10 and the rest being-1 as I intended. Re-run the VI causes the re - initialize correctly and I get a new table that also meets my specifications.

    When I run the VI of TestStand, it works fine once, producing a table with 18 points, the first 3 are numbers between 0 and 10, and the rest is-1.

    If I run the VI in TestStand once again it increases the length of array in 18 each time. In so doing, it fails to write the new 3 numbers and just add - 1 in table 18 times. If I restart TestStand will work fine once more, he repeats the error if I re - run the VI. I don't understand why this is happening.

    I have re-product the error in a separate VI and the order, and I have attached an example in this post. The VI contains all the necessary information (if not, please say so and I will correct it), and TestStand sequence is configured to put all results, I would find useful in the report (as additional results).

    Your problem is your VI.   Specifically the comment nodes.  They initialize on the first call.  TestStand retains the VI in memory.  So when the VI is called again, the comments always nodes have their last value.  You will get the same results if you have VI your ArrayBuild.vi twice appealed.

    The way you use the feedback nodes, they really replace with Shift Registers.  I like your comment nodes, but since you pass the value of the node in the loop, the SHIFT registers are much more appropriate.  Just make sure you initialize your Shift Registers.

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

  • Communication between LabVIEW and MCU based on Modbus Protocol

    Hello

    I am a first year student in the port.and series applications see you, my projiect needs to communicate between LV and MCU based on Modbus Protocol.all configure it are correct, but the lv to send false information which is not suitable for modbus.i do not know how to fix it.

    My programs are:

    Why did you decide to write your own code instead of what is already available? If you had done a search, you would have easily found the modbus library. Just give a try.

  • Problem between Labview and Melanie 2602

    Hello world

    I think my question is a bit silly, but I really don't know what the problem is. I just want to read my current solar cell by changing the level of my blood to get an IV curve, which is normally pretty easy. So, I created a loop, where I increase my voltage step by step, and used a function named VI from Labview library that connects the Keithley and Labview together, "Keithley 2600 Series.lvlib: Source Level.vi. I start at 0 and increase by 0.01 volt each time. If I use execution of climax, I see clearly the value is correct, and if I go inside the SourceLevel VI, I clearly see the command string: "smub.source.levelv = 1.6," for example, if I want to put my voltage at 1.6V. The attached picture shows a part of my code.

    Despite all this, it is clear that the Keithley does not react properly. It only works v of v 1V, 2V, 3V, etc... but never the values between. My IV curves are ok to read the Isc, but no VOCS. Never happened to any of you? I would be really happy to understand what I'm doing wrong, because it seems easy enough to solve. :/

    Thank you very much!

    It is quite difficult to debug a picture of a tiny part of the code.

    But I'll take what I see.  Your constant shows a 0.01 (comma).  So I guess that you are in a country that uses a comma instead of a decimal point.  I don't see what is happening inside the code Keithly, but I'll make an assumption that he made some conversions where it is expected that the comma is a period.

    Look closely at the code Keithly and see if that explains it.  Try to set your PC to use a period for the decimal point and try to re-run your code and see if it works better.  It is possible that Keithly conversion uses a system, rather than setting using a decimal point, which is that your sentence says it's sending.

  • Communication problem between LabView and acquisition of data USB 6259

    I want to monitor a data USB-6259 acquisition using LabVIEW 8.6. However, when you try to create an explicit task (using the DAQ assistant) in order to acquire a signal, I get the message asked supported device found¨. I can see the USB-6259 under ¨Devices and interfaces¨ to the MAX, but when I try to import the configuration data for NOR-DAQmx 8.7.2 in MAX, I get the message ¨Can´t import file configData.nce.  File not found¨. I use NEITHER-DAQmx 8.7.2.  Any suggestions?

    Corneliu

    Hi, Corneliu,

    This question could be generated due to a corruption of database of MAX. Here is a link to restore the database to the MAX.

    http://digital.NI.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9?OpenDocument

    Just follow the steps and let me know if that solves the problem.

    A greeting.

    Jesus.

  • Communication between Labview and Acton spectrometer via USB or RS232

    I'm trying to communicate between a PC running XP and a spectrometer to Acton 2300i using Labview.  Windows recongizes the specification and assigns it to COM3 with the correct name.  Also, the software provided with the specification can communicate with him.  However, I was unable to communicate using VISA in Labview.  I downloaded the simple read and write example vi fromt the example finder and changed the entries at 9600 baud... but I am still unable to connect.  I also tried connecting via software of measurement and automation NOR, but getting the timeout error code.  I was able to connect using GPIB of Labview for another more old Acton Spec 500i but the onle new version connects via RS232 or USB.

    The problem was simply not having a return of carrage added at the end of my order.  Thank you for your help.

  • Communication between Labview and Rn42 Bluetooth

    Hello

    I am currently working on a project that requires communication between a bluetooth equipment and my pc with bluetooth built-in. The bluetooth hardware is verfied working with Blueterm on android. However I'm unable to connect with my laptop blueterm. Is back a unabe to connect error. I use bluetooth vi without series or visa. This method is suggested? Thank you


  • Delay between labview and hp 83620A microwave synthesized Sweeper

    Hello world

    I'm using microwave synthesized Sweeper hp 83620 has to sweep the microwave from one frequency to another.  I control the instrument via GPIB-USB-HS.  I use the device provided by Labview driver. http://sine.NI.com/apps/UTF8/niid_web_display.model_page?p_model_id=782

    My program tells the instrument, the frequency of start and stop as well as the size of frequency step and downtime.  But at some point of time, I want to know the instantaneous frequency that produces the instrument and save it as data, so I built in a virtual meter within the program.  But it seems to me that when I hit the run button, it takes time before the instrument scan.  This makes the frequency meter reading ahead and save the wrong values.

    So nobody knows exactly how long the delay is. It seems that this period is about 1 second, but I need a more precise value have a reliable data acquisition.  I would really appreciate an entry and a suggestion for improving the program.

    Thank you.

    P.S. I have included the image VI below for convenience.

    Tom,

    When you work with LabVIEW, it is important that you understand its paradigm of data flow. This means not only no function, the Subvi or the loop runs until all nodes input receive data. And no loop will return the results to the output until the loop is completed. So in your case, we just need to understand what the function is in your top string actually starts the scan. If it's the call after the outbreak of arms vi branch simply error on the wire from the loop for. (you can't even wire to something else and please note I said branch it) due to the assistant of the instrument you cannot expect perfect results. If you have not run it with execution highlighting turned on (bulb on the block diagram toolbar) Please try it.

  • What are the differences between LabVIEW and LabVIEW FPGA and LabVIEW RT

    I need a comparison of LabVIEW, LabVIEW FPGA, and LabVIEW RT

    Sorry, I misunderstood.

    LabVIEW RT (LabVIEW Real-time) combines graphical LabVIEW of programming with the power of a real-time operating system, allowing you to create applications in real time.

  • Two-way interfaces between OLM and ELS

    Hi people

    New to OLM, but after spending some time looking through books and searching the Web, I'm still a bit ambiguous on the OLM connectivity and an external training provider.

    I was asked to look at a few options for the connection between our current system and the ELS who will provide training for internal clients (who will reserve / register on the courses within the OLM) and external customers who will book / register directly on the SLE.

    Apparently the training itself will take place directly online if the ELS rather than OLM - even if the customer is registered by Oracle.

    Anyone had any experience of how this might work? Certainly there is an API for loading in external mass of learning (OTA_NHS_API), so I guess that who could answer the records from the SLE in Oracle, and just create a standard check out according to the requirements of the SLE for the traffic in the other direction.

    I can't help but think, however, and forgive me for oversimplifying here, that we we would be better looking like more connectivity sown between the Chapter and the ELS using API and connectivity available SCORM.

    Is there something more than a functional facility required for this? If we already have licenses for OLM is there likely to be additional license or cost requirements?

    Thanks a lot for any input.

    Concerning

    CK

    Hi CK,.

    Usually the integration with a content provider of external learning (as a SkillSoft) is achieved through the integration of the AICC, where the seller provides you with the AICC metadata, it is imported in the LMS and when launched content run outside to the seller via AICC.
    I would check with the content provider, if it is an option that they provide, and if so, this should be the method used.

    Scott
    http://www.seertechsolutions.com

  • span interface between host and guest

    Hello

    I hope someone here can help me, my current setup is:

    Host: Ubuntu10.04 running VMware Player 3.01

    Guest operating system: Windows XP

    My laptop is plugged into the back of an IP phone, which spans its traffic to my PC.  I'm testing a record call request for a customer call center that runs in windows.  I ran some captures of packets with Wireshark and confirmed that my Ubuntu host receives the voice traffic, however the guest operating system is not.  Someone knows a way to cover the ports so that the guest OS receives all packets sent to the host operating system?

    Here's another thought:

    http://www.VMware.com/support/WS55/doc/ws_net_advanced_linux_vadapter_promiscuous.html

    Good luck... Bruce

  • Connect the large number of parameters and variables between Verstand and model of Labview

    We have an installer of dyno with a chassis PXI-E running Veristand 2014 and 2014, inertia. In order to strengthen the capabilities and timing of the Veristand, I would use models of Labview to perform tasks is not possible by Veristand and inertia. An example of this is to determine the maximum amount of a large number of thermocouples. VeriStand has a comparison function, but it compares two values at once. This makes long and rigid emissions. LabVIEW, on the other hand, has a function which words one to get the maximum items in a table in one step. I need to use Labview to 'send' the thermocouples of 50 or more to the Labview model. In addition to the variables that must be communicated between Veristand and Labview, I also need to present Labview with the threshold and setting parameters. Forums and user manuaIs understand that you must use the connector pane in Labview Veristand System Explorer mapping to expose the inports and isolated villages. The problem is that the part of Labview connector is limited to 27 I/O. How to overcome this limitation?

    BTW. I'm relatively new to Labview and Versitand.

    Thank you.

    Richard

    You can work around this limitation by putting your orders and clusters indicators. Then set the cluster to be required or recommended to indicate whether contained controls are entered or parameters, just normal.

Maybe you are looking for

  • Location of cookies

    Hello Please notify: (1) where the cookies (directory) are stored on Firefox mobile (android)? (2) can they be copied or inspected? I would like to be able to see what is stored. Thanks for reading and if you can help.

  • Tecra R840 - upgrade to i7 2720QM

    I'm going to by a Tecra R840 with i7 2620M processor. Is it possible to switch to an as the i7-2720QM quad-core processor?

  • How to restore the audio software for windows XP

    original title: Audio for windows XP software I must have accidentally uninstalled the program that runs the audio on my computer during the uninstallation of an another grosgrain. What should I do? I have absolutely no audio now! Is it possible I co

  • All items on the desktop are enlarged

    original title: help Everything on my screen is like blasts, or in large size, all my icons, internet and start menu. and I can't figure out how to put it to its normal size... no idea how to solve this problem?

  • GANYMEDE + authentication errors

    I have problems to GANYMEDE + AAA working with my 3560 switches. I set up users, groups, and NDG on ACS SE, as per GBA CS course material and triple checked my keys to make sure they match. I have attached the debugging switch of authentication, auth