How to save tdm file from GPI extension DLL

Hi,
Is there any way to save data channels to tdm file format from GPI extension dll.
I've tried lDataSave function, but I get DAT file format.
I've also tried using Diadem.TOCommand interface, It'works with CmdExecuteASync method, but not with CmdExecuteSync (I've thought using a new thread with CmdExecuteASync, but what about synchronization ?).
As I need to run a process like, do something, save tdm file, then do another thing, I'm a little lost.
Thanks for any suggestion.
JMA.

Hello!
First: I have no solution!
Second: Some remarks to using a OLE interface to DIAdem in GPI.
My experience is that there are only few situations and circumstances where it might be the only way to solve a problem. There are some critical things to know. If you create a ToCommand interface it isn't guaranteed that you get an interface to the proccess you are running in. In normal cases it will be but you can't be sure! CmdExecuteSync doesn't work because usually your command is initiated out of a script. While running a script DIAdem will not execute another command.
The problem with CmdExecuteASync is that the command will be put onto the DIAdem command stack. It will be executed after the script is finished. You can not be sure that the channel data is the same as it was at the time you called CmdExecuteASync. Multiple Calls to CmdExecuteASync will be executed after another.
Sorry that I do not have a solution but perhaps I can avoid some frustrating DIAdem-OLE-Test-Sessions.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • How to save pdf files from mail to i pad2

    How can i save a pdf file from e mail to the i pad2 ???

    From Google what?  There are so many Googe services (mail, docs, drive, ...) that you really need to provide more details.  Also what exact problems you experience.

  • How to save downloaded files from safari for offline use?

    Need help how to save downloaded PDF or images from Safari for offline use. On Mac or PC, we "save as" the files. How do you do it on safari on iPhone?

    You can't detach email attachments as separate files, though you can view supported formats as attachments. If you're viewing webmail with Safari, the attachments aren't saved on the iPhone.
    Apple hasn't made any announcements about new feature for the iPhone and rarely does. The other iPhone users in this user-to-user forum have no access to unannounced Apple plans, and speculation about them is prohibited by the forum Terms of Use.
    If you want to make a suggestion to Apple, post it on the iPhone Feedback page:
    http://www.apple.com/feedback/iphone.html
    Message was edited by: modular747

  • How to save pdf files from google?

    Please help me to download pdf files from google

    From Google what?  There are so many Googe services (mail, docs, drive, ...) that you really need to provide more details.  Also what exact problems you experience.

  • How to save MP4 files from Desktop to a folder

    I have a number of MP4 files on my desktop which I have imported from my camera.
    Please could someone explain - in VERY simple terms how to transfer these into a file or folder (sorry I don't know the correct terminology) so they are no longer on the desktop.
    Thanks in advance for your assistance.

    Hi
    A "file" is any kind of object such as a music file, document, video file, that lives on your computer. A folder contains one or more files. It's based on the paper file/folder analogy. So yes, you would store files in a folder. In fact, your desktop is just another folder, but its contents are displayed on the screen when you log in.
    So you can create a folder on the desktop by clicking once anywhere on the desktop to focus on the Finder, then click the shift, command and N keys (hold down shift and command - it's just to the left of the space bar - and click N). This creates a new folder called "Untitled folder" and the name is editable, which means you can type a new name for it (eg "My music files"). Type a new name and hit the Return key.
    Then drag the MP4 files into the new folder to move them. You can select more than one file at once by command-clicking on each one in turn to highlight them, then click on any one of them and drag into the folder.
    Post back if you have any trouble.
    best,
    Matt

  • How to save to file from JPanel

    HI I'm writing program like paint ad I have a question about saving my drawing to file.
    How do i do that
    How to make an image of what i/ve drawn and put it into file
    Maybe you can give me some steps how to do that
    Thanks a lot my friends

    Maybe this can help:
    http://www.onjava.com/pub/a/onjava/2004/04/28/desktop.html
    %

  • How to save Famos files from CVI

    Hello,
    Does anyone have any experience saving measurement data in Famos format from CVI?
    Thanks,
    Terry

    Hello Terry,
    I did some research and I didn't find any instances of using the Famos format in CVI.  The format seems like it is raw data, which means that you would probably need some data plugin to read it.  The only results that my search came up with was using the Famos format with a data plugin in NI DIAdem.   I'm sorry that I couldn't provide more information but I hope this helps.
    Regards,

  • How to download a file from the net and save it into .txt format in a datab

    Can some one show me a tutorial on how to download a file from the net and save it into .txt format in a database?
    Thank you,

    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

  • How do I save multiple files from database using oracle forms?

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    Hello,
    I have a form containing a block of records with files set up in a tabular layout. Each row has a checkbox to indicate if that row is selected. What I want to do is allow the user to save each file from checked rows to a directory of their choice on their machine when a button is pressed. Is it possible to do this in one command at the same time using WEBUTIL_FILE to save all the selected files to the same directory, or would I need to loop through each row and call the save dialog each time?
    Thanks.

    I'm not sure I follow. The SAVE_DIALOG is building the path including the filename where the files will be saved. If I have 5 different files I want to save at the same time and only show the dialog once, I will only have a path for one of the files. How could I loop through the rest afterwards?

  • How to save a file in Jfilechooser with extension

    hi all
    i'm trying to save a file with a certain extension
    i have my class that extends FileFilter, and which write into the jfilechooser combo box with extensions. .jar
    how can i save a file with this extension?
    here is the code
    JFileChooser fileChooser = new JFileChooser();
              fileChooser.addChoosableFileFilter(new JarFilter());
              int returnVal = fileChooser.showDialog(new JFrame(), "Export");
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fileChooser.getSelectedFile();
                   try {
                        JarExporter exporter=new JarExporter(this.generateXMLString(file.getName().replaceAll(".jar", "")),
                                       this.editor.getLinkageCanvas().getSelectedWidgetIDs());
                        exporter.exportJarFile(file);
                   } catch (Exception exception) {
                        System.out.println("Export error.");
              }

    hi all
    i'm trying to save a file with a certain extension
    i have my class that extends FileFilter, and which write into the jfilechooser combo box with extensions. .jar
    how can i save a file with this extension?
    here is the code
    JFileChooser fileChooser = new JFileChooser();
              fileChooser.addChoosableFileFilter(new JarFilter());
              int returnVal = fileChooser.showDialog(new JFrame(), "Export");
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fileChooser.getSelectedFile();
                   try {
                        JarExporter exporter=new JarExporter(this.generateXMLString(file.getName().replaceAll(".jar", "")),
                                       this.editor.getLinkageCanvas().getSelectedWidgetIDs());
                        exporter.exportJarFile(file);
                   } catch (Exception exception) {
                        System.out.println("Export error.");
              }

  • Hi all,how save PDF file from my computer to my IPad 3

    Hi all,how save PDF file from my computer to my IPad 3

    This file should help you:
    http://forums.adobe.com/docs/DOC-2532

  • How does APEX create and save new files. What extension does it save in?

    Hi can someone help me with this question?
    How does APEX create and save new files. What extension does it save in?
    Cheers!
    VJ

    It's really too bad we can't see VJ's face when the concept sinks in. This is one of my favorite moments when teaching APEX classes. Most people love it, some people don't. If nothing else it really proves the power and performance of the Oracle database. Each page view can generate 40+ queries, yet on the average system this takes less than .04 seconds.
    Keep in mind there are no undocumented features or "Oracle Internals" that the APEX team uses to achieve this performance, just sound database design. With every feature they add they evaluate how it will be used and design the tables and indexes to most efficiently answer the query. Sometimes this means going against "purist" normalized principals.

  • How to save CSV file in application server while making infospoke

    How to save CSV file in application server to be used as destination while making infospoke.
    Please give the steps.........

    Hi
    If you want to load your flatfile from Application server,then you need to trasfer your file from your desktop(Computer) to Application server by using FTP.
    Try using ARCHIVFILE_CLIENT_TO_SERVER Function module.
    You Just need to give thesource path and the target path
    goto SE37 t-code , which is Function module screen, give the function name ARCHIVFILE_CLIENT_TO_SERVER, on click F8 Execute button.
    for path variable give the file path where it resides like C:\users\xxx\desktop\test.csv
    for target path give the directory path on Application server: /data/bi_data
    remember the directory in Server starts with /.
    U have to where to place the file.
    Otherwise use 3rd party tools to connect to ur appl server like : Core FTP and Absolute FTP in google.
    Otherwise...
    Goto the T.code AL11. From there, you can find the directories available in the Application Server.
    For example, if you wanna save the file in the directory "DIR_HOME", then you can find the path of the directories in the nearby column. With the help of this, you can specify the target path. Specify the target path with directory name followed by the filename with .CSV extension.
    Hope this helps
    regards
    gaurav

  • How to call tdms file in DIAdem programatically using LabVIEW

    Hi all,
               I'm working on a project which has to acquire and stamp data in every 5 ms and store the data from the test cycle start up to almost a months' time. We have decided to store the data in the TDMS file format. We are going to use DIAdem for report generation. I'm new to NI diadem. So I need to know whether it is possible to acquire at the rate of 50Ks/s of around 15 channels and store data to the TDMS file and how we can call a TDMS file into DIAdem and generate reports in the HTML format.

    Hi Jothiraja,
    Yes, I think this is an excellent choice.  In DIAdem you can just drag and drop the TDMS file from the NAVIGATOR tree view on the left into the Data Portal on the right in order to load the TDMS file.  The REPORT panel in DIAdem has a "File >> HTML Export..." menu you can use to export your configured report in HTML format.  Both the data loading and the HTML export can also be run programmatically in DIAdem, if you need to automate the reporting process.
    On the LabVIEW side, how large is your acquisition buffer going to be?  1000 values on each of the 15 channels?  5000 values on each of the channels?  If your acquisition buffers are going to be smallish, then you may want to consider creating a "NI_MinimumBufferSize" property on each of the 15 channels, assigning a value to this property that is the number of channel values you want to flush to disk at a time.  The question here is how much of the resulting TDMS file will be stored data vs. binary buffer header information.  If your resulting TDMS_Index file is tiny compared with its TDMS file, then you can ignore this tip.  Alternatively, you could run the "TDMS Defragment.vi" at the end of the data acquisition, or equivalently load the acquired TDMS file into DIAdem and then re-save it over the original.  In both of these cases you will get just one binary buffer at the top of the TDMS file, and all the rest of it will be stored data.  Again, you can compare the size of the TDMS file with its TDMS_Index file to show you what the effect is.
    TDMS is plenty fast enough to stream the 15 channels at 50kS/s that you propose, and I believe you will be very happy with the choice of TDMS as your file format and DIAdem as your reporting engine.  I'll also be happy to help you through whatever obstacles you may run into along the way.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to download a file from Application Sever to Client Workstation?

    Hi All,
    I know how to move a file from client workstation to Application server.
    How to download that uploaded file from Application file (AL11)  directory to local desktop?
    Regards,
    Arun.M.D

    Hi Arun,
    Goto AL11 - > click on the directory path and select your file  -open the file - > click on menu item List - >save/send -> file
    -> select the type of file.
    Or you can write a small abap code using DATASETS. If you require I will post the code.
    Hope it helps you.
    Regards,
    Rajani.

Maybe you are looking for

  • Error in EHP1 Portal Installation

    Dear All, I am facing a weird error while install EHP1 Portal system. When it comes to phase Install Software units, it always fail with the same error. System details are below: System: Netweaver Portal EHP1 System (Usage Type: As Java, EP, EP Core

  • I get message: service 'Apple Mobile Device' failed to start.

    iTunes was working fine. I was prompted to download an update. "The update failed, and iTunes has not worked since. I uninstalled and attempted to reinstall, but when the reinstall attempts to start services, I get this message: Service 'Apple Mobile

  • Additional Excise in case of Depot

    Dear All, I want to debit customer for addtional excise in case of depot. Can any one help me out with the solution??? How can I post excose entries in System. ?? Thanks & Regards Rasik Waghela

  • How to test custom UI applications in CRM 5.0

    Hello Experts, In CRM 5.0 how can I run and test my own stand alone test UI components? I have created one test Z application and created a couple of views in it.But when I open the application using bsp_wd_workbench it says "No initial page defined

  • Trivial I know, but why no backspace key?

    This my first Apple computer. So far I prefer to use the MacBook than my Dell desktop. One annoyance: WHY DID THEY DESIGN THIS WITHOUT A BACKSPACE KEY??? I would rid the x-tra "enter" and "apple logo"key in favor of a backspace. Now you can get back