Using the DAQ Assistant. can I create a VI that measures continuously during a fixed time?

I use LabView to an NI USB-6009 enclosure, with two accelerometers like my analog input. When you use DAQ Assistant to build my VI I have not seen an option to measure continuously for a set amount of time. I need the test to run for two seconds and then stop.

Is there anyway to specify the exact duration of each test?

It's about as simple as you can get. Set the number of samples to be twice the sampling frequency (or whatever the multiplier that you want). That's it - a simple DAQ Assistant and nothing else on the block diagram. If you need it to be variable, just wire a control of the number of input samples.

Tags: NI Software

Similar Questions

  • How to create different types of analog inputs without using the DAQ assistant?

    Hi all

    I would like to create multiple entries multiple analog channels of type... I mean I want to have the voltage of 5 and 2 channels of temperature...

    However, I am not using the DAQ assistant. I use "create channel" vi.

    Can anyone suggest me please how to do / I submit my VI for reference... I have 5 tensions, and 2 temperature characterized as showing these 2 two separate graphics...


  • Configuration of 1120D SCXI using the DAQ assistant

    Hello

    I tried to set up a channel on a module SCXI in 1120 D, as well as the rest of the SCXI system, using the DAQ assistant, but ran into a problem related to the range of the signal.

    According to this, http://sine.ni.com/nips/cds/view/p/lang/en/nid/1658, the maximum voltage is located between 10v - 10v, but when I tried to configure a channel with a range of 0v - 10v, it displays an error indicating that the range of the signal was invalid and that the available range is - 0.005v - 0.005v, could someone suggest what I'm missing or what I need to do to set up?

    Thank you

    Chris

    Hi Chris,

    Thank you for your message.

    Can I ask that you have the software gain set on the device? The table on page A-5 manual found here your device that the gain settings must be for some input range.

    I imagine you have the gain set to 100 while the available range is ±50 mV. For - 10V - 10V, please adjust the gain to 0.5.

    Thank you very much

  • Using the DAQ assistant voltage vs time graph

    I'm relatively new to all Labview and terms and everything which affects programming. I've read tutorials and everything trying to understand things. One thing that I have a problem is the DAQ assistant. Now, if I wanted to place the DAQ assistant on the block diagram of labview and I have everything set up so that the voltage will travel in the DAQ hardware, how would I set up my block diagram so that I can get a graph of voltage vs time in which data begin recording until the voltage reaches a certain tension I was inputing and change such as 30 or 40 volts. The data will also stop recording when the voltage reaches the same number. I also want to be able to multiply the number of voltage coming out a number that I can change myself before it is graphed over time. Example, I mean the voltage to start recording when he reached 40 volts. Now when the voltage comes out of allows it to DAQ assistant say he is somewhere read 10 volts and the number I want to multiply by 5. So, I want to be able to multiply the voltage by 5 and then since it will be 50, it would begin graphing this number over time.

    You would need to have a Boolean value which controls whether the (amplified) voltage is greater than N.

    If so, he would send this value to a graph, if not, the tension would not get graphically.

    Here is an example: (do not try to copy this code exactly, because it does not use a signal, but rather a whole number that is being created)

  • Zero readings of strain at the beginning of a test using the Daq Assistant

    I worked on code that uses the wizard daqmx for reading and writing of strain, temperature and voltage of a cdaq-9174, with NI 9211 and NI 9237 cards.  Everything works fine in the code, but I want to be able to zero distortion at the beginning of a test data.

    I tried to create a way to make sure I click a button, and it will be zero only strain as an autobalance data.  Anyone have any suggestions on how to achieve this?

    Hi Fwowe,

    As I understand it, you're trying to have is a flaw. I have programmed a small VI than acomplishes this task.

    Take a look and tell me what you think.

    Best regards!

    Carlos O

    Technical sales engineer

    National Instruments

  • How can I include all of the necessary files required for the DAQ Assistant create an executable file?

    I create an executable file to run on a computer that does not have LabVIEW.  The problem is that I am using the DAQ Assistant.  The hierarchy of the VI is big enough, and I do not know how to include all the required files to eliminate the error "the version of LabVIEw full development is necessary to correct the errors."  A picture of the hierarchy of the VI is attached.

    I think I'm missing something in the installation.  I'm downloading now the DAQmx.  I knowticed that all 7 of my missing Subvi are DAQmx * .vi

  • Precise triggering voltage input and output generation in the DAQ Assistant

    Hello

    I wonder if anyone has come across a simular problem with the synchronization of input and output voltage. I use a box 11 LabView and NI USB-6259. I have been using the DAQ Assistant to configure the input and output channel. In particular, my task is to generate a single rectangular "pulse" as the output voltage to drive a coil and once the pulse went to get a signal from a sensor of magnetic field and get a power spectrum. This means that the order and the time during which the DAQ Assistant is used is extremely important. For example, the output voltage channel must be opened first for 2 seconds. Subsequently, the channel of input voltage must be open for 1 second, in which the sensor signal is obtained and post-processed. Only after these tasks are performed in this order he can can be repeated in a loop until the experiment is over. I don't know how to trigger data acquisition assistants (one for entry) and the other for the voltage output correctly. Y at - it a trick?

    See you soon

    Michael

    Hi Dave,.

    Thank you that I wired the error strings but the timing issue was unrelated to it. In the DAQ assistant, I simply had to choose the continuous aquistion of the 'samples' methods 'N-switch' for input and output voltage and all works fine now.

    Thanks again

    Michael

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.

    Hello

    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

  • Units of the number of samples and rates for the DAQ Assistant units

    Hello

    I use the DAQ assistant for analog voltage of an input OR data acquisition card. What is the difference between the rate and the number of samples in the DAQ assistant and what are the units of the two?

    Thank you.

    The number of samples is how many discrete to measures. Rate (per second) is how fast to acquire the specified number of samples.

    If number of samples is 100 and the rate is 1000 samples per second, then the acquisition would take 0.1 second (100 / 1000).

    -AK2DM

  • Calibration of thermocouples in the DAQ Assistant, using data from spreadsheet?

    Hi all

    For my first application LabVIEW, I'm looking to automate the calibration of thermocouples by measuring their response at different temperatures in a dry well Sizer. I get temperatures of thermocouples six by SCXI 1303/1102/1600 and have six channels put in place in one of my subVIs in the DAQ assistant.

    I compare these values to temperature calibrator that I am acquiring by VISA series in an other Subvi. All these values are written in a .csv file.

    Can I import these data into the DAQ Assistant to use for calibration? Is there a simpler way to associate with the channel calibration data? Currently, I could manually copy - paste the cells on the worksheet in the calibration sheet, but that seems just silly.

    If there is everything that I could provide to help solve the problem, let me know!

    Thank you!

    Hi Zoysiamo,

    It is possible to automate the calibration screws DAQmx at a lower level, in particular the DAQmx channel property node. Using you can specify advance nationwide and the values on the scale for your channel. I recommend you take a look at this example of the community. The property node configuration will be similar to, as illustrated below:

  • By using only the keyboard, how can I create an email using Outlook Express, have the files of "painting" in the body of the email

    original title: only the keyboard

    By using only the keyboard, how can I create an email using Outlook Express, have the files of 'paint' in the body of the email, also registered another Web page?

    Hi r. Gull,.

    You can view using Outlook Express keyboard shortcuts, documented in:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/mail_hotkeys.mspx?mfr=true

    I hope this helps.

  • I just bought a new iMac and used the Migration Assistant to transfer my files. At first everything worked, but now a week later, I get the message that the application manager is missing, and I can't Photoshop and InDesign to start. I don't want t

    I just bought a new iMac and used the Migration Assistant to transfer my files. At first everything worked, but now a week later, I get the message that the application manager is missing, and I can't Photoshop and InDesign to start. For my personal use, I don't have a need to reach creative Cloud. You have any suggestions for a workaround?

    Try installing Adobe application Manager down the link and check

    Adobe - Adobe Application Manager: for Macintosh: Adobe Application Manager: thank you

  • Device simulated in MAX, auto test without error and has work Test panels, but is not displayed in the DAQ assistant.

    I am trying to create a development machine, where we can test the new code without using our physical hardware. I followed this guide to set up a system of simulation. I get to step 3.2 b, but the device does not appear in the DAQ assistant. MAX, the device self test and gites calibrated successfully, and when I open the test panels, I see some sort of signal. I guess that's a default entry simulated since I didn't that device to look for anything? Note that two devices, I am creating the show upward into the devices section and Interfaces, but that, even after running auto calibrate, automatic Calibration date is not yet specified.

    When I try to test the device and create a voltage according to the guide, I can't see a device in the creator of data acquisition task.

    Steps 1 and 2 of this guide are of course met. Step 3 is not, but this is not surprising because a simulated device is in device in any case manager. Also, I'm not under RT, so step 4 is satisfied.

    Someone at - it ideas?

    That would be because the PXI-5124 is a digitizer not an analog input device.  You must use the NI SCOPE not NOR DAQmx driver

  • Tasks of the DAQ Assistant

    How to create a task in the DAQ Assistant of LabView for one of our modules cDAQ without actually being connected to the cDAQ module?

    You can simulate a large number of instrument supported by DAQmx with Measurement & Automation Explorer.

    Right-click on the NOR-DAQmx devices and then create new, then simulate and choose from the list of supported devices.

    For the cDAQ chassis first then your module.

    Excuse me, but I don't have an English version of MAX and so I did not have the correct translation of command...

    When your simulated device is configured, ca use you it with the DAQ Assistant in LabVIEW.

  • Multiple entries to the DAQ Assistant

    Hello

    I'm doing my DAQ Assistant, in several (formed of an array) Boolean inputs where there is 1 digital output. (see attached software folder)

    Physically, I want a valve to open and close at a certain pace, where the user can install/control this pattern until the program starts.

    I think that the best way to do it is to have multiple Boolean values that the user can press or unpress.

    Before that, I started, I tried with only Boolean 1 where it worked perfectly.

    As seen on the attachment (error), it is possible to an easy problem to solve, but I just can't figure it out, I'm stuck at my already made solution.

    I use USB6008.

    I hope that there is a gentle soul who can help out me.

    Best regards

    Kenneth G. Vejen

    Hi Kenneth.

    When the output to the generation mode is set to "sample 1", which means that whenever you call the DAQ Assistant will generate 1 sample. In order to generate 5 samples, you must therefore call 5 times.

    I have attached a modified version of your VI, which shows a way to archive it. However, be aware that the samples will be generated fast and not at 100 ms note your loop runs. It depends on your application, if it is as you want samples to be issued.

Maybe you are looking for

  • Impossible to install the latest drivers for DVB - T USB TV Vista

    Hi all Reading the forums I noticed that this is not an uncommon problem on XP and vista now. The problem is that after installation, with the deleted stick and after restarting when plugged the device in Vista does not find the drivers. I manually e

  • MTBF PXI

    Hello I am looking for the MTBF of the following references: PXI-8119 PXI-6713 PXI-4071 PXI-6511 PXI-6512 PXI-6513 Thank you for your help,

  • Example of LV appeal to launch WMP from TS

    I used an example on the site of NOR.  https://decibel.ni.com/content/docs/DOC-25131.  The example works fine for me when it running in LV I need to call it from Teststand.  I have create a TS action step and call the vi.  I get an error 97 on the UR

  • When I check my e-mail I get an error saying: "windows mail has stopped working".

    When I go to retrieve my e-mail (windows mail), I get the message 'windows mail has stopped working ". I am advised to ensure that all updates are in place. They are in place. I don't have any other clues. I'm on the comcast system. original title: E

  • C4750 only prints the test page for office

    My C4750 has just stopped printing from my office and now only prints a test page.  It has been configured to print wireless and my laptop is still able to print anything there.  The printer is now connected via USB and is still the only thing I can