discontinuity of analog generation

Hi, it was suggested that I post this question here rather than on the set of Labview where it was posted.

I work with an acquisition of data, OR USB - 6221 BNC and trying a continuous sine wave analog on output.  Finally it will be output on an external device, but I am try it now and get a discontinuity in the received signal on the same device with analog input.  I use the examples of programs Acq & chart voltage-Int Clk.vi & Cont Gen tension Wfm - Int Clk.vi and am display a waveform of 1 kHz at a sampling frequency of 200 kHz, well within the Board of Directors. and delivery of a complete cycle of the buffer.  Using only one channel on the record, that I am seized at 192 kHz, I understand shouldn't be a problem because I don't share the A - D input with other channels (since it's my only job).  The problem is visible when the amplitude is less than 80mV.

In response to questions about the other post, I took a shorter record to show the different cycles on the entry with the sporadic spikes.  As can be seen in the photos, the cobs intervened crosses zero wave.  I hope to exclude external interference, I unplugged the cable BNC output while generating and recorded and had a flatline (as would be expected), I also set the amplitude of output to 0V and again registered a flatline.  Any help would be greatly appreciated

Thank you

Sam

Hi Sam,

The behavior you're seeing is likely to be a behaviour known and specified for the output of analog of this card. It looks like the dissipation of fees that accumulates in the DAC in normal operation. This behavior is specified under the heading 'Glitch energy' HERE in the specifications of the 6221 OR. As it is specified as 100mV, it makes sense you only see it during the generation of the small tensions, since the NFS is much less. One option here is to implement a low pass filter to try to get rid of this problem on the output of your 6221.

I also found another forum on the same issue HERE.

I hope it's useful.

Chris W

Tags: NI Hardware

Similar Questions

  • Digital and analog generation and acquisition using USB-6251

    Hi all

    I have to actually synchronize a 6251, USB and USB 6366 Board. I have a vi, which is good that now I am able to use the 6366 as the master and as slave 6251, attached tie. The master generates a digital trigger for (generation synchronization) pulse and the acquisition of the signals on both cards, analog signal ramp and acquires signals. The slave acquires only a series of signals after outbreak.

    I want to have the 6251 as master and as slave 6366. The vi attached the other way around as I mentioned above. When I try to use the 6251 as the master, I get an error asking me to specify the clock source (I did the material and some changes in the program as well, as export properly 6251 at 6366 clock).

    Thank you

    SANJU

    Thanks for your reply jonathon,

    But in your code below, I coudnt get the Outpput internal PCI-6251/ctrl0...

    but I hardwaired the o/p (PFI 12) meter... .and generated a signal meter on this port, I used that as the clock...

    Thank you

    SANJU

  • Analog generation using USB-6259 with C native

    Hello

    I've developed a sort of access library (with a unified interface for all types of tasks) for device 6259 and I don't know how to generate an analog voltage (other reports probably too) the way I want. I can generate finite or continuous signals, but only with the specified buffer samples (the signal is so very periodic). My intention is to use everyNSamplesEvent to change the contents of the buffer, so I can easily generate user-defined signals. I noticed the change in buffer is done when the task is stopped. But I don't want to stop the task to swap the contents of the buffer. How can I do this?

    Hello

    You develop this application using LabWindows CVI or Measurement Studio?
    Can you please tell me what the DAQmx driver version are you using?

    You can see this example if you are using LabWindows CVI.
    http://zone.NI.com/DevZone/CDA/EPD/p/ID/1733

    If I understand correctly you want a non regenerated output.
    Please let me know your status.

    Kind regards.

  • go DC for analog generation with hardware trigger

    Hi, I would do the following:

    -Together a terminal to user defined voltage CC

    -Switch to waveform base voltage generated when a hardware trigger is received

    Is it possible to do this with a multifunction DAQ card? I have the impression that seitching of the DC to waveform generation can be done in software. This would lead to some downtime. How long will the dead time? The voltage will be stable over this time?

    All comments welcome

    Hello Dixie,

    See screenshot of the joint, this could be an option. First of all, you can do a DAQmx task that allows you to send a continuous tension, when you disable directly task the DC output will remain at the level you selected before. Then you create a task DAQmx will send a wave form and waiting for a trigger to do. The output will be at the DC level until there is a trigger so the waveform will be produced.

    Casper has soon

  • Fast analog generation ramps simultaneously

    With the acquisition of data-mx, trying two fast and simultaneous output analog ramps.  I created the attached .vi and know that if I try just an exit ramp, my method works.  However, when I add the second a ramp channel generates a ramp and when it's over the other ramp is released on the second channel.  Can you find my error?

    Try increasing the rate constant to something appropriate for your hardware (i.e. within the maximum sampling frequency for your hardware). You can try to 50000. You will also need to change the waveform generator sample speeds too (they are all set to 1000 Hz). Maybe make a control on front panel and replace all constants of 1000 with a wire to the control.

    I hope this works!

  • Please help on sig analog gen 1.2 ms

    Hi guys. I need your help on analog voltage generation for 1.2 milliseconds. I really don't know about generation/maninupulation waveforms. I tried to change the two examples that I have attached, but I was unsuccessful. I tried to change: input frequency for the generation of signals, however, I can't manage :/ I tried to access the references/examples/responses of the net, however, I can't find any useful stuff. Could someone edit one of this screw for me generate an analog voltage over a period, specified in milliseconds. Are there any good resources to learn the signal analog generation/manipulation you can suggest? I thank in advance.


  • Timed by analog material out with PXI-6733

    Hello

    I'm a little confused on the possibilities for the material of analog timing of release of a PXI-6733, using pulses of DIO to a separate device.

    I want to generate an analog voltage on the signal for synchronization from another device.

    Lets say I want to generate tensions: 0, 1.3, 8, 0 volt. Sometimes 1 US, 402 U.S., 1004 US, US 1503. (we = micro seconds). I DIO card that will generate TTL pulses in these moments there and let's say I have the latter on a trigger PXI, PFI line line or enter the map of 6733.

    How to configure DAQmx with labview to perform this task?

    Thank you

    Paul.

    Hi Paul,.

    There are many ways we could do this.  The first thing that comes to mind is to sample AO clock battery LIFE of your device.  All you have to do is do an array of doubles with the values that you want to scroll through and then then whenever you get a clock pulse we will update the output.  You can see examples in LabVIEW by going to help > find examples.  "" "The NOR example Finder will appear, and you can find many useful programs in input and output material" DAQmx "analog generation ' record of tension.  To achieve my method, I opened the Gen Cont tension Wfm - Ext Clk.vi example and modified the code as indicated.  I have included the code here for your reference.  In my code, I plug my external clock in the clock via PFI0 source on my card.  Now, whenever I get a pulse I will update the output voltage of 1 to-2 to 3-4, 1-2, etc., ad infinum.

  • Simple examples of analog output USB-6343

    I've tried passing by 'find' examples and does not know how to find what I want.

    I'm doing a simple analog output on a USB-6343.  Examples of waveforms say they work with the USB-6343, but I really don't want a waveform, just analog of output does not exceed 10 Hz speed of renewal.  Some of the more simple examples show that they work with the pcie-6343 but do not list USB-6343.

    I worked with USB-6009 in the past, but when I try to use an analog output task that uses 1 sample on request, I get the error "not buffered operations clocked by the hardware are not supported for device and channel type.»  Set the size of greater than 0 buffer, do not set up the timing of the sample clock or the value Type of sample On Demand time"

    I tried samples N, 100 samples to write to 10 Hz - the same error.  Samples of continuous - same error.  1-sample - timed HW - same error.

    There is a series of examples of I/O for the X series?  Is it possible to search the device examples rather than go through all the examples and by checking the list of devices individually?

    Is 'size of the buffer' the 'writing samples"in MAX?

    After contacting the support I was provided with the names of the more simple examples for analog i/o:

    Analog output-Gen power Update.vi

    Analog Input-Acq & chart voltage-Int Clk.vi

    They are found in the getting started screen of

    Click 'Find examples' near the lower right corner

    Filter the results to material by clicking on the menu drop down for the material in the lower left corner and selecting USB-6343 (only connected equipment will be displayed)

    Don't forget to check the box "limit results to material" below.

    In the center pane, double-click 'Material Input and Output'

    Double-click DAQmx

    Path for the analog input - double-click Acq & chart analog measures - double click on tension - tension-Int Clk.vi

    Double click on analog generation - double click on Power - Gen Update.vi of analog channel output voltage

    The examples are for the single data point.  Samples and exit multiples are produced by putting the writing or reading VI inside a loop.  The beginning and the clear functions should be out of the loop.

    Additional information, I need technical support was how material-filter results and identification of more simple examples which were not obvious from the examples of names.

  • Output of different analog signals through 4 outputs

    Hi all

    Exit 4 different analog signals from the PCI 6711 map: I need help.  I intend to use the waveform function from the palette of analog generation vi.  My goal is to be able to enter the 4 necessary functions, it sampling information and then leaving four available analogue outputs available to the Board of Directors.  I saw the code example for the output on multiple lines, but it doesn't seem like he is able to create unique waveforms through the exits, they are all the same waveform.  I've attached what I thought work, but I can not get my number of rows in the data to match my number of rows in the task.

    Specifically, choose instance polymorphic Analog-> multiple channels-> multiple samples-> 1 D wave.

    Your current instance you chose is for just a single line.

  • No output

    Hello

    I'm new to Labview and I tried to make this program work. The block diagram is attached. I use a NI - DAQ USB 6211 with DAQmx base on a linux machine. When the program runs normally, it does not produce anything, but in peak mode, it works as expected. I use a digital oscilloscope for test output.

    Thank you very much

    Enter the finder of the example and go to:

    Material input and output > Daqmx > Analog generation > voltage

    and look for updates of Gen Mult Volt-sw timed.vi

    It is an example of what you're trying to do and have to clean up some things for you.

  • Module AO trigger using PFI on the cDAQ-9188

    I use a cDAQ-9188 chassis with an AO (NOR-9264) module.  Is it possible to configure a PFI (channel on the frame) as an input signal to synchronize an AO channel with the trigger?  Here's what I'm trying to do.  I need a channel on the AO module to switch voltages in sync with the trigger when the user "push a button".  So once the button is pressed, the channel of the AO will not change until the next trigger pulse.

    Thanks for your help

    Ben

    Hello Ben

    I hope you are well.  The consensus is that it is possible.  Have you tried this yet?  If so, can you tell me what you have tried and how you made a lot of progress?  I recommend the following VI example: Cont Gen tension Wfm - Ext Clk.vi.  Are you able to get all the functionality you are looking for this VI.  It was recommended that I'm showing you this.  We find this VI under help--> find examples and then material input output &--> DAQmx-->--> voltage analog generation.

    Please let me know how you are progressing and if you have need of all aspects of this example explained.  Thanks for choosing National instruments!

    Sincerely,

    Greg S.

  • write two lines of ao

    Is there a way to output simultaneously 2 waveforms on both channels (without interruption) of the same map?

    I have a PXI6723.  Can I output a 1 khz/3 volts on a0 and a1 waveform at the same time?  I tried 2 different screws and I get an error from the task.

    Thank you

    Clint

    Hello

    Yes, you can generate different signals simultaneously on different channels.  Did you do a forum search?  When I searched 'many analog outputs', I had something like 160 hits.

    In addition, given your short description of what you have tried, the error you receive is 50103.  Search for '50103' why you get this error.

    So there is a lot of information on the forums already on your question.  Rather than reinvent the wheel, I will ask you at the first glance the information that is already there.

    You should also look at the examples provided with LabVIEW.  Under 'Help', go to 'example Finder... '. Material input and output... DAQmx... Analog generation"for a code that will point you in the right direction.

    Hope that helps!

  • Fastest time expected update - NI 9265 current of output

    I use an output module current 9265 with 9174 chassis.  Basically, I want to read in a text file, analyze a value to a certain dt (at the present time, I am 20 Hz) and writing a value to the card, which will control a valve.  Break down: adjustment points (1) read a 4-20ma 2) output the value of EI file to a certain dt for each iteration in the while loop.  Can I expect this system to be close to 20 Hz?  I need my timing to be very close, but I understand that by using a Windows system (Windows 7) will cause the jitter in the system and avoiding the near-perfect.  Thank you.

    Hello Mr._Bass,

    The NI 9265 updates its output values each 9.5 US, that only calculates over 100,000 samples per second.  Therefore, the hardware itself has the ability to maintain this speed.  Depending on your system and the amount expected from the jig, this number can vary quite a bit depending on your machine.  If you have typical tasks such as antivirus, firewall, or any other thing that Windows is running in the background, jitter will increase.  On average, the amount of jitter in a windows system is the order of the hundred nanoseconds, but can vary considerably.  Outputs at 20 Hz will be an update with a period of 50 000 (0.05 s), so even if your system jitter is high and about 50 US, it would affect only your calendar of 0.1%.  Please keep in mind that these amounts of jitter are estimates and may be not accurate for your system.

    If your application must be very closely controlled, and you see higher levels of jitter that your system can support, there are steps to take to reduce jitter.  The best way is to use LabVIEW Real-time, but this option would probably a bit of review to implement.  I recommend just using a timed in LabVIEW for Windows hardware output operation.  Because the jitter occurs in the operating system, you can write your data to the physical buffer of your NOR-9265, where the sample clock will have no interference of Windows.  "To see the difference in hardware and software timed operation, launch the Finder for example OR by browsing in LabVIEW for Help" find examples.  "" "Then select hardware entry and exit" DAQmx "analog generation ' current.  You can see two examples, Gen Mult current updates-Int clock VI and Gen Mult current updates-SW Timed VI.  The main difference between these two screws is the use of the VI DAQmx Timing for timing of setting material being controlled.  More information on the implementation of operations of timed material are available here: http://www.ni.com/white-paper/2835/en#toc5

    I hope you find this information useful.  If you are concerned with the jig in your system and need an easy way to measure and control, you might also look at using the NI LabVIEW Jitter analysis tools.  Good luck with your application.

    Concerning

  • Consecutive calls to DAQ assistant

    Hello

    I'm working on something that is very probably simple.  Maybe the problems stem from a bad initial design choice.   The VI (and subVIs) are used at a voltage output, read another tension and react accordingly.

    First the error I get is "error-200547.

    Here's how the program works:

    1 MOVR.vi

    This generates two analog output signals, controlled by the same signal generator.  There is also a digital signal, but I don't think that's the problem.

    2 MTUL.vi (and MDTL.vi)

    These use MOVR and read another voltage.  Essentially, the voltage must be created until the limit is reached, and he decides to stop.

    These two work as expected on their own.

    3 IsoMeasure.vi

    This is where the problems occur.  Basically, this VI take MTUL and MDTL and makes a loop in a loop for, change the frequency of each increment.  The observed performance is MDTL will work and try to start MTUL.  It's when 'Error-200547' is thrown.  The error code appears to be understandable, but "autostart" isn't clear for me using the wizard.

    I would avoid using all daqMX code, but I will if I have to.  If that's the suggestion, a good example is that sort would be great.  If I can put the autostart Assistant, I guess it would help as well.

    Thanks for all the tracks.  I think it should work.

    Hi drevniok,.

    The reason why you get this error is that you try to restart your DAQ Assistant several times in your application. One important thing to note is that a task DAQmx configured and started only once each time the DAQ Assistant is called for the first time. Therefore, since you are stop and start the DAQ Assistant, in your application, the second time you call the wizard, it does not start the task. This is made more so by the fact that the function of writing in the DAQ Assistant DAQmx has his automatic starting of entry set to False.

    Using the DAQ Assistant for Analog Output returns an error-200547

    That being said, the DAQ Assistant is mainly used as a quick and easy to set up and use your DAQ hardware, however, it is a bit limited in functionality compared to the lower levels DAQmx live. This is a case that illustrates this limitation and therefore, I believe that the best solution this problem would be to use the DAQmx LabVIEW vis a lot shipping examples that can help you get started developing your application. These lie in you NEITHER example Finder under the menu help. "" The example I want to show you is the Regeneration.vi Clk - no Cont Gen Wfm - Int voltage under input and output material"DAQmx" analog generation "voltage.

    Is another resource, I want to tell you the getting started with NO-DAQmx: Homepage, which are a collection of tutorials online on DAQmx programming.

    I hope this helps.

  • cDAQ AO NI9263

    I have a cDAQ AO NI9263.  I want the same waveform on several output channels.  The waveform has 10000 samples.  I can make it work by writing a sample at once in a while loop, but I don't want to do that in the software.  I want to give the waveform for the module of material and have the handle of the full waveform output module.  How to do what I do?  If I can't do with a compact daq.  What can I use?  Where in the spec should I look to find this feature?  Thank you!

    Yes, what you want to do is possible.  You want a timed physical task and there are many examples provided with DAQmx.  If you are using LabVIEW, watch Cont Gen tension Wfm - Int Clk.vi.  In the Finder of the example, it is under hardware input and output-> DAQmx->-> voltage analog generation.  This example uses a waveform data type, but you can change it.

Maybe you are looking for

  • Monthly fees

    I just signed up for the family plan of itunes. When I found the first album, I tried it says that there is a tax 8.99. Will I have to pay it on top of the monthly fee? I thought that all the music was included for the monthly fee. Thank you

  • Recovery gone HD and Bootcamp starts rained after the Mac HD reduction in disk utility

    With the help of El Capitan, mid-2012 17 "Unibody Macbook Pro Non-retine Hi, I am trying to disable SIP with csrutil but I can't use this method in the recovery mode. Why? I had a problem where I have narrowed my Macintosh HD partition in disk utilit

  • X G1 2 210: HP X 2 210 G1 keyboard does not work

    Hi, I have little difficult to pass on my tablet, and when it lights, physical keyboard does not work: someone has the same simptoms? What can I do? I opened an evaluating, but HP support does ' t answer, and I need it :-(

  • CAN´t install new cartridges HP Deskjet Ink Advantage 2545 all-in-one

    Hello! I m trying to install new cartridges in my HP Deskjet Ink Advantage 2545 for the first time. However, it is quite impossible to install them in the correct position. They are supposed to click in place. It was very easy to remove the 'old', bu

  • How to change and maintain power

    HelloI spend in 'true' an indicator using an OK botton. I want that when I press the botton for the first time my indicator is set to 'true' and remain 'true' forever, regardless of the status of OK botton... How can I do? Thanks in advance GM