How to use that create the wavefrom

I would like a Plugin of data from a custom data format. Example of following data:

some_name_1 $ (name)
$ (id) 1
$ (Color) 1,000000 0.000000 1.000000
$ (X axis) time [ms]
$ (Y axis) [kN]
0.00000000E + 00, -4.30788916E - 09
1.0112.999e - 01, -2.26056017E - 02
4.99011459E + 01, 3.88890062E - 23
5.00010223E + 01, 2.55677929E - 23
some_name_2 $ (name)
$ (id) 2
$ (Color) 1.000000 0.000000 0.000000
$ (X axis) time [ms]
$ (Y axis) [mm]
0.00000000E + 00, 4.53233423E - 10
1.01121999E - 01, -2.85587949E - 03
4.99011459E + 01, 7.13293237E - 24
5.00010223E + 01, 2.88725773E - 23
some_name_3 $ (name)
$ (id) 2
$ (Color) 1.000000 0.000000 0.000000
$ (X axis) time [ms]
$ (Y axis) [g]
0.00000000E + 00, 4.53233423E - 10
1.01121999E - 01, -2.85587949E - 03
4.99011459E + 01, 7.13293237E - 24
5.00010223E + 01, 2.88725773E - 23
* END

File always come with channels. Allways channels have two column - time and values.

I have loads whitch Plugin data to work for me, but I have a lot of useless weather channels. So I would like to create a waveformat channels rather than doubles all digital.

Simple approach I have just add waveform properties does not work.

Please how can I create waveform of this data format?

The code I use is attatched

Thank you.

Radek

Hi Radel_Codr,

is the right approach to add properties of waveform.

An important property is missing. See below the list of available properties for the waveforms and its data types:

Call ChnValues.Properties.Add ("wf_samples", CLong (1))
Call ChnValues.Properties.Add ("wf_increment", CDbl (0.1))
Call ChnValues.Properties.Add ("wf_xname", "time")
Call ChnValues.Properties.Add ("wf_xunit_string", "ms")
Call ChnValues.Properties.Add ("wf_start_time", CreateTime (2015,8,12,12,10,0))
Call ChnValues.Properties.Add ("wf_start_offset", CDBl (0.1))

Except "wf_samples", all properties are optional. Please follow the explicit data type conversion for property values.

With our support of output channels 2015 a new function to add waveform properties, that simplify the creation of channels of waveform.

Tags: NI Software

Similar Questions

  • DVD-R discs play only on internal burner/reader of DVD that was used to create the disc?

    Hello

    This is the DVD-R that I created will not play on my Player DVD TV Philips standard or any other DVD player other than the one used to create the floppy disks?  I tried to lower the record speed of Windows DVD Maker, Cyberlink Power Director, and Nero 11 and all have the same issue?  I can only read my disks on HP laptop DVD drive?  The discs I used are:

    Philips DVD - R 4.7 GB 1-16 X
    Memorex DVD - R 4.7 GB 16 X

    My old Windows XP machine has no problems burning these discs and they play back well on Player DVD TV Philips and all players with my friends.

    This problem is driving me crazy! This is a 1 year HP Pavilion dv9000 with built in DVD/Blue Ray recorder. It runs 64-bit Vista Home Premium computer. All Windows updates are made and there are zero viruses and malware.

    Any help would be appreciated!

    Mark

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    Read the info above about the correct format to burn in.

    Burn a disc using the ISO image format

    Choose the size of the ISO image when you need a highly compatible disc that will play in computers with an older version of Windows or in devices such as CD and DVD players that can play video files and music digital. For more information about choosing a disc format, see which CD or DVD format should I use?

    See you soon.

    Mick Murphy - Microsoft partner

  • How to use PS to judge the existence of a file in the directory specified and how to use PS to the directory specified for create to create the file? (javascript)

    1, how to use PS to judge of the existence of a file in the specified directory? (using javascript)

    2, how to use PS to the directory specified for create to create the folder? (using javascript)


    Thank you!

    If (Folder(/*_insert_the_path_here_*/).exists == false) {Folder(/*_insert_the_path_here_*/).create()}

  • How to use paper in the latest version of Windows Live Mail?

    How to use paper in the latest version of Windows Live Mail?

    Version 2011

    Short answer: the stationery support has been removed from Windows Live Mail with the upgrade of v.2009 v.2011 back in 2010.

    Long answer: there are two solutions of workaround that you can try.

    • If you have a stationery .htm file, open it in Internet Explorer, and then select file > Send > Page by email (Alt - F E P). Save the message as a result as a .eml file and use it as a model for messages.
    • You can get in shape, for example a background color, to a HTML signature, then apply this signature to an e-mail message. Here's the one I use when sending pictures:


      Hello!

      Love
      Noel


      Here is the result:

  • I have CS6 installed on my desktop and it works fine. I would like to install on my laptop as well. How to do that on the Web site?

    I have CS6 installed on my desktop and it works fine. I would like to install on my laptop as well. How to do that on the Web site? I'm logged into my Adobe account on my laptop.

    Hi Leendert,

    Please use the link below to download CS 6:

    Download Creative Suite 6 applications

    Kind regards

    Sandrine Bani

  • Properties - asking extract that created the Pdf file of the document

    Hello

    I need to extract the original application a pdf file created from javascript.  for example in the properties of the document the application appears as follows:

    Application: AutoCAD 2010

    The script of the console that I have is this:

    Console.println ('Application: ')
    + this.info.Application + "");

    When the script is run, it does not extract the application that created the pdf file from.

    Please can someone tell how the script can be modified to remove the application from the document properties?

    Any help will be most appreciated.

    Thank you.

    It has no property named 'Application' of the information object. Try the "creator".

  • Menu start no longer displays options to shut down the computer, someone knows how to change that? The power options menu did not help.

    Menu start no longer displays options to shut down the computer, someone knows how to change that?   The power options menu did not help.

    When this happened to me, it was malware that didn't stop my computer, probably because she wanted to do something with it. I held the power button down until the computer is turned off manually, then I rebooted in safe mode - I run Vista - and ran some virus and malware programs until I found the beast and it crashed. You can also run a scan MS online at onecare.live.com, which was updated earlier this week. Moreover, I had not any data loss or permanent damage.

  • JavaFX how to use WebView load the local HTML page?

    JavaFX how to use WebView load the local HTML page?

    If the HTML code of the files in the class path, which is in the package, the load using one of the following ways:

    String url = Main.class.getResource("/html/index.html").toExternalForm();
    engine.load(url);
    

    The above methods can only load files outside the class path!

  • view next to the documents... How to do that with the new CD?

    With the recent upgrade, I can view documents side by side... How to do that with the new CD? Thank you!

    Hi gregl36778306,

    You can open PDF files in different tabs and see them next.

    To do this, go in "Edit > Preferences > general" and check "open documents as new tabs.." option.

    Kind regards

    Ana Maria

  • How to check that all the options enabled in Oracle Database EE

    Hello

    I'm new on OTN.

    How to check that all the options enabled in Oracle Database EE?

    Thank you
    Vincent

    Hello

    Select decode(detected_usages,0,2,1) nop,
    name, version, detected_usages, currently_used,
    to_char(first_usage_date,'DD/mm/YYYY') first_usage_date,
    to_char(last_usage_date,'DD/mm/YYYY') last_usage_date
    of dba_feature_usage_statistics
    order by nop, 1, 2
    Or

    v$ option view

    Thank you
    LaserSoft

  • How to use photoshop with the same account on more than one laptop?

    How to use photoshop with the same account on more than one laptop?

    a single user license entitles you to two facilities simultaneous/activations.  so, what's the problem?

  • How to use fonts created in the library?

    Hi guys.

    I created one police in my library et named GillSans and Assembly is with class: GillSans.

    How do I change the font from extfield t t ype " " text Imput ' using the police in the library?

    Thank you.

    You instantiate the police and use it to the TextField. For example:

    var font:Font = new GillSans(); // instantiate the font
    
    var inputText:TextField = new TextField();
    with(inputText){
        ...
        type = TextFieldType.INPUT;
        embedFonts = true; // embed font
        defaultTextFormat = new TextFormat(font.fontName, 12, 0); // set the font in the TextFormat
    }
    addChild(inputText);
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • How to use newly created database in oracle

    Hi friends,

    I created a new database in the name of the model and I dono how to use this database.

    can someone help me through the process step by step.

    Note: I use the oracle 11g and working in the command prompt

    I thank in advance

    2749241 wrote:

    In fact, I learn about dblink so I need to know how to use it

    I created db using DBCA

    After I created db as a model and when tried to use the fake database

    his spear a mistake as TNS Protocol adapter error...

    Help me to enter this dummy database...

    Thank you

    That error is normally due to the eitehr you have a bad SID or in the service of the database is not started. In order to check what applies to you. Do a Google search for the same mistake.

    Aman...

  • How to use setFireActionForSubmit with the settings and capture the parameter

    Hello

    Can someone explain how to use setFireActionForSubmit.

    I extend the ShoppingCartPG controller. In the extended controller processRequest method I am adding a button to the table and implementation of the setFireActionForSubmit, so when the button is pressed it triggers the setFireActionForSubmit event.
    I need to pass the RequisitionLineId as a parameter which is present in the t associated with the ShoppingCartPG.

    I used the following code in the processRequest
    =================================
    ' public void processRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processRequest (paramOAPageContext, paramOAWebBean);
    OATableBean otbRN = (OATableBean) paramOAWebBean.findIndexedChildRecursive ("ItemTableRN");
    OASB OASubmitButtonBean = (OASubmitButtonBean) paramOAPageContext.getWebBeanFactory () .createWebBean (paramOAPageContext, "BUTTON_SUBMIT");

    oasb.setID ("addnInfo");
    oasb.setUINodeName ("addnInfo");
    oasb.setText ("additional information");

    String pageName = paramOAPageContext.getRootRegionCode ();
    Hashtable params = new Hashtable (1);
    params.put ("param1", pageName);

    Hashtable paramsWithBinds = new Hashtable (1);
    paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL (OASB, "${oa.encrypt.current.RequisitionLineId}"));
    oasb.setFireActionForSubmit ("addnInfoEvent", params, paramsWithBinds, false, false);

    otbRN.addIndexedChild (oasb);
    }
    =================================

    And I capture the event "addnInfoEvent" in processFormRequest method and trying to capture the RequisitionLineId I the past as a parameter.
    This is the code that I used in processFormRequest.
    =================================
    ' Public Sub processFormRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processFormRequest (paramOAPageContext, paramOAWebBean);
    OAApplicationModule localOAApplicationModule = (paramOAWebBean) paramOAPageContext.getApplicationModule;

    String strEvent = paramOAPageContext.getParameter (EVENT_PARAM);

    If ("addnInfoEvent".equals (strEvent))
    {
    Number format = 0;
    try {}
    Format = new Integer (ClientUtil.getDecryptedParameter (paramOAPageContext, "param2"));
    }
    catch (System.Exception e) {e.printStackTrace () ;}

    String outmsg = "line ID:" + size + ":" + strEvent;
    throw new OAException (outmsg, OAException.INFORMATION);
    }
    }
    =================================

    But I'm not able to capture the RequisitionLineId I sent as a parameter.
    Can someone let me know what I am doing wrong.

    Hello

    Because your table is not a tip so table using a submit button approach will not work because it won't give you rank of reference and you will not be able to enter the id of the corresponding command line, instead you use an icon of the image, which can be created through customization. Let me know if you need help in the code.

    Thank you
    Pratap

  • What is the version of dreamweaver that creates the most web friendly search engine?

    What is the version of dreamweaver that creates search engine friendly web mostly?

    All versions of Dreamweaver are able to produce good web pages, providing the person who uses, she knows how.   It is not the tool.  It is the skill of the person using it.

    Search engine optimization comes down to the base of 3 things:

    1. You need to have lots of keyword rich, relevant and unique content on your pages.
    2. You have to organize this content in good semantic markup (h1, h2, h3... tags p and li).
    3. You must get other web sites respected post links to your web site.

    See Google SEO Starter Guide

    http://googlewebmastercentral.blogspot.com/2010/09/SEO-Starter-Guide-updated.html

    Nancy O.

Maybe you are looking for

  • Portege 4000 - expantability video?

    Just a simple question, my 4000 stutters portege during playback of a DVD (audio and video), if it is possible I want to increase the video capability in any way possible, if it is possible. Please could someone answer my question, or give that advic

  • 400 GB external hard drive USB (PX1273E - 1 40) is internal SATA or IDE?

    Hello I consider burning this external hard drive (PX1273E - 1 40) and would like to know if the disk inside has a SATA interface or an IDE interface, in the case of the latter in I decide to open, take the drive and connect it to the computer intern

  • Weather Widget problem - again!

    Weather widget STB once more. Create new Weather Widget, default comes up like Cupertino, CA. turn and just click after Cupertino, CA.city name and then receive a "cities of No Found" error Message. Clearly the Weather Channel or Yahoo don't pay atte

  • I have a problem with the reception of MMS! Help!

    Good evening everyone. I hope that you all can help me, I hope that I can ask for help here. I found this place on Google looking for answers on my phone. I was not able to find an answer or a solution for my problem. I hope this place can help, I re

  • HP 15 Notebook: Keys F in Microsoft Word

    I'm taking a class on Microsoft Word 2013 and my book says that F9 should recalculate a formula and F4 repeat last function (insert a formula into a table cell), but it does not work with my laptop. Is there a combination of keys I can use to make it