RS232 and chart

Hello!

I'm new here and I would like to ask a question about Labview.

Can you help me?

In fact, I'm working on a project with a PIC.

The PEAK sent 3 information (which evolves over time) to Laview (in my case, it is common, voltage and time)

To send this information, I use RS-232.

Furthermore, I used examples of Labview called 'basic series write and read '.

It's great! It works and Labview can display my values as well: ' current; tension; time\n'

I want to display this data on a 3 graph.

I think my first step should be: demultiplexing or try to convert my data (string made by RS232) float.

What do you think? How can I do?

Thanks for your help and advice.

Your graphics are in fact cards.  Graphics keep history.  You can use a property node to clear the history.

Why are you still using the run continuously?  Stop that.  You should just use the race.  And do not use abandonment.

When you have finished, close your port.

Do you still need this loop for writing?  It is not supposed to ask you something without looking for the answer.

You have things on your much too spread out front.  Trying to reduce what you and integrate all in one screen.

Here's what a version purified to the top of your block diagram should look like a little:

Tags: NI Software

Similar Questions

  • How to activate the RS232 and USB communication on the guest operating system in vmware ESXi 4.0

    I installed a software in the OS (redhat 5.0) invited to vmware, it must communicate with the device via RS232 or USB

    but not to communicate.

    Vmware tools is installed.

    I try to change the attribute of vmware, add the com port and USB, but still, it does not take effect

    What is the RS232 or USB available on the operating system called?

    How to activate RS232 and USB?

    USB and series are not available in a prompt. There are IP network series and usb IP devices that can be used.

  • Numbers - graphs and charts - how can I add notes to individual groups of points of data or data points in a series.

    I use a 2D line chart to show the status of my weight loss I will give my doctor.

    I want to select a group of data points, or individual data in the notes to table and place the points or the labels on them so I can identify things like water weight loss, the consumption of food and splurges, and so on.

    Thank you, Eric

    There is no such feature.

    You can, however, add a column to the table where you enter the data and make this new column 'Notes' or 'Description '.

    You can also use the arrows and other graphic elements in the menu "Shapes" to highlight specific items of interest.

  • Read from worksheet and chart several XY graph

    I'm reading a text file by using the function "reading worksheet. Then, I want to plot the data on a single graph XY.

    The text file contains 4 coloums and the first coloumn is X axis and the rest are for Y axis. I'm not able to get the multiple locations.

    However, I could get it to draw when only one chart must be drawn (only 2 coloumn in the file). I have attached my VI and a photo here.

    I need help to draw several graph XY of the text file with 4 columns.

    Hi Bachna,

    You need to build an array of clusters in several locations on a xy chart. You have created a cluster for a parcel. Again, you try to build a similar clusters for several plots.

    Kind regards

    SrikrishnaNF

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • How to synchronize streams RS232 and GPIB in labview

    Dear all, SOS.

    I built a system with 2 instruments GPIB and serial RS232 1 instrument.

    The VI works well with high light performance. But when I run the program normally with games step by step, what I get is only the stream GPIB. The serial data is not found after reading the GPIB data.

    I wonder if there is a sync issue. If so, how can I get these two data streams synchronized?

    BTW: I was trying to use the RS232-GPIBCVA converter to connect GPIB, but always had error6 at visa read. I still can't understand. Without the GPIB-RS232 converter, data can be read with the series making.

    I'm fighting this case several days, hope you guys can give me some suggestions!  Thank you very much!

    Zhenxing

    A quick glance and I don't know why you need all local variables. And even if you have bunches of error wired inside all of these structures from sequence (you should also get rid of), you have not connected to the indicators or pass them to the sequence of the sequence. I have a question some of your other codes. With each iteration of the inner loop, you can reset each instrument. It is highly unlikely that you need to reset or initialize the serial port more than once.

    You will need to also get rid of the constant cable outside during the end of the Terminal loop. Using the button abandon, this isn't the right way to stop a program.

    Highlight the performance slows down the program in a little. You may need to add some delay. Run in normal mode and set breakpoints so that most of the code that runs at a normal speed. By the process of elimination, you will finally find the area problem.

    p.s. These are Keithley instruments, you should really try the drivers that are available.

  • BSoD - error DRIVER_OVERRUN_STACK_BUFFER and chart use disc in the Task Manager showing constant 100% graphic

    All of sudden it began to show "BSoD - error DRIVER_OVERRUN_STACK_BUFFER" and while the system is turned on, it displays "chart use disc in the Manager of tasks showing constant 100% graphic.

    Friends, this is

    IT HAS THE FILE INFO MINIDUMP AND ZIPPED SYSTEM.

    Please go through it and help me friends :(

    SkyDrive link: https://onedrive.live.com/redir?resid=3CFADFC6344DFA0A%21263

    It worked, thanks!

    All attached files of the DMP are the verification of bug DRIVER_OVERRAN_STACK_BUFFER (F7) .

    This indicates that a driver has saturated a stack-based buffer.

    A driver invaded a buffer based on the stack (or a local variable) in a way that would have replaced the function's return address and jumped to an arbitrary address when the function returned.

    2: kd > k
    Call child-SP RetAddr site
    fffff880 '192edc58 fffff880' 03da0f6e nt! KeBugCheckEx
    fffff880 '192edc60 00000000' WinFLAdrv + 0x3f6e 000000f7
    fffff880 '192edc68 00fff880' 6d2ebda0 0xf7
    fffff880 '192edc70 0000f880' 03da3019 0x00fff880'6d2ebda0
    fffff880 '192edc78 ffff077f' fc25cfe6 0x0000f880'03da3019
    fffff880 ' 192edc80 00000000 00000000 of ' 0xffff077f ' fc25cfe6

    WinFLAdrv.sys invaded a buffer based on the stack, so called bug control. It is a pilot

    associated with the Service of NewSoftwares.net WinFLAdrv.sys Application. Uninstall ASAP!

    Kind regards

    Patrick

  • How to build a page using combo of Muse and edge to animate that updates the tables and charts of data from the Web site as Google Analytics tracking data?

    Is it possible to build a statistics page of back-end bit as a catalyst for business where information is collected in real time and updates of maps or charts which I can build in edge animate?  I want data analytics google for updating a cat that shows the clicks of visitors/page etc, but I want to design my own user interface for this.

    I know some coding etc may be involved, but can someone point me in the right direction?  Is this possible with edge animate?

    Screen Shot 2015-12-15 at 6.50.02 AM.png

    Edge will be animated plays the associated file for real time function, you can look for other solutions spare or better is to contact some experienced web developer who can build these tools for you.

    Thank you

    Sanjit

  • Data read rotation Labview via a cable line RS232 and USB converter series

    I have a program to read a string of data to a 2B Technologies Ozone monitor model 202.  The program does not come to the top with an error message, but every 30 to 40 hours Labview will turn my row of data.  For example, if a normal data row is 34.5, 37.5, 812.0, 934.0, 07/11/14, 11:52:38 and coma delaminated, then the problem is the reading (first digit) ozone layer displays the reference zero, then the seconds of the playback time will be moves in the spot ozone in the data file and the line will turn from there.  I tried to change the bytes being read to the Labview program and the many ways of emptying the buffer, but the problem is still there.  I have attached an example of data file in which the problem took place and a screenshot of my labview program.  I am a user of labview fairly new descriptive help would be much appreciated.  Thank you!

    When you use a termination character, do not use the bytes to the Port. Just wire a constant to the number of bytes that is larger that the largest message possible.

    Lynn

  • Separated from the chain and chart

    Hello

    I work in LabVIEW 13. I get a string from a robot in this format: "[X, Y, Z]," where X, Y, Z are numbers that vary in character count. I am wanting to split these 3 double channels separated with just the numeric values (i.e. remove the square brackets and commas) and then graphic error between the ordered position data vs the returned position data. I looked at the search and replace and split strings of vi, but I'm kind of confused on how to use them properly.

    Can someone point me in the right direction for the first split the strings and graphics then the numbers?

    Thank you

    SM

    Graphic, I think you can figure out to play around with the numbers. To help you get started, here's how would you use string analysis for 3 numbers:

    If you are just graphical error between actual and theoretical, it's easy. Get the XYZ difference between two points, and then perform a calculation of Pythagorean theorem on the resulting vector.

  • I would like to central to use a pdf form and then be able to draw ideas on this subject as well. I use it for a hospial in journal of the anesthetic, that has the menu drop-down of selected drugs but then must be able to graph and chart anesthesia throug

    Hello there I'm trying to create a pdf of dull function, which will allow me to use a form menu to choose drugs.  So let me draw the anesthetic on the same form.  Then send the final work to our hospital.  Is it possible to do so.

    Thanks for any help.

    Hi rhett,.

    Please see this KB document for the creation of a PDF form Acrobat help. Create and distribute PDF forms.

    See this KB doc for drawing tools & markup. helps Acrobat | Commenting in a PDF file.

    You can also add graphics & graphics from other applications using PDF too.

    Kind regards
    Nicos

  • Update charts and datagrids based on selection

    I have trying to find documentation and examples explaining how I can choose something in a combobox control and do fill a series of datagrids and charts.

    GUIDELINES:

    Has. using a table XML of all municipalities in our region populate a combobox.  Then have the user select the municipality they are interested.

    B. take a picture of census which is in XML format and using HTTPServices read it in Flex and then based on what the user selected municipality fill a datagrid and a variety of graphs with data pertaining to the muni.

    I know that it is done because I see it all the time and took a class last week where it has been shown.  Unfortunately, it was the last day of the class and time was running out, so we received a brief overview of this.

    I would be very appriciate anyone who can tell me the samples and documentation either online or in books.  And I should mention that the terminology is always a problem.  I'm trying to do a custom event or what?

    The code below all the works.  What I want to say that I am filling successfully control combobox and datagrid with the appropriate data.  I'm not able to get the two communicate with each other.  In other words the datagrid is showing the whole table and ignoring the combobox.

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = "http://www.adobe.com/2006/mxml"
    Layout = "vertical".
    creationComplete = "initApp ()" >

    < mx:Script >
    <! [CDATA]
    Mx.rpc.events import. *;
    Mx.controls import. *;
    Mx.charts import. *;
    Import mx.collections. *;

    [Bindable]
    private var acMuni:ArrayCollection = new ArrayCollection collection;
    [Bindable]
    private var acCity:ArrayCollection = new ArrayCollection collection;

    private function initApp (): void {}
    muniHS.send ();
    cityHS.send ();
    }

    private void eHandler(e:ResultEvent):void {}
    acMuni = e.result.GetAllMUNIS.MUNIS;
    }

    private void fHandler(e:FaultEvent):void {}
    var faultInfo:String = "error code:"+ e.fault.faultCode + "\n\n"; "
    "faultInfo +=" error string: "+ e.fault.faultString+"\n\n;
    mx.controls.Alert.show (faultInfo, "lack of information");

    var eventInfo:String = "event target:"+ e.target+"\n\n"; "
    ' type of event eventInfo += ":"+ e.type+"\n\n;
    mx.controls.Alert.show (eventInfo, "Event information");
    }

    private void eCityHandler(e:ResultEvent):void {}
    this.acCity = e.result.GetCITIES.CITIES;
    }
    []] >
    < / mx:Script >

    < mx:HTTPService id = "muniHS".
    URL = "" Data / GetAllMunis.Xml ""
    result = "eHandler (Event)" "
    Fault = "fHandler (Event)" "
    showBusyCursor = "true" / >

    < mx:HTTPService id = "cityHS".
    URL = "" Data / CityNames.Xml ""
    resultFormat ="object"
    result = "eCityHandler (Event)" "
    Fault = "fHandler (Event)" "
    showBusyCursor = "true" / >

    < mx:Panel width = "100%" height = "50%".
    paddingBottom = "10".
    paddingLeft = "10".
    paddingRight = "10".
    paddingTop = "10" title = "DataGrid" >

    < mx:ComboBox id = "muniCB".
    dataProvider = "{acCity}".
    message = "SΘlectionner town".
    labelField = 'city' / >

    < mx:DataGrid id = "dg".
    Width = '100% '.
    Height = "100%".
    dataProvider = "{acMuni}" >
    < mx:columns >
    < mx:DataGridColumn headerText = "municipality" dataField = "City" / >
    < mx:DataGridColumn dataField = "year" / >
    < mx:DataGridColumn headerText = "month" dataField = "month_no" / >
    < mx:DataGridColumn headerText = "labor force" dataField = "laborforce" / >
    < mx:DataGridColumn dataField = "employee" / >
    < mx:DataGridColumn dataField = "unemployed" / >
    < mx:DataGridColumn headerText = "unemployment rate" dataField = "unemp_rate" / >
    < mx:DataGridColumn headerText = "tract" dataField = "geogkey" / >
    < mx:DataGridColumn headerText = "tract extended" dataField = "geogkeyx" / >
    < / mx:columns >
    < / mx:DataGrid >
    < / mx:Panel >
    < / mx:Application >

    Thanks for any help you can provide

    Richard Krell

    If the position meets your querstion or help, please mark it as such.

    First, use XMLListCollection to the data for the ConboBox and the xlcMuni result with Manager (instead of acMuni).

    Here is a simplified version of your app with the answer. It uses e4x for the filtering syntax.

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=13_Working_with_XML_03.html

    -CityNames.xml-



      Chicago
      New York City
      Boston

    -GetAllMunis.xml-



     
        Chicago
        1866
     

     
        New York City
        1872
     

     
        Boston
        1756
     

    -MainApp.mxml-


    http://www.Adobe.com/2006/mxml '.
    creationComplete = "muniHS.send ();cityHS.send();" » >
     
        Import mx.events.ListEvent;
    Mx.rpc.events import. *;
    Mx.controls import. *;
    Mx.charts import. *;
    Import mx.collections. *;
     
    [Bindable] private var xlcMuni:XMLListCollection = new XMLListCollection;
    [Bindable] private var xlcCity:XMLListCollection = new XMLListCollection;
    [Bindable] private var xlcDG:XMLListCollection = new XMLListCollection;
     
    private void eHandler(e:ResultEvent):void {}
    this.xlcMuni = new XMLListCollection (... with e.result);
    }
     
    private void eCityHandler(e:ResultEvent):void {}
    this.xlcCity = new XMLListCollection (e.result.city);
    }
         
    private void populateDG(evt:ListEvent):void {}
    var temp: XMLList = xlcMuni.copy ();
    xlcDG = new XMLListCollection (temp. () city is ComboBox (evt.currentTarget) .selectedItem));
    }
    ]]>
     

     
    useProxy = URL "" Data / GetAllMunis.xml ' = 'false' "
    result = "eHandler (Event)" / > "
     
    resultFormat = "e4x" result = "eCityHandler (event)" / > "
     

       
    prompt = labelField 'Select a common' = 'city '.
    change = "populateDG (Event)" / > "
       
    dataProvider = "{xlcDG}" >
         
           
           
         

       
     

  • Chart and region countries (colspan) report to a dashboard

    I created a dashboard display using reports and charts flash APEX.
    The page is in 4 columns, with 6 regions positioned as follows:

    111 2222222 33 44
    111 5555555 66666

    Regions 1-> 5 flash cards.
    Region 6 is a report.
    The problem is, region 6 will not extend over 3 + 4 columns/maps.
    It shrinks to the width of column 3 only.
    colspan = "2" doesn't seem to work.
    All regions are in the "body of the Template of the Page 1" Point of the screen.

    What attributes of region or region attributes (as appropriate) HTML table cells will ensure report 6 spans columns/3 + 4 cards?

    Hello

    I wasn't aiming to give you the final solution to your problem. Also, I have not tested the code myself to see who really worked. Only try to give you some tips and a starting point...

    That said, you should not replace your code with the one I posted. You need to replace only a portion of the code, now all the other elements as the overall Notification, success Message Navigation bar, #BOX_BODY # etc. In addition, you must adapt the code to fit your needs.

    But now the question is: have you worked? The tables were presented where you want?

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • How to contact Compax3 via RS232

    "We have a driver/Compax3 servo controller and need to communicate to via RS232 and the orders of the" object "(e.g."o680.5"retrieves the current position." However, I was unable to get the controller to really transform our engine. Someone has he done that before could provide examples of code?

    LV 2009 SP 1

    Windows XP

    You should still be able to read and write objects while it is configured as a T30, but you would need to write a program of IEC which reacts to changes in your variables.  I just did a project with a positioning more comms, and it was some time ago.  My HMI would send '2O 1901.1 =' to define a position and ' $2O 6103CR "to move to the position.  Note the space, and the Czech Republic is a carriage return.  Unfortunately, Parker US doesn't have much experience with the communcations for this product, and the documentation is poor.  You can call technical support of Parker in California.  Rich Rittis would be your best bet to get answers on it.

  • Reading from the sensor to LabView via rs232 or Subvi problem

    I'm quite new to LabView and not too experienced with instrument control so I was wondering if someone could help me to solve my problem?

    Currently, I'm using LabView 2011 and I'm trying to read pressure DualGauge of Pfeiffer (TPG 262) pressure sensor and display the readings of two pressure on LabView.  However, when I run my program, the pressure readings are not displayed - what is displayed are default 0.00 if same mBar pressure reading a reading of the display of the DualGauge probe.  To connect the sensor, I use a RS232 cable and have managed to find the device on my device manager, so I don't think that the connection is the problem (I've also seen the port appears in the Device Manager, when I connected the sensor via RS232 and USB in my computer).  I also use Subvi Pfeiffer in my code, and I suspect that the problem may be in there.

    Attached is my code and here are links to the manual of the DualGauge and the driver of the software LabView of Pfeiffer

    Double manual gauge - p. 23 and 68 are probably the only things related to the RS232 connection.

    http://www.idealvac.com/files/brochures/Pfeiffer_TPG262_Operating_Instructions.PDF

    DualGauge LabView driver - software Pfeiffer double gauge LabView driver 2009

    http://www.Pfeiffer-vacuum.com/products/measurement/activeline/measurement-equipment/OnlineCatalog.a...

    Any help is very appreciated!

    -Candice

    You have not tested really do anything. Devices and MAX Manager displays only the com port that you added to the computer. It does nothing to verify that an instrument is truly connected. You might have the wrong settings of com or the wrong type of cable serial (null-modem is required). I suggest that you start with program such as hyperterminal, PuTTY or MAX and try something simple. It seems that you will receive an acknowledgement returned by the instrument when a correct command is received. Make sure that this simple step that happens.

Maybe you are looking for

  • Skype crashing on windows 8.1 when you answer a call

    I researched and tried a lot of things about a lot of different solutions and found nothing. I've updated my display driver last night and now whenever I try to access a Skype call it freezes my computer, I can give details if requested.

  • My "Laptop" no longer works after installing Bios 1.9

    Recommendation of the Toshiba Tempro own service, I downloaded and installed a driver yesterday. Since then, doesn't Win Vista anymorer. The system is not repairable, also with the help of the RECOVERY DVD (s). On recommendations for the elimination

  • Advances of paper but will not print using Windows XP, computer HP Pavilion DV6000 CTO laptop and HP PSC 2210 all in one with USB

    Communication takes place properly between the printer and the computer. Paper advance but not printing on the page. Printer copies fine. Pilots are underway. Help, please!

  • 10.2.0.5 upgrade to 11.2.0.4 fails

    I get these errors on the Oracle server log:LS-00302: component 'JOB_TYPE_ID' must be declared.ORA-06550: line 5, column 19:PL/SQL: Ignored ElementORA-06550: line 6, column 40:PLS-00302: component 'MAJOR_VERSION' must be declared.ORA-06550: line 6, c

  • License: SN184 or not?

    Hello.I would like to know what the difference between the licenses 'A VIDEO SN184' and 'A VIDEO' for Creative Enterprise Cloud?The video video/no part I am aware after reading ONE VIDEO AND ONE NON-VIDEO but I can't find anything on the SN184 party