PXI-6682 + multiple Serie S & M cards cause timestamp delay

I'll try to give as much info as possible and hopefuly someone will have an answer to this problem.
Language: C++
Introduction:
1- I have (1) PXI-6682 (Timing card), (6) PXI-6143 (Serie S (8 analog inputs each)), and (2) PXI-6224 (serie M (8 analog inputs each))
2- Every card is a task (so that's 8 tasks
3- Every card is in sync (they give data equal...more or less... to one another
PROBLEM:
1- Timestamp is off by up to 200 ms (not drifting...simply off by a set number of ms)
2- Every call to niSync_ReadMultipleTriggerTimeStamp gives me a timestamp off by that much
I don't have any info on how the tester managed to know it was 200 ms off, my theory is he tested it with some older equipment to validate the new one

Hello there,
Kindly help me with DAQmx Time stamp related problem as described below.
Setup : PXI 6133 Qty 4 (Slot 3, 4, 5, 6)
PXI 6255 Qty 1 (Slot 2)
PXI 6255 doing a Continuous Acquisition at 1 mSec Sampling and 1000 samples/iteration.
PXI 6133 doing a Ref Triggered Acquisition at 1 uSec Sampling interval and Pre and Post Trigger samples of 100000 Samples each.
Test : PXI 6133 - Reference Trigger Configured on PFI 1 line of First PXI 6133 card.
                         input Signal given to AI 0 OF First PXI 6133 card.
                         All PXI 6133 cards are included in a single task.
PXI 6255 - Input given to Channel 0 AI
External Function generator - One Digital Trigger generated of width 50 mSec High Interval.
                                           Another signal generated for input to above cards. (Square wave of 10 mSec Period - 5 periods generated on the rising edge of trigger)
So It means When I acquire square wave in my waveform, I can consider rising edge of square wave as a rising edge of trigger (as both signals are generated aligned from external function generator)
I have attached Screenshots and programs I have used for that.
Problem: As both singal are generated at a same event, Both 6133 and 6255 should acquire that singnal at a same timestamp.
I have also read related documents about timestamp but I could not succeeded to find any link in this.
I am getting square wave 100 msec earlier in 6255 then of 6133.
If I used only single card of 6133 then that inaccuracy of 100 msec is shifted to 25 msec.
Please help me as soon as possible.
Attachments:
Timestamp mismatch between 6133 and 6255.docx ‏377 KB
Timestamp mismatch in 6133 & 6255.zip ‏70 KB

Similar Messages

  • Will multiple Lan cards cause problems using rmi?

    Will multiple Lan cards cause problems using rmi? If a host has two or more network cards (only one of which is Internet-enabled), how does RMI know which IP address to use? There seems to be a problem when such a client registers with an RMI service, and has a client-side callback method invoked by the server.

    You can tell RMI the address you want by defining java.rmi.server.hostname at the JVM which exports the remote object.

  • Using PXI-6682(H) in PXI Express chassis to replace backplane clock

    I have a PXI-6682H in a PXIe-1075 which I use for event timestamping.  I also have a PXIe-6672 card in the timing slot.
    I would like to replace the 10 MHz backplane clock to use the 6682 as a GPS disciplined oscillator and synchronize multiple PXI chasses.  
    I understand from the block diagram in the manual that the PXI-6682H does not possess the connection to directly replace the backplane clock as the PXI-6682 does in a PXI chassis.  
    Is there any way for me to replace this clock? Perhaps using an external connection?  If so could you briefly explain how this would work and what software steps would be required?

    Hello Gregoryng, 
    It might work since the PXIe-6672 and the PXIe-6674T are both timing and synchronization modules, but the best option would be the PXIe-6674T, which is able to work with other protocols such as GPS while the  other cannot. It seems that in the video they use GPS. 
    I think the PXIe-6672 will not work for this with the PXI-6682H, but you can give it a try.
    The one in the video seems to be a PXIe-6674T.
    Regards. 
    Ernesto.

  • Bar Graph with multiple series

    I am trying to created some graphs in 10g reports. I want a graph that has 2 bars per group. On the layout tab I have column A and Column B on the bars line and Column C on the groups line. When I run the report Columns A and B show up as 1 bar on the graph. Where do you specify the values for series 1 and series 2?

    Hi,
    When you create a bar chart using a "group by" attribute, the resulting groups are displayed as stacked bars or as dual Y bars (shows the groups side by side).  The button in the chart's toolbar (with stacked bar chart icon) is used to change this presentation. You can display the data as it is, without aggregation, by using the line or scatter charts.  The line/scatter graphs should allow you to display multiple Y values (series), but there appears to be a bug that causes a single line to be displayed instead.  Multiple series bar charts and label renaming are not available in the current release.
    Thanks,
    Marat

  • PXI-6682 read IEEE-1588 timestamp from 7953R over RTSI bus

    Hi,
    I am relatively new to LabVIEW
    programming, although I have two years of hard experience using LabVIEW
    FPGA tools.
    So, I
    have a PXI-1033 chassis, and I have plugged in an PXI-6682 IEEE-1588
    card into slot 2 and a PXI-7953R card into slot 4.  (Random selection
    for slot 4)  What I am trying to do is read the GPS timestamp from the
    6682 card via the RTSI lines directly into the 7953R FPGA card.
     Unfortunately, I have no idea where to start and what to read, and all
    the examples (keywords: RTSI, IEEE-1588)  that I find are for how to
    read the IEEE-1588 timestamp inside the Host Operating system and
    nothing tells me how to do it directly from the FPGA.  My goal is to
    build a machine that timestamps network packets that are being read by
    the FPGA hosted inside the PXI-7953R card.
    Can anybody point me in the right direction?  I
    basically want to learn more about RTSI, where the PXI-6682 outputs its
    IEEE-1588 timestamp, and how data is transferred over the RTSI bus from
    inside a PXI chassis.
    Thanks,
    John

    Thanks for the response Alejandro,
    I have a 7953R FlexRIO board with the Mimas Prevas Dual Gigabit Adapter Module (http://www.prevas.com/ethernet_simulator.html) plugged in.  Ethernet packets enter the Mimas Dual Gigabit Adapter and then go directly to the FPGA as raw Ethernet frames.
    From what you are telling me it seems like I cannot have a timestamp go from the PXI-6682 to the 7953R via the RTSI lines and to then be appended to the end of the ethernet frame before being retrasmitted out the other port of the Dual Gigabit Adapter. (With proper recalculation of the 32 bit CRC being done inside the FPGA of course)
    I will do some more reading of the manuals and will then call NI Support.
    Thanks again!

  • Can't replace PXI onboard clock with PXI-6682 oscillator clock on PXI back plane

    I have installed a PXI-6682 timing module in slot 2 of a PXI-1031chassis with a PXI-8110 controller running Hypervisor and RT.  The 6682 is installed on the RT system under Hypervisor for GPS timing during measurements but I would like to put the TCXO on the PXI-1031 chassis backplane (replacing the PXI onboard clock).  When I try to run the "Route Clock.vi" that I found in the example finder, all I get are error messages indicating that a parameter for this operation is invalid.  The source terminal is "Oscillator" and the destination terminal is "PXI-Clk10_In".  How do I determine which parameter is invalid?  Any suggestions?  Thanks
    Solved!
    Go to Solution.

    Hi vugt,
    I tested this out and have what I believe to be your final answer.
    The short answer:  The PXI-6682 can be used with NI-Hypervisor on the Windows side, but not on the Real-Time side.
    The long answer:
    While the NI-Hypervisor Manager allow you to put the PXI-6682 on two different systems, it is still only one PXI card on the PCI bus, so really only one system can access it at a time.
    Therefore we need to assign both "devices" to either Windows or Real-Time.  For our purposes, let's assume we assign it to Real-Time.
    On an NI-Hypervisor system, each PCI interrupt line can only be assigned to one operating system.  Either it can be assigned to Windows, or it can be assigned to RT.
    Here is where the problem arises: The PXI-6682 needs to be located in a System Timing slot (generally slot 2).  However, this slot (at least in the 1000B chassis I tested in) is located on the same PCI interrupt line as the chipset.  Windows is required to have access to this PCI interrupt line, so devices used by Real-Time cannot be located on this interrupt line.
    This prevents us from being able to use the PXI-6682 in Real-Time.
    The NI-Hypervisor Manager will try to tell you to resolve this conflict by moving the PXI-6682 to slot 3, however, now the System Timing slot requirement is not met.
    This does not prevent the card from being used on the Windows side of an NI-Hypervisor system, or on a purely Real-Time system.
    Have a great day,
    Chris V
    Applications Engineer
    National Instruments

  • My ipod wont let me buy any apps because it says i have an invalid security code for my moms credit card but its the right one. and it also says i owe money for upgrading an app does anyone know how to remove my moms credit card cause i cant figure itout

    my ipod wont let me buy any appps because it says i have an invalid security code for my moms credit card but its the right one. and it also says i owe money for upgrading an app does anyone know how to remove my moms credit card cause i cant figure itout

    To change asccount information see:
    Changing Account Information
    For the code issue this may help.
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    For a standard iTunes account you need a valid payment method even for free apps and app updates.
    What is making it think that you own money for an app upgrade?

  • Drill Down for Multiple Series in a Line Chart

    Hello,
    I seem to have a problem with the drill-down functionality in a line chart that has multiple series.
    I have a line chart that displays the readings of a patient over a period of 1 month. For each day, there is the glucose level reading, blood pressure reading, etc... So, each reading is a different series in my line chart graph.
    The basic requirement is: With a mouse over event on the chart, I am willing to display all the data that belongs to that day. The data will be displayed at the bottom of the screen in a small panel. It is very simple to do it when the line chart has only 1 series:
    i) Enable drill down.
    ii) Choose 'Row' as insertion type.
    iii) Fill out the destination field.
    iv) Make sure your labels (at the bottom of the screen) get the data from the destination cell.
    When there is more than one series, it becomes very difficult. XCelsius will not let me use the same destination cells for different series. So, I will have to use other destination cells. In that case, I will not know on which day is the user on. Is there any way to achieve this functionality?
    Let me know if you need further information.

    This is certainly possible, but there's a bit of a trick to it (and really hard to explain without screenshots!). There's two halves to it:
    1. Write the date that has been selected to a cell (for each series).
    2. Write the name of the series that was clicked to some cell (this is the property 'Series Name Destination').
    So let's say your three series are Glucose, Blood Pressure and Temp. Have those series names in B1,C1,D1 (with your dates down in column A). Insert a row below the series names (2:2), and then set up your insertion type for the chart as 'row'. The source data (for all three series) should be your list of dates in column a. The insertion cells for the three series will be, in order, B2,C2,D2. Now, depending on which point is clicked in the chart, the selected day will be inserted into one of those three cells. Completely useless unless you know which series was clicked.
    So you need to insert the name of the series that was clicked ('Series Name Destination') into the spreadsheet, let's say in F1. The rest is just Excel formulas. The logic is, you can now tell what series was clicked, and go and look up the date that was inserted for that series, then go and look up the row that corresponds to that date. So to get the date that was just clicked, your formula (in F2) would be =HLOOKUP(F1,B1:D2,2,0).
    Then a VLOOKUP will get the results from that row of data. For example, if I inserted another row at row 3 (to show my 'result' values) the formula in B3 would be =VLOOKUP($F$2,$A$4:$D$13,2,0).
    I hope that makes sense.

  • Can I use multiple Apple store gift cards per transaction or is it has to be one gift card per transaction?

    Can I use multiple Apple store gift cards (£25 each) per transaction or is it has to be only one gift card per transaction?? Does anyone know thanks

    Hola, Eddy
    notice that you have posted to an old thread (Oct-Nov2013) that actually took quite some time to get attention back then**
    I recommend that you contact the Store Group regarding your purchase question - don't let the "iTune-ish" URL and page title throw you off... it's the right place
    Store Group - Contact Us - Apple Support
    ** next time you have a question, I advise to check the dates carefully and if older than a month or so, AND it has no answer to your specific issue, start a NEW Question. You did a fine job of stating your exact issue - many folks, not so much.
    buenos dias
    CCC

  • HT3702 I'm trying to open payment history due to multiple charge on my card

    I was charge multiple on my credit card that I didn't purchase plus I got charge same items same amount on two credit card my last purchase was on July 29,2013 in the amount of 3$ for the chips of 1200chips on zynga poker

    You can check the purchase history on your account via the Store > View Account menu option on your computer's iTunes, though I'm not sure if that shows auto-renewing subscriptions. If you can't find the charges or don't recognise them, and you haven't added or changed your credit card details (when you do then a small temporary store holding charge may be applied to check that the details are correct and valid, which should disappear within a few days), then you can contact iTunes Support via this page and ask them for help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Candlestick chart problem with multiple series

    Hello,
    I added one mx:CandlestickSeries object and couple additional
    mx:LineSeries objects to the chart. All series are represented but
    still I have one problem. More series I add - less candles are
    becoming of CandlestickSeries data. It seems that there should be
    any scaling option for all series in the chart or something like
    this, but I cannot find it. I'm still new in Flex Can anyone halp
    me with this?
    Thanx in advance
    marukas

    I've added screenshots to get better view of the problem.
    Here is chart with addtional series:
    Chart
    with multiple series
    And here nothing is changed except that additional line
    series were removed:
    Chart
    with only one CandlestickSeries
    Is it possible to get the same candles as in 2nd view with
    addiotnal series added?

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Legend Problem in multiple series chart

    Hello,
    I am getting problem in displaying legend. I have created a chart with  multiple series and custon color. Here is my code. You can copy paste it.
    Out of 3 only one legend marker n label coming.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
          [Bindable]
          public var SMITH:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:41.87, close2:45.23},
            {date:"23-Aug-05", close:45.74, close2:40.90},
            {date:"24-Aug-05", close:42.77, close2:46.99},
            {date:"25-Aug-05", close:48.06, close2:40.22},
         [Bindable]
          public var DECKER:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:157.59},
            {date:"23-Aug-05", close:160.3},
            {date:"24-Aug-05", close:150.71},
            {date:"25-Aug-05", close:156.88},
        ]]>
    </mx:Script>
      <mx:Style>
        ColumnChart {
            paddingLeft:20;
            paddingRight:20;
            paddingBottom:10;
            paddingTop:10;
         Legend {
         paddingLeft:20;
            paddingRight:20;
            paddingBottom:20;
            paddingTop:10;
      </mx:Style>
          <mx:Stroke id="axisStroke"
            color="#000000"
            weight="2"
            alpha=".75"
            caps="round"
        />
    <mx:VBox width="500" height="500" borderColor="#000000" cornerRadius="20" themeColor="#009DFF" borderStyle="solid" borderThickness="1" horizontalAlign="center" x="246.5" y="61">
         <mx:ColumnChart id="multipleChart"  showDataTips="true" width="100%" height="100%"  seriesFilters="[]">
            <mx:horizontalAxis>
               <mx:CategoryAxis id="h1" categoryField="date"/>
            </mx:horizontalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer placement="bottom" axis="{h1}">
                <mx:axisStroke>{axisStroke}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:horizontalAxisRenderers>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer placement="left" axis="{v1}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
                <mx:AxisRenderer placement="right" axis="{v2}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
            </mx:verticalAxisRenderers>
            <mx:series>
               <mx:ColumnSeries id="cs1" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close" displayName="Smith" fills="#6693B0">
                    <mx:verticalAxis>
                       <mx:LinearAxis id="v1" minimum="40" maximum="50"/>
                    </mx:verticalAxis>
               </mx:ColumnSeries>
               <mx:ColumnSeries id="cs3" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close2" displayName="Smiths" fills="#86D1E4">
               </mx:ColumnSeries>          
               <mx:LineSeries id="cs2" horizontalAxis="{h1}" dataProvider="{DECKER}" xField="date" yField="close" displayName="Decker">
                    <mx:verticalAxis>
                        <mx:LinearAxis id="v2" minimum="150" maximum="170"/>          
                    </mx:verticalAxis>
                    <mx:lineStroke>
           <mx:Stroke color="#CC3300" weight="1"/>
        </mx:lineStroke>
               </mx:LineSeries>
            </mx:series>
         </mx:ColumnChart>
         <mx:Legend dataProvider="{multipleChart}"  horizontalAlign="center" direction="horizontal"/>
    </mx:VBox>
    </mx:Application>

    I've run into this, too:
    Remove the fills property from each ColumnSeries and it'll work.
    If you want to use the fills property, you'll have to add your own custom legend code.
    From the Flex API:
    "If you specify the fills property and you want to have a Legend  control, you must manually create a Legend control and add LegendItems to it."

  • Annotating ColumnChart using CartesianDataCanvas - multiple series

    I am trying to annotate a column chart with confidence
    interval bars using the CartesianDataCanvas. The chart has multiple
    series, so for each x value there may be four or five columns. The
    chart itself offsets these columns nicely, but the x value used in
    the CartesianDataCanvas only relates to the middle of the middle
    bar. Is there any way of working out what offset to use to match an
    annotation to each individual bar when there are multiple grouped
    bars? I can't seem to find a property that has this
    information.

    This seems to work, how cool!
    <mx:SeriesSlide 
        id="slideOut" 
        duration="1000" 
        direction="left"
        effectEnd="lineSeries.visible=false"
    />
    <mx:SeriesZoom id="zoomOut" 
        duration="2000" 
        minimumElementDuration="50"
        elementOffset="50" 
        verticalFocus="top" 
        horizontalFocus="left"
        relativeTo="series"
        effectEnd="lineSeries.visible=true"
    />

  • Multiple series in a chart

    Hi
    I want to create a chart with multiple series, each serie referring to a specific country.
    The query below is not accepted:
    SELECT null url,s.date_from,s.country,sum(s.unique_players) unique_players
    FROM   my_table s ...As a workaround I changed the query to:
    SELECT null url, s.date_from,
    sum(decode(s.country, 'se', s.unique_players, 0)) sweden,
    sum(decode(s.country, 'fi', s.unique_players, 0)) finland,
    sum(decode(s.country, 'no', s.unique_players, 0)) norway ...
    FROM   my_table s ...It works well but it is not very flexible, in the case a new country has to be added.
    Is there a better way to achieve this in Apex 3?
    Thanks
    Luis

    Luis,
    You can chart a variable number of series with a query like the second one you listed, except use "Function returning query" instead of "SQL query". Then generate the column list clause dynamically, one for each series.
    There's an enhancement request logged to make this easier.
    Marco

Maybe you are looking for

  • External Monitor screen flicker fixed

    I had a problem with my 3rd party external mornitor that kept flickering. It happened all of a sudden and was a constant flicker that was really annoying. Anyways, I discovered that when the mini-dvi connector is near my speakers(which are unshielded

  • My PC is saying the iPod isn't connected, when it is.

    Ok, when I go to EDIT on the toolbar in iTunes, then click on the iPod tab, it says it's not connected, but my computer is reading it, telling me I should put it in a faster port or whatever. Main thing is it knows it's connected but wont show it.

  • Reflection of remote interface

    Hi. was wondering if you could use reflection to ennumerate the remote interface used by a java RMI server. I dont have anything specific in mind just a point at some documentation about this kind of reflection would be cool.......or any obsticles th

  • UJ862AS DVD-RAM doesn't recognize -R discs on Satellite U400

    For some reason my DVD drive wil no longer recognizes -R discs. I have a MAT****A DVD-RAM UJ862AS drive. Any clues?

  • DBD/DBI perl modules for HTTP Web Server

    Hi, I installed the http webserver from the 9i database CDs. But it seems to come without the DBi and DBD:Oracle modules. Where do I get them for the windows plattform ? binaries preferred. Regards Knut