The display and recording time elapsed during the reading of the instrument

I've been programming Labview for a total of two days so please bear with my inexperience. I have a 9201 module that takes a reading of the voltage and it is plotted on a graph. I click on a Boolean switch and the graph starts playback and recording data every 3 seconds. When I click on that same switch I would like to start a clock. Then once the button is clicked once again I need to stop the clock and save time. I tried to use the elapsed timer function but can not understand how to operate inside my main while loop. I don't know if I need to use a subvi or something different all together. I enclose my any project that could make the issue easier to understand. Thanks in advance for any help.

I changed your code (personally I him would not have made it, but I don't want too many changes in your code because you are a beginner in LabVIEW!).

-Now, there are 2 loops: 1 bow for the acquisition (looped) and 1 loop for user interface operations (while loop + event structure: it is a very powerful structure in LabVIEW and you should take a look at a few examples to understand how it works)

-You will find a registry to offset used by loop acquisition: I explain what it is in the diagram...

-I gave you a VI that is almost the same as 'out of time' Express VI: maybe it will be interesting to try too understand that when you get more experience in LabVIEW (you will understand 'functional global variables' and "reentrancy execution": these 2 animals are used by 'elapsed time' Express VI (but also by the VI I've included, and which is almost the same thing))

Note that I have shown the solution to 1 of the 4 graphs: you will need to do the same for the other 3. You also need to code elapsed time saving.

Once again, the solution I gave you is very far from perfection, but with 2 days of practice of LabVIEW, it would be too complicated to explain the different architectures and the means of communication between the loops etc...

Tags: NI Software

Similar Questions

  • Cursor for display and control time video

    Hey community,.

    I run a video with the IMAQ / AVI components. To this effect I want to have a timeband as there is one in a normal video player. Time turns and if I click the video on the tape should be at this point in the video. Is it possible to manage that, or do I have to separate the time display and an additional control to reach the point of interest?

    In the file there is a small example what I mean. (LabView 2010)

    Thanks Philipp

    Hi Philip,

    You can do this by changing "playback AVI File Example.vi" (see screenshot). I've also attached the VI registered with "to the previous version", I hope it works for you also.

    This example uses the function 'IMAQ AVI2 read framework VI' where you can specify the desired image. So you have only control who can change the current framework, which normally is incremented at each iteration of the loop.

    Best regards

    Christoph

  • Recording time elapsed for a change in status of the Boolean button

    Hello

    I'm new to Labview and tries to implement a simple program. I want to find the elapsed time in seconds when a key value is faithful to a false button has changed. I created the following VI attached for the same but the timer works only up to 50 seconds and then returns to 0. I don't know why, but I didn't click any autoreset in this express VI.

    Can someone help me?

    N

    Maverick269 wrote:

    ... but the timer works only up to 50 seconds and then returns to 0. I don't know why, but I didn't click any autoreset in this express VI.

    If you double-click the express VI, you will notice that it is configured to 50seconds. Set it to a very large number, such as + inf

    (I do not understand why you need a property value node? All wire to the terminal of control directly.)

  • 39L4363D - cannot set the record time of beginning and end of filling time

    Hello

    I have a problem with my 39L4363DG tv (software 7.1.90.34.01.1).

    I'm not able time of filling time of beginning and end of record setting as described in the [Manual | http://www.toshiba-om.net/LCD/PDF/English/L4363-323950-English.pdf] on page 51. The menu item "padding-start" and 'end padding time' are disabled?

    Can someone help me and give me advice on how to solve it?

    Hello

    The charging time can be set for the scheduled recording.

    There is also a priority planning
    If the regular time intervals are ensuites to each other and there is more than one minute between the time of the end of the annex i and the next scheduled start time, scheduled recording will be performed correctly.

    When + start time of filling + and + hour of end padding + are value, the start time and end time more is the time the extra minutes.

    If planning time overlap, priority will be given to the scheduled recording starts first.
    When the scheduled recording that began the first ends, recording will switch to the next regular program.
    At that time, according to how much programming time to overlap, the section from the beginning of the next regular program is not registered.

  • Use 6 s more: iPhone battery is not displayed and the time standby and use are the same, even I do not use it

    Hello. I just bought an Iphone 6s MORE and just updated to iOS 9.2 and I had this problem with applications that consume my battery is to say the list of applications that drain the battery does NOT appear when I click on settings > battery. And also I meet another problem that is my standby and usage time appeared at the same time even if I SLEEP there during the entire period. Someone of you this problem? If yes kindly share here how you can solve the problem

    Force restart the phone now sleep and home for 10 seconds, button until the Apple logo comes back again.

    You won't lose data, but which can cure some problems after installing new software.

    The same use and waiting time is a sign for some applications, always running in the background, even when the phone is in standby. Restart will force close those apps.

    The list of applications appears only when you used some applications for some time.

  • I would like to copy the time elapsed since WMP 11 and paste it into a Word document.

    I would like to copy the time elapsed since WMP 11 and paste it into a Word document. I have this on several occasions, is there a way to shortcut this process through Autohotkey? Would appreciate any help at all!

    Hello

    1. What is the operating system installed on your computer?

    Unfortunately, there is no shortcut key to copy the time elapsed since Windows Media Player.

    You can use your favorite search engine to search for any third party software that accomplishes your request.

    NOTE: third software of third parties, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to operate the laboratory discovered multi-function synchronization with multiple devices and change the recording time?

    Hi, I'm new in Labview. I need help for:

    1 change a program multi-function in order to record the data of three cards daq (devices 1-3) and output through the map (1 unit). The current program was created to record and output signal of one of the card (1 unit). I try to choose multiple devices when I run the program, but there is an error 200558 shows "a task cannot contain multiple independent devices. Create a task for each independent device.

    2. change the duration record for a longer period, for example: 0.1 s. Currently, the recording time is s 0.009971.

    I joined the multi - funtion.lld. In this library, "des_v2_Multi-Funtion_Synch I - AO.vi" is the program that I need to change. I've also attached a file of input for runing the program signal.

    Thank you very much!

    Sincerely,

    Jie

    Hello Jshen6,

    You can have different examples of VI if you do not use the same version of LabVIEW. I am currently operating on LabVIEW 2013 SP1. Whatever it is, this article should be useful to you that he describes in detail how to synchronize multiple tasks of series M.

  • Every time using the ', it displays "and «»

    original title: why is my ' button always keep changing?

    A simple problem I guess, but as a writer, it is very annoying.  Whenever I'm trying to use the ', it displays "and" "when I hold down the SHIFT key.  I have to delete the extra apostrophe to an apostrophe.  How can I change, so it's a single apostrophe instead of quotes at all times.  I played with the language toolbar and every time I spend in the US instead of US International, it fixes the problem... only temporarily.  How can I make it permanent?  Thanks for the help in advance.

    Hi Spundae,

    Welcome to the Microsoft Community and thanks for posting the question.

    According to the description, it looks like a character is typed when you use a single apostrophe.

    I have a link that should guide you in the right direction.

    Visit the link and indicate "the keys do not collide correctly" and "the wrong characters are typed.

    http://support.Microsoft.com/kb/258826

    Keep us updated on the status of the issue. For any help about Windows, you can still post on the Microsoft Community.

  • How to display the time elapsed/current of a song in Actionscript.

    Hi I have a question on how I can make my code to display an total time for a song from a media player, I have created with Actionscript 3.0, using XML to load the track of the song.

    It's my current function, what I've done and I'm not sure on what the problem is that does not have the time to be displayed in a textfield on my stage.

    stage.addEventListener (Event.ENTER_FRAME, timeElapsed);

    function timeElapsed(e:Event):void

    {

    var minutesCurr:Number = Math.floor ((my_channel.position /1000)/60);

    var secondsCurr = Math.floor ((my_channel.position /1000) % 60);

    If (secondsCurr < 10)

    {

    secondsCurr = '0' + secondsCurr;

    }

    var minutesTot:Number = Math.floor ((my_sound.length /1000)/60);

    var secondsTot = Math.floor ((my_sound.length /1000) % 60);

    If (secondsTot < 10)

    {

    secondsTot = '0' + secondsTot;

    }

    completeText_txt.text = minutesCurr + ': ' + secondsCurr + ' / ' + minutesTot + ': ' + secondsTot;

    }

    I tried to add to the scene and I get a null object reference.

    Thanks, Casey

    1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...

    -is declared but not instantiated

    n ' is not have an instance name (or the name of the instance is misspelled)

    n ' is not in the frame where this code tries to talk to her

    -is animated in place, but is not assigned the name of the instances of each keyframe for her

    -is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).

    If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

  • DAQ USB-6008 will be able to power and record voltage for UMS T5 blood pressure at the same time?

    I would use my NI USB-6008 to power my blood pressure monitor UMS T5 (http://www.ums-muc.de/en/products/tensiometer/t5.html) but also to take readings of it, but I don't know if it's possible to do it properly. The power supply for the instrument can be as low as 5V, I can easily get the dedicated + 5V channel. I'm able to feed the instrument and connect it to an analog input on the 6008 and measure a voltage in differential mode. However, when you read the documentation of support for the instrument, I find the following:

    "Potential pitfalls of data acquisition: the pressure transducer is configured in a full Wheatstone bridge, the input voltage and mV signal output can be connected to the same reference (mass)." Therefore, the mV output signal can be measured using a differential voltage measurement. Therefore, do not make an asymmetric measure of pressure transducer mV output. "(http://www.decagon.com/assets/Uploads/MeasuringUMSTensiometerswithnon-UMSControlandDataAcquisitionSystems.pdf)

    My understanding is that the 6008 can take a differential measure if I attach the signal '+' and the signal "-" to the analog inputs of positive and negative terminals. However, it seems that all the ports of ground on the 6008 are grounded to the same reference, which would make my measure of invalid tension according to the above paragraph. So my real question is: if I try to record the voltage with one of the analog inputs on the 6008 in this way, is the valid measurement? Or I need to find a separate power supply, with a different reference field to ensure that the measure is accurate?

    The technical details of this device is very poor. The manual is not much better. Companies that want to sell scientific equipment should publish decent cards or get out of business.

    In section 3.4.3 General requirements the device is described as a "bridge not amplified circuit.  This information along with the impedance of the bridge should be in the specifications, because it is essential to apply the device under any circumstances other than the nominal behavior in 10.6 V.

    The answer to your question is:

    You can use it with the box USB-6008.  The 5 V supply will result in output voltages a little less than half (5/10.6) the voltage specified in nominal conditions. You can use the differential input mode on the box USB-6008.  The absolute input voltages will be approximately 2.5 V with the 5 V power supply. This voltage is in the range of the aircraft. The differences are likely to be less than 100 mV. The resolution of the USB-6008 on the + /-1 V is located about 0.5 mV so your resolution of pressure will be about 1% of full scale. The voltage input impedance and termination of the USB-6008 will present a few errors.  These can be in the order of 5 to 10%. I can't predict much better without the missing bridge impedance specification.  These errors should be relatively constant and systematic. A calibration of the whole system - sensor and together hardware DAQ should allow you to compensate for a large part of this error.

    Lynn

  • Increase the length of size and recorder circular buffer

    Hello again!

    First of all:

    I have a problem with the circular buffer.

    I was able with a sampling frequency of 1000 Hz I used 6 circular buffers, each with a size of buffer for 30 minutes. It was no problem for the PC. I do not have such a high sampling rate, but I need a buffer size that is larger, something between 90 and 120 minutes with 8 pads. so I decided to reduce the sampling rate of what I need, it's 50 Hz. Because I reduced the sampling rate to 1/20 of the original sampling frequency I thought that a buffer size of 120 minutes should be possible.

    Now, after trying the new sampling rate, I still can't use the 8 pads with more than 60 minutes. Any ideas why I had this problem? How can I provide a larger buffer, no possibility?

    Second:

    I use the recorder for display. I would like to display voltage in the long term. With the recorder the maximum length is approximately 3.5 hours. How can I view on longer periods? What I need to display the length in days. Is this possible? Perhaps with the other modules or almost?

    That's it for now, thank you a lot for the useful tips.

    Good day!

    Good bye

    The maximum time width of the graphic recorder or Y/t diagram is a function of memory (RAM) on the computer, the number of channels to display and the sampling frequency. Dynamically, the memory is allocated to the maximum. To avoid using RAM available on the computer, DASYLab is limited to half of the memory of the computer.

    That being said... How you appear more time? You can reduce the number of samples using average or separate modules - in effect, reducing the sampling frequency. Alternatively, you can consider if the trigger on demand and a relay may be able to effectively reduce the samples for data to slow evolution.

    Some clients have two screens high resolution on a shorter and more low resolution over a longer period.

  • I use VISA 5.3 for reading my serial device... my standard equipment is WELL this device will send four messages for only one comand I need all four messages to display at the same time in VISA SERIES READ BUFFER

    I use VISA 5.3 for reading my serial device... my standard equipment is WELL this device will send four messages of single command given to this instrument... and I read messages through VISA series READ... during the race, the VI buffer displays the messages individually...  I need all four messages to display at the same time in VISA SERIES READ BUFFER, in order to find more than this block, I should add from the palette of function.

    Disable character of endpoint detection or make four readings where you concantanate simply the strings together.

  • I upgraded my Vista Home premium to windows 7 ultimate, shortcuts on the desktop are not displayed, and can be created, or any folder cannot be created until the flash drive is reinserted

    during the upgradation he automatically took backup to an external flash drive, now every time I have to run has previously program I have to insert this flash drive.
    also all the shortcuts on the desktop are not displayed, and can be created, or any folder cannot be created so that the flash disk is reinserted

    Hi subhshy001,

    Welcome to the Microsoft Windows answers Forum community!

    Try this if you do not have

    Windows Explorer to create the folders and shortcuts in your document folder, drag and drop them on your desktop.

    If you have completed the steps and was not even useful,

    Follow these steps:

    Try to create a shortcut and sending it on the desktop.

    (1) open: Start Menu ,.
    (2) right-click: Internet Explorer icon .
    (3) select: send to > desktop (create shortcut).

    There should be a shortcut on the desktop .

    Make sure that the "show desktop icon" has a check against it

    OR

    Just click on the empty part of the desktop, choose new > then select the folder to create. Right click on this folder , select Rename it.

    If the steps above do not work then:

    You can scan your computer for malware.

    You can download, install and update anti-malware free of your favorite search engine and find malware.

    Important note:
    this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    If the scan comes back clean, so I recommend doing a System File Checker too l to analyze your OS system files.

    To help resolve this problem, use the tool (SFC.exe) System File Checker to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. open an elevated command prompt . To do this, click Start , click principally made programs , Accessories , right-click guest , and then click run as administrator .  If you are prompted for an administrator password or a confirmation, type the password, or click allow .
    2. type the following command and press ENTER: sfc/scannow (Yes there is a space after sfc) the sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. This analysis do take some time to complete.

    Hope this information helped!

    Thank you, and in what concerns:

    Aziz Nadeem - Microsoft technical support.
    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • Problem in the display of records in table

    Hello

    I created a table and set the property of records displayed as 10. but the controller I dynamically insert a row into the table at index 0.
    So every time the vo returns more than 10 lines, the table displays last record first. Suppose that the vo returns 11 records, then on the page, I am able to see
    only the last record 11th IE, so I must navigate to see the first 10 records in the table. My requirement is I want to see first 10 records. PLs help me.

    use oaviewobject.setRangeSize(-1);
    oaviewobject.executeQuery front (); Statement

  • Toshiba 39L4353RB 7.1.56.36.01.1 TimeShift and record on the issues.

    Hello.

    I have Toshiba 39L4353RB with the last aviable f/o 7.1.56.36.01.1 for this model.
    There are no options for TimeShift and recording in the Menu.

    I chose countries Germany, DVB - C (digital TV) CAM module.
    I insert USB HDD, but it there was not all the settings in the Time-Shifting Menu.

    (1) was this option disabled in f/w 7.1.56.36.01.1?

    (2) can I put 39L4353RB manually (by usb flash) for the latest f/w 7.1.90.34.01.1 (another country for L4353 code) to allow the TimeShift?

    You reset the TV after the update of the firmware?
    If this is not the case, first of all do!

    TO use the Time Shift you must go through the configuration of the recording.
    You must choose the HARD disk and partition you want to save.

    What is described in the manual user 51 page-> [Toshiba 39 L manual 4353 | http://www.toshiba-om.net/LCD/PDF/English/L4353-323950-English.pdf]

Maybe you are looking for

  • No sound when using a headset? 7 7 iPhone

    I've recently set to upgrade to an iPhone 7 latest updates installed and have clearly wonderful audio using speaker phones, but as soon as the headphones are plugged, theres little or nothing then vanish its pointless. The headphone volume is at full

  • The toolbars in my FF piled - how can I put next to each other?

    I work with V25.0 FF. The bar with the symbol of the FF, the file/modify... current bar, and TAB of the web page are stacked.I would like to put them on a line - is it possible?I appreciate your comments.Best regardsHenning

  • Portege M750 - mouse freezes on Win7

    HelloM750 I have a hp intellmouse, often it freezes for a while and now when it works once again, he made a souind. the sound it makes is the same sound, used by speech recognition software How can I fix?

  • keyboard and touchpad not working not

    Hello I hava a HP pavilion touchsmart sleekbook 14-b133tx laptop running windows 8 and is still under warranty because of a defective touchscreen. A few days ago my touchpad does not work correctly. When I tap the touchpad, it's a richt click and whe

  • Outlook express 6.0 size limit of 2 GB can not open

    Hello, can anyone suggest a way I can open my outlook express 6.0 file Inbox that got compacted and now can not be imported in OE6 due to its size, if I could open it somehow I could then delete unwanted emails etc and then distribute the others in d