TDMS database and treat its values as real time data.

Hi,
I'm newbie in using labview. Actually I wanna import data from TDMS database and treat it as real time data. Although I have done the first part which is importing the data inside the program by reading TDMS and selecting channels and groups, I couldn't find way for second part which is treating data as real time one. I tried Build Waveform, but it didnt work. Would you please help me to solve this problem ? I appreciate your helps.

reza_amin,
I don't understand your word "build waveform". If you write waveform data to a tdms file, you will read waveform data directly from the tdms file.
If you are using LabVIEW 2012 (download from http://www.ni.com/trylabview), you could find a tdms example VI in "C:\Program Files\National Instruments\LabVIEW 2012\examples\file\plat-tdms.llb\TDMS - Concurrent File Access.vi". This example VI demonstrates how to write Sine Waveform into a tdms file and read the Sine Waveform from the tdms file.
Hope this helps and enjoy your LabVIEW journey. :-)
Best Regards,
Bo Xie

Similar Messages

  • How to measure and plot RMS value of real time data?

    hi
    i need to measure and plot real time RMS value of EMG voltage. I made a VI. But I dont know why it didn't work. Can anyone please help me out? My VI is attached  in 2013 and 2011 both version. One sample data is also attached. Thanks at advance.
    Solved!
    Go to Solution.
    Attachments:
    RMS.vi ‏47 KB
    RMS_2011.vi ‏41 KB
    Sample Data.docx ‏20 KB

    You seem to select EMG voltage vs Angle(Z-axis). Is that really what you want? More resasonable would seem e.g. EMG voltage vs. time.
    If you want to process the 3D (xyz data), you probably need to add some more math). Why are you taking the absolute value? RMS does not care about the sign anyway, right?
    They you are trying an XY graph with a single point, because your Y value is only a single number. You need an equal number of points for Y.
    Here's a quick modification that graph EMG(mV) vs. time(ms) and takes the RMS of the EMG data. See if this gives you some ideas.
    Please provide more information what you want to do with the angles.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RMS_MOD.vi ‏18 KB

  • How to check if a user has clicked on a digital control and changed its value?

    Greetings !!!
    I am looking for a simple way (without using Windows messages)of knowing if an user has clicked on a digital control and changed its value.
    I have tried the key focus property; but I have to click twice to make it work.
    If somebody knows a better solution; please let me know.
    Thank you in advance for your help

    If you just want to know if the value has changed you can put it in a while loop and use shift registers to see if the value has changed.
    Brian
    Attachments:
    Changed.vi ‏22 KB

  • Implement a matrix as database and access its cells by its rows and coloumn

    hi,
    i am an engg. student and is facing a problem during a project.
    I want to maintain a matrix as a database and access its cells by giving the titles of the corresponding row nd coloumn.I want to know how to create such a database and implement it.
    I also want the SQL statements required for it.
    Please answer my query soon.

    hi,
    i am an engg. student and is facing a problem during a
    project.
    I want to maintain a matrix as a database and access
    its cells by giving the titles of the corresponding
    row nd coloumn.I want to know how to create such a
    database and implement it.create table matrix
    matrix_id varchar(30),
    matrix_row int,
    matrix_column int,
    matrix_value int
    I also want the SQL statements required for it.
    To get A[3][4]...
    select matrix_value from matrix
    where matrix_id='A' and matrix_row=3 and matrix_column=4

  • How to Integrate real time data between 2 database servers

    How to Integrate real time data between 2 database servers
    May 31, 2006 2:45 AM
    I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
    Thanks
    Panky
    DrClap
    Posts:25,835
    Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:16 AM (reply 1 of 2)
    You certainly wouldn't use XML for this.
    The process you're looking for is called "replication". Ask your database experts about it.
    I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
    panks
    Posts:1
    Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:55 PM (reply 2 of 2)
    Yeajh I now that its not a XML solution.
    Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
    Is it possible to use MQ products??
    -Panky

    Hi,
    the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
    Firstly I would recommend to create good analysis regarding data flow.
    Important things are:
    1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
    2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
    3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
    4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
    5) What should be done when replication will not work? I mean replication crash etc.
    BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
    Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.

  • Display real time data on a plot in a sub VI and main VI

    I am building a program to measure and plot real time data. Program has several steps so I build few Sub VIs to make it simple. My problem is I am plotting real time data in my SUB VI(it works fine), but in my main program when I try to get the same plot its not real time data plot. Plots appear at the end of the program.  All tips and help would be greatly appreciated. Thanks
    I have attached my main VI and Sub VI
    Solved!
    Go to Solution.
    Attachments:
    main VI.jpg ‏116 KB
    Sub VI.jpg ‏242 KB

    LabVIEW program is based on DATA FLOW, now, until the subVI will finish execution (while loop will be stopped), the execution in Main VI will not proceed any further.
    If you can pass the reference of 'XY Graph' inside the subVI, you'll be able to update the plot (placed on MAIN VI) from within subVI.
    Find attached example for your reference.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example [LV 90].zip ‏26 KB

  • Capture all SQL statements and archive to file in real time

    Want to Capture all SQL statements and archive to file in real time?
    Oracle Session Manager is the tool just you need.
    Get it at http://www.wangz.net
    This tools monitor how connected sessions use database instance resources in real time. You can obtain an overview of session activity sorted by a statistic of your choosing. For any given session, you can then drill down for more detail. You can further customize the information you display by specifying manual or automatic data refresh, the rate of automatic refresh.
    In addition to these useful monitoring capabilities, OSM allows you to send LAN pop-up message to users of Oracle sessions.
    Features:
    --Capture all SQL statement text and archive to files in real time
    --Pinpoints problematic database sessions and displays detailed performance and resource consumption data.
    --Dynamically list sessions holding locks and other sessions who are waiting for.
    --Support to kill several selected sessions
    --Send LAN pop-up message to users of Oracle sessions
    --Gives hit/miss ratio for library cache,dictionary cache and buffer cache periodically,helps to tune memory
    --Export necessary data into file
    --Modify the dynamic system parameters on the fly
    --Syntax highlight for SQL statements
    --An overview of your current connected instance informaiton,such as Version, SGA,License,etc
    --Find out object according to File Id and Block Id
    Gudu Software
    http://www.wangz.net

    AnkitV wrote:
    Hi All
    I have 3 statements and I am writing some thing to a file using UTL_FILE.PUT_LINE after each statement is over. Each statement takes mentioned time to complete.
    I am opening file in append mode.
    statement1 (takes 2 mins)
    UTL_FILE.PUT_LINE
    statement2 (takes 5 mins)
    UTL_FILE.PUT_LINE
    statement3 (takes 10 mins)
    UTL_FILE.PUT_LINE
    I noticed that I am able to see contents written by UTL_FILE.PUT_LINE only after statement3 is over, not IMMEDIATELY after statement1 and statement2 are done ?
    Can anybody tell me if this is correct behavior or am I missing something here ?Calling procedure must terminate before data is actually written to the file.
    It is expected & correct behavior.

  • Real-Time Data Sync-up between Oracle and MS SQL Server

    Hi All,
    I am looking for a solution to sync-up the data between Oracle and MS SQL Server in real time. Here, the structure of table is different (in the sense, the data in multiple table in SQL Server should be combined and put it in a single table in Oracle and vice versa).
    Could anybody throw light on this plz?
    Thanks in advance!

    mt**** wrote:
    Hi All,
    I am looking for a solution to sync-up the data between Oracle and MS SQL Server in real time. Here, the structure of table is different (in the sense, the data in multiple table in SQL Server should be combined and put it in a single table in Oracle and vice versa).
    Could anybody throw light on this plz?
    Thanks in advance!Handle:     mt****
    Status Level:     Newbie
    Registered:     Feb 9, 2003
    Total Posts:     183
    Total Questions:     14 (10 unresolved)
    why so MANY unanswered questions?
    what should occur when DML occurs & the "other" DB is not online?

  • Reading and saving real time data

    Hi,
    I would like to read and save real time data using DAQ card 6004 with my PDA device. There is no problem with reading real time data, I can see it on the PDA's screen successfully. But, when I'm trying to save this real time data, I have the following problem:
    -It continuosly asks for file name.
    -It only saves the data instaneously,i.e. it only saves the data at the moment.
    I'm stuck with this problem, could you please help me?  I attached my vi doc.
    By the way, I'm using Labview PDA 8.5 version. 
    Attachments:
    Acq&Graph&Save Voltage-Int Clk.vi ‏32 KB

    oozdemir,
    >> -It continuosly asks for file name.
    You are prompting the user for a file name each time through the loop.  Do this before you enter the loop and pass that file ref in.
    >> -It only saves the data instaneously,i.e. it only saves the data at the moment.
    By this, I am going to assume you want to append to the file as you go.  Two problems, 1.  you are saving an array to the file and additional info about the array structure is being saved.  You would essentially be creating a binary file filled with array "records" (for lack of a better term) appended one after another.  2.  If you want to append to the file, you will need to use the "Set File Position.vi" to locate the file pointer to the end of the file.
    This task looks like it runs once per second until the stop button is pressed.  You could build an array of all acquired data in the loop and then write it when the loop exits.  Just a thought.  This app could create a lot of data though.
    -cb

  • Handling sequences in real time data transfer.

    Hi,
    We are merging two databases (real time data transfer).
    One is oracle 8i and other is 9i.
    Both databases are having some tables with same structure.
    We want to transfer data from table in one database to table in other database.
    We are implementing this functionality by using Adevanced Queueing.
    Both side tables are using different sequences for generating primary key values and currently contains large volume of data.
    The problem in inserting is, when we will be transferring any record from one table to other, the primary key value (sequence value) generated in both tables will be different.
    So, if any particular record is updated in one table, How can we update the same record in other table ?
    (As the primary key value would be different).
    Thanks,
    Shailesh

    There must be some common data in the two tables, that identifies the record. That is, ignorng the sequence generated PK, how would you tell that two records referred to the same thing? You need to ignore the PK values, since they are meaningless surrogate keys, and use the natural key in the data to match the two talbes.
    HTH
    John

  • Would MobiLink be the appropriate tool for syncing servers which collect near real-time data?

    I have a situation which appears to be similar to the some MobiLink configurations, but with only a few large clients.In my case, there would be 5 to 10 remote clients (each with SQL Anywhere) and a central database. Administration and configuration would be done mostly from the central database, but each client also includes a near real time data collection application. The customer would like to have that data available in the consolidated database. In the worst case, there could be about 50MB of data received from each client in a burst each 15 minutes. Fortunately the consolidated site doesn't have a tight time constraint, its data could be up to 15-30 minutes behind. The clients don't need (or want) to see each other's collected data.
    I would like to know if MobiLink would be a good choice for this situation. The only other viable alternative I've found so for is the keep the collected data at the remote clients and access it only on demand. And naturally, there's no money in the project for an enterprise level solution.
    FYI: My company has on OEM license for SQL Anywhere.  We usually just have an application with SQL Anywhere at each site to collect data from the local equipment. This project is for a Fortune 500 company that want's to be able to monitor everything from the corporate office.
    John

    Hi John,
    You should start writing down a few numbers including network speed and hardware specifications of client and server machines. In the worst scenario, you would have 15 clients synchronizing concurrently 750 MB of data in 15 minutes. And on top, there is your real time data collection application that could work while the synchronization is in progress.
    You should also workout, how many connections to the consolidated database you will have in addition to Mobilink server and if these connections can create contentions.
    The key factors influencing Mobilink performance are listed here DocCommentXchange
    and you can tune the performance (more details in the link below)
    DocCommentXchange
    DocCommentXchange
    Mirco

  • Call web service from OBI dashboard to show real-time data alongside data from DW

    Hello,
    OBI = 11.1.1.7.0
    We have a requirement to pull in real-time data from an external, secure web service (WS) into an OBI report.  The OBI report also contains data from the data warehouse (DW) along with a calculation that is derived from multiplying the DW and WS data .  In theory, the behavior that were looking for is similar to the Action Link "Invoking a web service" whereby the call is made to the web service for each row of data.  How would it be possible to achieve this result on an OBI report?
    Desired Result of OBI Report
    Product.......Qty.........Price........Potential Revenue
    TV..............100...........$500..........$50000
    VCR.............22............$75...........$1650
    DVD..........2500............$20..........$50000
    Breakdown of the data source for each column on the OBI report
    Product.......Qty.........Price........Potential Revenue
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    Thank you,
    Mike

    Does anyone know if it's possible to call a webservice from an OBI report to populate a column's value?  Thank you for your input.

  • RDA(real time data aquasation)

    can anyone pl. tel me how the process goes in RDA(real time data Aquasation) means no steps internally.

    Hi,
    Real-Time Data Acquisition u2013BI 2004
    Real-time data acquisition supports tactical decision-making. It also supports operational reporting by allowing you to send data to the delta queue or PSA table in real-time.
    You might be having complex reports in your BI System, which helps in making decisions on the basis of data of your transactional system. Sometimes (quarter closure, month end, year ending...) single change in the transactional data can change your decision, and its very important to consider each record of transactional data of the company at the same time in BI system as it gets updated in the transactional system.
    Using new functionality of Real-time Data Acquisition (RDA) with the Net Weaver BI 2004s system we can now load transactional data into SAP BI system every single minute. If your business is demanding real-time data in SAP BI, you should start exploring RDA.
    The source system for RDA could be SAP System or it could be any non-SAP system. SAP is providing most of the Standard Data Sources as real-time enabled.
    The other alternative for RDA is Web Services, even though Web Services are referred for non-SAP systems, but for testing purpose here I am implementing Web Service (RFC) in SAP source system.
    Eg will be a production line where business wants information regarding defective products in the real time so that production can be stopped before more defective goods are produced.
    In the source system, the BI Service API has at least the version Plug-In-Basis 2005.1 or for 4.6C source systems Plug-In 2004.1 SP10.
    Refer:
    Real-Time Data Acquisition -BI@2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f80a3f6a983ee4e10000000a1553f7/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3db14666-0901-0010-99bd-c14a93493e9c
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3cf6a212-0b01-0010-8e8b-fc3dc8e0f5f7
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd
    Regards
    Tg

  • Problem with Real Time Data Acquisition

    Hello,
    I tried to built a RDA data flow according to the SAP-Help and this blog (/people/kamaljeet.kharbanda/blog/2006/11/13/real-time-data-acquisition-bi2004s), but I ran into a problem. Everything seems to be fine, but even though the daemon is running no new data is added to the DSO. I'll explain in detail what steps I took and hope someone can pinpoint my error(s).
    System is BW4 on SPS 17. My datasource as well as my DSObject are in the same system
    1.) Created a transparent table with a timestamp-field for generic delta as a local object.
    2.) Created a generic datasource from view/table (used the above table), marked it as realtime-enabled and used timestamp as delta-specific field.
    3.) Replicated the metadata for my datasource and activated it.
    4.) Created a Data Storage Object with infoobjects corresponding to the table fields
    5.) Created a transformation between DataSource and DSO
    6.) Created a DTP from Data Source to DSO. The type is realtime-DTP.
    7.) Created an InfoPackage for Delta-Initial Load. Update mode: Initialize Delta Process -> Initialization with Data Transfer.
    8.) Then I changed my DTP (step 6) to "normal DTP" and executed it. Then activated the data in the DSO. The datasets from the table (which i filled with an ABAP-program) were successfully loaded and activated. So now my DSO contains 5 datasets.
    9.) Changed the DTP back to "realtime DTP"
    10.) Created an InfoPackage for RDA. Adapter is set to "Realtime extraction from SAP System"
    11.) Created a daemon, assigned the IP for RDA and the DTP to the daemon and started it up.
    12.) Executed my ABAP program to added 3 datasets to the table which is used as a datasource.
    So now in my source table there are 8 datasets, but the daemon won't load them. In my RDA-Monitor (trx rsrda) it shows my daemon, the assigned IP and the assigned DTP (status green). Under the IP there's one yellow request (that should be right according to the help), but unlike the picture in the blog (link see above) there's no request under the DTP.
    Job overview (sm37) shows an active batch job and some jobs that are ready (every 10minutes a new batch starts and the old one is closed). the job log shows, that the daemon runs, but loads no data...
    i think it might be a problem with the delta extraction somewhere, because the intial load works fine and there are no errors anywhere.
    Edit: perhaps my settings in the data source unter tab: extraction are wrong?
    Delta process: AIE After Images By Extractor (can't change that)
    Direct Access: Allowd
    real Time: Real-Time DA Supported
    Adapter: realtime data extraction (also tried Access to SAP Data through Service API which seems senseless)
    Data Format: Fixed Lenght
    Anyone can explain what those fileds mean and which one i should use?
    Edited by: Christoph Jender on Apr 10, 2008 2:48 PM
    Edited by: Christoph Jender on Apr 10, 2008 3:33 PM

    Hi again, another thing i'd like to try is to just active a business content datasource which is realtime-enabled and has the ability to dynamically add some values so that i can test if it works. but i have no idea what business content would be applicable here, any ideas on that perhaps?

  • Real-Time Data Acquisition

    WHAT IS REAL-TIME DATA ACQUISITION AND
    WHAT ARE REAL TIME QUERIES AND
    DEAMON UPDATE AND HOW DO WE EXTRACT AND LOAD DATA
    Please Explain in detail.....
    regards
    GURU

    Hi,
    Real-Time Data Acquisition –BI 2004s
    Real-time data acquisition supports tactical decision-making. It also supports operational reporting by allowing you to send data to the delta queue or PSA table in real-time.
    You might be having complex reports in your BI System, which helps in making decisions on the basis of data of your transactional system. Sometimes (quarter closure, month end, year ending...) single change in the transactional data can change your decision, and its very important to consider each record of transactional data of the company at the same time in BI system as it gets updated in the transactional system.
    Using new functionality of Real-time Data Acquisition (RDA) with the Net Weaver BI 2004s system we can now load transactional data into SAP BI system every single minute. If your business is demanding real-time data in SAP BI, you should start exploring RDA.
    The source system for RDA could be SAP System or it could be any non-SAP system. SAP is providing most of the Standard Data Sources as real-time enabled.
    The other alternative for RDA is Web Services, even though Web Services are referred for non-SAP systems, but for testing purpose here I am implementing Web Service (RFC) in SAP source system.
    Eg will be a production line where business wants information regarding defective products in the real time so that production can be stopped before more defective goods are produced.
    In the source system, the BI Service API has at least the version Plug-In-Basis 2005.1 or for 4.6C source systems Plug-In 2004.1 SP10.
    Real-Time Data Acquisition -BI@2004s
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f80a3f6a983ee4e10000000a1553f7/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3db14666-0901-0010-99bd-c14a93493e9c
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3cf6a212-0b01-0010-8e8b-fc3dc8e0f5f7
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd
    Thanks,
    JituK

Maybe you are looking for

  • [WORKED-AROUND]video files not playing

    Hi archers, upgraded my system today & now it refuses to play video files in vlc I get the following output: VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5) [0x8541f8] main libvlc: Running vlc with the default interface. Use 'cvlc' to u

  • Bapi_document_create2 problem

    Hi, i face with a problem while using the bapi bapi_document_create2. it adds the file path like ' Dogan\Main\Standards\0010415--P.pdf' but i cannot open the file in cv02n. And also it adds the material master elements but the description is not seen

  • A Financial Management App that works for the UK??

    I've been running a MacBook Pro for some five years and have also used a Parallels partition to run some legacy Windows programs such as Quicken Deluxe 2000! I am now determined to dump the Parallels partition and now need a money management app that

  • My display preferences does not show detect displays or the arrangement button

    I have a late 2011 macbookpro (15") running OSX 10.8.2 (mt. lion).  My display preferences screen does not have the arrangements button or the button to detect displays. Is this a bug in mt. lion?  How do I fix this?  I want to use my hdtv (samsung 3

  • ICloud: Page documents disappearing

    my iPad had a technical disorder. it was repaired but after re-storing from the latest iCloud copy, my documents of the last 72 hours seem to be missing, although I synchronized them. in my Pages, the docs are simply missing, on the PC (iCloud page)