Read and display data in series

Hi all

I use LV2013. I created a VI that reads the value of the measure and display in a waveform graph. The measured values are transmitted continuously but to form an image (using a specific algorithm), each image requires 144 measurement values. The process is repeated to form another image with another of 144 measured values. My question is: How do I verify that I will not fail of all measured values? Currently I apply a loop with 144 iterations. Is this a correct way?

Thank you.

Because you have a loop in the 2nd loop that takes any element you just removed and creates an array of 144 of the said elements.  Why?

You don't need the timeout on your waiting for what you are doing.  It's better if you have the producer loop send a signal to the consumer to tell him to stop treatment.

See attached changed VI.

Tags: NI Software

Similar Questions

  • How to read and display a my a miccrontroller (MCB1700) on labview signal connected via a port on a PXI machine CAN

    How to read and display a my a miccrontroller (MCB1700) on labview signal connected via a port on a machine PXI CAN?

    I tried using a DAQ Assistant, but the port is not included as one of the physical channels supported, even if all his drivers are up to date.

    Help, please...

    Thank you.

    If you can read it in MAX, then you should be able to run the NI CAN example.

    Help-> find examples

    Find the CAN and watch CAN Receive.vi.

    Basically, set up the network, open the object, read in a loop close object when it is done.

    If you have any questions about the example, go ahead and post your vi and we can work from there.

  • When I click get mail, why my messages are automatically read, my tools, options, read and display, is defined no to read messages automatically?

    IM using windows 7 on a computer toshiba laptop. Tools, options, read and display, settings do not seem to
    to take effect.

    kasbr

    And your via IMAP and read your mail on another device and the State is synchronizing. Although some phones I understand making mail as read when you download it.

  • Reading and saving data of two serial ports

    Hi, I googled similar questions in the forum, but I don't have an answer for my problem so I'm posting it here.

    I would read and record data of two balances throgh serial ports. I have a drop down menu in VI, I can choose the availabe ports on my pc. But it is still only one that works. So I only get one data scales them.

    I usually get to choose 6 ports, but only one of them works. So I'm wondering if this is something that has to do with my pc or the VI?

    I've attached a screenshot of my VI.

    Thank you =)


  • When I plug my portable hard drive to the usb port it does not read and display the contents...

    When I plug my portable hard drive to the usb port it does not read and display the contents...

    Hi deaza,.

    Ø Have you connected the USB hard drive to the computer directly or you have used an external USB hub to connect?

    O trying to connect to another USB port to check if it works?

    O the hardrive shows in windows of the computer when you connect it?

    Method 1:
    If you have installed security software, I suggest you to temporarily disable the security software and connect the USB and check to see if the same problem happens. Make sure that you enable the security software after checking.

    Alternatively, you can try to plug the USB key into a different USB port and check if it helps.

    Method 2:
    I suggest trying to launch hardware and troubleshooting of devices and check to see if it helps, here is the link:http://windows.microsoft.com/en-US/windows7/What-to-do-when-a-device-isn ' t-installed-correctly

    Method 3:
    If this does not help, then follow these steps:

    (a) remove all your USB devices. Use the safely remove the feature to turn them off.

    (b) open Device Manager and navigate to the section for USB. Uninstall all USB drives. There should be one for each USB port, and then restart.

    To open Device Manager, go to the link below and follow the steps:

    http://Windows.Microsoft.com/en-us/Windows7/open-Device-Manager

    (c) Windows should re - find all of the devices. If it is not the case, note the error message and let us know.

    You can also navigate to the link below and follow the steps to install the USB device.

    http://Windows.Microsoft.com/en-us/Windows7/install-a-USB-device

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • global variable functional to read and write data from and to the parallel loops

    Hello!

    Here is the following situation: I have 3 parallel while loops. I have the fire at the same time. The first loop reads the data from GPIB instruments. Second readers PID powered analog output card (software waveform static timed, cc. Update 3 seconds interval) with DAQmx features. The third argument stores the data in the case of certain conditions to the PDM file.

    I create a functional global variable (FGV) with write and read options containing the measured data (30 double CC in cluster). So when I get a new reading of the GPIB loop, I put the new values in the FGV.

    In parallel loops, I read the FGV when necessary. I know that, I just create a race condition, because when one of the loops reads or writes data in the FGV, no other loops can access, while they hold their race until the loop of winner completed his reading or writing on it.

    In my case, it is not a problem of losing data measured, and also a few short drapes in some loops are okey. (data measured, including the temperature values, used in the loop of PID and the loop to save file, the system also has constants for a significant period, is not a problem if the PID loop reads sometimes on values previous to the FGV in case if he won the race)

    What is a "barbarian way" to make such a code? (later, I want to give a good GUI to my code, so probably I would have to use some sort of event management,...)

    If you recommend something more elegant, please give me some links where I can learn more.

    I started to read and learn to try to expand my little knowledge in LabView, but to me, it seems I can find examples really pro and documents (http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/ , http://forums.ni.com/t5/LabVIEW/Community-Nugget-2009-03-13-An-Event-based-messageing-framework/m-p/... ) and really simple, but not in the "middle range". This forum and other sources of NEITHER are really good, but I want to swim in a huge "info-ocean", without guidance...

    I'm after course 1 Core and Core 2, do you know that some free educational material that is based on these? (to say something 'intermediary'...)

    Thank you very much!

    I would use queues instead of a FGV in this particular case.

    A driving force that would provide a signal saying that the data is ready, you can change your FGV readme...  And maybe have an array of clusters to hold values more waiting to be read, etc...  Things get complicated...

    A queue however will do nicely.  You may have an understanding of producer/consumer.  You will need to do maybe not this 3rd loop.  If install you a state machine, which has (among other States): wait for the data (that is where the queue is read), writing to a file, disk PID.

    Your state of inactivity would be the "waiting for data".

    The PID is dependent on the data?  Otherwise it must operate its own, and Yes, you may have a loop for it.  Should run at a different rate from the loop reading data, you may have a different queue or other means for transmitting data to this loop.

    Another tip would be to define the State of PID as the default state and check for new data at regular intervals, thus reducing to 2 loops (producer / consumer).  The new data would be shared on the wires using a shift register.

    There are many tricks.  However, I would not recommend using a basic FGV as your solution.  An Action Engine, would be okay if it includes a mechanism to flag what data has been read (ie index, etc) or once the data has been read, it is deleted from the AE. 

    There are many ways to implement a solution, you just have to pick the right one that will avoid loosing data.

  • Read and display an Excel sheet

    Hello LabVIEW community.  I am going through a bumnch of subVIs ActiveX, trying to figure out how to do something very simple.  All I want to do is read a whole Excel sheet and display it in a table.  Single page.  Any help would be hot.

    camerond wrote:

    Freeshape wrote:

    Is it possible to program this example to read simply all the columns and rows until it crosses like maybe 3 repetitive empty cells instead of having to explain what row/column ends at?

    Sure. Give it a shot and let us know how you solved it.

    Cameron

    You are right!  It has been possible.  Use of loops and check to see when the cells begin to repeat.  I named it GetXL_CellValues_2D_String_All.vi

    I've done mine if lots of my excel sheet.  It is easy to make independent excel sheet.

  • How to read and display the .ai file in CS4 SDK?

    Hi all

    I drew an own and saved the socument as file traingle.ai.

    Now, I want to read/open the traingle.ai file in the plugin.

    [Lets say, I want to read this file based on GoFilter ()]

    Is there an API to read file .ai in CS4 SDK? and display as well?

    If you mean autonomous (outside Illustrator) the answer is no. The SDK is reserved for the plugins loaded into Illustrator. If you want to open a file from Illustrator that is perfectly doable if. I think that AIDocumentList:: open() that will handle.

  • Read and write data to the content repository.

    Hi all
    We use the content repository to store a document and images on the web server in the Center.
    So we have created/setup a repository of content on the web center.
    Please proivde me some might document page to get an idea of how I can read and write the date
    content repository.
    You are most welocme to provide some idea /suggestion.
    Thank you
    Arun.

    You are using webcenter spaces or you create a custom application webcenter?

    When you create a custom application webcenter, you can make use of the workflow Documents. Jdeveloper resources catalog, you will find a few flows of Documents job that will allow you to add some components to manage documents in a folder structure.
    You must first create a connection to your content from your application server. This can be done in the Application resources, right-click on the connection and in the context menu, select "content repository". Them you must filll in connection to your content server details. Make sure you have selected "Set as primary connection for document service" because otherwise the document taskflows you deposit on your page will not find a connection.

    Once you have added the connection, you will also find a datacontrol to the content repository. In this way, you can use the datacontrol place the taskflow and you can create several custom tables.
    I'm not sure but I think the datacontrol also include surgery to create the document but I'm not sure...

    And if not enough, you can always do use the webservices provided by content server. In Jdeveloper you can easily create a datacontrol from Web services by providing the wsdl file. UCM provides for services so that you can import the wsdl into your application and you can easily create your own forms checkin, tables...

    Here is some information on how to integrate services document:
    http://sqltech.CL/doc/oas11gR1/WebCenter.1111/e10148/jpsdg_doc_lib.htm

    and here are some others:
    http://sqltech.CL/doc/oas11gR1/WebCenter.1111/e10148/jpsdg_content.htm#BABCCFJH
    http://sqltech.CL/doc/oas11gR1/WebCenter.1111/e10149/documents.htm#WCSUG2635
    http://sqltech.CL/doc/oas11gR1/WebCenter.1111/e12405/wcadm_documents.htm#WCADM205

    Published by: Yannick Ongena on Oct 8, 2010 08:23

  • Reading and writing data XML of BC4J

    Hello!

    I try to reproduce "27.7 reading and writing XML data" chapter of 'Developer Framework of developing applications for forms/4GL developers's Guide. "
    Our intention is to read and write at first only XML.
    However, it seems that we need this chapter a database connection.
    To shorten this assessment - is it possible to adf bc only with xml?

    Kind regards
    Torsten

    The solution is described in "27.8 Using programmatic view objects from other Sources of data" in the doc you mentioned. If you use programmatic EO/VO you can do almost what you what to store data. We use xml for some data (but always store in the DB) and read it.

    Timo

  • My document Pages when sent in PDF format opens with Acrobat Reader and displays the text pane

    Hey team

    I am a new user of recent Mac and I have some difficulty with the Pages.

    I'll create a new document and save it as a PDF file (save it to the desktop), when I open it again, it opens with Acrobat Reader and the text released along side this one pane. It does not open a document own stand alone. This cause me a problem when I want to send it as an attachment, as it includes this component, as well as all other toolbars with.

    Any help on this would be appreciated.

    SSA56,

    When you send the PDF document as an attachment, it will be sent as a document 'stand alone '. It will be open according to the preferences that are set by the receiving party.

  • Is it possible to read and display multiple images?

    Hi all

    Using the dom parser, which analyzes the Thumbnailimage of RSS

    Images/51-ABP-1 - vpf.gif

    There are several tags of this type in this RSS feed that contains different images

    is it possible to analyze images and display them in a list?

    If you have a problem (image download), please see the links below

    http://www.java2s.com/code/Java/J2ME/Downloadandviewapngfile.htm

    http://www.Java-tips.org/Java-me-tips/MIDP/how-to-download-an-image-from-a-Web-server.html

  • Collect and display data from several workstations

    Currently, the data in the CSV format locally on several workstations running Labview and the format of the recorded data is the same for each workstation. Data are recorded roughly every 2 minutes at each station and at different times.

    Computers of these stations are connected network but no saves a copy of their files CSV to the server that I know is not ideal, but a part of memory original.  What is now there that a computer on the network brings together these data by workstations and then the poster showing trends in workstations etc. in graphic format and possibly Excel.

    What I'm looking for is some advice on the best way forward.

    I looked at shared variables as a possible solution, but it is work stations send their respective data to the 'central' PC or this PC "questions" workstations that seems inefficient.

    Another thought was using Active X workstations to write in an Excel file running on the "central" PC

    Finally thought that workstations have record their findings to a server and then 'central' PC to access that data, it brings together and then displays the results combined.

    There are several things that remains to be clarified.

    • All LabVIEW programs, individual data record data in the same format and the same number of data points?
    • Record all programs of LabVIEW at exactly the samerate?
    • Are all data on a be saved in a single file of the Machine, or each reading (at intervals of 2 minutes) in a separate file?
    • You are trying to combine data from different machines such that it is collected or after the entire collection was done, and all files have been written?
    • Another that the timestamp of the data file, is there a "time stamp" in (all) the individual data files?
    • If you assume that the data of different machines are more synchronized, you have in mind a way to combine the different readings of the time?  What happens if they are sufficiently different that, say, the Machine has 20 readings more (because it started much earlier) than other PCs?
    • If the machines are not saving at the same rate, how will handle you that?

    A single method, you might consider is to write a program that works on any network connected PC, including a no participate in the recording of data.  For simplicity, assume that each machine "participatant" starts at around the same time, saves exactly at the same rate, written a single data file and has already closed.  If the program "Combining" knows where all data files (because he knows the name of each machine and the location of the file on each machine), it can open all the files, collect all the data and treat it but want to (including a 'combined Excel workbook"writing with a spreadsheet separate for each PC, or combining them all on one sheet).  Just decide what you want to do in the context of the issues raised above.

    Bob Schor

  • How use the serial port read and display the text but not scroll off the screen?

    I'm new-ish/return user fan of Labview and trying to change the example VI "Advanced serial write and read VI" is the part of the dev suite 2012.  I need to use the string box for ALL of the text from a serial port, always adding and just roll off the screen when the actuals come to the serial port.

    What actually arrived more than bytes (or no bytes AT ALL!), during reading time text, current rolls out of the box in the chain.  Even when receiving 0 bytes, screen is removed.  I'm not very familiar with the locations of functions and even worse to understand obscure references to functions, so please keep very basic answers so I can follow.

    Just to be clear, I need window of the chain behave as HyperTerminal does always displays the data and it is not pushed by window arbitrarily.

    Thank you

    Steve

    A long shot.

    Is that what you want?

  • storage, reading and writing data to the file

    Hello world

    I am new to the Labview and his community.  Asked me to acquire data on the measurement of the pressure using Labview.  I could build the code and got it working, but when I look at my data that has been collected, there no stopping point.  I just spent a lot of time looking at the data in the place where it begins and where it ends.  The question I ask is how to create a code to read the pressure, storage, in memory until there finishes, collect data and then to write in a .csv file.

    I use the NI USB-6009 case and hook upwards to ai0 and ai4.  See the attached code so uncertain.

    I want to record 100 data points and the system stops after these collection.

    Thank you

    John H.

    You have a certain time which means your VI will continue to run until you press your button to stop the loop.

    The DAQ Assistant is already set to 100 samples.

    Just delete the while loop!

Maybe you are looking for

  • Tags not working not properly.

    We have 4 people using the tag feature in Thunderbird. We have the taxonomy of tag set up identically on each machine. The system worked great years, but just last week we had some glitches. One of the members of our team can score on his own compute

  • While on Firefox, I get a warning that I need to apply a patch of security of full screen

    The full page WARNING seems authentic, Firefox logo, etc. I am advised to click on a link for the patch. However, the address for the sender is looking for suspects. I copied it and if a search engine has checked and it is an entity of the Government

  • How to manage PDFs in iBooks

    I have well over 200 PDF files in my iBook.  Before a recent IOS update, the "move" command sets actually documents in the relevant folders that I created over time. Now, I can still create these folders but my main PDF file has all of the PDF files

  • iTunes - classical music is not Compatible?

    Screenshots pretty much say all this.  I find it impossible to listen to music on iTunes because I can't see the titles of a complete follow-up and it is apparently impossible in playback or album to create the broader title column.  I don't own a 60

  • Two Windows 7 64 bit updates do not. (KB977074) (KB976972)

    Two Windows 7 64 bit updates do not. Update for Windows 7 for x 64-based systems (KB977074) Update for Windows 7 for x 64-based systems (KB976972) Error details: code A 80071, 90 It's the third day, they fail to install. OS is Windows 7 64 bit Proces