Thread indicating real-time

Hello world

I would like to have two (or more) son (all or loops), which modifies a data value in each etaration and indicate that with an interface thread, which is independent of the others (so I have only a single indicator for multiple threads). Something like (just like a dummy example):
 

Is this possible and if yes, then how?

Thanks in advance.

OK, it works now:

Thanks anyway.

Tags: NI Software

Similar Questions

  • I have an installed with real-time PXI-8109 module. Displays the indicator USER1?

    Hi all

    I have an installed with real-time PXI-8109 module.

    USER1 indicator LED displays on the Panel?

    Thank you

    The LEDs of the user are the indicators that you can control programmatically if needed be.

    -Jayk

  • monitor thread on the system in real time

    I have a SMU-8101 controller in my PXI system. I have it running with a system of operating in real time. I inherited some software WHICH has been used on a program of LabWindows used on a PC with a Windows 7 operating system. The SOFTWARE seems to work OK. My problem is when I leave the program I get an ERROR of EXECUTION NOT DEADLY

    "

    Source position thread ID unknown 0x000000EC

    Your CVI program ended on the target in real time. However, there still on the target in real time, the threads that are running or have already run the CVI code.

    Please check that your application cleans all its threads. Son left running after that your application can crash the target in real time when your application is unloaded.

    "

    As I said I got the code and there is a lot of it. I am looking for a smart way to track down these threads. I was wondering if there are tools available that could help with this? Or any other suggestions on how to run these lines down?

    Hi DPearce,

    This article knowledge base has some information on why CmtDiscardThreadPool causes your program hang and gives some recommendations for fixing it.

  • Updated in real-time with text of exec system indicator

    I was wondering if anyone knows how to get LabVIEW to update an indicator of text with information from a command prompt in real time?  So, as if you ping IP show he ping and not just wait until the end to update it.  I try to have a batch file that processes the code displayed on screen so that the user can see that she is running and that it is not frozen.  When I ran the test originally she had a cmd window pop up and show that information was passing.  Since I opened the program with the exec system, it no longer displays anything so I thought that if she showed in a text indicator the problem could be solved.

    Thank you

    Derek

    Help for the system Exec VI

    (Windows) To use a DOS command, insert cmd /c before the command.

    Then try this way the system Exec VI

    cmd /c 172.18.81.54>"C:\temp.txt ping.

    Change the IP address to your needs.

    The quotation marks around the path is necessary if you have spaces in the path of the file.

    Now when you do this you will get nothing back from the exit of stardard, because you have redirected it.

    The results should be read from the file.

  • Time indicated on incoming and outgoing emails not correct with real time sent or received

    Time that appears on all my incoming emails indicating when they were sent and the time on my outgoing e-mail is incorrect and does not take account of real time.

    How can I fix it?

    The time displayed is applied by the email server - be it MSN, Yahoo!, GMail, or somewhere else.  If it is showing the wrong time zone for you, then you should check the settings of your account on the server and if he knows what time zone you are in. - B-
    http://www.officeforlawyers.com
    Author: Guide to counsel for Microsoft Outlook

  • Toolkit of Real Time Execution Trace functional limitation on targets NI Linux real time taken in charge

    We want to start by using the Toolbox in real-time to backtrace of memory allocation profile on a target of cRIO 9035 & 9039.

    The product information (http://sine.ni.com/nips/cds/view/p/lang/nl/nid/209041) page has a note indicating that the Toolbox has limited functionality on real-time OR-Linux supported targets.

    However, I couldn't find any specific details about what are these limitations.

    If anyone can clarify which restrictions apply?

    Are there alternatives (party packages) that offer a feature more complete?

    Hello Jörn,

    Did some more research, the following limitationrs occur on targets LInux RTOS,

    -The Manager of memory when used on targets of Linux, saves only data for LabVIEW processes and threads, not the global memory of the systems.
    -Wait object are not recorded events
    -Trace buffer size cannot be changed
    -Timed loop pre-emption and reactivation of SRI events are not marked

    Hope that this information helps out you in addition,

    Kind regards

    -Natalia

    Technical sales engineer

  • [fpga] Faster communication between FPGA and host in real-time

    Hi all

    I received a card FPGA NI FlexRIO (SMU-7965R) installed on a chassis PXI (SMU-8135 embedded controller). I have an FPGA program to 40 MHz, and I use a real-time program to read a particular variable of FPGA on a regular basis. I do not stream. All I need is to get the most recent value during each execution of the loop of the program in real time (hence, DMA FIFO is not a good option). I am aware that you can read the FPGA indicators in the host program (real time) using the FPGA read/write control function. I used this feature to read a certain variable of indicator FPGA, as shown in the screenshot. The RT program takes 100 micro-seconds (10 kHz), which is not fast enough for my application.

    Is there a faster method to read the latest FPGA data, or the program shown in the screenshot can be modified to reduce the time of loop RT? Any help would be greatly appreciated.

    You're talking about an RT target a sitting in the RT himself FPGA card? If so, have you tried without the IP address of the target. See this thread to see why that would make a difference.

  • LabVIEW 2014 SP1, hardware and real-time PXI

    I'm doing my third LabVIEW Wipe/reinstall in as many days, completely frustrated (and after several calls an hour with the support of NEITHER).  Here's the situation:

    I wrote a fairly large (1000 VI) project of Acquisition/control of our graduate students data used for behavioral experiment on sound localization.  It was developed in 2012 LabVIEW with the module running on a PC/PXI system real time.  It worked very well and was brought successfully under LabVIEW 2014 (with upgrades comparable to the software of the PXI.

    About 18 months ago the students began to write their theses, and at one point stopped gathering data.  Also, at some point, I upgraded the software on this system to LabVIEW 2014 SP1, but I am not sure that I never tested my software with this new system.

    This week, I pulled up the system to use MAX to open some test on the PXI multifunction and DIO card panels to control manually one of the stimuli.  I discovered that MAX could not communicate with the advice on the PXI system - he attributes them as devices VISA, indicating each Board with an icon with a red X means that he could not communicate with the IP that I had assigned to PXI.  Yet, MAX (a) could "discover" this PXI, (b) MAX can 'see' its IP address, and (c) Windows could not only Ping the IP, but could FTP on the drive of the PXI and I could move files back and forth.

    I did two sequences complete "Wipe/reinstall" using LabVIEW 2014 SP1, all giving the same result.  I know it has worked in the past, including when I installed LabVIEW 2014 (without SP1), something I repeat myself now with my third installation.  I discussed with OR (thin?) possibility that there is a "hidden defect" in the Distribution of the SP1, one that is visible to LabVIEW RT users using PXI hardware and go unnoticed because (a) install a few sites of LabVIEW versions SP1, (b) a minority use the RT Modules and (c) PXI is "old material".

    If anyone has such a system or saw a similar problem, please answer.  I'll do a follow-up post if I managed to 'fix' my system by this last reinstallation "a solution of worked before."

    Bob Schor

    Well, the answer is that, in my system, LabVIEW 2014 SP1 with LabVIEW Real-time connected to a PXI system does not appear to connect to boards plugged into the chassis.  Returning to LabVIEW 2014 (fall release), installed in exactly in the same way that the three failed attempts of LabVIEW 2014 SP1, works immediately.  Engineers OR will try to duplicate/verify/possibly patch? in this issue.

    Bob Schor

  • NO 6356 captured data in real time?

    Buenas tardes the comunidad has NEITHER.

    Bueno esta are mi segunda pregunta one NOR photos of Lola gracias por the colaboracion, realmente me colaboraron muchisimo en mi pregunta anterior hasta resolverla.

    Quisiera saber if con tarjeta NI 6356, are el device than hasta el momento estoy operando is can capture data in real time of forma continued, hasta el momento con the the logramos get comunidad ayuda a LABVIEW medio por programa captured datos por 2 minutos consecutive, a una frecuencia muestreo 1 MHz. Adjuntare el programa as estoy manejando hasta el momento , pero me gustaria saber if hay forma Quebec capture the information of manera continued, y poderla stop in el momento deseado, el realmente real programa indico cuanto tiempo pero su limit son 2 minutos mas tiempo types capture a message indicating that sober paso the capacity of memoria interna.

    MUCHAS gracias por su Atención y knew tiempo, igual seguire realizando the tests, TR black find alguna mejora posteare o tr black resolverlo. MUCHAS gracuas a todos espero than me can help.

    Carefully,.

    Andres Saavedra


  • storage of data in real time by program

    Hello

    I tried to solve this problem for a while now and it seems to be no similar examples out there. I'm trying to store data programmatically, firslty by pressing a switch when I want to start taking data and pressing the same switch when I want to stop and save the file. I created an example VI that demonstrates what I want to do; Generate sine wave function inside a while loop infitnite represents data real time acquisition, the other while the loop opens the file and saves the data until the data switch save is pressed again. The file is closed after the loop at the end of execution.

    I did not get this works and if I was hoping if someone could point to me where I went wrong.

    Thank you

    Tip: In programming, always keep the window open context-sensitive help. When you have a problem as the thread cut in the loop of the producer, hover over the wire with the wire tool, and the help context window displays a description of the error. In your case it is said: «Broken wire...» You have connected the two terminals of different types. The type of the source's Waveform (DBL). The type of the sink is a table 1 d of Waveform (DBL)."

    The solution is to make two identical data types.  If you will use multiple channels for your actual data, a table of waveforms (a wave by channel) can be appropriate. If you use only one channel in your VI test, simply use the data type of waveform. The image below illustrates two methods.

    Also, you need not wait (ms) in the loop of the consumer.  The Dequeue function will wait until he has given, and then run.

    Lynn

  • How to pass a variable to a sub - VI a vi in real-time?

    The main calls a Subvi where there is a loop for. is possible to pass a variable from inside the loop for handmade in real-time, this is while the for loop is still running?

    I tried with a global variable. The global itself is updated, but if I put for the most part the global variable with a wire to an indicator, the indicatore is not updated until what the sub that VI has not completely passed control to hand.

    Is it possible to do?

    If you are running in windows, see example vi

  • Control of data using multiple thermocouples via indicators and the waveform in real-time

    I apologize in advance for this question is probably a bit simple but I'm all new to labview and the forum and could use some advice. I have a CompaqDAQ with two 9213 16 modules of track and I'm trying to read in 30 thermocouples in a waveform, but also display 30 indicators so I can mark each indicator with the thermocouple for real-time tracking. Each thermocouple corresponds to a specific location and it is essential that the interface has an accurate indication or a label for each of them. I wonder if there is an easy way to do this in addition to split the signal and have 30 thermometers on my diagram? Perhaps a table any? If I use a table to create 30 thermometers, the DAQ assistant automatically sorts the thermocouples according to ascending numerical order. For example, would be the indicators of first and second on my interface automatically assigned to channels a0 and a1 of the first module, or should I do it manually? Even for the waveform?  Thank you very much!

    PS - Do not know if this message had need of more details, but let me know if more information is needed, and I'll give you!

    I see that you use the DAQ Assistant to create your task.  Now I understand why you may have about labelling.  It is easy of the seller NOR spiel booting...  But in any case, you already have a task to the MAX instead of use the DAQ Assistant?  The interface is similar and there may be a step or two, but your end application will be more effective and you will have more options with your data and properties.  For example, I tried to update the names of physical channel in the DAQ Assistant installation program, that it let you do, but it propagates that change forward to waveform chart legend.  Also, I don't know any property for this dynamic data type node, although I never use it either.  I suggest the setting up of your task and channels, Max if you'd give it a go.

    Since I thought I didn't really takes you all the way with you help, I wrote another one.  It uses a cluster, even if it's a bit barbaric.  I thought that there was a more eloquent way to do by changing labels, but I could not it works as I had expected.

  • Error-307650 during a sequence in real-time with API LV

    I created a basic real-time sequence that checks the time it takes a signal reach a certain threshold.

    On the side of the LV, I use the API to call this sequence. I make sure that all channels and settings are defined as in the examples. However I get 307650 error that says "NEITHER VeriStand: Index was out of range." Must be non-negative and less than the size of the collection.

    ' Parameter name: index.

    Any suggestion to help here? THX. Code is attached.

    There are two problems here:

    1. The Stimulus profile editor is not indicating that there is an error with this sequence, although there is a. Note that the variable InitialTime is used in an expression, but is not declared as a parameter or a local variable.

    2. you get an error at runtime because of it, but it's not terribly useful (index out of range).

    You can fix this by adding a local variable of InitialTime to your sequence. I dropped the CAR 338386 about this bug.

    Once you do this, there is something extra, you will need to set in your VI which runs the sequence so he could get the results of the sequence properly. You use correctly the value of the sequence name to read the back of the sequence Variable. You use the Session name used during the deployment of the sequence. Which does not match the name sequence.

    To get the name of the sequence, use VI to get all the names sequence on your session profile of stimulus to get the array of names for all of the top level of the session sequences, then index on the first point, given that you only use a single sequence. Example below:

  • When I use the library function node call in real time, is loaded only once for all or load the DLL whenever it is called?

    When I use the library function node call in real time, is loaded only once for all or load the DLL every time when it is called?

    I have a critical application in real time, in which I use a piece of DLL function developed in C++.  It is ok?  Make sure any senior developer?

    Thank you in advance.

    The user interface thread is the thread that is used to update the user interface. It's slow. And it's supposed to be that way because humans are slow.

    The call library function node can be configured as this thread to use in the configuration for it dialog box. Please visit the LabVIEW documentation on how to do this.

  • Dialog box to open the file on the target in real time

    It is possible to load data from a file on a local PC to a VI runs on an RT target? I have a RIO OR the VI running on. From the front panel, I want to be able to click a button and have a dialog pop up where I can choose a local file to load data from. The problem is that when I try to use the spreadsheet VI load data it returns an error indicating that the dialogue has been canceled. If I use the express VI from file dialog, the VI will always return true to cancel. The dialog box never appears. It is not possible to open a local file to a VI runs on a real-time target?

    Jon VT-

    This function will not work in time real (RT).  Please see the bulletin 2S9D21OH knowledge base: creation of a dialog box file for use with LabVIEW Real-time for more information on this.  However, it only locates the files on the target of RT.  If you try to communicate with a file on your host computer, you can be forced to transfer this document to the target of RT, or implement a different architecture for this task.  I would also add that given the user to define the source of the file manually create non-determinisme within your system.  Again, it is perhaps another reason to implement a different architecture.

Maybe you are looking for

  • How to record the sound of a website on the Satellite A100-307

    I have a Satellite A100-307.The properties of the audio recordings show only CD, MIC and line inputs possibleI want to record sounds (music) that I hear when I visit sites on the InternetOn the other PC's, I select the Wave or Wave/MP3 input and it w

  • Family safety device does not work

    I put this on my children's computer but when I try I get a window that says family security is on. But he says it's just for mail and a few other things, not the internet. And of course I can go to any site. What is going on? I am running 8.1 btw.

  • Copy of said Vista - Microsoft company store purchase. Must not be sold

    I recently bought an upgrade disc ultimate windows vista from amazon which has a big sticker on it that says: Microsoft company store purchase not to be sold and then there is a space where an employee number should be. I would stay there or what?

  • Change the image background bitmap on a click

    I have the label with a text on the label... and I add a bitmap image right below the label.i put navigation click on the click event of image.for. now what I want,First, when I click on this image, the image will be replaced by a different bitmap (s

  • Rental app run on the Simulator, but not in real device!

    Hello I made a simple application using GPSDemo in JDE, I get altitude, longitude, latitude... I tried in the Simulator (9000) and it worked perfectly. But when I put it on my BB (bold 9000), I can't get the location information. I've done some tests