DAQ timing Wizard

Hi all, I do what would appear to be a straight forward VI. I'm controlling a small radiator that is monitored by a thermocouple. I read the thermocouple using the DAQ assistant. I use the PID of the Toolbox example. Then I generate a square in the cycle of use depending on the percentage of the PID gives. Strange thing is that all the parties separately work fine. But when I put them together I get no square signal, I can only see the transistions modified for long periods of time. I have pin pointed the problem when I use the DAQ assistant to read the temperature. If I remove it and insert a control I see the square wave. The system seems to favour assistant DAQ which reads the temperature, then generates impulses 'if she has time. I don't know there is something I have to do with the sync'ing of the two assistants DAQ. Any help would be great! Thank you

I second RavensFan reply, but if you were satisfied with the way the USB-6008 housing has been able to generate an isolation square wave then try something like this:

Two loops using dissociates the acquisition of synchronization of generation time allows many points of your square for each reading of the temperature of output.

Hope this helps,

Simon

Tags: NI Software

Similar Questions

  • Discordance between the DAQ rate Wizard and the dt output waveform

    I use a NI 9239 to acquire analog input data. Using the DAQ Assistant, I put the N samples, 8 k samples read acquisition mode and the frequency of acquisition of 8 k. I wire the data output of the DAQ Assistant directly to an indicator of waveform.

    I expect the dt for the waveform to be 0.000125. I have 0.000120, which is a rate of acquisition of 8333,333 Hz.

    What I am doing wrong?

    Thank you.

    To read the 9239 specifications in order to answer your question. Focus on page 18/19.

    Bonus tip:

    You specify the MINIMUM for acquiring sampling frequency in the DAQ Assistant.

    hope this helps,

    Norbert

  • Multi-lane Express DAQ Assistant several sampling rate

    Hello

    I am trying to acquire multiple signals using different sampling frequencies.

    I have 4 K type thermal couples I would record at a lower rate then a set of scales.

    Currently, I have all these channels configured in the DAQ Express Wizard but I would like to acquire different sampling frequencies for each type of signal.

    I use a chassis PXI-1052 and a Module of 1102 for thermal couples and a 1520 module for my scale.

    Any help would be appreciated.


  • DAQ Assistant in labview7.0

    Hello

    Recently, I bought a PCI - MIO - 16 - 4 to fit our labview7.0 DAQ. After installing the driver (from the CD), the card works fine with MAX and labview signalexpress. However, the default program is not at our request.

    So, I tried to schedule with labview7.0. I found that a single critical module, assistant DAQ, is absent. Therefore, I can not write the program. A strange thing is the DAQ assistant has already existed before using the installation CD. But then, he disappeared. I don't know how to find the DAQ back Wizard.

    Until we bought the card, we especially asked in advance if it is programmable with labveiw 7.0 or not. The response has been positive. Can you give me a suggestion or a solution?

    You need just to be sure that you have installed a version of DAQmx which is compatible with LabVIEW software:

    NOR-DAQ & compatibility of the versions of LabVIEW (for Windows)

    If yours is compatible, then try to reinstall the driver. I'm sure that will be the case MAX and LabVIEW SignalExpress work.

  • Why can I not make a continuous sampling of port 0 on USB 6216?

    I have a USB-6216 of NOR. I try to capture digital signals using port 0. However, the only way that I can function is samples on request. If I select N samples or continuous sampling, I get the following in the DAQ SignalExpress Wizard error message both Labview 2011. What I'm not doing correctly?

    Error-200077 occurred to the DAQ Assistant

    Possible reasons:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: SampTimingType
    Requested value: sample clock
    You can select: on request


    The 6216 not having a sample for the e/s digital clock as you can see from reading the specification, every time you try to use one, you will get this error message. Thus, in LabVIEW, whenever you want to do a reading, you must call a single value DAQmx Read mode single sample (or the DAQ Assistant, configured the same way). How many samples per second you take is going to be highly variable due to windows being nondeterministic.

  • Configure a current clamp

    Hello

    I have a current clamp for model fluke 80i-110 s I need to acquire an analog signal.

    I have a NOR-BNC-2111 interface hanging in a PXI 6289 data acquisition card.

    I checked that my current clamp is out 100 mv / ampere of current

    I used the DAQ LabViews Wizard to configure a channel and I don't seem to be getting the expected response of the data acquisition card.

    My input voltage channel is configured as shown below

    I'm reading an entry of tension between 09:50 V using a Mode of Acquisition 1 sample (on request).  I cycled through all Terminal configurations available but none of them seem to be save with precision input voltage.

    Is there something that I am missing on this channel configuration?  When I tried to create a channel to the registration system in collaboration with common voltage X Y plots seem to diverge from each other.

    Hello smoothdurban,

    Since your current clamp is output 100mV/A, he currently works as a resistance of 100 m Ohm (R = V / I = 100mV/1 a = 100mOhm).  So my suggestion would be to create a current input analog task in your DAQ Assistant, set your resistance of shunt on 100 m and your minimum and maximum flow. This way you would be directly save the current.

  • DAQmx Trigger: Error 2200077

    Hello

    I am trying to create a program to trigger a hammer signal, using a USB-6211 card and 4 analog inputs (via 1 DAQmx create channel HAVE voltage to the hammer and 3 others at the exit of the accelerometer). Having as a basis for some examples of LabView as "Acq Cont & voltage chart ' and 'Impact Test (DAQmx) [.vi SVXMPL_Impact Test (DAQmx)]', I built my program, but it does not work.

    If I don't put the relaxation and the task to start, my programme without any problem (in this case I use 4 DAQmx create channel HAVE tension, a DAQ Timing, linked to the DAQmx Read located on the loop). But when I add the trigger (start analog Edge) out of the loop, so that between the time the DAQmx Read, error-200077 apears and DAQmx. This same error apears too when I try to run the sample of "Cont Acq & voltage graph" (even if I change the sample rate and the number of samples, the error is still the same). The error-200431 apears when I try to launch the second example ("Impact Test (DAQmx) [SVXMPL_Impact Test (DAQmx) .vi]), but in this case probably the DAQ card is not suitable to run this program.

    When I add a task to start before the loop (where is located the DAQmx Read function) on my program without the shutter button, the error-200278 appears. And if I add the trigger and Start Task, just the apperas-200077 error function. However, the startup task is not bothering me as much as the trigger, because when I do not use the trigger on the example "Acq Cont & chart tension" and the task of beginning is always there, this program runs normally. In this case the problem is probably on my prgram and not on my data acquisition card.

    I just want to know if my card cannot run this trigger function (early analog Edge) or if there is something else, because it's strange how a relatively simple example can be run using my data acquisition card.

    Thank you

    Hi, FCB,.

    The USB-6211 can only be released digitally.

    The attached document allows you to see the specifications of your card:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/203224

  • Generation and acquisition of analog signals simultaneously on USB-6212

    Hello, I am novice programmer DAQ trying to create (what I think is) something very simple.

    I use a box NI USB-6212 and LabVIEW 8.5 is trying to generate a pulse train analog while recording a simultaneous analog input.

    My first question is, is it possible?

    Since I'm new to this, I use the DAQ assistant in LabVIEW.  I can acquire a signal, I can also generate the desired signal, but I can't seem to operate simultaneously.

    I have been successful in obtaining my program to work with both USB-6212, but I have to be able to do this with a single.

    I have attached the block diagram and vi, I hope that's easy to answer the question, even if my research so far has left me empty handed.

    Any help would be greatly appreciated!

    Jon L

    Hi Jon,

    Well, first of all welcome to the DAQ programming! I took a peek at your code and published it with a device simulation very well, so I ran with the PCI 6251 card in my computer and he did not also get errors.  Could you post the error code you get?

    If I could figure out what is your error, I would say you encounter errors of buffer because it is too much overhead in the DAQ to wizards in the face of data rates.  My suggestion would be to use the example called "Multi-Function Synch AI - AO.vi.  This program can be found in the Finder for example of NOR (see Help"find examples in LabVIEW).  "" It appears in the input and output material"DAQmx ' synchronization ' Multi-Function.

    Can you give that a try and let me know how it goes?  Thank you!

  • Can what function block I use in my vi to configure a NI USB6008 of ANALOG OUTPUT.

    Hello

    I have a USB6008 that I use to watch the 3 entries. I would like to add the analog output AO0 to control a 0-5 volts. Which function to use in Labview 2010 for this?

    The DAQ assistant let me only to acquire signals do not generate so I need something similar to the daq but Wizard to generate signals do not acquire.

    Thank you

    Andy

    Each task can contain only 1 channel type so a task DI has all the digital input channels and a task to HAVE it cannot contain the analog input strings there is no way to mix these channels in a single task.  You CAN create and run a job to HAVE and an AO task on the same device.

  • Two signals interfering with each other

    Hello

    I have a problem with a trace of pressure and a vibration sensor. I have a card PCIe - 6341 DAQ. I connect my pressure signal to a channel (say ach0) and I connect the vibration to another analog channel (say ach7).

    In labview, I use an assistant DAQ. When I use it to sample only one of the signals, there is no problem. If I add two channels in the configuration dialog box, the signal pressure becomes superimposed vibration signal.

    Analog signals entering data show no interference (checked with an oscilloscope). I suspect that what is happening inside the data acquisition card.

    Any ideas why this happens?

    Thank you

    Masoud Mashkournia

    Hi Masoud,

    It seems that you see 'ghosts' on your channels.  The 6341 multiplex via the analog inputs.  Therefore, if you are scanning between high voltage and low voltage, especially when you use CSR, you can see ghost images if the signal from the previous channel file completely or have a path to the ground.  Here is a good article from the knowledge base that describes ways of eliminating this remanence.

    I noticed that you use the configuration of the CSR on your DAQ Configuration Wizard.  Try using a differential input configuration.  This can help eliminate unwanted common mode voltages.  In addition, you can try place a middle way in scanning which is connected to the ground at AIGND in the DAQ command scan.  This can help with the mass of the previous signal.  Most likely, you will want to scan in this order: pressure, ground, vibrations.

    Please let me know if it helps.

    Best,

  • 2D raster scan photon counting optimization

    I wrote a VI for a scan 2D raster and pulse TTL of a photon counter to each pixel.

    It seems to work very well and is to serve its purpose for now. However, there is something I want to improve

    Currently, I have 2 loops, following the breast of one for each of the axes (x and y) for analysis. Then in the inner loop, I count the pulses. Now the problem I face is that I did not understand how to start the counter from 0 to each iteration. Instead, I do turn the meter twice in a for loop and the output of the difference between these two iterations using shift registers.

    I want to do is not have to count it twice for each iteration. I tried the task start and stop vi, but they seem to be doing nothing.

    The other thing that would be nice is to avoid loops. I heard that it is "expensive" to use loops and cause some general time in the program. I really don't think it bothers me at this point, but I think that if I do the scan rates more quickly then it might. I am currently scanning > 100ms per pixel.

    (And also, for the record, my wavefrom raster is slightly different in that in is a 'triangle' instead of. saw-tooth that it goes to the end of the fast axis, then begins the following line at the end rather than the beginning to avoid sudden jerks in my gear.)

    I enclose my VI. Thank you

    Aditi

    I can't help with your meter problems.

    The loops have some overhead. It is the order of a few nanoseconds. Then the loops are probably a little slower than for the lines because of the additional test. Compared to your DAQ timing the time loop is totally negligible. Look at the below test program.

    As you know (or can calculate) the number of steps, for loops is probably the best choice. I think that the conditional for the loop is available in LV 2011.

    You probably need to move channels AO create screws and clear Associates screws task outside of the loop. Connect the wires to the task via the shift register ID so that the value will be passed in the event where someone enters the start and end values that lead to zero iterations of the loop.

    Usually to speed things up you want to (indicators) out of the loop when it can be done without harming the feature all the calculations and display.  For example, the division by two can be moved to the outer loop; the entries do not change in the inner loop.  If you do not need to see every update immediately, reducing the number of writes to the curve of intensity amy speed up things a bit.

    Avoid the right of left child and behind other objects. These have no effect on the execution of the programme, but they make it much more difficult to understand what is going on and the problems of fine. I have attached a version purified to the top of your program.

    Lynn

  • several segments of the production of a signal as a signal of undivid

    Hi nice friends.

    I work on a simulation of signal with LabVIEW, all work good and fair execution problem a signal.

    It's a signal sine, its changes in frequency of 15 Hz - 30 kHz smoothly. At first, I thought it would be easy to build a whole and output signal with the DAQmx Timing.vi (use of wave), but things does not seem simple, due to the high frequency (30 kHz), should I do the sampling rate of the wave at least 300 KHz, which again is not the pretty smooth waveform.

    So I was wondering, if it is possible to the waveform of the output in the form of several segments and their output without interruption. Yet I wonder if it is possbile to do with this big (30 kHz) frequency?

    Thank you all for andvance.

    Best regards

    badstone

    Hi GerdW,

    Thanks for the mention me.

    I made a simple diagram as follows

    It is to generate a samples of the series (this is 100 #s) of a sinusoidal signal, before the release period, set the sample as continuous sample clock and frequency of 15 Hz starting, then write it, the material will be guard wirte until the task is stopped or deleted. Now that physical custody write this 100 samples, I change the sampling frequency with the DAQ Timing.vi in a loop, the frequencies change quietly.

    I hope I made clear.

    Best regards

    badstone

  • Application for Windows OR DAQ are not not in the VS Project Wizard

    Hello

    I'm new to studio NOR and measurement.

    I downloaded the evaluation version and installed the following:

    Visual Studio Community edition 2013

    niDAQmx 15.0.1

    Evaluation of measurement Studio 2015

    I have a NI USB-6211 connected and got it in LabView with the niDAQ Wizard.

    But in trying to create a new Application of Windows NI DAQ from the Visual Studio wizard, there is no entry for it. I see that:

    NEITHER Windows Forms Application
    WPF application of OR

    Class library of NOR.

    For c# and VB.

    I guess that the Measurement Studio evaluation version is equal to the professional version.

    So, how can I create a new Application of Windows NI DAQ in Visual Studio?

    Thanks for your suggestions

    Kind regards

    Crashdog

    It seems that the Application of Windows NI DAQ was installed only for .net 4.5.1 and my default has been set at 4.5.

    That solves it probably.

    See you soon

    Crashdog

  • How to set up wizard DAQ or DAQmx tasks using an external text such as a CSV file?

    I work in an environment were we have a lot of users VI. I develop the VI and technical personnel using the GUI (cover Page) to collect the data. In order to control the input parameters used on multiple hardware platforms, I'd like to develop a generic VI which will import or read a text file I created, and configures the DAQmx tasks to perform data acquisition. In fact, I have the generic VI full and need to understand how to make configurations DAQmx more transparent for the end user as long as the end user has the text file to import. For example, to generate the wizard DAQ DAQmx tasks based on information from text file?

    I don't have time to do more than just a small example. The VI below contains a table with table fixed index functions. This would have changed to get automatically the correct rows and columns, but I hope that you have an idea. I does not have any code to define the type of temperature measurement or to set the correct configuration of Terminal. All of this plus all other possible options will be treated similarly to the definition of the type of channel and min/max which is located in the example.

    Edit-attach VI

  • Use of Labview to make a wave custom for the daq for output Wizard

    Hey there, I have a table of values that I made in a waveform x.

    I was curious to know if this waveform can be printed by my Ni Daq with the Daq assistant, or is there another method to display an array of values via a data acquisition card?

    Thank you

    You can try to create a new assistant or look at the post at http://forums.ni.com/t5/LabVIEW/Missing-wire-connectors-on-DAQ-Assistant-express-VI-s/td-p/1505788

Maybe you are looking for

  • Firefox profiles are not very useful - all instances open with even a

    I'm using Linux: LMDE cinnamon Edition - 64-bitI use the version of firefox Mozilla Firefox 31.0 I wish to have two instances of FF running. One with my standard, personal settings and a second instance that ONLY connects to Facebook and stop data le

  • RD5200 raid5 spare drive does not

    Hello world I have no real support of supported Netgear customer (except say update the firmware that they won't help you if you do not have remote access). I hope that the community will be placed to help me. My RD5200 is configured with a volume ra

  • network not appearing not

    I have a wrt54g2.  I currently have 2 laptops on the network.  I bought a new laptop.  When I go to connect to a wireless network, my network is not displayed.  It is currently visible on my old 2 laptops.  There is a linkysys link, but when I put my

  • Need to re - install VISTA

    I need to reinstall VISTA on my Dell PC.  I have no more CD DISC.  Can I down load the software on the web?

  • Update of the new OS to blackBerry Smartphones damn podcast listen

    Hello I've updated the OS the other day and now I can't the phone Holster or out of the screen is on the air without it turning off the music. Please notify