Sync data acquisition for Arduino and cDAQ

Hello,
I am using the Labview cDAQ, thermocouple (NI 9214) and digital input (NI 9411) modules, as well as an arduino uno
to read a few signals and do some data processing.  I would like a 0.2-0.5 Hz sampling frequency such that all the data collected is synched to the same timestamp.  I have about 30 thermocouples (2 NI9214 units), 2 TTL signal (approx 1Hz frequency), and the arduino
is acquiring an analog voltage signal.
Any examples or guidance would be appreciated.
Kind Regards,
Anna

Hello Anna,
Just to make sure I understand correctly, you wish you acquire all data (analog, digital, thermocouple) at 0.2-0.5 Hz and have each data point taken along with a timestamp at the same point in time?  In other words, at 0.5 Hz, you will read 30 TC measuremnts, 1 point of each TTL signal, and one point of the analog signal ever 2 seconds, and the associated timestamp for that acquisition?
Since the timing is relatively slow, you would likely be able to do this fairly well in software alone.  The following Community Example...
https://decibel.ni.com/content/docs/DOC-9543
...uses the producer/consumer architecture to collect Analog Waveform data in one loop (you would acquire analog and digital), and then break it out in the consumer loop to write a timestamp (from the waveform) to the first column of a 2D array, and the corresponding data points to the subsequent columns, which you could then write to a file, display in a table, etc.
Regards,
National Instruments

Similar Messages

  • Real-time data acquisition for HR datasources

    Dear Experts,
    I have a couple of questions on real-time data acquisition...
    a) Can you tell me if any standard HR datasources support real-time data acquisition?
    b) Can we apply real-time data acquisition for generic datasources? If yes, is there any difference in the process compared to working with business content datasources when using real-time data acquisition?
    Hope you can provide some answers...as always, points will be awarded for answers that effectively address the questions.
    Thanks a bunch.
    K

    Hi Karthik,
    a)The decision to go for SAP remote cube depends on the volume of data and the frequency of queries. It is advicible not to use the SAP remote cube if the data volume is high and also, the query frequency is high. Which module in HR are yuo implementing? In HR, the data volume is generally high. So, if you go for loading the data from R/3 every 3 hours, you are asfe as long as the loading volumes are less. For example, for implementing Time management, I would not advice frequent loads as it is time consuming process. So, make a decision based on the above mentioned lines. If the data volume is not high, I would prefer the SAP ermote cube as it will reduce managing the loads.
    b)I mentioned FM extractor just for the sake of control of data selection. You can even go for view/table extractor.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Create withholding tax data subsequently for reconciled and open items in c

    Hi All,
    Mine is a US co code and I have a  vendor for which invoice and payment documents are posted. After posting the invoice i found that the vendor is subjected to classic withholding tax which i did not calculate when posting invoice, making payments.
    Now i have changed the vendor master data with relevant withholding tax details.
    I know the program RFWT0020 allows us to create withholding tax data subsequently for reconciled and open items in cases where vendors or customers become liable for withholding tax with a tax rate of 0 %.
    It is not working out for me.
    Can any body help me on this.
    Thanks in advance.

    Dear all,
    by se38 --> report documentation, You can read carefully the following:
    The auxiliary program makes it possible to convert both classic and extended withholding tax data. However, with classic withholding tax, ONLY VENDOR data can be converted.
    In addition, the program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same.  The withholding tax base amount is not changed by this procedure.
    Recreating or changing the withholding tax data requires that the program first be executed for INVOICES and then executed for PAYMENTS in a subsequent step.
    I hope this helps You.
    Mauri

  • Master data loads for Attributes and texts failing

    Hello
    Master data loads for Attributs and texts are failing. The error is
    1. Lock Not set for Loading master data attributes
    2.Table /BI0/YAccount does not exists (this error is for 0Account master data - attribute load)
    3.Error  1 in the update.
    We had faced this error few days ago and rebooting the server resolved the error but it has recurred after 4 days.
    RS12 and SM12 do not show any locks. Activating the info object has also not resolved the error.
    Any insight is appreciated.
    Thanks
    Inder

    Hello
    Master data loads for Attributs and texts are failing. The error is
    1. Lock Not set for Loading master data attributes
    2.Table /BI0/YAccount does not exists (this error is for 0Account master data - attribute load)
    3.Error  1 in the update.
    We had faced this error few days ago and rebooting the server resolved the error but it has recurred after 4 days.
    RS12 and SM12 do not show any locks. Activating the info object has also not resolved the error.
    Any insight is appreciated.
    Thanks
    Inder

  • Upon transferring to the cloud, all my previous mail says the same date, except for today and yesterday.  The rest says it came in on the same date I had to replace the hard drive 3 years ago.  Totally stumped.  It didn't do this on my mac...

    Upon transferring to the cloud, all my previous mail says it entered my box on the same date, except for today and yesterday.  Everything else says it came in on the same date on which I had to replace the hard drive 3 years ago.  Totally stumped.  It didn't do this on my mac...only when I moved.  I have bad feelings about being to fix this...Any suggestions?

    Get the new keyboard at eBay and replace by yourself may be cheaper way, though you're required higher skill and well know about MacBook Air.
    http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0 .Xmacbook+air+2011+keyboard&_nkw=macbook+air+2011+keyboard&_sacat=0
    https://www.youtube.com/watch?v=gLbasVD69xo

  • Master Data Loading for Prices and Conditions in CRM - "/SAPCND/GCM"

    Hi,
    Could anyone give me some inputs on Master Data Loading for Prices and Conditions in CRM.
    T. Code is:  /SAPCND/GCM
    I need to load data on a file (extracted from 4.6) for service contracts.
    I tried LSMW : for this transaction, recording does not work.
    I am trying loading thru Idocs (LSMW). But that too is note really working.
    Do we require some custom development for this , or is some SAP standard funcntionality available ??
    Can anyone provide some valuable inputs one this.
    Would appreciate your responses.

    Hi Tiest,
    Thanx for responding.
    U r right, our clint is upgrading from 4.6 to ECC.
    So as per the clients requirements, we are maintaining all the configs for Services in CRM.
    Services Data which was in 4.6 is being pulled put on flat files which needs to be loaded in CRM. So middleware would not be able to do this.
    What I am looking os some standard upload program.
    LSMW recording does not work.
    This I-Doc "CRMXIF_COND_REC_SLIM_SAVE_M", i am able to load a single record. But I am not able to find , how to make this function for multiple entries.
    IN standard we for loading master data thru I-docs, we map the values to the standard fields which are available in that I-Doc.
    But in this particular i-doc, there is a common field for which I need to define the field name and a field value..
    Till now, I am only able to define just one field name and a field value.
    I want this to word for mutliple entries.
    Hope u get my point.
    Thanx

  • Asking for data connectivity for settings and Photo gallaery. Why?

    Asking for data connectivity for settings and Photo gallaery. Why?

    sounds good to me. suggest it here!
    apple.com/feedback

  • Wat should be data type for  negative and decimal values (eg: -1.2222)

    What should be data type for  negative and decimal values (eg: -1.2222)

    Hi
    U can use the data type DEC while creating the DOMAIN and in the domain u  have sign check box at the left corner of the screen, click that check box , u can assign negative values for the field which refers this domain.
    REWARD IF HELPFULL
    Anees.

  • Data Acquisition for Position Transducer

    I just purchased an Analog Position Transducer from SpaceAge Control, and was wondering if anyone had any code to gather the data. I must admit i'm lost when it comes to this, I thought the transducer would come like an instron where you just plug it into the computer. I have a six pronged plug that exits the device. I have a couple TI data acquisition boards at my disposal. I am hoping someone has used a similar product or has some advice. Thank You
    Keith

    We have lots of code to gather data in all sorts of ways. Building measurement applications is what we do. Since you are lost when it comes to this, you would do well to hire a guide in the form of an Alliance Member company. We do this stuff every day.
    Your TI DAQ boards may do the trick, but you would have to show someone the specs for them. Also, you need to think about what kind of speed you require and where you want the position data to go. Table? Plot? Database? A good LabVIEW developer can set you up with some code that does exactly what you want.
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • Data acquisition synchronisation Arduino/LabView

    Hello,
    I'm trying to acquire force sensor values using an Arduino board (reading the data and controlling a motor) and LabView. The data acquisition rate is tunable according to the motor condition, meaning a high acquisition rate (short delay) during the ON state of the motor and a low acquisition rate (long delay) during the OFF state of the motor.
    I managed to acquire the data, but till now I always find some "0" values though I'm applying a continuous force on the sensor. I guess the main problem is the synchronisation of the "datarate" on the Arduino board and the acquisition time point in LabView.
    I hope that you could halp me, since I'm trying since weeks to overcome this problem. You will find both the LabView and the Arduino source codes in the attachment.
    Attachments:
    CBR control_opti.vi ‏206 KB
    CBR_Arduino.docx ‏15 KB

    Dear all,
    last week I had some limited time, which I could dedicate to my work with Labview. Unfortunately I'm not able to solve the problem with the Consumer/Producer architecture. It seems to be the appropiate solution, but due to my limited knowledge I'm not capable of doing that.
    I will add my modifications (CBR control_Prod-Cons.vi) to give you an idea about what I've achieved so far. I appriciate any help of you, since this story is driving me crazy. Additionally, I attach a JPG showing the readout I'm obtaining with the old version (CBR control.vi), where the red circles indicate the problem with the "0" values.
    Thank you again,
    Cheers 
    Attachments:
    CBR control_Prod-Cons.vi ‏203 KB
    sensor read out.JPG ‏164 KB
    CBR control.vi ‏206 KB

  • All my firefox sync data has been deleted and I don't know why. Any way to restore it??

    I had alot of bookmarks and passwords on my firefox sync. However, I rebooted my computer a few days ago and now when I clicked on "Merge sync data" my data still does not appear and it seems like everything has been deleted. Can I restore this data?

    I have tried restoring it but it only shows dates for the last 5 days which doesn't help. I rebooted my computer (formatted hard drive and reinstalled windows) a few days ago so any backup files in my computer are gone. I thought that there are backup copies made on the Firefox server but obviously I was wrong!
    I don't see the point of Firefox sync if you can't view your bookmarks etc online and if there aren't backups made on the server.

  • Triggering a 6024E into data acquisition from start and end number of finite pulse generator from a 6602

    My motion control system is driven by a 6602 I wanted to acquire analog current (to a voltage via I/V converter) from a 6024 AI when:
    (1) At the start of the pulse generation
    (2) Stop at the end of the pulse generation
    (3) Read every possible data between and stream it on the harddisk
    (4) Option to skip at regular intervals to reduce amount of data accumulation
    Anyone have some suggestions? What I did try and attempted was to "loop an AI from a triggered intermediate Analog Input VIs" this is rather erratic!My question for the analog input software are:
    (1)Can you trigger an AI to start a continuous acquisition?
    (2) How do you do AI from a "start" p
    ulse train to "end" pulse train?
    (3) How do you manage time for File I/O meanwhile doing (1) and (2) above?
    Bernardino Jerez Buenaobra
    Senior Test and Systems Development Engineer
    Test and Systems Development Group
    Integrated Microelectronics Inc.- Philippines
    Telephone:+632772-4941-43
    Fax/Data: +632772-4944
    URL: http://www.imiphil.com/our_location.html
    email: [email protected]

    "(1)Can you trigger an AI to start a continuous acquisition?
    (2) How do you do AI from a "start" pulse train to "end" pulse train?
    (3) How do you manage time for File I/O meanwhile doing (1) and (2) above?"
    Answer 1 and 2)
    Yes you can, This VI is part of the search examples that ships with LV:
    "Continuous Acquisition & Graph Using Digital Triggering and External Scan Clock
    Demonstrates how to continuously retrieve data from one or more analog input channels using an external scan clock when a digital start trigger occurs."
    Go to Search Examples in the Help/Contents of LV. Then pick I/O Interfaces/Data Acquisition (DAQ)/Analog Input/Triggering an Acquisition/Triggering a Continuous Acquistion.
    This VI is appropriate ifs you want to clock the DAQ with some clock (external scan clock) other than the on board clock.
    The start trigger required by the DAQ card will be a TTL signal attached to the PFI0/TRIG1 pin of you DAQ card (via whatever signal conditioning you have).
    The external clock also needs to be TTL and is attached to the PFI7/STARTSCAN pin.
    You tell it which AI channel to use and wire that up appropriately.
    All of this stuff is in the context help for the VI.
    Answer 3)
    You have a misconception of how the acquisition makes its way into a file on the hard disk. You don't really "stream to disk." The VI above will run a buffered acquisition. The DAQ card sets up a buffer that fills with the data continously. When you use the VI you set up how the buffer is configured, you will see controls for buffer size, number of scans to read at a time, etc. The acquisition runs data into the buffer continously and reads from the buffer are a parallel process where chuncks of the buffer are extracted serially. You can end up with a scan backlog where the reads are falling behind the data. Making the buffer bigger helps. All of this is limited by the sampling capability of the DAQ card. 200kSamples/second is for one channel of AI. Divide by 2 for 2 channels. etc.
    The short answer is that the VI and DAQ card manage the file I/O for you.
    The VI above writes the scan out to the waveform chart on the front panel. You will want to wire that data out from the AI Read Sub VI to a spreadsheet file in tab delimited form or similar.
    Look inside the VI block diagram. There is a While loop containing the AI Read. Every time the loop runs (unless you hit STOP), the AI Read plucks the specified # of scans from the buffer (starting from the last unread datum). If you wire the double orange wire from AI Read out of the loop (and set the tunnel for Auto Indexing) the Vi will build another buffer in memory that is a series of AI Reads appended to each other, a sequencial record of the acquisition. Here you put in a Write to Spreadsheet VI. This is in the Functions Pallete, it is the first VI in the File I/O Pallette (icon looks like a 3 1/2 disckette).
    There is more to it than this. The spreadsheet Write is 1D or 2D only. By running the array out of the while loop with auto indexing enabled, you create a 3D array. (If you turn off auto indexing you will only get the last array performed by the AI Read.) You will need to create a new array withe the pages of the array placed serially into a 2d array. I don't think I want to get into that. It isn't that bad to do, but you should get some time messing with arrays on your own, then you will see how to do it yourself. One solution is to only run the While loop once with a buffer big enough to hold the whole acquisition, or in other words no loop at all. I don't know how many scans you want. The other thing is by wiring that AI Read out of the loop you are creating an array that must be dynamically resized as the loop runs. Kind of a no no. Better to know what you are acquiring size wise and letting the VI set up buffers and array space that does not need to be changed as the program runs.
    Caveat: I am fairly new to this and I could be wrong about the arrays and buffers and system resources stuff. However, I have done essentially what you are trying to do succesfully, but not "continuously." I limited the AI Read to one large read that gets what I need.
    "Continously" is usually reserved for screen writes as in the VI above. The computer is not required to continually allocate space for an ever expanding array to be written as a file later. Each time this VI runs the While Loop the data goes to the waveforn chart. Each new AI read overwrites the previous one. Sort of like if you turn the Auto Indexing off. When the VI stops, the waveform chart on screen would show the same data as was written to the spreadsheet.
    Feel free to email me directly: [email protected]. I will help as I can.
    Mike Ross

  • Problem in data acquisition for cRIO-9076 wth c series drive interface module 9516

    I am using LabVIEW for my project i.e., the speed control (using PID) of a motor and want to create a vi for the same.
    The specifications of the products being used are as follows:
    1) Motor: AKM24F (dc motor)
    2) CompactRIO: cRIO-9076
    3) C Series Servo Drive Interface: NI-9516
    I am facing problem regarding the real time interface between the motor and PID block in labVIEW i.e. in the data acquisition part to be specific. Please suggest a way in which I can successfully acquire the analog data(speed) from the motor and vice versa in the vi.

    What is the priority of the VI you're running?  I'd be concerned that maybe you've starved out the ethernet transmit thread or something.
    -Danny

  • Got locked out of iPhone 4 my only option was to upgrade so I got iphone 5s but when I restore from backup that's recent from iCloud I don't get my game data and app data how do I get all my data back for games and apps?

    I still have old phone is there a way to bypass 4 digit code my kid created it and locked me out but it's disabled says connect to iTunes but no access to computer just wifi. I have all my data still on it there's gotta be a way to over ride it or something far situations like this cause someone said iCloud don't save everything like app info just basic app info PLEASE IF ANYONE CAN HELP OUT???
    I'd like my phone to have all data it had when I backed up to iCloud bought extra space and everything and still didn't get all my data from other phone and I made sure everything was checked on to be backed up

    Thanks so much Meg. Unfortunately, iTunes is the program I use to perform syncing. I don't really have other outside options. It is also the location of the backup I would use to restore my phone, and my only way to reclaim important data. I am concerned that, since the last backup occurred when the "other" bar was only moderately huge (around 29G I think), that a backup would replicate the problem back onto my phone. 
    My contacts, etc. are all in address book and the calendar app on my Mac.  As far as I know, iTunes is the way to get them back, but iTunes is where the problem is. 
    Any thoughts on this?

  • Data element for Month and Year

    Hello All,
    Is there any data element which will have only Month and Year.
    I have to introduce this field in a table. It should have convesion exits also.
    Ex: If i give 092009, it sould come like 09.2009
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

    Kindly Try this code for Month and year as input and having standard F4 help..
    INCLUDE RMCS0F0M.
    TYPES : BEGIN OF TY_SELECT,
              MONTH TYPE FTI_MONTH_YEAR,
            END OF TY_SELECT.
    DATA : WA_SELECT TYPE TY_SELECT.
    SELECTION-SCREEN : BEGIN OF BLOCK SANDEEP WITH FRAME.
      SELECT-OPTIONS : S_MONTH FOR WA_SELECT-MONTH OBLIGATORY NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN : END OF BLOCK SANDEEP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH-LOW.
      PERFORM MONAT_F4.
    SANDEEP JAIN

Maybe you are looking for

  • BW_BPS

    hi friends, i am new to bw-bps, i have seen some steps in help.sap.com, i am unable to understand how can create that steps in system, that thing i didnt find in help.sap.com. like planning area , planning packages, planning levels, planning function

  • HT1933 what if I bought the same game more than once from i tunes by mistake how can i claim a refund?

    what if I bought the same game more than once, How can I claim a refund from I tunes store?

  • Restoring entire system from a backup

    For future use, I am interested in restoring my entire system,  but I am confused with the following directions: "With your backup drive connected, start up your Mac from the Recovery system (Command-R at startup) or Mac OS X v10.6 installation disc.

  • Mac running slowly

    My Mac has been running slower than usual for about a week. G-mail and Google are slow. I use Photoshop, but almost all images are in folders. Can the problem be identified and can I get back to normal speed? Here are the messages from the Console: 1

  • Flash player 10 Not working with firefox Please Help

    I have posted here before and for some reason flash player is still not working.  I haven't been able to get on any of my fb games because of this.  When I go to play any games it loads the pic then it fades to a white screen, when Ieft click on the