Display in real time with a delayed recording LV6.1

Hi, I need help with LabView 6.1

I have a hardware module FieldPoint where I read 8 channels for thermocouple. I want to display the value of the thermocouples in real time (or as close as I can manage) all saving the values in a CSV file at discrete time intervals (every 10 seconds). I am able to display the values in real-time, but the recorder real-time records, produce a lot too much data. I'm able to delay the recording interval, but in bulk then display in real time!

The following example shows a method I've tried. The delay time in the loop of logging seems to delay the entire program. I also tried to use the loop of the logging of a sequence (using a simple delay of 'Wait') structure and a structure of matter (with a counter and only do the loop of logging real when the counter gets to 1). I tried to configure synchronous display without success.

I'm having no luck and wonder if someone could point me in the right direction?

Ah, the benefits of time.

I think that I managed to create a solution for me using a different tact. Instead of using individual meters of delay, I used a "trigger time" approach as demonstrated in this thread;

http://forums.NI.com/NI/board/message?board.ID=170&message.ID=286988&query.ID=6280650#M286988

Currently, it is limited because it will allow only a delay of 59 seconds between the readings, but this should be relatively easy to solve. The solution works continuously update the display with a slight delay to help cope aging computers, and then the button "Log Data" is selected writing worksheet function is called second pushed together as selected. Quite a simple and elegant solution I think.

Tags: NI Software

Similar Questions

  • Run a VI in real-time without a delay

    Hello

    I want to communicate in real time with a sound level meter via a serial port. I have already created my program, but I still have a 3 second delay, maybe it's not important but I have to remove to my request.

    Is it possible to completely remove the delay?

    Just for the record, my Vi contains two local variables, could that be the reason? Or perhaps because only a certain port timeout series?

    If you need to see the program, just tell me.

    Thanks in advance for your help.


  • How can I get a graphic display in real time of a task daqmx

    Hello

    I have set up a task DAQmx using the DAQ assistant and the task is to work and produce a graph/data, but not before the task is complete. How can I get a display in real-time of the numberical values or graphics?

    Any help would be really appreciated

    Thanks, Paul

    paultryan wrote:

    I could get set the frequency of sampling and to give a regular change of output, but im looking to get this long-term data acquisition. For example, the graph changes everything but 1 - 5 get 30 minutes of data.

    I used the DAQ assistant and labview is completely new to me, if im not sure where it take it from here.

    concerning

    Then you should use a chart - not a graphic. A graph has a story. You must set this. Right click and select "Chart History Length".

  • 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.

  • Using FTPClient on a real time with system Exec.vi

    How can I tell FTPClient.exe address target when I start this executable with system Exec.vi in Labview?  I don't want to reinvent the file FTP utility used by MAX with targets in real time. I want to run this executable to a labview support utility without using MAX to do.

    Is this possible?

    Danny

    Thanks for the info.  Your "bad mood" response "suggests" a response to my question.  However, the full answer to my original question is that it is not possible to use FTPClient.exe outside MAX.  It is therefore not possible to spend in the address target at run time if the FTPClient.exe runs external to MAX.  FileZilla is a good choice - there are also other FTP clients out there, but you pointed out a solid choice.  Thank you.

  • 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:

  • Vision in real time with USB2?

    Hey guys,.

    I'm stuck to decide on a method of image acquisition.

    My project requires real-time imaging, but it is on a netbook, except that USB is out. Ethernet is only 100mbit so no gige.

    I tried a few Comsumer s level USB cameras that I slept here and all seem to have about a half second lag in all lighting conditions. Is there a solution for me?

    I tend to avoid the acquisition of vision with the USB.  I don't know what the limits are.  I know the that most consumer webcams are not enough good quality for machine vision.  There are a few industrial USB cameras, you might want to look at.

    Can you put a firewire card in your netbook?  It would probably be your best option, because there are a large number of firewire cameras and they are very easy to use.

    Bruce

  • problems in real-time with 6534

    Hello

    in our application, we use a PXI-6534 card to acquire datas. With 20 MHz, we acquired 32 bit data. We have several applications that work without problems. But now on the current project we have problem and we don't know why.

    When we create test signals and read them in the 6534 we have several failures, which means bits that are not read correctly. Because we have 3.3 volt signals and the 6534 is a 5V card, it was expected that the problem is there. But now we think that it may also be that we broke the real time.

    Parameters:

    -Data entry

    -20 MHz clock frequency

    -32-bit

    Does anyone know if the 6534 is able to acquire datas really up to 20 MHz?

    Thanks in advance

    Oliver

    Hi Marco,.

    During this time, we did an independent test.

    We have created an independent generator that sent a test signal 3, 5V and 20, 8 MHz and 32-bit to thePXI6534 and checked if the data are complete. We discovered, that there is absolutely no data loss.

    For us, this means that our problem is before the 6534 somewhere inside our electronics.

    In general, this means that the 6534 can handle 3, 3V signals to 20 MHz.

    Thanks for your help

    Oliver

  • After effects 2015 will not be displayed in real-time after update of El Capitan.

    Hello

    Has anyone have experienced the following problem and found a solution for this?

    Right after the update to El Capitan 10.11 the 2015 effects after ram Preview in real time.

    No matter what I do it won't work.

    I have a MAC Pro 2.7 last GHz 12-Core with 64 GB of ram.

    The AE 2014 still works well.

    Everyone who is having this problem, please install the last update: after effects CC (November 2016) corrections update is available that is supposed to finally close this thread for good! Please report if this problem has been resolved.

    If you do not update yet, wait a while until you see. try again cloud creative app by typing Ctrl + Alt + R. I see it.

    This update is 14.0.1 and a bug fix for number of problems disturbing especially for Mac users. It solves not all bugs that are new in this version - look here for the bug #2 and #3 which are not yet fixed (bug #1 is fixed I think): known issues in after effects CC 2017 and, hopefully, a bug fix for those who will come very soon.

  • Display in real time

    Hi guys,.
    I try to get the time on the server in real time and I can't count the seconds in real time,
    I am able to get the time of CFM to Flash, but if I loop the frame in order to get the real time as seconds, my page takes forever to load. Can someone please tell me what I'm doing wrong?
    What is the best way to get the servertime and make Flash to show the seconds count in real time. Like this , but get the time of CFM.


    Here are my codes:
    In ft3/min:
    < cfset todayDate = Now() >
    < cfoutput > & servertime = #TimeFormat (todayDate, "h:mm:ss tt") # < / cfoutput >

    In Flash, frame a (1):
    loadVariablesNum ("showTime.cfm", 0);
    this.onEnterFrame = function() {}
    ServerTime = eval ("servertime");
    MyTime = unescape ("the server time is:" + servertime).
    };

    In the frame tree (3):
    gotoAndPlay (1);

    Thanks in advance.

    OK... function of the precision you need, how about this...

    Why not get the date and time say every 60 seconds using setInterval as your timer

    something like that

    Call getdate to get the initial datetime value
    GETDATE()

    function getdate()
    {
    erase programmable intervals
    clearInterval (mynewdate)

    get and display your date
    loadVariablesNum ("showTime.cfm", 0);
    ServerTime = eval ("servertime");
    MyTime = unescape ("the server time is:" + servertime).

    call this function in 60 seconds
    mynewdate = setInterval(getdate,60000)
    }

    You don't need your loop then and can then change the date display to show 10:45 without seconds.
    If you want it seconds then reduce 60000 to 1000, but I don't think that Flash will be able to deal, as if loading takes more than one second maynever get round to display text?

    hope this helps
    Phil

  • iPhone download videos in real time with the company data?

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    Alexander.Carpenter wrote:

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    iCloud photo library - Apple Support only works when the two is connected to wifi, no cellular data.

    Read here's how it works.

  • Simulate the sine wave using LabVIEW FPGA with NOR-myRIO and display in real time

    Hello

    I'm relatively new to LabVIEW FPGA. I am trying to test (and later apply) controllers high speed on myRIO.

    At this point, I'm trying to simulate the sine wave from 1 to 10 kHz using Sinewave generator VI express. I also intend to display the sine wave on the time real (RT) using FIFO. However, I had a bit of trouble to understaing various synchronization parameters.

    1. how to encode information about the sampling frequency generating sine wave? (The side FPGA vi requires only the frequency of the signal and possibly phase and does not rate update lines)

    2. how to estimate the number of items in a FIFO? (that is, the relationship between the rate of updates to loop (RT), the signal frequency, sampling frequency and the number of items in the FIFO)

    It would be great if we could share a very simple program (side host and target) that did something similar.

    Thank you

    MILIN

    Milot,

    I think the problem is the type of data in your FIFO. Your FIFO is configured to use a data type of I16. The problem is the number, it displays only ever will be-1, 0 or 1. To resolve this problem, you must send the sine wave as a fixed point data and convert it to a double on the side of the RT. This should significantly improve your resolution.

  • The new Records real-time display

    I developed a CRM that is based on this post to a database of prospects.  The CRM index page performs a select query and displays a filtered recordset based on the SQL code.  This index page is updated every 30 seconds by an update of the Meta tag.  But I think there must be a more robust and efficient method.  Ideally, I would like to have a popup is displayed each time that the new record messages when clicked would reveal the details of the record.  And if such a robust method exists, which could better the overall updating of the data other than a Meta Refresh?  Any direction you can advise would be appreciated.
    .

    Some of which can easily be done with JavaScript and a function that makes calls to ColdFusion AJAX to check new records, on a timer (30 seconds).  You can use WebSockets which offers the display in real time, but according to the rate of data change, which might be overkill.

    For example, look at how this site or Google followed new messages using AJAX. If you are connected to these forums, your avatar at the top of the screen may have a white number in an orange circle to the left of the avatar - stating that you have new messages or updates waiting for your attention.  If you have no messages or elements, the circle disappears.  While new messages or items arrive in your Inbox, reappears in the circle and the number will change.  This is done via AJAX requests that ask the service Inbox on a given time interval. In your application, you will need to decide what is the appropriate interval (or make a user setting which gives them options such as 30 seconds, 1 minute, 5 minutes, etc.).

    All this is done without refreshing the entire page (what does refresh Meta Tag).

  • How can I get a display of a Gaussian filter in real time by painting with the brush?

    I'm trying to find information on how to get a live view of the Gaussian blur by painting with the brush.

    Google is not useful, nor own Adobe forum searches produce something useful.

    I've seen talk about Smart filters and naming the layer as a smart object in order to activate a dynamic filter, but I can't get the display in real-time of the filter when you paint so I'm not sure if this process is helpful at all for me or not because I can't locate information specific to what I'm trying to do.

    I use by way CS5, so if this option does not exist, it would be useful to know so that I'm not spinning my wheels.

    Thank you

    You seem to talk about to see in the future.  You want to see the effect of a unused Gaussian blur filter while wearing the brushstrokes on that later, you intend to use the Gaussian blur.  How would this work?

    I use constantly a similar workflow for shading in my illustration work.  If the blur spreads too wide effect, I use Free Transform to resize. If it becomes too transparent, duplicate the layer to increase the opacity.  If too thick, I reduce the opacity of the layer.  I wouldn't bother using intelligent layers of the to because it would have no benefit.  Is it that help at all?

  • Apply real-time: delay is ignored

    Hello

    I am trying to set up a standby database can be found in paragraph 12.1, but apply in time is always activate.

    Of the primary database, I always see in the alert.log:

    WARNING: Managed Standby recovery started by APPLYING in TIME REAL

    DELAY of 60 minutes ignored elementary

    Same database alert.log emergency exit:

    Managed Standby recovery started by APPLYING in TIME REAL

    Specified previously ignorant DELAY 60 minutes for the sequence of thread 1 169

    Archived newspapers is copied on standby but applied immediately. Delay of log_archive_dest_2 is ignored. Why?

    Primary DB:

    Select the id dest_id, database_mode db_mode, recovery_mode,.

    protection_mode, standby_logfile_count 'litigants. "

    ACTIVE standby_logfile_active,

    archived_seq #.

    v $ archive_dest_status;

    ID DB_MODE RECOVERY_MODE PROTECTION_MODE ACTIVE ARCHIVED_SEQ LAR #.

    --- --------------- ----------------------- -------------------- ---- ------ -------------

    1 OPEN 0 0 169 IDLE MAXIMUM PERFORMANCE

    2 RISE-STANDBY MANAGED IN TIME REAL IS APPLIES TO MAXIMUM PERFORMANCE 4 0 169

    Specific parameters are:

    log_archive_config DG_CONFIG = (JFDG, JFDG_SB)

    LOG_ARCHIVE_DEST_2 SERVICE = JFDG_SB ARCH ASYNC DELAY = 60 VALID_FOR = (ALL_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = JFDG_SB

    LOG_ARCHIVE_DEST_STATE_2 ENABLE

    standby_file_management AUTO

    I restarted standby db with

    ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.

    or

    recover the parallel managed standby database disconnect 2;

    = > same result

    How can I use a delay of application of archived log?

    The version of the database is:

    Patch 20831110: applied on Thu Sep 24 09:55:04 CEST 2015

    Patch ID: 18977826

    Patch description: "Set update database: 12.1.0.2.4 (20831110).

    Operating system: Redhat 64 x 6.6 (2.6.32 - 504.el6.x86_64)

    Hello

    1. oracle docs: https://docs.oracle.com/database/121/SBYDB/release_changes.htm#SBYDB5408

    Apply specific features to redo

    • The USING CURRENT LOGFILE article is is no longer required to start real-time applies.
    • To physical databases ensure, issue the ALTER DATABASE RECOVER MANAGED STANDBY DATABASE statement. (From the Oracle 12 c Release 1 database (12.1), the USING CURRENT LOGFILE article is obsolete and is no longer necessary to start real-time applies.) (doc: https://docs.oracle.com/database/121/SBYDB/log_apply.htm#SBYDB0050)

    2. entry delay (real-time applies to will does not provide the option, his conflict with your apply requirement)

    Doc: https://docs.oracle.com/database/121/SBYDB/log_apply.htm#SBYDB4762

    Note:

    If you set a deadline for a destination which in real time is activated, delay is ignored. If you set a delay as described in the following paragraph, then you must start the application using the NEWSPAPER ARCHIVE in the HELP file

    clause contained in Section 8.3.1

    .

    3 doc:https://docs.oracle.com/database/121/SQLRF/statements_1006.htm#SQLRF00802

    https://docs.Oracle.com/database/121/SQLRF/statements_1006.htm#BGECJDHB

    Note:

    Beginning with the Oracle 12 c database

    real-time applies

    is enabled by default in the course from the redo apply. Real-time apply redo retrieves waiting for redo log files as soon as they are written, without having to check in all first to the physical database ensures. You can disable real-time apply, with the USING ARCHIVED LOGFILE clause. Refer to:

    It may be useful

    Every bit of information is covered in Oracle docs, spare some time for learning.

    -Pavan Kumar N

Maybe you are looking for