Add Channel data in blocks through Data Plugin.

Hi,
I have to create a plugin for a binary data file. I have no probelm creating the plugin, as I know all the required formats but now the issue is I am supposed to load channel values of a specific region of interset. For example, If data file has values of data for the time 0 to 13sec, then I am ssupposed to read in channel with data only between 5 to 9 secs. Can anyone please let me know how can I go about for selective data loading through plugin?
Thanks,
Priya

Hi Priya,
This is not a built-in feature in DIAdem, although R&D is looking into the feasibility of adding this as a feature at some point.  In the meantime I developed my own back-door way of getting the job done.  You can pass the reducing information in a text file of the same name (but different extension) as the binary file, then the DataPlugin can read the data reduction information and declare the binary block to start at the correct byte position, skip the correct number of values, and end at the correct last value for the desired interval.  Below is a simple example of a DataPlugin outfitted with the "Red" routines.
Let me know if you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
GigaLV Red.zip ‏40 KB

Similar Messages

  • Binary file data plugin : append block values to channel

    I need to create a data plugin for a unique binary file structure, which you can see in the attached graphic.
    With these objects
    Dim sBlock : Set sBlock = sFile.GetBinaryBlock()
    sBlock.Position = ? 'value in bytes
    sBlock.BlockWidth = ? 'value in bytes
    sBlock.BlockLength = ? 'value in bits
    I have the possiblity to read chunks from my binary file. At the end, I want to have each signal in a respective channel. I could manage to extract signals 1 and 2, as they only have one value in each block with a known byte-distance in between. How can I extract the other channels, that have 480 successive values in each block? I could probably write a loop and read the specific signal part in each block, but how can I append these parts to the relevant channels? I tried by creating a new channel and then merging them, but unfortunately functions like ChnConcat are not working in a data plugin. Any ideas?
    /Phex
    PS. Of course I could create a hideous plugin with running GetNextBinaryValue() throught the whole file, but that doesn't seem to be a smart idea for a 2 GB file size.
    Attachments:
    KRE_DataPlugin_schematic.JPG ‏84 KB

    Phex wrote:
    @usac:
    Your workaround seems to work at least for part of the file. If I loop it through the whole 1.5 GB file I am getting the DLL error "The application is out of memory". There is enough dedicated RAM available, but I guess this is x86 related.
    Hello Phex,
    Have you tried running this Script in the DIAdem 64-bit preview version (which gets you access to more than 2 GB or RAM for your application) that can be found at http://www.ni.com/beta and can be installed in parallel to the 32-bit version.
    It might get you around the "out of memory" issue ...
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How do I add Channel names to my raw data using a plugin?

    I have a Campbell Scientific datalogger which outputs raw data (no headers, etc.)  I need to add channel names and units to this data for display in DIAQdem.  I know there's a way to do it, but I haven't had the class yet (coming to the base soon) and don't have a lot of time to try and figure it out for myself.  I'd appreciate any help that I can get.
    I've generated a script using the Data Plugin Wizard, but as expected, it's very long and verbose... most likely has WAY more information in it than I need.

    Hi NavyJack
    I answered a similar question a while back.  If you just want to add a list of static channel names, then try this approach with your existing DataPlugin that you got from the ASCII DataPlugin Wizard:
    http://forums.ni.com/ni/board/message?board.id=60&message.id=8232&query.id=66481#M8232
    You are of course absolutely correct that the boiler plate code you get from the ASCII DataPlugin Wizard is way more complicated than you need for your data file.  If you are able to send me a sample data file, I could probably send you back a very simple DataPlugin which would be much easier to tweak for channel names, channel units, etc.
    What DIAdem version are you using?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Access Channels in Data Portal through Data Plugin

    Hi,
    I am supposed to write two plugins, one plugin creates the channel reads in the data values and from the other plugin I need to read in the channel custom properties.
    Is there a possibility to access the channels in the Data portal through the plugin though I know through plugin we will not be able to access any DIAdem native commands.
    I have an option of reading in these properties to a text file and then pull them into DIAdem but it is not recommendable.All that is required is read the file and create the cutom property for the existing channels.
    Can anyone give me a best suggestion for the above at the earliest?
    Thanks,
    Priya

    Hello Priya,
    A dataplugin is not limited to read a single file only. There are quite a few cases where let's say there is a file "abc.bin" and another file "abc.hdr" which belong together. One contains the channel data, the other contains the descriptive information. We have developed plugins which allow the user to select one or the other and the DataPlugin then reads the information from both. As long as you can find the second file, e.g. through the name or some piece of information which is in the file, its not a problem. And yes, a plugin can read from a binary file and an ASCII file at the same time. We even developed DataPlugins for files which are both, ASCII and Binary, in a single file.
    If you like, you can send me some examples together with a description of the file format(s) and I can try something for you.
    Andreas

  • Data Plugins - Root Object

    Hi,
    I am trying to create few dataplugin and was running through the examples given in the help file but am poped up with error message telling "Object Required: 'Root'". I am not sure how to set this.
    But fro mthe help file of data plugin, when I follow the steps and run the examples files given I have no problem. (DataPluginExample1.vbs).
    I am unable to test and debug the script files due to this error. Could you give me a solution to this. Also, Can you also help me define this programatically like when I load a particular data file, how will I be able to run the associated script file to read the data and place them on data portal.
    Expecting your quick response.
    Thanks,
    spiya

    Hi Brad & Schumacher,
    Thanks a lot for the valuable information.
    I was trying out the example given in the help file as below for which I have the error.
    Dim MyProperty
    For Each MyProperty in Root.Properties
    If MyProperty.Default Then
    Call MsgBox("Standard Root Property: " & MyProperty.Name)
    Else
    Call MsgBox("Root Property " & MyProperty.Name)
    End If
    Next
    Can you please let me know what should I do make this work.
    Coming to my dataplugin, I am able to read the channel names and display them too but, I face the following problems
    1.I dont see the data as it appear in my file but some junk values gets generated, this is when I use real values for all the channels.
    2.But, When I wanted to put the exact data as per the csv files and check I am contiously getting an error message with respect to the datatype for the add method. I am unable to solve it.
    3.Can you also let me know how can I add the units to the corresponding channels.
    Herewith I have attached my code and the sample of my data file. Could you please help me fix these problems. The first comments in the vbs tells the format of the csv file.
    As I am running out of time it it would be great if you can give me your response at the earliest.
    Thanks,
    spiya
    Attachments:
    csv dp.zip ‏2 KB

  • How Can I open the aspx pop up panel and Where is my tamper data plugin ?

    I use Firefox/3.6.12 and Windows7 Ultimate 32 bit - I cant open my admin pop up aspx panel. I have same problem about fckeditor. I try to close this page only one page. Firefox is asking (save this page) namely not more pages and I close but firefox is in the proccess. I think pop up seems open in firefox but I cant see. The other problem ; Tamper data plugin lost after updated from my tools menu. Thanks for everything

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Is it possible to add 'Additional Data C' tab in VA01/VA02/VA03

    Hi All,
    Is there any way or in config that we can enhance the VA01/VA02/VA02 with one more tab other than 'Additional Data B' tab.
    i want to add 'Additional Data C' tab for a requirement.
    Please give your valuable comments.
    Thanks,
    Jaffer Ali.S

    Hi ,
    It can't done for the VA01/VA02/VA03.
    these are available for the .
    V45A0001  Determine alternative materials for product selection --->The Description of this enhancement tell us that it determines the alternative materials for product selection. (i.e., If  one material is not available what is the other material that has to be used as an alternative. So it is item specific).
    V45A0002  Predefine sold-to party in sales document--->By Description we understand that we can predefine sold-to party in the sales document. (i.e., it is used to populate the field sold-to party through user-exit while entering the data. ) But our requirement comes after entering the data in the screen and save button is pressed.
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal---->Copy packing proposal Into Out bound delivery. This description implies that  whenever we create a Delivery Order from Sales Order it copies the packing proposal  Based on the already created Sales order. So, there is no chance for us to save the data while we create or change a Sales order.    
    We can't done.
    Regards,
    Bharani

  • Webelements : does not support when i add the data sourcce& view in HTML

    hi Masters,
    i am using sap crystal reports 2008 and when i add the data source and add tables to the report and i use web elements functions as my selection screen then it does not show i mean the script remains as it is and when i take out my data source
    then it works when i view it in HTML VIEWR.
    how can i make it to work despite me using the data soruce.
    thank you,
    pasala

    hi Pasala,
    this is due to the sap integration kit which does not support pass-through html. webelements require pass-through html in order to show up as html.
    here's what you can try though:
    1) install the latest sap integration kit on your boe system machine(s)
    2) if the above does not solve the issue follow the steps at the bottom of [this thread|WebElements: HTML not rendering when using Bex Query as Source]
    3) if 2 above doesn't work then see [this thread |Re: WebElements only show HTML tags (even after following WebElement guides)]as a last resort
    hopefully step 1 & step 2 will solve the issue.
    jamie

  • HP Mediasmart DVD on a6750t will not output 5.1 channel data via SPDIF or HDMI

    So I got a new customized HP desktop on Friday. Started to play with it on Saturday. I called Sunday morning to request an RMA number and return shipping label. Here is my saga:
    Started HP issue calls at 3:47am FEB 15th 2009
    Gion (per rep spelling) stated return will be handled through warrantee/support department). He stated HP does not allow them to release a badge number. Ticket# xxxxxx3374.
    (Transferred to warrantee/support department)
    (The line was full of static- asked for the 800 to call back. Person said he didn’t have the number I called in on. Had to log on to www.hp.com. Found the number to call was 1 (800) 474-6836. I called this number.)
    Satya (per rep spelling) answered the line. I informed rep that I am not receiving any 5.1 output from the Blu-ray disk software that was provided by HP (HP Mediasmart DVD). Advised him that all MS products, DVD's, and HD devices were sending 5.1 channel output to my Yamaha receiver. [DVD’s are the important part. As the same drive is used for BOTH DVD and Blu-Ray, it is my opinion that the hardware is working fine.] I reiterated many times that the only thing not sending 5.1 channel data was the HP MediaSmart DVD software player for Blu-Ray disks.
    Satya ran various tests and wanted to “call back tomorrow with a solution“. He seemed to think that perhaps there was a problem with hardware and possibly I had not received something in my order.
    I clearly started I wanted a RMA number and I wanted to return the product. Satya refused saying he had to "research" the problem before he could issue the RMA number and return the product. He said he would call me between 2pm and 5pm tomorrow (MST) (I informed him it was currently 4:49 am at my location.)
    The problem is not with the hardware. All Microsoft software products that offer 5.1 channel support are sending via SPDIF (optic cable) 5.1 channel data. Again, all DVDs and other 5.1 devices (HD PVR) are sending (via SPDIF) 5.1 channel data to my Yamaha receiver. The only thing not outputting in 5.1 is the Blu-ray disk software player (HP Mediasmart DVD). DVD’s are ran using the Blu-ray drive (only one on the system) and are sending 5.1 channel data with no issues.
    Ended HP issue calls 4:52am FEB 15th 2009
    So, any other suggestions? I have tried various things like HDMI-Passthrough, HDMI-PCM, SPDIF, and 6 speaker output on the HP MediaSmart DVD Blu-ray software player application to no avail.
    This question was solved.
    View Solution.

    FEB 16th 2009 1:15 am
    Decided to try some trial Blu-ray programs to see if this issue can indeed be resolved with a different software package.
    Corel’s WinDVD9 would not play a Blu-ray disk. I received no errors. The program loaded the disk, after about 10 seconds stopped and went back to the main screen.
    Cyberlink PowerDVD had a trial limitation that does not allow Blu-ray disk playback.
    ArcSoft TotalMedia Theater (TMT) works flawlessly. Outputs in 5.1 surround with no issues, therefore my assumption that it’s a software issue is correct.
    Due to the problem being software related, I will call HP to see if there is a way they can send me a different Blu-ray software player. I like the system and do not really want to ship this back to HP. There is a sale tomarrow and I might even buy another system for my mother if HP will work this out.
    HP call start at 2:06 am FEB 16th 2009
    Called 1 (800) 474-6836. Satya answered the line. He asked if his supervisor had called me. I stated no, I had only received his call at 7:47pm and I had placed a call to Bridgette at 8:37 pm for a RMA number and shipping label.
    I advised him I was willing to try and work with HP now that I found it was indeed a software issue. I asked him if there was a possibility of getting a different software player that would work with my setup. I advised that on my own I found that ArcSoft TotalMedia Theater (TMT) trial version works (based on me installing a trial version). Its my understanding that HP provides many software titles from ArcSoft including a MediaConverter I also purchased for the desktop.
    He placed me on hold to find out.
    He said HP doesn’t carry or support ArcSoft TotalMedia Theater. He said he would have a supervisor call me back within 24 hours with a solution. I advised him to stop the RMA. He stated an RMA had not been issued yet. I gave him the RMA number I had and advised I had received a shipping label via email from Bridgette per my earlier call. He placed me back on hold to check.
    He said he cancelled the RMA and would have a supervisor call me back between 2pm - 5pm (within 24 hours).
    Call ended at 2:34 pm FEB 16th 2009
    I am guessing that HP support is not enpowered to solve a problem like mine. I would have been willing to work out something with HP but its is seeming more and more that HP really doesnt want my business. The issue here is software limitation PLAIN AND SIMPLE. I paid (in part) for a Blu-ray player that would play Blu-ray disks and output sound in 5.1. The TRIAL version of ArcSoft TotalMedia Theater works fine. Therefore the hardware is fine.
    Without a different software player shipped to me OR me buying the ArcSoft TotalMedia Theater software for 80 dollars, I am forced to listen to Blu-ray disks in 2 channels. I would like to work with HP but if HP will not work with me then I have no choice than to return the product.

  • HOW DO I ADD A DATE IN THE FOOTER?

    I can not find the INSERT DATE function to add a DATE to the footer of a NUMBER spreadsheet.  How do I do that? 

    Bob,
    Further to Jerry's pointer, see this thread for a description of how you can set up an 'insert date' pick in your menu.
    If you want (thanks to Badunit for showing that this was possible) instead of going through the steps described there you can just grab a copy of the service via this link (automatic download from Dropbox).  When you doubleclick it, you'll be asked if you want to install it. You may have to go to System Preferences > Security & Privacy to click 'open anyway' if you get a warning message.
    That's it. After it's installed it will be a menu pick similar to the screenshot above.
    If you want to rename it, then in Finder hold down the option key choose Go in the menu, navigate to Library > Services and rename it there as you would any other file.
    If you don't like going to the Services menu then assign a keyboard to it at System Preferences > Keyboard > Shortcuts.
    SG

  • Compiling form data: how to add FDF data?

    Hi there
    I've created a PDF form and am testing the distribution and compilation process. I created the form in Acrobat. I suspect most of the end users will have Reader, so after having distributed it through the Acrobat wizard (to myself) I filled it in with Reader and sent it back (the FDF file).
    When I open this FDF file from my email application, it doesn't automatically add it to the data set created in the distribution process. Instead it says that the data file cannot be located and asks if I'd like to browse for it. I do so, find it, and the completed form opens in Reader, not Acrobat. I can get around this by ctrl-clicking in Mail and telling it to open with Acrobat.
    However, when I do manage to get the completed form open in Acrobat it does not add the data to the spreadsheet field at the top. If I try to Import Data, the FDF file is greyed out – it wants a PDF. And if I import the FDF by going to Forms > Manage form data > Import data..., it shows the completed form but not the data in the spreadsheet again.
    So, how can I add this FDF data to the data set and get it to display in the spreadsheet area? Alternatively, how can I save this completed form as a PDF (not a data set as happens if I go File > Save) so that I can import that into the data set?
    I hope I've explained it clearly enough! Any help would be appreciated.

    Priya,
    Preview the iview and try shiftright click or ctrlright click and add the additional fields.
    if it doesnot work then you need to customise the code as per the requirements.

  • Where are the facilities to add custom date ranges, indexable by Spotlight

    The Finder is meant to be just that... A way to find files right?
    Well lets look at a simple business scenario. I get a bill from a supplier, I pay the bill, I receive an invoice, I process the invoice through my accounting package. Now with paperless offices these days bills and invoices come electronically or are scanned electronically.
    While iTunes mp3s are able to be categorised by custom date ranges such as when the album was released why cant I find files based on custom date ranges such as "Date Paid", "Date Due", "Date Received". I cant find any solution for this anywhere. There are many file tagging systems out there such as Yep and Tags which are meant to be using OpenMeta... But all they enable you to do is tag them by commonly used key words such as "Invoice" or "Bill". What if I want a custom field to put an Invoice number so that I can track it down using spotlight?
    This would enable me to completely manage my office files in one clean sweep. I cant be the only one out there would would find this solution useful... Is it the case that spotlight/finder is designed in such a way that it is not possible to add custom date meta data?

    {quote}
    What if I want a custom field to put an Invoice number so that I can track it down using spotlight?
    Why wouldn't you just type in the Invoice number and have spotlight find it for you? Spotlight indexes all of the text in most type of documents. In my case, I use some Excel spreadsheets, with unique invoice numbers. I type in the number and Spotlight shows the document.
    I can also type in the clients name and be shown a list of all the documents, emails, etc to or from or that mention that client. Included in the list of documents is every invoice that has that clients name in the text of the document.
    If I'm looking for a particular invoice and know the clients name I type it and also something about the particular invoice that I'm looking for (like "John Smith video card") and that invoice shows up in the search.
    If I'm looking for an invoice for a certain person during a certain year I just type: John Smith 2010 and those documents show up in the list at the top.

  • How to write a Data Plugin to access a binary file

    hi
    Im a newbee to DIAdem, i want to develop a data plugin to access a binary file with any number of channels.For example if there around 70 channels, the raw data would in x number of files which will contain may be around 20 channels in each file . Raw file consist of header(one per file), channel sub header(one per channel),Calibration Data Segment(unprocessed datas) and Test data segments(processed data)....
    Each of these contains many different fields under them and their size varies ....
    Could suggest me some procedure to carry out this task taking into consideration of any number of channels and any number of fields under them....
    Expecting your response....
    Jhon

    Jhon,
    I am working on a collection of useful examples and hints for DataPlugin development. This document and the DataPlugin examples are still in a early draft phase. Still I thought it could be helpful for you to look at it.
    I have added an example file format which is similar to what you described. It's referred to as Example_1. Let me know whether this is helpful ...
    Andreas
    Attachments:
    Example_1.zip ‏153 KB

  • How to use "sequence" after we add new data ?

    Dear all :
    Could someone tell me how to increase the number after we add new data and put the number into one field per time ?
    Thank you

    In the Initial Value property for an item on a block, you can assign it to a sequence value. Just put the name of the sequence in the Initial Value:
    Specifies the default value that Form Builder should assign to the item whenever a record is created. The default value can be one of the following:
    Here's the part of the help screen for Initial Value that shows how to assign a sequence.
         raw value (216, 'TOKYO')
         form item (:block_name.item_name)
         global variable (:GLOBAL.my_global)
         form parameter (:PARAMETER.my_param)
         a sequence (:SEQUENCE.my_seq.NEXTVAL)
    Dave

  • How to add posting date in MB5S ?

    Sir ,
    I have been assigned the same task to add posting date in MB5S . kindly provide me steps and logic .
    First Step According to me would be to first Copy Program RM07MSAL in ZRM07MSAL using se80 .
    But How to add Filteration according to Posting Date in the Existing Logic ?
    Thanks in advance for your help .
    kindly provide me steps and logic .
    Rgds ,
    Bharti

    Hi Abap Gurus ,
    Thanks for your reply . I have already copied MB5S into Z Report through se80 . My task is that the output should come filtered according to Posting date which is not there in MB5S selection screen .
    What would be the Logic to filter according to Posting date BUDAT i.e., Table relationships and data retrival from which table .
    Rgds ,
    Bharti

Maybe you are looking for

  • LENOVO G50-30 stuck at lenovo logo and cant even enter bios

    Hello I yust got my lenovo G50-30 and wanted to install win 7 on it. after the first BsoD I went to bios and changed the AHCI to legacy mode. Got the same BsoD.  After that I changed the Os mode from win 8 to win 7 ... loaded the factory default sett

  • ADF Popup not showing at fragment load

    Hi, I am calling a bean method in getter of command link at the load by binding it to a command link defined in bean, so when this fragment is called from other fragment then in this method i m doing some checks ,and based on particular condition i h

  • Updating my website without losing previous pages

    Hi there, so I really want to delete pages on my website and replace them with new pages. I really dont want to lose any of the pages I have for my current website, but I need to find a way to unpublish them while still keeping them. Is there any way

  • How can i retrieve my photos from i cloud ?

    how can i retrieve my photos from i cloud ?

  • Folders in Finder show up with an X

    Hi all, I have a 2011 MBP on Yosemite, just wondering why some files in my finder show up with a circle and an X in the top right corner. I've attached a screenshot, any help would be appreciated!