Pxi4461 latency from starttrigger signal to actual output

i use a pxi4461 to output an analog signal. i've connected this analog output from the pxi4461 to one of the input channels on a pxi4472 card. on the same chassis, i'm having a pxi7831R card timestamp the 'Dev0/AO/StartTrigger' signal on the pxi4461 card. i'm also timestamping the pxi4472's 'AI Convert' signal using the same clock.
whenever an analog output is spit out from the pxi4461, i get two timestamps, 1) the time when 'StartTrigger' signal on pxi4461 produces an impulse, and 2) the time of an impulse from the pxi4472's 'AI Convert' signal whose corresponding sample point records the start of the analog output fed to it. somehow, i always see a latency of about 1msec between these two timestamps. i'm
anxious to find out the source of this discrepancy and would appreciate it if anyone has any specs on the following:
1) for the pxi4461, the latency between when 'startTrigger' produces an impulse and when the analog output is actually outputed?
2) for the pxi4472, the latency between when a signal reaches the input channel and when it is A/D sampled (so that an 'AI Convert' signal produces a pulse)?
thanks!

graduate student,
The behavior that you describe with your PXI-4461 and PXI-4472 is probably not due to latency, instead it is related to the onboard filtering that is part of the DSA boards. This behavior is described in the manuals for the devices:
PXI-4461 (p.2-8 - p.2-21)
http://www.ni.com/pdf/manuals/373088a.pdf
PXI-4472 (p.3-4 - p.3-10)
http://www.ni.com/pdf/manuals/322940c.pdf
While you will not be able to remove the delays that these filters cause, the delays are deterministic and you should be able to easily compensate for them.
Best of luck with your application.
Regards,
Jed R.
Applications Engineer
National Instruments

Similar Messages

  • Generated Pulse waveform is distorted when I deliver the signal to the output port in the DAQmx

    Problem: Generated Pulse waveform is distorted when I deliver the signal to the output port in the DAQmx.
    Environment: Windows XP sp3 (32bit), Visual Studio 2010 sp1, NI-Measurement Studio 2010
    Device: NI - DAQmx PCI 6251
     Analog Input: 1.00MS/s multi-channel (aggregate)
     Analog Output: 2 Channel 2.00MS/s
    Reference Example: AO_ContGenVoltageWfm_IntClk / AI_ContAcqVoltageSamples_IntClk
    Generated Pulse:
    1) AO0 = Square Waveform /0-5V / 8KHz / 0.5㎲/sample / sample 50% Duty
    2) AO1 = Square Waveform /0-5V / 8KHz / 0.5㎲/sample / (Reverse Image)
    Description: I’d like to deliver the waveform stream satisfied with specified constraints to the 2 channel output port in the DAQmx. To verify accuracy of the generated waveform, I did an electrical wiring from the Analog output channel (2 channels) to the Analog Input channel (2 channels) in DAQmx. As a result of this experiment, I could get a result which has signal distortion. Since the waveform has to satisfy with both high frequency (8KHz) and very short moment interval time (△t = 0.5㎲/sample) between samples, I cannot handle some parameters of the function in the referenced VC++ example. Following formulas shows an approach to deliver the generate pulse waveform to output port satisfied with constraints.
    Analog Output Channel
     Frequency = 8,000 cycles/sec (constraint)
     Sample per Buffer = 2,000,000 = 2*106 samples/buffer
     Cycles per Buffer = 80,000 cycles/buffer
     Sample per Channel = 1,000,000 = 1*106 samples/channel
     Sample Rate  = Frequency * (Sample per Buffer / Cycle per Buffer)
                              = 8,000 * (2*106 / 80,000) = 2*106 samples / sec
     △t  = 1 sec / 2*106 samples / sec
               = 0.5 * 10-6 sec/sample (constraint)
     Buffer Cycle  = Sample Rate / Sample per Channel
                              = (2*106 samples / sec) / (1*106 samples/channel)
                              = 2 channel / sec
    Analog Input Channel
    Sample per Channel = 1,000,000 = 1*106 samples/channel
     Sample Rate  = 1 MS/s * (2 Channel) = 5 * 105 Samples / Sec
    Program Code
    AO_ContGenVoltageWfm_IntClk / AI_ContAcqVoltageSamples_IntClk (VC++ Example)
    Result: The proposed approach was implemented in the experiment environment (VS2010, MStudio2010). As shown in Figure 1, we could get the unsatisfied result. Although I intended to make a ‘square’ pulse wave, the result looks like ‘trapezoid’ pulse wave (Figure.1). However, there is other result which was undertaken with different parameter condition. It looks like the square shape not the trapezoid shape.
    Please let me know what the conditions make the problem of signal distortion. (AO0 = Green line / AO1 = Red line)
    [Figure. 1] Frequency 8000 Hz / Cycle per Buffer = 8000 Result
    [Figure. 2] Frequency 1000 Hz / Cycle per Buffer = 1000 Result
    Questions: Please let me know following questions.
    1) Is it possible to deliver the generated pulse wave satisfied with constraints (f= 8KHz), △t = 0.5㎲/sample) to the output port without distortion using PXI 6251?
    (Is it possible to solve the problem, if I use the LabView or MAX?)
    2) Are there some mistakes in the proposed approach? (H/W or S/W program)
    3) What is the meaning of the Cycle per Buffer?, It could effect to the result?

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • Power Adapter Actual Output in Volts

    Ok, here's the story. I recently bought power invertor for my 12V car cigar lighter socket that allows me to plug in devices like mobile phones and my Powerbook using the standard 3 pin plug and Mac power adaptor. Great when you're a passenger on road trips to watch DVDs or just to recharge whilst on the move. Anyway, when I plugged in the Mac the charge light didnt show so I went back to Maplins to query the problem. The were very helpful and established the invertor was ok, the rating on inputs and outputs were well within its capabilities so we ended up taking a volt meter to the power adaptor. The result showed there was only 0.4 Volts coming out of the adapator when plugged into the mains and less when on the invertor. I'm confused, the adaptor is seemingly charging my Powerbook ok off the mains. So does anyone know what the actual output from the Mac adaptor shoud be. Im guessing my adapter needs replaced but I have to say it seems to charge the battery off the mains pretty quickly.

    Problem solved by buying a more powerful invertor. Whilst initial invertor spec suggested it would power the Mac there may be an issue with the fluctuations in output that is solved by going large on the invertor. The capacity of the new unit is 300W, way too much, but it does seem to mean that low wattage is supplied consistantly well to keep my PB 12 happy. Now heading to Chamonix by car with Mac on power lead PW

  • Output to the printer printing xml tags with actual output

    Hi,
    we are calling fnd_request.submit_request with 'XDOREPPB' and assigning a printer to it.
    the output that is getting printed has both the xml tags and the actual output.
    anyone has any idea what might be the reason.
    Regards,

    Got the solution. These tags are getting generated from standard report and we can use <columnname>[1], <columnname>[2]... etc if there are multiple tags with same tag names.

  • Outputting different analog signals across 4 outputs

    Hello All,
    I need some help outputting 4 different analog signals from the PCI 6711 board.  I plan to use the function waveform vi from the analog generation pallette.  My goal is to be able to enter in the 4 necessary functions, there sampling information, and then output them from the four available analog outputs available on the board.  I've seen the example code for outputting across multiple lines, but it doesn't seem like it is able to create unique waveforms across the outputs, they are all the same waveform.  I've attached what i thought would work, but i can't get my number of lines in data to match my number of lines in task. 
    Solved!
    Go to Solution.
    Attachments:
    Analog program.vi ‏34 KB

    More specifically, choose the polymorphic instance of Analog->Multiple Channels->Multiple Samples->1D Waveform.
    Your current instance that you chose is for just a single line.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Apple TV worked until today. Message says unsupported signal check your output device.  I have checked hdmi cable with another device and it's fine. Put on a different tv and same message.  Went out yesterday and bought a new Apple TV and same problem.

    Apple TV worked until today. Message says unsupported signal check your output device.  I have checked hdmi cable with another device and it's fine. Put on a different tv and same message.  Went out yesterday and bought a new Apple TV and same problem.

    Which TV do you have.
    You may wish to try the following:
    Press and hold the menu and the up button simultaneously on the remote for six seconds, the Apple TV should then begin to cycle through the various resolutions available to it at 20 second intervals.. If you see a picture appear up on your screen, use the remote to scroll down to the OK option and select it.

  • I am trying to log data from 4 voltage input signal using labview, but when i use DAQ assistant i am able to log data from one signal at a time only.

    I am trying to log data from 4 voltage input signal using labview, but when i use DAQ assiatant i am able to log data from one signal at a time only.I am trying to get all 4 input data to logged in a single file againt time. I am new to Labview, I need to sample this data within a couple of days can someone help please.

    Naveen
    Check out the info in the Analog Input section of the document linked below.  (Ignore the part about Global Channels.)  In Figure 5, notice that you can select multiple channels while holding <Ctrl> or <Shift>.
    Developer Zone Tutorial: NI-DAQmx Express VI Tutorial
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • Video and audio latency from 6 seconds to 4 seconds

    Hello,
    I have developed a video transmission and viewing application . I am facing a problem of one way video latency of about 6 seconds.
    Adobe says that the latency can be reduced to about 3 seconds one way. I have set up the buffertime for transmitter about 3 seconds.
    Please can  anyone suggest me how to reduce the latency from 6 seconds to about 3 seconds ??
    I have no issues regarding the bandwidth , but can anyone suggest the proper optimization technique for CPU and memory usage .
    What should be the ideal configuration for minimum latency. 
    Currently my audio and video  transmission one way is 6 sec and hence 2 way for both is 12 -14 sec.
    Kindly guide me how to resolve the problem.
    Thanks,
    Chinmay Chitale

    phosphene
    followed your instructions and as soon as I tick "multiplexed Mpeg-1/layer 2 audio" the m2v extension changes to mts. This won't play in Quicktime even if i change the extension to mpg, m2v or whatever. I'm assuming i need a quicktime plugin to fix this.
    Andrew

  • Generating a square waveform of 100 KHz from one of the Anolog output channels of PXI-6713 ?

    Hi
    I am trying to generate a square waveform from one of the anolog output channels of PXI 6713.
    I am developing my application in VC++
    My requirement is a continous 100 KHz square waveform with 90% duty cycle and 1.5 V amplitude.
    The following is the code i have used (i have removed error handling code):
    ***** code *******
    i16 deviceNumber = 6; // PXI 6713 Device Id as per NI-MAX
    i16 deviceNumberCode; // to be returned by Init_DA_Brds function
    i16 chan = 2; // DAC channel 2
    i16 numChans = 1; // only one channel is used for
    i16 chanVect[1] = {2}; // DAC Channel 2
    f64 gain = 1.0;
    i16 binArray[10] = {0};
    i16 group = 1; // default for most of the devices
    u32 count = 10; // 10 data points
    // 9 data points ON and 1 data point OFF constituting 90% duty cycle
    f64 voltArray[10] = {1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,0};
    u32 iterations = 0; // Repeat waveform indefinitely
    i16 mode = 0; // Disable FIFO mode / delay mode
    f64 rate = 100000; // 100,000 points / sec
    i16 units = 0; // points / sec
    i16 timebase;
    u32 updateInterval;
    i16 whichclock = 0; // update clock
    i16 operation = 1; // Start waveform initiation
    Init_DA_Brds (deviceNumber, &deviceNumberCode);
    WFM_Scale (deviceNumber, chan, count, gain, voltArray, binArray);
    WFM_Group_Setup (deviceNumber, numChans, chanVect, group);
    WFM_Load (deviceNumber, numChans, chanVect, binArray, count, iterations, mode);
    WFM_Rate (rate, units, &timebase, &updateInterval);
    WFM_ClockRate (deviceNumber, group, whichclock, timebase, updateInterval, mode);
    WFM_Group_Control (deviceNumber, group, operation);
    If I try to generate 10 KHz waveform with the same 90% duty cycle and 1.5 V amplitude, the waveform gets generated continously....
    But for 100 KHz, itz generating continously....but only few waveforms....
    Is there any hardware limitations ? I've tried changing the value of the timebase ( points / sec) and update interval etc...
    plz help me
    thanx in advance
    sriram.

    Sriram;
    The best way to get started is to run one of the NI-DAQ shipping examples. You can find a good example at
    C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ao. Take the one named WFMDoubleBuf.c.
    On that example, you will just need to change the data written to the buffer to met your application's pulse train requirement.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Reduce latency from 6 sec to 4 sec

    Hello,
    I have developed a video transmission and viewing application . I am facing a problem of one way video latency of about 6 seconds.
    Adobe says that the latency can be reduced to about 3 seconds one way. I have set up the buffertime for transmitter about 3 seconds.
    Please can  anyone suggest me how to reduce the latency from 6 seconds to about 3 seconds ??
    Thanks,
    Chinmay Chitale

    Hello,
    I have developed a video transmission and viewing application . I am facing a problem of one way video latency of about 6 seconds.
    Adobe says that the latency can be reduced to about 3 seconds one way. I have set up the buffertime for transmitter about 3 seconds.
    Please can  anyone suggest me how to reduce the latency from 6 seconds to about 3 seconds ??
    Thanks,
    Chinmay Chitale

  • Reduce video latency from 6 sec to 4 sec

    Hello,
    I have developed a video transmission and viewing application . I am facing a problem of one way video latency of about 6 seconds.
    Adobe says that the latency can be reduced to about 3 seconds one way. I have set up the buffertime for transmitter about 3 seconds.
    Please can  anyone suggest me how to reduce the latency from 6 seconds to about 3 seconds ??
    Thanks,
    Chinmay Chitale

    Hello,
    I have developed a video transmission and viewing application . I am facing a problem of one way video latency of about 6 seconds.
    Adobe says that the latency can be reduced to about 3 seconds one way. I have set up the buffertime for transmitter about 3 seconds.
    Please can  anyone suggest me how to reduce the latency from 6 seconds to about 3 seconds ??
    Thanks,
    Chinmay Chitale

  • Building DLLs from VIs with array as output

    Is there any special way to build DLLs from VIs having arrays as outputs. Suppose I have a VI "Random" with input "nrand" and output an array "the_random2". When I build DLL from the VI, I have something like this in my header file
    void __stdcall Random(long nrand, double the_random2[]);
    Now it returns void. So I have to pass the array as pointer and retrieve it. If I use Mathscript to load the DLL and call this function, how do I pass the pointer to the array "the_random2"? Simply speaking, any useful method to build DLLs with array outputs and the right way to call them from Mathscript would be appreciated.
    Regards
    NRK

    Hi,
    Building DLLs in LabVIEW is described in this tutorial.  
    Mathscript can call shared libraries such as DLLs, however make sure
    that they are compliant with the supported data types as stated here in
    this help page.  All supported functions for calling/loading shared libraries is described here. 
    Note that these functions are not supported with the base package.  The
    details of the sytax of each function is described in their specific
    help page.
    Hope this helps!
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • Why the acquisition with DAQmx is different by using Labview 8.2 from Labview signal express?

    Hello,
    I am using a PCi-6281 to acquire a voltage. When I am using Labview signal express with only the step to acquire I read the good signal with the exact voltage. But when I am using my VI, the y axis and the values recorded are wrong. Why this difference appears?
    I insert a picture with both signal: at the top is the signal from my vi (wrong measurement) and at the bottom is the signal from labview signal express (correct).
    The vi I am using is the example Cont Acqu&Graph Voltage-To file (binary).vi.
    Thank you for your answer!
    Sophie
    Sophie

    I am using the binary file because it requires the minimum change in another VI. I have tried to change in scaled data but now my second VI has not enough memory to display all data.... What's wrong? Here is my second VI. Totest with data you need to insert a number in the "scaling factor" if not the dat are multiplied by zero...
    thanks for your help!
    Message Edité par stage84 le 07-24-2009 10:11 AM
    Attachments:
    Display 3.vi ‏1867 KB

  • What is the impact if we switch from standard costing to actual costing?

    Hi all,
    what is the impact if we switch from standard costing to actual costing?
    what are the changes is needed in costing?
    thanks.

    Hello,
    Its an nice idea to switch from standard to actual costing. It would be advisable to make this switch over happen in a new period praferably with a new year. You would need to carry out the settings for material ledger / actual costing and for the accounting settings you may refer to sap note 908737.
    Not much costing changes would be necessary to the existing configuration but you would need to activate material ledger and allign your Inventory accordingly. The settings for ML would be relatively simple but the main problem would be handling the inventory that you already have in stock. You would also need to have a proper closing procedure followed by next month's planning approach which would actualise the inventory at the end of the month and decide the methodology for next month's plan valuation. It  should be kept in mind for configuring ML.
    The closing sequence would be as under:
    1. Complete all Cost Center and production order postings.
    2. Complete all Cost center Assessment / Distribution
    3. Calculate Actual rate
    4. Revaluate production orders
    5. Calculate WIP
    6. Settle Production Order
    7. Run Costing Run (CKMLCP)
    Material ledger is capable of actualising activity costs and WIP as well and you should configure it according to your need.
    You can follow the standard SAP documentations for configurations + Note 908737 for configuring ML.
    Kind Regards // Shaubhik

  • How to get rid of the DC-offset from a signal?

    Hello
    i have a speech signal which i need to process. I have estimated its DC-offset (using the AC-DC estimate vi) to be approximately 126 V. I have read some posts here that some reccomend to just subtract this value from the array of data or use a filter to do it. What is the difference, which one should perform better? I have also broke down my initial array of 50000 samples into sub-arrays of 512. Where should be the best place to get rid of the DC? Once and out from the initial array or later on from the subarrays?
    When someone says subtact that value (DC value) from the signal, what exactly has to be done?
    When using a filter, what shall i be looking for to do?Specifications of it?
    Any help is appreciated

    Hello Lynn
    So you are just saying, get the DC offset since it stays almost constant, from the AC/DC Estimate VI and just subtract it from my initial array at the beginning once and out and further on move with the rest of my process? That's it as it shows in the pic below?
    Attachments:
    untitled.PNG ‏14 KB

Maybe you are looking for

  • Choppy timeline playback after motion effects

    I'm working in FCP 7.0.1, on a MacPro Quad-Core Intel Xeon 2.26 GHz processor, working with footage pulled off the trusty JVC GY-HM100U HD camera. I've created an editing project that adopted the default footage codec settings (XDCAM EX 1080p24 (35 M

  • Reduce chaining / increase density in partitioned table

    Hi, I have a large table, partitioned by date, with each partition containing ~ 10 M rows. Partitions older than a month are changed only very rarely. Because of the way the rows were created - INSERT followed by several UPDATEs - there is a high deg

  • Fonts are corrupted in ai

    I sent Illustrator .ai artwork to be made into T shirts and when they sent me back the proofs they were wacked. I then sent pdf files and they were fine. Has anyone experienced this? I "created outlines" with the fonts with the artwork.

  • Is it possible to persist an enumerated object as a string

    I created a java object for an enumerated type (greatly simplified for this discussion): public class Role implements java.io.Serializable { public Role() { private Role(String role) { this.role = role; public String toString() { return role; public

  • Eclipse not showing the directory structure from CVS repository.

    On my eclipse, when I click on the CVS repository perspective. I don�t see names of the module under �HEAD�. I mean I don�t see the directories. I can�t see what modules are there. This functionality was always working and all of sudden it stopped wo