TDM/PDM Java interface?

Hello, someone has developed a Java interface that can read the TOC and PDM files?  Of all the googling and poking around the site of NOR, my hunch is no, but I just wanted to ask you anyway just to be sure. In my opinion, he is a writer of header to Java (http://zone.ni.com/devzone/cda/epd/p/id/6280), questions about the external interfaces (http://digital.ni.com/public.nsf/allkb/A3663DE39D6A2C5A86257204005C11CA) and pre-existing drives C and Excel, but I see no mention of a Java API to read these files.

Otherwise, I'm looking for confirmation that there was, and whether or not a likely to be developed in the future.  If not, how other people solve this problem?  Using JNI with the C library for the CT (S) data in Java applications?

Thank you very much for your support.

Derek

PS: I didn't know where to post what I did not see a separate category of CT. Thank you.

Here's a post of "TDM header writer Java API":

http://zone.NI.com/DevZone/CDA/EPD/p/ID/6280

If there is no API available for playback, it seems you need to do your own API based file formats, for the PDM, the structure of file format is here:

http://zone.NI.com/DevZone/CDA/tut/p/ID/5696

Tags: NI Software

Similar Questions

  • new components written in tdm/PDM file not found

    Hello

    I try to record some simple thermocouple data in a file of tdm/PDM.  I run my vi and it seems to work perfectly. I use the example started get NEITHER 9213 as base and added tdms open, PDM defined properties, PDM write, and PDM closes.  I can see the data in streaming on the waveform table, but when I hit stop and pick up the saved file I can't find it.  What I am doing wrong?

    Thank you


  • Executable file do not write in tdm/PDM files.

    Hello

    I wrote a wrapper around a VI that controls the entries to designed the hardware and monitors the outputs for the prolonged lifetime of testing purposes.  We use compact DAQ for control and data acquisition.  We do not wish to moor a LabVIEW license for six months to run the desired test, I compiled an executable and built an installation program.  Everything worked without problems on a PC with LabVIEW and everything seemed to work well on a PC without LabVIEW with the executable... until I decided it was time to start analyzing the outputs recorded (tdms files).  The application is able to not control my material, no problem, I could see it passes through different States and key measures that I display on the user interface are valid, but the log files are simply cannot be created, not even an empty file.  At the lowest level, the open storage VI [TDM] is called to open or create the file (filename is entered by the user or created with timestamp if he did not) and each 'bit' of data is written by writing data [group of channels] and write data [channel] live on the PC with LabVIEW, the output files are created without problem.

    Did not work with executables before.  How can I start to debug (without installing LabVIEW on the PC in question - and when all goes well when run on a computer with LabVIEW installed)?  Have tried to build the executable with active debugging, but do not know how to "enable" debugging or a walk through as in LabVIEW... or if it's even possible...  I don't get warnings or errors during the race.  Is there something special I need to do in the construction of my executable or installer, particularly writing executables TDMS files?

    Thanks in advance

    -Andy


  • Universal Storage Interface don't you know? How can I start?

    While the review of code not writtien by myself (I can't post code and believe me I regret more than you think) I ran across the screw storage LV.

    One of the error codes I ran across "-2564".

    Give an article on the Interface of universal storage is required for an exe.

    A quick glance at these screws and the example to give me the same feeling I had when I first looked LVOOP code, ' Cool, but how the H32$ it works and how you can exploit this bug?

    So if you have a handle on the screw storage I would appreciate greatly any light you can throw on using the screw of storage and exploitation even.

    Ben

    What exactly you need to know? Ask it help on the error you saw, or just for general information about storage screws?

    Storage screws are really cool technology, mainly for playback of files of different formats. You can write multiple formats of files as well, but the screw storage are not optimized for streaming data quickly on the disk. Use the TDMS functions directly for it.

    The coolest thing on the storage of screws is that they provide an interface of type TDMS (groups of channels, channels, named properties and data) for many formats of various files using a plugin system. So, you can download of the plugins that allow the screws to read (and sometimes write) storage formats TDM, PDM, CSV, TXT, DAT, MDF, MAST, XML and so on. It's perfect for your users, because you can give them a generic tool and that they use the file format of their choice they already have. From 2010 the screw storage can even automatically detect which plugin to use. Before that you have to manually choose the plugin right you based on the file format and what plug-ins have been installed. Very cool.

    The screw storage are wrappers around the layer of the ICU, who was born I believe in technology of DIAdem. I said before, they are optimized for playback of data quickly, do not write it. It has to do with the TDM storage format, which is the Basic for storage format live. TDM always stores all data of the contiguous string in the file. This makes it very quick to do research, analysis and other types of treatment. However, it is not ideal for streaming data to the disc, because usually you try to write small pieces of many channels at once. Try to do this while keeping all data of each channel as a whole is not optimal.

  • TDMS files will not correctly import in Matlab

    I am trying to load the content of the TDMS files in MATLAB for post-processing. I'm not too picky on what method to use to achieve this, but I want that he be relatively simplified for processing batch and I want it to work (this is key)! I tried the NEITHER provided DLL with sample files ".m" (see "reading TDM/PDM files with The MathWorks, Inc.® software MATLAB", http://zone.ni.com/devzone/cda/epd/p/id/5957). I can get to work perfectly with the TDM file provided, but it does not properly cover my own TDMS files. I also tried to treat the binary TDMS file using MATLAB Central M-script (see "ConvertTDMS", http://www.mathworks.com/matlabcentral/fileexchange/28771). This file was written to process files TDMS file format description-based of NOR (see "Internal TDMS File Format Structure", http://zone.ni.com/devzone/cda/tut/p/id/5696). M-script is my preferred solution since it does not require a bunch of other files such as the DLL approach does, but I'm willing to take the approach that works best.

    All I want to do is to be able to read all properties (names and values) and each group of channels (the names and values) to a TDMS file in MATLAB. Is this too much to ask? Any help is greatly appreciated.

    See the attachment document that has several screenshots to explain the problems I encounter. I have also attached my modified versions of the scripts mentioned above and my example of TDMS file which is not treated properly.

    Thank you

    Mike


  • A mixed Java/native Android application for BB 10 porting

    I have an Android application, written mainly in JAVA (interface user and logic) and a calculation module written in C/C++ using NEON.

    I don't see the following options for the application to BB 10 of port:

    1 convert the application as uses port BB tools - this means that the application does not have the appearance of BB applications.

    2 rewrite the code in C++ Java: it's a lot of work.

    What do you think about these options?

    Is there another option (better), may be part of the Java code reuse?

    Thank you

    URY.

    Welcome on the support forums.

    personally, I like to use native applications, because they have the best UX and are faster.
    If you want to repackage the app that c++ lib won't work, so maybe that influences your decision.

  • Conversion back Office Documents using Java JDK running under Linux

    I need to convert Office Documents using Java JDK running in the Linux VM to PDF without human interaction, is this possible? How?

    It could be a service web or other solutions, but it should work on Linux and must be callable from java.

    You shot yourself in the foot because with accuracy of conversion of Office documents requires Office. Which requires Mac or Windows (preferably Windows). Solution server of Adobe's LiveCycle PDF generator. Has a Java interface, but you will need Windows server for it.

  • R12.2 on Oracle Linux 6.5 (VM): Exception in thread "Thread-64" java.lang.NullPointerException

    Hello

    Try to install R12.2 a diagram of 4 nodes (servers, 2 database - RAC - oracle_home shared, 2 application - appl_top shared servers).

    OS on all servers: Oracle Linux 6.5, kernel 2.6.39 - 400.212.1.el6uek.x86_64 on all nodes.

    The database installation went well. Further installation on the 1st application node. Configuration loaded successfully from the database, checking the system started but rapidwiz freezes with ' Exception in thread "Thread-64" java.lang.NullPointerException ".

    [oracle@erpappldev01 ~] $ vncserver

    New office of "erpappldev01.gunet.gr:1" (oracle) is erpappldev01.gunet.gr:1

    Startup applications specified in /home/oracle/.vnc/xstartup

    Log file is /home/oracle/.vnc/erpappldev01.gunet.gr:1.log

    [oracle@erpappldev01 ~] $ export DISPLAY =: 1

    [oracle@erpappldev01 ~] $ /inst/inst/r12.2.2/startCD/Disk1/rapidwiz/rapidwiz

    Installation Wizard fast is to validate your file system...

    CMDDIR=/inst/inst/R12.2.2/startCD/Disk1/rapidwiz

    Quick Installation Wizard will now launch the Java Interface...

    [oracle@erpappldev01 ~] $

    Exception in thread "Thread-64" java.lang.NullPointerException

    at oracle.apps.ad.rapidwiz.util.CheckerClass.checkMountSpace(CheckerClass.java:2322)

    at oracle.apps.ad.rapidwiz.util.CheckerClass.checkFileSpace(CheckerClass.java:1844)

    at oracle.apps.ad.rapidwiz.util.CheckerClass.doPreChecks(CheckerClass.java:310)

    at oracle.apps.ad.rapidwiz.util.CheckRunner.run(CheckRunner.java:91)

    at java.lang.Thread.run (unknown Source)

    I have all the necessary packages installed on OEL and followed instructions of the following documents:

    Oracle eBusiness Suite Installation and upgrade of exit 12 (12.2) Notes for Linux x 86-64 (Doc ID 1330701.1()

    Controls and problems installation EBS R12.2 on RAC Cluster using a fast installation (Doc ID 1595139.1()

    using Oracle 11 g Release 2 Real Application Clusters and automatic management of the storage with Oracle E-Business Suite version 12.2 (Doc ID 1453213.1()

    Share Application-level file system in Oracle E-Business Suite version 12.2 (Doc ID 1375769.1()

    I look for metalink and community "Thread-64" but no relative results found!

    Can someone please help?

    Thank you

    Babis

    Problem is solved as part of the SR.

    Thank you all for your help

    Solution in the doc 1624652.1 knowledge base

    Kind regards

    Babis

  • How to pass values from a Java class to a class of JavaFX?

    Hi Forum,
    I get nuts on this problem:
    I designed a program with Java and JavaFX classes. JavaFX classes handle the GUI and Java classes mix program logic. I think that's the way it is supposed to be. My program calculates something, so in my JavaFX GUI, I have a button to run this calculation. It's not a problem to call the start function calculation (which is in my Java class) on click of a button. But now I want to display the result of this calculation in my GUI. I can't just simply pass the result to my class of JavaFX GUI. I tried to import the JavaFX class in my Java class to call a set function, but I can't import them with the import statement. So my question is, how do I make the results to my GUI? What is the right way to do it?
    I hope someone can help, thanks in advance :)

    Two ways, either:

    -your JavaFX class asks the Java class for the result once the task completed in exactly the same way he instantiated to start the task. Of course, you should regularly check the completion of the task (a mere PauseTransition).

    - or your JavaFX class implements a Java INTERFACE and your Java class accepts (whether through the method or constructor) a variable of type of this interface. For example, you can set a reference to the subject of JavaFX itself in the Java object using the interface.
    When the task is completed, your Java class calls a method defined in the INTERFACE to set the result in the object of JavaFX.

    In addition, JavaFX 1.3.x provides an API to start asynchronous and be notified when a task is completed in the javafx.async package that allows you to run the task of basic Java (you mind that the class is named...) JavaTaskBase, see also the RunnableFutre interface) in a separate thread.

  • live view from java to flex - blink of an image

    I'm trying to simulate a live view with a canon camera.

    I interact with the cam using the CanonSDK, I get an image all of a short period in order to simulate a video image by image. It works fine, I use java to make the backend and send the images for flex BlazeDS pit.

    The problem is not to get the picture, the problem is that when I load a new image by using something like:

    image.source = my_new_image;


    the new image is loaded, but it produces a short white clapboard and it ruins the video... So I would like to know if there is a way to use the channels of dissemination or a way to spend all of the images in mode live view to flex and show them in the flex from java interface.

    Thank you very much!

    Agustina

    I have this same problem in a SWF file that I have an external image loading in. In another SWF file, I don't have this problem. In one case, the image is at the beginning of the clip, and on the other, it's on the last frame of the clip. My only suggestion would be to load as many images you can off-screen and then put listeners on the images to find out that they are loaded before showing them to you. You can do this:

    this.addElement (image);

    image.addEventListener (FlexEvent.UPDATE_COMPLETE, imageLoaded);

    private void imageLoaded(event:Event):void {}

    image is loaded...

    }

  • Doubt about Interfaces

    Hi all

    I know that in actionscript "beInterface files can not contain declarations of variables or assignments"

    Can someone please tell me why this limitation? Is not a very powerful object-oriented feature limit?


    [I'm comparing actionscript to java interfaces interfaces]


    Thanks a ton.

    You know more about this than me.  You just introduced me to another thing, that I didn't have with Flash (I'm also class challenged).  But in the documentation which as you said, it seems that a file interface must be implemented by using a class file, and 'The Classes that implement a particular interface almost always include additional methods, variables, and the getter and setter methods.'  The interface file seems to be only a shell, a pretty shell, a class file adds functionality to.

  • C + c++ / Java POFReader inconsistancies

    I noticed that POFReader/POFWriter in Java interfaces have a few methods which have no equivalents on the c ++ API:

    writeBigDecimal
    writeBigInteger
    writing data
    writeDateTime
    writeDateTimeWithZone
    writeRawQuad
    writeTime
    writeTimeWIthZone

    If there is a POF object in the cache that has been serialized by java application by using these methods, it is possible for me to deserialize it into a c++ application? If so, how?

    See you soon,.
    Paul

    Paul-

    I ran this by a member of the team of coherence more and:

    BigDecimal, BigInteger and RawQuad are not supported because there is no corresponding standard C++ type to map to.
    (There is a COH-2696 demand to ensure a certain level of support for these types)

    Date/time variants are being supported by the classes coherence::io:pof:Raw *.
    (http://download.oracle.com/otn_hosted_doc/coherence/353CPP/namespacecoherence_1_1io_1_1pof.html)

    Fields of these types, in shared in Java/C++, objects will be not accessible from C++.

    / Mark

  • Why is there no way to define a homescreen? This is so basic! How could it be a problem?

    This feature was available in earlier versions. Now, why not? How could this be a problem? I would like to take back.

    It is not possible at this time. For technical reasons, Firefox starts with a lightweight Java Interface. We do not have the capabilities of html to start rendering.

  • Backtracing formula calculator

    Hello

    Is it possible to see how a channel has been calculated (formula values when used)? For example, when you use the calculator to create a new channel in a group by multiplying the 2 channels of the same group:

    ("Power") Ch = Ch ("[1] / Revs") * Ch ("[1] / Torque") * 2 * Pi

    Can I "save track" channel newly created in this formula?

    Thank you!

    Hello ZerMahlMeer,

    The only thing I can think is the field 'Description' is stored with the DataPortal channel. It will look like this:

    The 'Description' field will contain the formula used to calculate the channel, and if you save the file on TDM/PDM field will be persistent.

    I hope this helps,

    Otmar

  • How to customize the tool tiara?

    Hello

    Problem

    Is there for me to add custom button or feature in tiara using LabWindow program?

    Requiremnts

    Custom button will run my not enforcement next CVI:

    • import a binary file to another format to CSV

    • automatic load this file into DIAdem

    • view the graphical display

    • Auto save CSV format TDM/PDM

    • Run the report.

    Please take a look at www.ni.com/dataplugins. There is a link 'the DataPlugins programmer reference guide' with the manuals and documentation. The language is VBScript. VBScript is used as a kind of glue code to set up the functions doing the real work.

Maybe you are looking for

  • locked out of my phone forgot password to icloud "find my phone".

    I forgot the password for icloud... .in find my phone mode any ideas to get in my phone? iPhone

  • IPv6 relay error

    I have a router Extreme Apple with Version 7.6.4 I just got internet access high speed of Brighthouse using the router/modem Arris.  The Arris router turned into bridge mode. BrightHouse says that they only IPv4.  Can I disable IPv6 on my Airport Ext

  • USB6363 DAQmx (reading and writing) calendar seems slower than other similar USB DAQ devices

    Hey people, I have currently a service waiting number with OR the subject, but I thought I'd post up incase anyone has ever dealt with a similar question pertaining to USB DAQ hardware. Try to understand why there is a difference of synchronization b

  • Good use VISA

    I'm still kind of new with LabVIEW, and I fell on the functions of opening and closing VISA (they were hidden under the Advanced tab so I never saw them before). My question is if I'm supposed to be using the functions of opening and closing VISA whe

  • Cam sex fails when using live messenger

    before installing the latest version of live messenger, always had contact with success, since the installation of updated news, the recipient has a capacity audio but no video.  Can see and hear the other party.  Sex cam live lite will not operat on