time of release with daqmx

Hello

How can I set the time of liberation with DAQmx?

In general, with a single DAQ hardware, the two signals are connected at the same time and the acquisition time is a function of the sampling frequency and number of samples read. For example, with a sampling rate of 1000 samples/s and 50 samples, the acquisition will be 50 msec. You then get a returned array if you wanted to watch a single signal by iteration of the while loop, it is simply a matter of indexing the specific channel to the table. You must set the mode of continuous sampling to avoid gaps and precise timing. Using two separate tasks and switching back and forth would add a lot of overhead to close/create tasks and you have little control over this period.

Tags: NI Software

Similar Questions

  • How to set an interval of time of acquisition with DAQmx

    I use a 6123 DAQ to acquire and store a voltage signal. I'm trying to figure out how I can reduce the time interval of the data acquired, rather than save 2 ms of data I want to only save the first data 100us. Is this possible?

    Kind regards

    Lowksi

    How you configure your task?  I can assume that you are using samples for your type of acquisition.  So what you do is the VI of Timing DAQmx place your sample rate and the number of samples to be taken.  The number of samples you want will be the sampe (samples per second) rate multiplied by the interval desired (seconds).

    So let's say that you buy at 500kHz and you want data 100us.  You must set the number of samples to read 500e3 * 100e-6 = 50 samples

  • Is it time stamp with daqmx read

    Hi all

    Simple question.  I have currently not creating a task or starting a task, I simply create a channel and reading that chanel.

    It is...  Why I don't get a timestamp when you do and do I create a task to get one of this?

    There is a timestamp when you use the DAQ Assistant or when you choose to return a data type of waveform with DAQmx Read.

    You can't do a reading without a blemish. You don't have to create the task in MAX, however.

  • With a sampling of the data with DAQMX, error-200279 occurs when making 2d array dbl

    Hello

    I did a system of simple analog voltage with DAQMX data acquisition.

    It is made for reading of capacitance, where output capacitance value out of a circuit in the periodic voltage signal.

    What I want is to get data from four capacitors simultaneously through four channels, using samples n n (dbl 2d).

    The structure of my VI is almost similar with examples of continuous sampling of voltage in LabView, with the exception of a few other calculations in the loop.

    And for the synchronization of the trigger, I've corrected the edge of release with the external signal from the capacitance reading circuit.

    Version no. 1 has a channel for data input voltage. Version n ° 2 has four channels for the input data.

    While ver.1 can get accurate reading of four capacitors circuit data each (a single channel at a time),.

    ver.2 acquires four channels of data, with a single thin data channel, all the others were wrong.

    I saw a 200279 error occur in the DAQMX read part 2d dbl, so I tried increasing the buffers by changing the sampling frequency or the number of samples, but it wasn't everything.

    I rose for most of the forums with the 200279 error, but the solution would not work on mine.

    Anyone can find the problem? I will attach my screws it may include a bit of Korean language, but most of them are in English, shouldn't be too hard to recognize. Sorry for the inconvenience.

    Oh I forgot, my DAQ is NI USB-6259, and it works in Win XP sp3 and LabView 8.6.

    Thank you.

    Hello Azurenight,

    The 6259 is a DAQ card of the M Series Multiplexed, which means that it is not possible to sample each signal at the same instant, rather the channels are all sent through the ADC even and must be sampled in order. More information on this can be found here:

    LabVIEW Help: Multiplexing compared with simultaneous sampling

    http://zone.NI.com/reference/en-XX/help/370466W-01/mxcncpts/multisimulsamp/

    It may still be possible to get the data you need with the card you have - could you give more information about the maximum eligible period between samples on different channels?

    If you require * real * simultaneous sampling, you will probably need different hardware.

    Kind regards

  • Timing embedded with Daqmx on PCI-6132

    Hello

    My colleague and I are trying to make a program Labview which starts a timer when the first trigger (sensor) is struck and stop the timer when the second trigger (sensor) is reached in 2012. We currently have a program for her, but this program was not sufficiently precise. Also the current program is using the DAQ assistant, but we would like to replace with daqmx triggering. We have also tried to use the OnboardClock on the PCI-6132, but still could not do the work programme.

    Is there anyone who knows how to do this and could explain it?

    (In the attachment is the current program)

    Thanks in advance,

    Tommy van Geest

    Hello Tommy.

    You can share your current code?

  • Multitask with daqmx

    Hello

    I am currently working on a Senior design project where I have to measure rpm, torque, pressure and temperature.  I use strain gauges, pressure sensor and a Hall effect sensor, thermocouples for these readings.  A myDAQ collects readings rpm and pressure while a cDAQ collects couple and readings of the temperature with NI 9211 and NI 9237 modules.  I have created LabVIEW screws for each sensor and they work.  The problem I have is when I try to create a VI with DAQmx who reads all the values of these sensors simultaneously.  The VI I joined randomly displays one of the measures while other measures remain empty.  How can I change my VI so I can show all my readings at the same time?

    Yes.  Create multiple tasks, where all the strings that are common to a specific device are grouped in the same task.  Then go and run these tasks in parallel.  Do you need a precise synchronization between the tracks in the different devices?  If this isn't the case, then the method should work perfectly.  If you need a precise timing, things would get more complicated, but might not be impossible.

  • How can I improve the rate of acquisition with daqmx and usb-6008?

    Hello

    I am trying to acquire data of analog voltage with a USB-6008. I'm under Labview 8.5 student on an HP laptop with a 1.33 Ghz cpu and 736MB RAM, apparently. I tried using the Daq assistant and the low-level Daqmx functions. My best results come with a task set in MAX for my analog input, and using the function 'Daqmx read' the 'unique double 1 d sample' value in a while loop. I insert the values returned in a table which built in the while loop, and then when I'm done, I check the number of samples in the table. In the test VI attached, I also use the time to Get before and after all loop. The best sampling rate I made using this method, is around 40samples/second. I have attached a VI below that illustrates this concept. In my actual application, the data acquisition code runs at a time while loop with 1ms, parallel to other code that controls the device I'm collecting data of. The sampling rate is roughly the same for my test below VI and my application program.

    The 6008 datasheet gives the sampling frequency maximum 10 kHz. I'd be happy with 2 to 2.5 kHz, or as soon as possible; I'm sure that I can achieve a little more than 40 Hz. My first idea was tied to the hardware, but the 6008 cannot make acquisitions NI hardware.

    My question is: How can I implement a faster sampling of analog voltages to a USB-6008 in LAbview? If I can't do it, is there another way I can taste the data more quickly?

    Thank you

    -SK-

    To the best of my knowledge, the USB-6008 can do timed equipment acquisition. Don't forget that this is a multiplexed device, so if you add 8 channels so the maximum you can set is 10 k/8

    If you are new to LabVIEW, I suggest that you try this sample program first

    \examples\DAQmx\Analog In\Measure voltage. llb\Acq & Graph tension-Int Clk.vi

    Amit

  • Satellite L20 260 won't boot to the top, every time it freezes with no reason

    Hi all

    I have a problem with my satellite of sad, after 3-4 days I installed a new operating system (tried with XP SP2 and Kubuntu) system does not boot to the top, every time it freezes with no reason, the only way is to perferom a new installation of the OS. What is a hardware problem, perhaps related to the RAM or HARD drive?
    x 10, Daniele.

    Hello

    It's not easy to tell if the problem is software or hardware related.
    You must install the OS from the Toshiba Recovery CD and again test the functionality

    If the laptop won't boot again freezes immediately after that installation of recovery CD, and then it could be a hardware problem.
    You can try using MemTest 3.5 tool.
    It checks the memory of a malfunction.

  • 2009 with DAQmx Installer

    We distributed an integrated application that uses DAQmx 8.x and LabVIEW 8.6 for several years.  I'll call the application MyApp 2.8.  We are working on a new version that uses LV 2009 and DAQmx 9.x, which we will call 3.5 MyApp.  When build us and deploy a Setup program for MyApp 3.5, then try to use it on a computer that already has 2.8 installed MyApp, the installer complains about dependencies and said that the two DAQmx 8.x and MyApp 2.8 must be uninstalled first.  I spoke NOR cela briefly and told me that DAQmx 9 was a pretty radical overhaul that required this change.

    It's annoying and slow for us, but almost untenable for our customers.  First of all, MyApp MyApp 3.5 and 2.8 are compatible, and we prefer to leave MyApp 2.8 installed as a backup as people get used to 3.5.  If the customer needs:
    Uninstall MyApp 2.8

    Uninstall DAQmx 8.9

    Install MyApp 3.5 with DAQmx 9.0

    Reinstall 2.8 MyApp (as if they can still find the disc!)

    Far too many steps and complications.  In addition, it is not really necessary.  If the runtime for 2009 is already installed on the computer (for some reason any), you can simply copy the MyApp 3.5 on the computer and it will run with DAQmx 8.9.  But this only postpones the problem, because at some point the customer will upgrade once again, and we will have forgotten that they were installed with a workaround, and...

    The really frustrating part is setup for MyApp 3.5 refuses to install until MyApp 2.8 is uninstalled.   While we have proven that MyApp 2.8 will work very well with DAQmx 9.0.

    Is anyone else noticing this problem?  Has anyone found any better workaround?  Is the same problem when we jumped 2009 and returned with 2010 and the last DAQmx?

    Thank you

    DaveT

    DaveT,

    You're right - for this aspect of the problem - my proposed solution won't help. At the price of a larger Setup program, including the full version of DAQmx probably will give the upgrade experience you want. If the web download size is a concern, perhaps you could provide two builds of your product - with the acquisition of complete data (for those of you who have your old product) and with smaller data acquisition (for those who do a clean install)?

    In addition, certain registry keys to remove the dependency I guess hacking is sort of an option, but it probably isn't the type of solution you are looking for. (We are currently researching the addition of some extra features in the uninstall program OR allow without taking account of certain dependencies, but nothing is currently available).

    Kind regards

    -WesW

  • How to choose destinations for counter/timer signals in NOR-DAQmx?

    In the document M Series DAQ
    M series user manual
    622 x, NI 625 x and the materials NOR x 628
    M series user manual
    July 2008
    371022K - 01

    appears on page 7-30:

    Counter/Timer default pinout
    By default, NEITHER-DAQmx routes counters/timers and outputs inputs to the PFI pin, shown in table 7-4.
    Table 7-4. 68 peripheral pins by default Counter/Timer pines NOR-DAQmx
    Counters/timers fail-safety connector 0 PIN (name)
    0 2 CTR (PFI 12)

    You can use these default settings or select other sources and destinations for the
    counters/timers of NOR-DAQmx signals. Refer to the connection counter signals
    in the NOR-DAQmx help or the help of LabVIEW in version 8.0 or later for
    more information on how to connect your signals for common counter
    measures and generations.

    I couldn't find any hint to the appropriate command of DAQmx in the "NOR-DAQmx C reference Help" to select other destinations for counter/timer signals in NOR-DAQmx.
    Please can you tell me the DAQmx command right? Thank you very much.
    I use the NI USB-6259 M material Series DAQ, BNC end unit.

    datafriend,

    If I remember correctly, you can "free" the output terminal of default counter by calling DAQmxSetCOPulseTerm and passing an empty string in the 'data '.

    Hope that helps,

    Dan

    Edit: You can also set this to any other valid terminal (IE... "Dev1/PFI0") and to send the output to.

  • After changing the motherboard in my PC the device software windows 7 cann't be activated. I tried many times to speak with the service the customer but failed.

    After changing the motherboard in my PC the device software windows 7 cann't be activated. I tried many times to speak with customer service through automated phone system, but failed. Now what should I do.

    The OEM of Windows 7 versions are identical to the versions commercial full license with the following exception:

    -OEM versions don't offer any free direct support from Microsoft technical support Microsoft

    -OEM Licenses are tied to the computer first you install and activate it on

    -OEM versions allow all hardware upgrades except for an upgrade to a different model motherboard

    -OEM versions does not move directly from an older Windows operating system

    What is OEM software? :

    http://support.Microsoft.com/GP/oemsupport_1/en-GB

    Licensing FAQ:

    http://www.Microsoft.com/OEM/en/licensing/sblicensing/pages/licensing_faq.aspx

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

    Windows 7 - version comparisons:

    http://Windows.Microsoft.com/en-us/Windows7/products/compare-editions

    MS Windows 7 store price:

    http://store.Microsoft.com/Microsoft/Windows-Windows-7/category/102

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

  • How could I concat a time as hh with an earlier date

    How could I concat a time as hh with an earlier date as

    Select to_char (to_date (sysdate) |) (' 08:30 ') of the double

    and the i could convert this time and the date in this format, 'dd-mm-yy hh:24:mi:ss' love

    Select to_date (to_char (to_date (sysdate) |)) (' 08:30 ',' mm-dd-yy hh:24:mi:ss') of double

    Dear Sir

    Try,

    SELECT TO_DATE(TO_CHAR(SYSDATE, 'DD-MON-YYYY') || ' 08:30:24 AM', 'DD-MON-YYYY HH:MI:SS PM') FROM DUAL;
    

    Manu.

  • I really get released with creative Cloud hosting?

    I really get released with creative Cloud hosting? If so, 1. It's great and 2. What should I do to get a specific domain name or it is understood?

    Thank you!

    If you're new to creative cloud you do not except more free hosting with BC.

    Even if it was that it came not with domains, you had to get these separate.

  • To get a trial free Adobe Photoshop Lightroom CC TRY (install) times the CC with Lightroom and Photoshop CC or just Lightroom CC?

    To get a trial free Adobe Photoshop Lightroom CC TRY (install) times the CC with Lightroom and Photoshop CC or just Lightroom CC? I installed only the Lightrrom CC and when I opened it up it reads 'Adobe Photoshop Lightroom CC' but I think I should TRY (install) the CC of Photoshop?

    OK, the plan of photography includes photoshop and photoshop lightroom.

  • How to export a PDF file to a word document? at this time he came with "specified by a policy (CMap) encoding is missing? What can I do?  Thank you

    How to export a PDF file to a word document? at this time he came with "specified by a policy (CMap) encoding is missing? What can I do?  Thank you

    Hi frenchiem,

    This is due to the PDF file cannot display the original fonts. To fix it, creator must create the PDF file with the police embed option enabled. Thus, the user can open the file on any platform with the same layout. Or the product Acrobat can display them after installing the media kit for police on the client side.

    Kind regards

    Rave

Maybe you are looking for