How can I use notifications to send data from different sources for the same chart?

Hello

I use the model of 'Continuous measurement and logging' project comes with LV 2013.

It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

I ran into a snag though.

I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

I have trouble getting the data from the two sources to display on one graph.

I've isolated the problem in the attached vi.

Here's what happens:

1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

Can anyone suggest how can I fix?

Thank you.

-Matt

Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

Lynn

Tags: NI Software

Similar Questions

  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

  • Different encryption data on different machines for the same input data

    Hello
    I have 2 windows 64-bit machines and I run an application on two of them exporting an Excel with encrypted data. I am using the same data is encrypted in application that gets encrypted, but differs from the (encrypted) encryption algorithm occurs on these 2 machines.
    Can anyone help identify the root cause?
    Version of the application, the version of windows etc. are all the same on both machines.
    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • How can I get a list of jobs that are planned for the days of the future

    How can I get a list of jobs that are planned for the days of the future?

    In a previous article, I found a query that lists the scheduled tasks that are already running. Can I get a similar request for the future days which is compiled?

    Hi sreedevir,

    SELECT jobmst.jobmst_prntname, jobmst.jobmst_name, jobrun.*

    FROM jobrun JOIN jobmst ON jobmst.jobmst_id = jobrun.jobmst_id -joining tables jobmst and jobrun

    WHERE jobrun_proddt > = dateadd (dd, 1, datediff (dd, getdate())) 0, -future dates

    AND jobmst.jobmst_type = 2 -given jobs (and not groups)

    ORDER BY 1, 2 -Sort by name of the parent, then by task name

    Feel free to make any changes to your reporting needs

    ARO

    The Derrick

  • Set a style different cases for the same placeholder (data fusion) used two times in the same text

    Hello.

    I have a document with some parties updated with the fusion of data (via placeholders). Is it possible to set a style of different cases for the same placeholder in the same text. See the example:

    Mike runs its < < vehicule_placeholder > > in the city. But its < < VEHICULE_PLACEHOLDER > > is meant to be shared.

    If the value of this placeholder in the file merger is 'bike', the sentence should be:

    Mike runs his bike in the city. But his BIKE is meant to be shared.

    Is this possible? How?

    Thank you.

    You can do it. A character style for this configuration placeholder text, set in all caps.

  • can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    Yes. The only problem that I see if Macs were different countries. The method of payment in the account/ID must be associated with the country where the unit is located and you can only buy Apps from the store of the country where the computers are located

  • Can I use a Gen 4 and Gen 3 ATV on the same network?

    Can I use a Gen 4 and Gen 3 ATV on the same network?

    Yes.

  • can I use photoshop on a pc and a mac with the same license?

    can I use photoshop on a pc and a mac with the same license?

    Yes, just install the application of cc, https://creative.adobe.com/products/creative-cloud on each computer desktop and use it to install your programs cc.

  • How can I use my drive hard thunderbolt from 8 TB to backup all my wireless devices?

    How can I configure my drive hard thunderbolt from 8 TB to back up all my devices using a Wi - Fi connection?

    What you might hope better would be to use a Thunderbolt-to-Ethernet adapter to connect to the router, but even if it works, it would be like a fire (Thunderbolt) connection to a water hose (Ethernet) is launching... and expect to get more water on the hose... more, the best that can be done without wire will be about half the speed of the Ethernet network.

    Sorry, this is no sense... a Thunderbolt drive is designed to connect directly to a Thunderbolt port on a computer, or in a Garland with other devices Thunderbolt.

    In other words, as soon as you break the chain of connection Thunderbolt, the speed drops to Ethernet or even low speed wireless.

  • How can I using an apple extreme get a better signal around the House?

    How can I using an old apple extreme get a better signal around the House?

    I use an old apple express and a new express from apple.

    I need to update my extreme from apple for the last device namely a time capsule.

    Can I use my apple extreme connected to my new camera add more points around the House?

    What is the model number of the old AirPort Extreme?

    What is the model number of the old AirPort Express Terminal?

    We assume that the model number of the new AirPort Express Terminal is A1392, correct?

    What connects to what now on your network?  It looks like this?

    Internet connection > Modem > new AirPort Express?   How the old Express connects to the new Express?   Cable?  Wireless?

  • How can I use two counters to capture a pulse ttl for a specified time

    Configuration: Card counting 6062 PCI w / BNC 2121 Board running under LV 9.0 PerkinElmer Avanlance Photodiode (SPCM-AQRH-13)

    I searched through the forums and fell on the theme of framing an image while collecting signals from a source for a specified time.

    The example in terms of falkpl in 2005:

    "

    Dismal Hello,

    I'll try to point you in the right
    direction to start coding the application, but do not forget my
    suggestions have to be modified to your specific request.

    For
    the task output redeclenchables finished meter you need to
    your counter seconds in this application, I suggest to take a look
    in the Finder example in LabVIEW ('Help' are examples) and less
    DAQmx hardware entry & exit"" generating digital impulses.  Here,
    you will find some Gen dig Pulse - Retriggerable.vi.  You can use this for
    Create your door 4 pulses ms it's over (not a pulse train) and
    redeclenchables (for each time you go to the next step.

    In
    regards to the configuration of the first counter, there are several things to
    consider, and I can offer initial help to get set up.  You
    in-house allows to route internal CTR1 (4ms of pulse) output for your CTR0
    Door to measure only during the time.  Here are additional
    Info
    to do this in LabVIEW.  The source of your task of edges ABOVE County
    will be the TTL signal you are measuring and counting.  It comes
    on the PFI line that corresponds with CTR0 Source.

    When
    you make a measurement finished with CTR0, you will take only heads while
    the door is high and your source has a rising edge.  You can set the
    measure over to start on a trigger, which is not clear in this
    for example, that you have identified.  Since you know that you have a finished 4ms pulse
    time to measure, you can set the duration of your measure
    as a result.

    I found this
    Forum
    which may help some, but the coding is
    textual.   I hope this can give you a good starting point for
    programming.

  • How can I keep right-aligned to left and paragraphs together on the same line?

    I am currently composing a menu. Basically, I want the title of dish to be aligned to the left and aligned price right, but on the same line. I can achieve the effect by typing in a shift + tab after the text of the title of the dish and then insert the price, but I'd rather have two styles of separate paragraphs, so that I can adjust the world to see what looks good. can I get the effect by adjusting the character of price from the price database and move it to the top, but then if I need to make changes in price, I find it a pain when trying to get the cursor in the right place in situations where a base line is significantly changed.

    Back in time (to Ventura!), I could just remove the line break after the style 'Dish title' and the 'price' would be upwards to the same line, but I can't seem to be able to do this to the CS6.

    Any ideas?

    You can use a table, but I think that a single paragraph with a character style nested to manage the different formatting for the price is more flexible.

  • How is it all my email that comes from facebook comes with the same name

    All the mail that comes from my facebook has the same name as wenfel sand when his mother, wife, friend ect.
    What I've done and how to fix

    Because somewhere along the way you have saved an email from Facebook to your address book, and it has a name associated with it. Will find this contact in the address book and delete the name.

  • How can I use my Sony TV as a computer monitor via the Wi - Fi connection, it uses for file sharing?

    I "ve connected brand sony LED tv with WI - FI connectivity (router) connection. Currently I am able to view the media files from my shared folder. Now, I want to display my monitor on the TV. How can I do?

    Hey joshi;

    I understand what you're asking, and the answer is no. It's just not possible that the way things are right now. There are several ways to get your desktop on your TV, but unfortunately wifi isn't one of them.  Your best bet would be to just connect your laptop to your TV with vga or hdmi, and then use a wireless keyboard and mouse.

    I hope this helps.

  • How can I use a JPEG file as a background image for my vi to 8.5

    Im working on a vi that I intend to help as part of an alarm system.  I would use a JPEG file of my house as a background image for the vi, or possibly to just display in a window on the control panel.  I've seen people use their own images before, but never looked at what it was.

    Im trying to use the 'read JPEG' file vi and the flattened pixmap 'draw' vi to achieve this.  The vi works, but nothing shows up on the front panel.  If I try to create a "new image" flag out of the flattened pixmap 'draw' vi, I get a blank white window on the front panel.

    Any advice?

    Thank you

    The image could be there just not to come to the right place in the image control. What is the control relative to the image? Must be a JPEG file or can you just copy as a bitmap to the Clipboard and paste it on the front panel? Can you put a photo and the unworking VI?

Maybe you are looking for

  • Chrome does not open in El Capitan, fine in Safe Mode

    My Chrome browser opens that rarely when I start it. I'll try to start Chrome icon in the taskbar bounces for a bit and then nothing. If I ask her, I get the "Application not responding" and have to force quit.  Every once in a while, it will be open

  • How to copy music from iPad mini

    I tried to copy some o my music from MacBook Pro (OSX 10.11.3) to mini iPad (IOS 9.2) I have tried several solutions on Google, but have no success following their directions.  I don't want the whole music library to transfer. Most of the instruction

  • P6 - 2220t: System Recovery will erase my scores?

    So, here's the deal. I am running windows 7, tried to install Linux Mint to dual boot with windows. I allocated half of my hard drive to a partition for Linux. Now, due to problems with my Bios, I can't quickly disable windows startup or start-up sec

  • PXI4065

    You can use a PXI4065 to measure pulse?  15 volts to 10 milliseconds. This is my requirement... "the output voltage MUST be at least 10 millisecs > 15 volts.."  There was something that I found in DAQmx which allows to get an array of values using th

  • Keyboard Dell place 11 turns off the shelf?

    Hello, I had some problems with the keyboard travel with built-in battery, that I bought for my Dell place 11. I noticed that when I connect it to my tablet, it will stop just my Tablet and I will lose everything I was working on. I also noticed that