Synchronous data collection using pci-6143's

I can set up synchronous data collection across the analog inputs of my three PCI-6143's using a separate task for each board and explicitly sharing the master timebase from board 1 (the one receiving the trigger to start data collection) to the other 2.  Then I need 3 read channel VI's etc. 
The DAQ Assistant will configure all the AI channels to work inside one task across the three boards, which is very convenient, but I lose the synchronicity.  Specifically, the device triggering the data collection (board 1), leads the other two boards by a few microseconds.  How can I use a single task for all three boards for analog input (voltages) while retaining completely synchronous data collection?  Thanks!

Hi Brian_g,
You should be able to synchronize your SMIO cards by including them in the same task this way. You will have to type in the names, ie "Dev1\ai0:7, Dev2\ai0:7, Dev3\ai0:7" and still specify the start trigger off of your master device. I would work from the "Cont Acq & Graph Int Clk.vi" example and add in the digital trigger.
Please post back if this does not resolve your issue or I didn't answer your question.
Cheers,
Andrew S.
National Instruments
Getting Started with NI-DAQmx
Measurement Fundamentals

Similar Messages

  • Is there any one who knows how to apply machine learning algorithms to the spectrum data collected using ni usrp for ism band to use spectrum efficiently by link adaptation

    Hi,
    may i know any one working in cognitive radio research and applying machine learning techniques using the spectrum data collected from NI usrp kits

    Can't edit my message anymore, so for the tldr crowd (too long didn't read), here is a shorter version:
    The good:
    E4200 worked fine for about 15 hours with great throughput and link quality (with one brief disconnect in the middle - online gaming software shows brief disconnects that otherwise go totally unnoticed).
    The bad:
    Wireless on the E4200 stopped broadcasting entirely (to a Windows 7 laptop with a 802.11n 2.4 GHZ USB adapter).
    I had switched between two adapters that use the same chipset, same driver and in fact show up as a single device in device manager) without rebooting the router but it worked (fine) for an hour after I swapped the adapters.
    Right before I rebooted it, I checked and the E4200 was not hot to the touch and wired internet was still working after the wireless radio stopped working.
    A reboot of the router cured it.
    The open question as to the root cause:
    Now I want to know whether this wireless radio ceasing to broadcast (requires a reboot of the E4200) will happen daily?
    I.e. I want to know whether it it really is overheating (then again why would only some have that problem needing to reboot daily while others have gone weeks with the E4200 without a single reboot being needed and without any problems occurring) or whether it had to do with changing the adapters back and forth without rebooting the router. Keep in mind that the router worked fine for an hour or so after I stopped swapping the adapters.
    Extra question:
    Will getting a Cisco AE1000 USB adapter perhaps help? (I know this is a loaded question and their is no easy / sure answer, but even a "maybe" or reasons why it might help at this point would be better than nothing.
    Any similar experiences (with the router needing to be rebooted to get wireless radio back on) would be appreciated as it may help myself and others experiencing these types of issues.

  • Multiple parametric Data Collection using createMultipleParametricData API

    Dear Experts,
    For the first time we are using the SAP ME PAPI functionality in SAP MII. As per the requirement we need to do the data collection against a SFC from SAP MII Transaction. We are successfully able to do the data collection  for single parametric Measure using the SAP ME PAPI createParametricData. But now we need to do the data collection for multiple parametric measures in one call and for that we can see that the createMultipleParametricData API is available. The sample xml file from which we are getting the data for three parametric measures Temprature, Pressure and Volume is pasted below.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Rowsets CachedTime="" DateCreated="2014-02-10T06:52:01" EndDate="2014-02-10T06:52:01" StartDate="2014-02-10T05:52:01" Version="14.0 SP4 Patch 1 (Jan 8, 2014)">
        <Rowset>
            <Columns>
                <Column Description="Temperature" MaxRange="1" MinRange="0" Name="Temperature" SQLDataType="-9" SourceColumn="Temperature"/>
                <Column Description="Pressure" MaxRange="1" MinRange="0" Name="Pressure" SQLDataType="-9" SourceColumn="Pressure"/>  
                <Column Description="Volume" MaxRange="1" MinRange="0" Name="Volume" SQLDataType="-9" SourceColumn="Volume"/>
    </Columns>
            <Row>
                <Temperature>32</Temperature>
                <Pressure>30</Pressure>
                <Volume>40</Volume>
            </Row>       
        </Rowset>
    </Rowsets>
    This is the input source from which we need to extract tag names and values under node-Row and then do Data Collection against an SFC with the help of Public API createMultipleParametricData.
    But we are not able to assign multiple parameters as request parameters to this API.
    Can anybody help us with what input format is required to assign multiple parameters to this API or to assign multiple parameters at a time?
    It would be great if you can paste the request xml stucture also.
    Thanks in advance,
    Sanjeev Sharma

    If your input stream is coming into a 1D array, you might try using the
    Decimate 1D array function in the array control group.
    Pull down the control until it matches the 8 data sets... (or 9 if there is a framing character of some sort in the data stream)...then each set should come out a separate output of hte block.
    You probably need to be careful that the serial stream always appears in the same order for this to work right.
    Hope that helps.
    The Hummer

  • Section of the data collected with PCI 1422 card connected to a CCD camera looks step-like

    I am using the PCI 1422 card with a DALSA CA-D1-0128T camera to acquire and save fluorescence data from a heart stained with a potentiometric dye. The camera is set to work at 490 frames per second. My acquisition program (made using a producer consumer loop in Labview 2009) works fine most of the times, but sometimes a small section of the collected data looks step-like (not continuous). I have attached herewith a word document containing a snap of the data. Could you please give me some suggestions as to why this happens and how can I rectify it? 
    Thanks in advance 
    Anuj Agarwal 
    Attachments:
    Doc1.doc ‏123 KB

    Hi Anuj,
    First, this sounds like a very cool application.  What are you measuring? Is it in vivo?
    I believe that I see what you are referring to--is it where your cursor is that you are seeing the "step" problem?  Also, could you give us a little more information aboutwhat type of data we are looking at?  Is this some sort of image analysis data?  
    In terms of code structure, due to the way that LabVIEW handles image data types (it is essentially a pointer to the data instead of the data itself), I wouldn't recommend passing an image via a queue.  
    So, please let me know a bit more about what type of data we are looking at, and what your code looks like, and I'll be happy to help. 
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • Can I take synchronous data from 2 NI9215/USB-9162's using VI-Logger Lite

    I am a total noob, so this may be posted (although I have done a search and can not find the direct answer)
    We have 2 NI-9215 / USB-9162 devices that we want to take synchronous
    data from using VI Logger.  When these devices were sold to us, we
    were told that this was possible, but it appears as if it is not. 
    Both devices appear in the Devices and interfaces pull down, and I can
    operate either one of them separately, but not together.
    Thanks

    Hi Ted,
    Since you have to run the two acquisitions in different tasks, they are run independently and cannot be synchronized.  Is there a way for you to specify a start trigger for the task?  Also, what do you mean that "it doesn't like running two tasks at once"?  Does it slow down your computer performance?  What are the specs of your computer?
    Regards,
    Nicholas B, National Instruments

  • Data collection was switched from an AI Config task writing to an hsdl file to synchronized DAQmx tasks logging to TDMS files. Why are different readings produced for the same test?

    A software application was developed to collect and process readings from capacitance sensors and a tachometer in a running spin rig. The sensors were connected to an Aerogate Model HP-04 H1 Band Preamp connected to an NI PXI-6115. The sensors were read using AI Config and AI Start VIs. The data was saved to a file using hsdlConfig and hsdlFileWriter VIs. In order to add the capability of collecting synchronized data from two Eddy Current Position sensors in addition to the existing sensors, which will be connected to a BNC-2144 connected to an NI PXI-4495, the AI and HSDL VIs were replaced with DAQmx VIs logging to TDMS. When running identical tests, the new file format (TDMS) produces reads that are higher and inconsistent with the readings from the older file format (HSDL).
    The main VIs are SpinLab 2.4 and SpinLab 3.8 in folders "SpinLab old format" and "Spinlab 3.8" respectfully. SpinLab 3.8 requires the Sound and Vibration suite to run correctly, but it is used after the part that is causing the problem. The problem is occuring during data collection in the Logger segment of code or during processing in the Reader/Converter segment of code. I could send the readings from the identical tests if they would be helpful, but the data takes up approximately 500 MB.
    Attachments:
    SpinLab 3.8.zip ‏1509 KB
    SpinLab 2.4.zip ‏3753 KB
    SpinLab Screenshots.doc ‏795 KB

    First of all, how different is the data?  You say that the reads are higher and inconsistent.  How much higher?  Is every point inconsistent, or is it just parts of your file?  If it's just in parts of the file, does there seem to be a consistent pattern as to when the data is different?
    Secondly, here are a couple things to try:
    Currently, you are not calling DAQmx Stop Task outside of the loop; you're just calling DAQmx Clear Task.  This means that if there were any errors that occured in the logging thread, you might not be getting them (as DAQmx Clear Task clears outstanding errors within the task).  Add a DAQmx Stop Task before DAQmx Clear Task to make sure that you're not missing an error.
    Try "Log and Read" mode.  "Log and Read" is probably going to be fast enough for your application (as it's pretty fast), so you might just try it and see if you get any different result.  All that you would need to do is change the enum to "Log and Read", then add a DAQmx Read in the loop (you can just use Raw format since you don't care about the output).  I'd recommend that you read in even multiples of the sector size (normally 512) for optimal performance.  For example, your rate is 1MHz, perhaps read in sizes of 122880 samples per channel (something like 1/8 of the buffer size rounded down to the nearest multiple of 4096).  Note: This is a troubleshooting step to try and narrow down the problem.
    Finally, how confident are you in the results from the previous HSDL test?  Which readings make more sense?  I look forward to hearing more detail about how the data is inconsistent (all data, how different, any patterns).  As well, I'll be looking forward to hearing the result of test #2 above.
    Thanks,
    Andy McRorie
    NI R&D

  • Does verizon selects collect data when using wifi ?

    When signing up for verizon selects is states it collects data when using wireless service but does it collect data when using home wifi which is not verizon?

    I'm not sure why one would want to participate in this program but if one is weary about it I for sure wouldn't use it.

  • Can vlan.dat file be collected using SCP on LMS 4.2 ?

    Hello, I need help regarding vlan.dat file fetch.
    I'm using Cisco Prime 4.2 and VLAN fetch for all devices is currently going over TFTP. Devices managed by LMS are 2960, 4500, 6500 series. All devices are using SSH v2. ACS server is configured on all devices and SSH credentials are OK.
    This is the error meessage I get when i select SCP: "SCP user credentials not available. Configure the SCP user credentials and try again Action: Check if protocol is supported by device and required device package is installed."
    Is it possible to use SCP as VLAN fetch protocol? How to configure this on a devices and how to enter SCP credentials in LMS?
    Thanks.

    I don't think anything other than tftp is supported as the transport protocol for actual transfer of the vlan.dat file from the switches by LMS.
    See this post where Joe C. describes how LMS logs into the target device (via telnet or ssh) and then transfers the files back to itself using tftp. That's about 2-1/2 years old but matches what's described in the current LMS Configuration Management user guide, quoted here:
    "VLAN — Count of the successful VLAN configuration fetches for each protocol. This configuration fetch is supported by only Telnet and SSH protocols."
    You also have the option (as of LMS 4.2) of turning off vlan.dat collection since it is often of limited utility. Please refer to this thread for details.

  • How to extract audit log data from every document library in site collection using powershell?

    Hi All,
    I have n number of document library in one site collection,
    My query is- How to extract audit log data from every document library in a site collection using powershell?
    Please give solution as soon as possible?

    Hi inguru,
    For SharePoint audit log data, These data combine together in site collection. So there is no easy way to extract audit log data for document library.
    As a workaround, you can export the site collection audit log data to a CSV file using PowerShell Command, then you can filter the document library audit log data in Excel.
    More information:
    SharePoint 2007 \ 2010 – PowerShell script to get SharePoint audit information:
    http://sharepointhivehints.wordpress.com/2014/04/30/sharepoint-2007-2010-powershell-script-to-get-sharepoint-audit-information/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • I need to set up 9 IPhones and 4 IPads to be used as data collection devices. How can I do that without setting up 13 separate ITunes accounts?

    I need to set up 9 IPhones and 4 IPads to be used as data collection devices. How can I do that without setting up 13 separate ITunes accounts?

    You can use the same account to set up as many devices as you like.
    You might also find there are tools to help with a roll out.
    http://www.apple.com/support/iphone/enterprise/
    tt2

  • Use PCI-6602 to produce synchronous different TTL singals

    I am using PCI-6602,if I want to use two line to producing two different TTL singals,and the two TTL singals must write to lines synchronously.How can I get it,Thank you !!

    Hi,
    You can generate two pulse trains, one on each counter. If this is what you need, you can do that easly with pulse generation VIs - you can look at the LabVIEW shipping examples - in particular, look at Generate Pulse Train (NI-TIO).vi
    Regards,
    RamziH.

  • Can I query WMI using Data Collection Form ZCM 11 Sp2

    I'm very new to ZenWorks and I'm trying to query WMI from the Data Collection Form in an admin defined field.
    I read somewhere that you can query WMI in a similar fashion to querying a registry key but not getting results.
    Any help would really be appreciated.
    Thanks.

    robmetcalfe,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Synchronization of PCI 6143

    Hi,
    I need to synchronize a high speed camera with a pressure transducer. It should capture frames everytime data from the transducer is recorded. I have a PCI 6143 card and I am looking for a way to do this with LabVIEW SignalExpress. The camera can be synchronized via an XLR connector. The image is taken when signal is activated through the connector (the positive input becomes less than 2V more positive than the negetive input of the connector). It used edge-synchronizing and the signal must be passive before next synchronizing edge is accepted. Please give directions to tackle this problem. Thanks

    Hi,
    You can use Analog or Digital Triggering (according to data recieved from the transducer)and then send the DO to you connector. I think that would work...
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/

  • I have a question about data aqusition from PCI bus

    Hi.
    I am designing a PCI card.I wonder if I want to do some process in LabVIEW,such as power spectrum analyse, oscilloscope, do I have to transfer the data continuously from my card?
    Thank you.

    Simple answer - no.
    More complex answer - LabVIEW is just like any other programming
    language when it comes to data collection frequency.  The
    frequency (intermittent, continuous, timed, etc.) depends upon the
    analysis you are attempting.  To do power spectra or display
    waveforms, all you need is one set of data at a time.  The data
    does not have to be continuous.  There are classes of problems
    which require continuous data.  If you are trying to address them,
    you will need to have this mode of operation available.  Most NI
    input boards offer both modes - continuous and intermittent, with
    intermittent being the most used, by far.
    Note that with proper buffering, both modes end up being about the
    same.  Whether your buffer resides on the card (preferred, is more
    robust, data transfer timing is not so critical) or in the computer
    main RAM, the LabVIEW side of things will always take a single set of
    data at once.  Admittedly, this data set can be one point at a
    time, but you really don't want the overhead of that in LabVIEW (or any
    other higher level function - should be in your driver).
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Should the LabVIEW program be reduced to the speed of data collection?

    I'm using a LabVIEW program created by Ocean Optics for a
    Spectrophotometer probe with is run through the USB port. The problem
    occurs when we attempt to collect data over a time frame of one
    second. For some reason the whole LabVIEW program will begin to
    operate at the speed of data collection when we try to run the VI with
    an integration time of +500 ms. If anyone would be able to offer any
    kind of explanation or theory it would be greatly appreciated. Thanks
    for any and all help.
    Daniel

    Dear Daniel,
    since LV has no support for USB this must be done through a DLL or Active-X control. A call to a DLL or Active-X method is a synchronous node in LV, that means LV will go on executing when the call completes.
    My theory of your problem is that the program makes such a call and it would take that time to collect the data in the DLL or Active-X control. If you have only one loop in the program and do not use dynamic loaded VIs through the VI server than the program seems to hang on each of this calls.
    I hope this helps
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

Maybe you are looking for