acquire signals permanently using DAQ hardware

Hello friends,

I'm relatively new to LabView. I would like to record temperature of 12 channels (analog input) signal.

I would have preferred that the signals are recorded in a spreadsheet on an ongoing basis. I realized

This goal. However, I was not able to control the frequency and samples to save correctly.

I need 12 temperatures to be recorded continuously at intervals of 3 seconds and I need 200 samples in all.

Could someone please suggest the correct setting of the DAQ?...

My approach has been to save 1 sample per second with the timeout of 3 seconds and stop after 600 sec in a while loop

Any help is valauable for me.

Thank you and best regards,

Chirag

PS: Block attached

With the settings of your DAQ Assistant, you take a sample every 2 seconds - at least with the calculation of the means. So, you can change the number of samples at 30 and use a time elapsed function to stop the VI. Be aware that with the evolution of the number of samples than the sampling frequency, your VI will be slow to react to the stop button. You should also be aware that using writing to the spreadsheet file is a bit slow and you might encounter a problem to keep in touch with acquisition continues. You can look at the architecture of producer/consumer to separate the loop of the acquisition of logging. Your writing to the worksheet is also throw all calendar information. I don't know what happens to the data conversion dynamics. I never use dynamic data.

Tags: NI Software

Similar Questions

  • How to set the sampling interval using DAQ hardware?

    Now I have a sensor capability and hardware DAQ 24 bit (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).

    The DAQ hardware has the 50kS/s maximum sampling rate. My question is how to define the range of data collection. For example, if I set the sampling rate of 2000, continuous sample mode, I use read.vi DAQmx in a while loop and set the "number of samples per channel" to 100. I want to plot these data over time using a XY Chart and also save this data. So I add a 'Medium' function to get the average of 100 samples per each loop (medium, there are 20 release of data per second). But when I put a 'number of samples per channel' much more small (for more data per second), there are a few problems. It seems that the program cannot read the data as much and get the average at a higher frequency. I don't know where is the problem. Overall, the collection of data more frequently? Maybe I didn't articulate my question. I'll upload a simple program later if necessary. Thank you.


  • Diffenernce / choice between using a shielded connection block (2120 BNC) or the DAQ hardware?

    Hello

    We build a new configuration of lab that will need hardware in the loop detection by sensors data and formatting / analysis using programs and possibly return data in material for the control.

    We are confused that the connection block shielded BNC (who has the outputs and analog inputs / digital) or a DAQ hardware for can be used?

    What are the main differences between them?

    shed light on the above is very appreciated...

    Best regards

    FESMI

    FESMI wrote:

    We are confused that the connection block shielded BNC (who has the outputs and analog inputs / digital) or a DAQ hardware for can be used?

    Data acquisition is what is the real measure of the signals.  The Terminal is just a simple way to route signals for data acquisition.  If you can actually the terminal box, cable and card DAQ.

    I highly recommend talking to your representative local sales OR to make sure that you get exactly what you need.

  • How to simulate a DAQ hardware and use it to test applications without hardware?

                           How can I simulate a DAQ in MAX material and use it to test applications without hardware?

    If my application requires input from external hardware to do how can I simulate a DAQ hardware in LabVEIW?

    I need to simulate several digital inputs and outputs to test the software. currently I have not the material and material DAQ here.

    answer with your valuable suggestions.

    Thanks in advance

    RENN

    Hello

    There is no option to simulate the traditional device. You need hardware for it so I would say to simulate a PXI system that has a configuration similar to the PCI-6014 and make a small change to your request...

  • Determine the number of traditional DAQ hardware using Labview.

    Hello

    Anyone can answer the question:

    Regarding materials traditional DAQ, for example the DMM OR-4060, how

    can I programmatically determine the number of device which can be seen in MAX?

    With the help of Labview 8.5, I looked into the following function libraries:

    NOR-DMM

    VISA

    NOR-ModInst

    None of the libraries above seem to provide access the number of traditional DAQ hardware

    property, which is automatically assigned.

    Background:

    I have a 18 PXI chassis containing 2 DMM, in housing 3 and 14.

    The DMM may be a mixture of type OR-4060 or NOR-4070.

    The system is controlled by a Teststand sequence employing IVI - DMM

    steps.

    When you set the IVI logical name step, I am referring to IVI device defined Sessions

    Max - rutime determined.

    Labview VISA functions using I can determine the model, i.e. 4060 or 4070.

    Because the DMM just locate into the slots 3 or 14, then the devices NOR-4070

    are accessible using the following descriptors of resources: PXI1Slot3 or

    PXISlot14.

    (The 4070 is compatible DAQmX.)

    So for devices OR-4070, I can predefine 2 Sessions of IVI device, knowing

    It will be sufficient for all occasions, when I run my Teststand sequence, which will be

    determine what device session to use at run time.

    But I'm stuck for the NOR-4060.

    At the Session of the device, I have to give a descriptor of resource the following

    format: DAQ::x (where x is the device number)

    I could create device 18 sessions each reference to a different DAQ::x, but to select

    the good pair during execution, I would need to programmatically determine the device

    number, i.e. the value of x.

    Where my question.

    The closest I came to a solution was an entry of the Knowledge Base that said that the

    Assigned device number would be the same as the slot number, providing the

    Number of the device had not previously configured manually.

    Unfortunately, our device numbers have been changed manually and maybe in the future.

    All popular solutions.

    Gary.

    Hi Gary,.

    Good afternoon and I hope that your well today.

    Thanks for your post and I want to help you solve your problems.

    I don't think there is just a function that you can use to identify and collect information on all cards with your. For traditional DAQ devices in particular I suggest using the Information.vi of DAQ devices get.

    If you look at this link,

    SAL posted an example VI entitled, find dev trad.vi.

    You can get information such as serial number, Dev name and the Base address.

    The assistance of the respective drivers to collect information you could generate an array of strings with the information that you need all the slots.

    Please let me know if this is useful at all,

  • prob in the acquired signal frequency

    Hi frnz,

    I have a prob in the acquisition of a signal. Using hardware DAQ iam generating a signal acquring and iam the same sine. During execution

    I need to change the frequency. The problem here is the delay by changing the frequency. If the sampling rate of output is 1000 then

    is a delay by varying the frequency. If the o/p is 20 k then an immediate change of frequency occurs, but the frequency

    granted here is a multiple of 20 based on the rate of O/P.

    For example: generated frequency = 10 Hz

    O/P RATE: 1000 ==> acquired frequency = 10 Hz

    O/P RATE: 10000 ==> acquired frequency = 100 Hz

    O/P RATE: 20000 ==> acquired frequency = 200 Hz

    Please help me with this prob...

    Hello. Here I attatched my VI. Go through tat...

  • Multiple Instances of the Application to access the same DAQ hardware

    I have a relatively simple application that reads from a device of data acquisition (OR-9205 connected to NI WLS-9163) wireless.  I would like to run multiple instances of the executable, but I get the error-201105 (resource reserved) as soon as the DAQmx task starts on the second instance.  Each instance tries to acquire different channels of the same DAQ hardware.  Is this a problem with the data acquisition device, or DAQmx in general?  Thank you.

    -Joe

    Hey Joe,

    Unfortunately, you can only one type of access channel with each program.  For example, you might HAVE a program access and another use AO, but you can't have two programs different AI the same access card.  It is common among all of the DAQ hardware to NEITHER.

  • We can connect the output of the sensor directly to the DAQ hardware or any interface necessary?

    We can connect the output of the sensor directly to the DAQ hardware or any interface necessary? If so wat kinda necessary interface?

    How to change the sensor output to match entry-level data acquisition?

    If the sensor output beyond daq range is provided. What are its effects? pls answer

    -It depends on your signal and the type of device you have. Your DAQ provides a package of signals? Also, what type of signal you want to measure? You must select DAQ that matches that. Take a look at the following before you start:

    Getting started with NO-DAQmx: Main Page

    And take a look at table 1 in the following article to wire your signal to the right:

    Wiring and considerations of noise for analog signals

    -You will need to use external circuitory to match the input of data acquisition range.

    -You could damage the unit.

    If you have any other questions, please after return. And, don't forget to give more details about your configuration, the hardware and what you're trying to do.

  • Problem using DAQ OR 6501

    Hello

    I have a problem whit use DAQ and NI 6501

    I read the data in a file and I've separated the bit it's ok. I reveal write a signal on Port 0 and read Pentecost seame Port 1, but do not work.

    THX

    Hello andreabello,

    I hope I understand that he correct attached an example for this. External port 0 must be connected to channel 1.

  • Difference between an instrument and DAQ hardware

    Hello

    I am very new to Labview and at this time I'm trying to grasp the concepts.

    Can someone explain to me what is the difference between a DAQ hardware and an instrument (that we can control).

    Also why they are placed in a different section in the palette function (measure I\O and Instrument I\O)?

    João

    In simple terms, hardware DAQ (measures of e/s) interface with NOR-DAQmx (or other drivers NEITHER as NOR-SCOPE) to measure, while the Instruments are often external to the computer and not rely on a computer to measure and use generally the VISA (or an abstraction of the VISA).

    Instrument of e/s

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvmeasconcepts/instrument_i_o/

    Measure IO

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvinstio/ni_meas_vis_func/

  • without using DAQ how a PID controller for temperature control

    Mr President.

    IAM trying to make a PID controller for temperature control in labview. But I have no devices data acquisition. Then without using DAQ how a PID controller.please suggest some useful block diagram.plz give me an answer. I tried one, but not working.below attached is my work.

    as a learning exercise, some devices can be simulated in the Explorer to measure (performance measure explore, right click on devices, select Create new.) Select simulated device and choose your device, you can search by product code for example 4070 for a dmm)

    I hope this helps you begin to learn labview, depending on how advanced you can I strongly suggest looking in training of core 2 and core 1 but also by looking at the examples that come with labview

  • I just tried to open Photoshop CS6 and received the message that photoshop has encountered a problem wth the display driver and has disabled the improvements by using graphics hardware. Where can I access the update to correct the problem that t

    I just tried to open Photoshop CS6 and received the message that photoshop has encountered a problem wth the display driver and has disabled the improvements by using graphics hardware. Where can I access the update to fix the problem because the link does not show?

    You will have to go the website of the manufacturer of your graphics card and download the current drivers.

  • The use of hardware accelerated the transition css to an element with SOUPLESE

    Hi all

    I created an item twice the width of my step and want to move on the screen when a button is clicked.  The problem is that the animation is not smooth at all.  He stutters and gasps like an old car! I was wondering if it is possible to use a hardware accelerated transition css to move in a more fluid way.  If possible could someone please give me example of what code to write and where?

    Thanks and good luck!

    There are several ways to do it, but I would use a style sheet. So:

    1. Add to the stadium "creationComplete" event: sym. $(" ") .appendTo ("#Stage");

    2. create a style sheet (text file) in your project named "styles.css" file and define a class:

    {force-webkit-acceleration

    -webkit-transform: translate3d (0,0,0).

    }

    3. give your item hosted class "force-webkit-acceleration" in the properties panel (the small icon of c-in-a-box next to the title field).

    Make sure that the style sheet file is in your folder "publish web" too.

  • Subtracting the two waveforms, an acquired using DAQ voltage analog input and the other being generated internally

    Hello NOR community,

    I'm new to LabView and was hoping someone might be able to help with a question I have. Currently, I use a data acquisition unit to sample external sine and I would like to change this signal by adding another signal that I could control using the front panel. Whenever I try just connect entry with something like the waveform sinusoidal vi and put a subtraction sign between them it doesn't work (I get an empty waveform graph). To work around this problem, I've resorted to a signal (via an analog output) and followed by reading the signal to data acquisition, and then finally I add the two together. It works this way, but he wastes two channels and I imagine that there is a better way. I enclose my VI, and I have marked the location of interest "where signals get subtracted ', which is currently displayed using two entries.

    Thank you

    Leo

    You must ensure that your sampling frequency and number of samples is the same.  It seems that your sample (with default values) rate is the same (1 kHz), but your number of samples is different (100 to 1000 the acquisition wave vs simulation).

  • Error to the element of the queue with simulated signal, but not with the DAQ hardware

    Hello.  I get an error code 1 when I run my VI in simulation mode, which is only 3 simulate subvis signal at different frequencies.  The block diagram shows jpg file and the probe is after I stop the VI.  Note that there is an invalid refnum.  I don't know why that is.  I am also including the watch of the probe after a few iterations, there is no error on the probe 64 until I stop the VI, and also noted that there have been no queue items.  This of course means that I don't get to remove the data in loop 2.  An interesting note is that the system works fine when I run the program in data acquisition mode, which is the other case behind the 'simulate signals. "  In this case, the only thing is the DAQ assistant and dynamic data of the tunnel cable.  Everyone can't see what I could do wrong?  Thank you.

    Thanks for looking at my post.  I thought about it about five minutes ago.  I didn't have a timeout on the handeler event, so it was not double check for new items in the queue.  I don't know yet why the probe shows showes that items have not put in the queue because they certainly were.  Maybe "queue items 0" means that there are no items saved in the queue. ?

    Your concern is interesting and deserves a check...  I just ran it without registration, and it seems that the release of the case (the default) record structure is just an empty DDT, a placeholder, I guess.

Maybe you are looking for

  • Update iOS 10.0.2

    Hello I have my Iphone 5 c running on Ios 9.3.5. As expected, he downloaded the new Ios. If I go into settings-> general-> update software, it says downloading 10 Ios (seems to me always the original version of ios 10). However if I connect the Iphon

  • Firfox still play mp3 when told of not

    I implemented the solution specified in this announcement: https://support.mozilla.org/en-US/questions/963437#answer-514541 However, the question now is when I click on a link to an MP3 from an external program, IE. Outlook, Firefox opens a new tab i

  • Remove pre-installed Web Developer

    I have Firefox ESR 17.0.4. When I installed Firefox, it came with what we call the Web Developer. Is not an add-on, it is not an Extension, and it is not a plugin. I checked the page Add on and he's not here. Also, I went to my profiles folder in the

  • Problem with the D-U-N-S: Urgent

    I am trying to register my organization on an Apple Developer program. I got a valid D-U-N-S number sent to me by D & B on 2 February 2016. However until now whenever I try to register my business using the D-U-N-S number, I get the following error m

  • After downloading the last update for my iphone 6, it caused a problem with Siri... everyone has experienced the same thing?

    I downloaded the latest update for my iphone 6.  Siri now does not work.  Is there a link?