Continually 2chan daqmx display

Hello

I am trying to create a program that can read and display both channels (force and acceleration) permanently.
I use an NI PXI-4472 data acquisition card b.

Please take a look at the attachment. (It is made in Labview 8.5.1).

The problem that occurs is as follows:
If I connect to my laptop to the NI DAQ equipment and I run the program, both the graphics do not appear permanently acquired data.

Every 6 seconds they update and display a plot with the data acquired within 6 seconds.

I would now like the moment when the threshold is reached, all both the departure of graphics showing continuous data. (So whenever a force or acceleration is measured it must appear on the graph of Force).

All the acquired data should stay in the chart for about 10-15 seconds. After 15 seconds, the program should stop automatically.

Tips advice how can I do this?

BTW, have defined the right properties of the trigger DAQmx? 'Force' is connected to ai0 ai1 "Acceleration"

Thank you!

Dries

The reason why you get a updated every 6 seconds which is the way you have programmed. You have a sampling rate of 10000 samples per second and then ask for 60000 samples. Arithmetic of said base 60000 samples/10000 samples/s 6 seconds equal. So, decide how fast you want the screen to update and set the number of samples on this basis. You also use a graphic incorrectly if you want the previous samples on the screen. The graph ignores the old data with each entry to it. You want to use a chart and you will need to set history (right click option) for the number of samples you take. If you want the acquisition stops automatically, you can use the elapsed time.

Tags: NI Software

Similar Questions

  • Continuous output DAQmx and queue software

    Hello

    I'm coming out of a digital waveform on a map of data acquisition using the internal clock. Now, I also store the waveform for later processing by using the exact time at which the wave was written. So I would get a rear wave form that lets me know what state my digital output was at one point.

    Y at - it an option to do this?

    Or, as an alternative, could I somehow synchronize the beginning of the output waveform to the DAQ card with a timed loop? Because I know that the waveform that is written, this loop could return for example of this waveform with the good "t0" for each iteration.

    The code runs on a target-RT.

    Background: I'm controlling one instrument that has no indication of its current state, but I would like to save its current state on the entry of order.

    After some research, I realized that there is a VI 'DAQmx create calendar Source' that returns a source calendar synchronized to the clock of the task DAQmx sampling. This source of synchronization can be used as a source of synchronization for a timed loop. There is here an example for this:

    https://decibel.NI.com/content/docs/doc-25763

    Unfortunately, I realized that my digital I/O hardware has no timing hardware capabilities so too, this does not work for me and I stick to a software solution that is timed.

  • OfficeJet Pro 8500 910 has continuously check printer displays. This process may take several minutes

    If I print a box poster jam or the paper tray problem, but they are fine. What is the solution?

    Hello

    This article should cover the problem you are experiencing. Give the steps described a shot and tell us if it helps.

    http://support.HP.com/us-en/document/c02142414

    Good luck!

  • How to play multiple files continuously in the display of files in cs6

    I have a bunch of mp3 or WAV files to the top of my window "files."   I would like to listen to them back to back without loading them on the multi-track one after the other.  Is there a way to do this?

    If you highlight the whole of each file and press F8, you will create a range of markers covering the whole of it. You can now drag these beaches in the window of markers directly to the reading list (window > Playlist), and if you press the play button on playlist, it will play them in the order that you put them in the list.

  • Problem to stop the task of continuous using API C DAQMx data acquisition

    I'm doing the acquisition of data in the PCIe-6536 continuously using DAQMx C API. But whenever I try to erase the task and put end to my application, program stops and it is not completed by the Task Manager and task killer applications. Can someone help me with this?

    Sameer

    Hi John,.

    Thank you for your concerns. the example attached also created the same problem. Then I run the test of the device to the MAX and it failed. Then I realized that there is something wrong with the installation. I simply uninstalled the card and installed on the other PCI-e slot. This time, self test has been successful and so did my request.

    So my problem has been resolved

    Again thank you for your quick response.

    Sameer

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

  • Brand new AXC-115-UR20 produces continuous long beep when turned on, never boots. What gives?

    It's the other, I get like this, returned the first. This is a whole new AXC-115-UR20. I press the power button and I get a continuous long beep, display lights never, ever computer of messages. Monitor, keyboard and mouse are connected.

    Hello mieves,.

    A long continuous beep means that your office has a memory error (in your case, it's a random error).

    As it is under warranty, I suggest you contact your Acer support.

  • Recovery not displaying test button is not on iPad

    Hello

    I created a quiz using the latest version of Captivate 7.0.  I want my users to resume play until they pass.  The Retake Quiz button appears when I test the quiz on my desktop but does not appear when I test it on my iPad.  I have the following settings:

    Under Quiz, reports:

    Representation of State - incomplete - pass/fail

    Success/completion criteria - Slide views and/or quiz - Quiz is spent

    Data report - data interaction

    Under Quiz, parameters:

    See the note at the end of the quiz - verified

    Allow the user to review quiz - unchecked (they must pass the test; therefore, they are not allowed to look at)

    Under Quiz, success or failure:

    Infinite attempts - verified

    Display the retake button - verified

    When I publish and test the quiz on my desktop, it works because I intend: If the user switches, only the continue button is displayed; If the user fails, the Retake Quiz is displayed.  HOWEVER, when I test this on the iPad, the Quiz resume is not displayed when the user fails, but a review Quiz button (even though I unchecked "allow the user to review quizzes).  Revision Quiz does not appear when I test this on my desk.

    Why this work on my desktop but not the iPad, which is what my users will use to take the quiz?  When I publish, I check the SWF and HTML5 and force check "republish all slides" since I tried this so many times.

    Thank you

    Sarah

    I deleted my cookies in Safari on the iPad and the quiz works now.

  • Digital output problem

    Well, I thought I had everything figured out, but we have finally had time to go to our lab and test it and there seems to be a problem with the output digital here.  I'll look at what's the point of this VI, then describe the problem

    Analog input is entered and analyzed as digital outpt is sent several lines (3).  The digital output is used to send a single, user‑defined delayed pulse TTL with other instruments like triggers.  I put this program to create an array of digital waveforms for each channel, each of them are of the same length as the analog input.  '1' is inserted in the appropriate place in the table, in lieu of a value of '0', creating the required table.  This table would be written on a digital line (1 channel, samples of N).  Three of these subVIs are used here, so three signals various tables are created and writtin in its respective lines when the program runs, the analog input seems to work very well, but that a single digital output is executed.  I need all three lines to write simultaneously.

    I use a USB-6221 with LabView 8.2

    I have attached all the files needed to run this program, and if the 'LabView programs' folder is saved on the C drive, I think that the paths of the files must be correct.

    Thanks in advance

    Hi Chris,

    Hello and I hope that your well today.

    Thanks for your updates.

    I think that my being better if we start from the beginning.

    1 could you try the example Correlated Dig writing with Counter.vi from the Finder of example of NOR?

    It produces output meter as the time base for the digital output - to get clocked at digital output. Don't you see the waveform being printed on your outings that match the graph of digital waveform on the front panel?

    If not, try to use one of the other examples, as Scripture Dig Port - this is a single VI just to send a single value for each digital line. If this does not work, there is a connection problem.

    2. If we got this far without problems, then the next part would be to change the waveform so that you could write the data that you want to...

    The digital waveforms can be made a boolean table, then using the array of Boolean DWDT to Digital.VI to convert into the type of digital waveforms. The waveform will have X number of samples. Therefore, at each clock pulse, you will produce 1 sample on each channel. So if you set the rate for 1000 and the number of points to 1000 (samples) it will display the waveform on a second. (as his continuous the DAQmx will make a loop through the buffer and start out of the waveform again).

    Note, have you seen the palette of digital waveforms? It is located under waveforms and has more vi like the Boolean DWDT to digital.

    Please let me know how you go.

  • Issues of Java in the Sierra

    I recently installed OS Sierra and get the pop-up message, "to use the"Java"command line tool, you must install a JDK".  I installed the program several times via the link provided and rebooted my computer to restart.  The message continues to be displayed.  How to solve this problem?

    Did you install Apple legacy Java 6 or Oracle? Only the legacy Java 6 will solve the problem before the uninstall of the software that requires Java 6 legacy rather than any other version.

    Download Java for OS X 2015-001

  • How can I restore my tabs and groups of tabs after a update to version 36.0?

    I work with many tabs when I use Firefox. I keep classified in groups of tabs, which helps to separate the different children to work I do and interests I have. I have been using this environment for years. When I started my job today, Firefox updated to v36.0, and noted the following behaviors:

    1. There is only one group of tabs when you try to display tabs at Panorama, as opposed to a dozen groups;

    2. normally if the hidden tabs (tabs in the same group as the startup group, and not the default page) downloading of content to what the user clicks on, icon, if any, and the name of the page will show on the tab currently, the tabs display 'New tab' and no icon. It seems, however, the number of tabs that exist across all groups of tabs, but are now ghosts this default value, a group of tabs. I must add, however, I do not count the number of tabs, so I can't be exactly. When you click on it, there is just a blank page. It is so strange that Firefox knows they are there but cannot simply attach the address.

    I tried to restore the following files from my backup of Windows Home Server to the folder AppData\Roaming\Mozilla\Firefox\Profiles\ .default < gobbletygook >:

    1. in the sessionstore-backups folder, I replaced the files previous.js, recovery.bak and recovery.js (not all of the upgrade ~) with the files yesterday and the day before yesterday.

    When that did nothing, I replaced

    2 sessionCheckpoints.json

    I do not see any file with a recent date that seems to be the one that I have to restore. I should add that I don't see hidden files. I thought about the restoration of the whole of the batch, but didn't know how it would affect the program v36.0 and the profile on 35.0.1 files.

    I have deadlines this week and must immediately restore my environment in order to make these possible. I have no address list on my Web pages to work in IE or other. Any help would be much appreciated.

    On a second note, I had been wondering recently if this tab group environment is an appropriate way to maintain my work environment. Sometimes, during the opening of Panorama, I would get an error saying a script takes too much time, but if I clicked on continue, it would display the groups in a few seconds. I considered bringing it in bookmarks, but it would be tedious and more difficult to access and open several tabs. Initially, I tried tabs groups thinking it was just a matter of maintaining a table of addresses (in tabs) with a name or an ID of tab group. How that might go wrong? Well, there, so it is obviously more complicated than that, and I did not know that upgrades would affect the data of a personal nature. That I should abandon the use of tab groups?

    With the help of information from the user, ptressel, in a post here on the existence of sessionstore.js when version 33 was released, I could easily get my tabs and groups of tabs as follows:

    1. close Firefox and, perhaps, wait a few seconds (30 years?) for any final closing of files;
    2. Check if you have a sessionstore.js file in your profile folder, named as I documented in my original post above.
    3. If this is not timestamped before the discovery of your problem, open the sessionstore-backups folder.
    4. Check if the recovery.js file is properly stamped and, if not, the recovery.bak.
    5. At this point, you are likely to find that none of them is before your problem occurring. If so, open your backups from this folder and go through steps 2 to 4 to find a file before your problem occurring.
    6. When you find a file, copy it to the root of your current profile folder and name it, "sessionstore.js.
    7. Open Firefox. Mine opened upwards as you wish.

    It is a solution for Windows. Sorry I can't comment on other platforms, but I'd bet it's just a copy of file and change of name, it is likely even.

    For Windows users, you can find you must sign out and sign in as administrator in order to access backups. You must not logoff your standard account, but do have Firefox closed as described above.

    Hope that helps.

  • Satellite R25 Tablet screen - brightness Horizontal gradient - problems

    Hi all

    I have a strange problem with my screen. When I use two brightness levels lower my screen isn't constantly bright he has degraded landscape. Research on the left side, I have very dark screen, near Middle there is the normal brightness after dark Middle again and in the form of o end/right side is clear.

    This anomaly is smarter than on two lower levels of brightness, when I want to extend my battery life.
    I was replacing my Windows XP, but without any positive results.

    The screen must be replaced, or y at - it another way to fix it?

    I'm afraid that it is material. I can't say with certainty that the display is faulty but if bring you the technician can test it with special diagnostics tools.
    As you can see fresh OS installation didn't help and he can't be software problem. Sorry, but I don't think there is anything you can do alone to fix. If possible continue to use display with acceptable light level.

  • Green vertical line on screen - Satellite P30 Pro

    A single thin green vertical line appeared about a sixth of the way across the screen. It works up and down continuously and immediately displays the screen is activated.

    I presume that this indicates a hardware failure - can anyone confirm please? Guess I'm interested in large bills?

    Hi Ian

    How is - someone must provide an exactly fault diagnosis without putting the hand on this laptop?
    Here, we can suggest and discuss only!

    If she really looks like a hardware problem, but the question is; What s wrong.
    In my opinion, you must connect the external monitor to the laptop. Check if the same vertical line appears on the second screen!

    If Yes, then the chances are high that the graphics card is broken! This could be a case value because the GPU is soldered on the Board and the entire motherboard must be replaced to solve this problem.

    Concerning

  • Cannot connect to Facebook Chat in the Messages of El Capitan

    In the last week or two, I couldn't access my account FaceBooik to communicate through Messages to El Capitan.

    I have the password, enter the password, and it continues to be displayed. The settings are correct (they have not changed) and the password is correct.

    Other accounts are fine.

    I can use other chat apps that support Facebook without problem.

    Keychain problem? It seems more to be there no first aid function.

    Peace,

    Gene

    Hello

    Facebook chat work anymore in Messages

    I can't vouch for this as I do not use Facebook or Facebook Chat.

    21:36 Tuesday. 8 December 2015

     iMac 2.5 Ghz i5 2011 (Mavericks) 10.9
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     a few iPhones and an iPad

  • cRIO 9076 Unable to Detect physical channel

    Hi all

    I'm currently trying to acquire data using NOR cRIO 9076 controller integrated, but I am unable to create virtual channels using DAQmx. My situation is summarized below.

    Material:

    NEITHER cRIO 9076 integrated controller RT

    NI 9205 analog input module

    E/s digital NI 9403 module

    Software:

    LabVIEW 2011

    Compact-Rio 4.0

    MAX 5.0

    NOR-DAQmx 9.3

    All channels of the C-series module and chassis are visible in NOR Distributed System Manager and Labview Project Explorer.

    But when you use MAX to create a new task DAQmx, I can't detect the physical channels. The two NOR-DAQmx in Labview and right-click to headquarters of the MAX data to create NI DAQmx task / Global Virtual Channel give the message "No. supported Devices Found."

    In addition, material also doesn't seem to appear under "devices devices and Network Interfaces.  When comes to "find NI DAQmx your network equipment", he stated that "no devices were found. The controller was named "VIGREN. Detect manually by using the host name and intellectual property also failed to detect.

    My question is:

    1. How does the PC detects the chassis and modules, but when it come to NI DAQmx, it does not detect the physical channels? What is a software/hardware or network junk?

    2 not compatible with NI DAQmx RT 9076 cRIO controller? And that's why Scan Interface or Interface FPGA used instead? In light of the seamless functionality, I prefer to continue OR DAQmx to configure my acquisition of data.

    Thank you.

    Hi Vigren,

    I think you misunderstand some of the concept here.

    cRio is a real-time system and is not a DAQ board that you can not use DAQmx with it.

    You can refer to this link for discussion for more information

    http://forums.NI.com/T5/Multifunction-DAQ/cRIO-9073-compatibility-with-NI-DAQmx/m-p/1194163#M58721

    You can use the scan or FPGA to purchase.

    TuiTui

Maybe you are looking for