XMP Toolkit and MultiThreading

I've been working on version 4.1.1 of the toolkit and I've stumbled upon what I think is a problem. I use the toolkit as part of a property handler in Vista which is really just a COM object. I keep getting sorta random crashes that are kinda hard to trace down. What I THINK might be causing it is that two threads are running the property handler (and by extension the toolkit dll) and one thread when it ends runs SXMPFiles::Terminate (or SXMPMeta::Terminate) after another thread runs SXMPFiles::Initialize.
Is that possible for one thread to affect the other like that?
Eric

The client code is responsible for making the Initialize and Terminate calls in a thread-safe manner - typically from the main thread before/after all other work. These calls initialize and terminate the OS mutexes - they simply cannot be done from multiple threads. Between Initialize and Terminate, the other calls are all thread safe.

Similar Messages

  • ANN: C# XMP Toolkit

    Adobe provides the XMP Toolkit that gives developers the ability to easily extract, modify and inject XMP into a multitude of file formats. Unfortunately for .NET developers, it is only available for C++ and Java.
    This is where the
    C# XMP Toolkit fits in. It includes all the functionality from the XMP Toolkit and extends it with great new features.
    Wraps XMPFiles, allowing easy extraction and injection of XMP.
    Wraps XMPCore (XMPMeta, XMPIterator and XMPUtils), allowing easy editing of XMP.
    Extends with new schema classes, for even easier editing of XMP.
    Can be used by any .NET 2.0 application.
    Freeware!
    Please visit
    Hålligång website for more information and download.

    Version 0.1.2 is now available with updates and additions to the schemas.
    Available schemas in this release:
    DublinCore
    Iptc
    Photoshop
    XmpBasic (except for Thumbnail property)
    XmpRights
    The following code snippet shows how easy it is to add XMP support to your application:
    // Update Title, Keywords and Rating.
    using (Xmp xmp = Xmp.FromFile("sample.jpg", XmpFileMode.ReadWrite))
        DublinCore dc = new DublinCore(xmp);
        dc.Title["x-default"] = "A sample image";
        dc.Subject.Clear();
        dc.Subject.Add("a");
        dc.Subject.Add("sample");
        dc.Subject.Add("image");
        XmpBasic basic = new XmpBasic(xmp);
        basic.Rating = 5;
        basic.MetadataDate = DateTime.Now;
        // See what's about to be stored.
        string xmpDump = xmp.Dump();
        xmp.Save();

  • XMP Toolkit & Visual Studio 6.0

    Hi!
    I'm a software developper from Germany and got started into XMP a couple of days ago. With Microsoft Visual Studio 2005, everything works fine (I compiled the sources and received the lib files as static libraries which I can use for my code).
    Does it also work with Visual Studio 6.0? I tried it, but a "LNK1196: invalid or corrupt import object: unknown version" error is shown then, I suppose you can't use lib files created in 2005 for 6.0. Has anybody successfully used the XMP Toolkit on this version?
    Thanks.

    Tutorial: How to install Visual Studio 6 With Service Pack 5 on Windows Vista RTM
    - If you use Visual Studio.NET, do not install Visual Studio 2002, 2003, 2005 or 2008 first. If you do, this tutorial will not work. You must install them in this order...
    1. Visual Studio 6.0
    2. Service Pack 5
    3. Visual Studio 2002, 2003, 2005 or 2008
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')
    - You may encounter some strange 'Yes/No' questions which you may not know the answers to that have not prompted you during Visual Studio Setup before. I don't remember what I clicked exactly, but I remember one of them said 'Do you want to overwrite your 'blah blah' settings?' and I clicked 'No'.
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598ent.stf' here's how to do that (note some of the spaces have been truncated, try to not remove the extra space in the stf file when modifying it. If you do, this will not work at all, and you'll get a "Setup Damaged" error)...
    Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'
    Step 2) Replace the following line
    13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
    -with-
    13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
    Step 3) Delete the following lines leaving only a carriage return where it was
    36 Depend "27 ? : 37"
    37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"
    Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf
    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup should work fine now.

  • Requesting contact info for XMP Toolkit SDK developers at Adobe

    Hello,
    I'm an engineer at Google, involved in the WebM project.  Information about our project is here:
    http://www.webmproject.org/
    WebM is "video for the web".  It specifies a standard container format (a WebM file is based on Matroska), which comprises a VP8 video stream and a Vorbis audio stream.
    More info about the WebM container format is described here:
    http://www.webmproject.org/code/specs/container/
    We are investigating mechanisms for supporting metadata in WebM, and we are looking specifically at using XMP for this purpose.  I have a few technical questions about the Adobe XMP Toolkit SDK, and would look to speak to an engineer or some such at Adobe.
    Does anyone know whom I can contact at Adobe, about making modifications to the XMP Toolkit SDK?
    You can contact me directly at my work email address: <[email protected]> .
    Thanks!
    -Matt

    Hello,
    I'm an engineer at Google, involved in the WebM project.  Information about our project is here:
    http://www.webmproject.org/
    WebM is "video for the web".  It specifies a standard container format (a WebM file is based on Matroska), which comprises a VP8 video stream and a Vorbis audio stream.
    More info about the WebM container format is described here:
    http://www.webmproject.org/code/specs/container/
    We are investigating mechanisms for supporting metadata in WebM, and we are looking specifically at using XMP for this purpose.  I have a few technical questions about the Adobe XMP Toolkit SDK, and would look to speak to an engineer or some such at Adobe.
    Does anyone know whom I can contact at Adobe, about making modifications to the XMP Toolkit SDK?
    You can contact me directly at my work email address: <[email protected]> .
    Thanks!
    -Matt

  • How GIF format is supported in XMP toolkit

    Hi all,
    I'm new to XMP and I'm using the XMP toolkit since some weeks. I was easily managing JPEG, TIFF, PNG and PDF, but I have problems with GIF format.
    Documentation declares it is supported, but I didn't find BlueSquare.gif between the samples. There is no handler available in the libraries. I cannot embed metadata in file that has not already.
    Maybe it can reads/modify only GIF that has already XMP embedded? (if so can someone give a sample of 89a GIF with XMP embedded).
    Is there anybodu that has found a way to add metadata anyway?

    Hello Jeknetics, I will attach this information that must be helpful for you. 
    Regards
    Link: http://search.ni.com/nisearch/app/main/p/ap/tech/lang/en/pg/1/sn/catnavm/fil/AND(nilanguage:en,phwebnt:10535,nicontenttyperoductmanual,nidocstatus:current)/

  • Cannot build XMP-Toolkit-SDK-CC201306

    Hi
    Is this the correct forum to post this question?
    I am using WIN 7 Professional 64 bit and Visual Studio 2010.
    I have been trying to produce the Visual Studio project from the GenerateXMPToolkitSDK_win.bat file.
    It fails repeatedly. It produces the VC10 directory.
    When I open the solution in VS2010 it has no project files?
    Note that I do not have Visual Studio running at the time of the build.
    The following text is the message returned: -
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>REM l
    ist of all projects to build
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>echo
    "Update path environment that cmake can be found"
    "Update path environment that cmake can be found"
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>REM s
    et PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syste
    m32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tool
    s\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\M
    icrosoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.N
    ET Web Pages\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Progra
    m Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\CMake 2.8\bin;
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build\..\..
    \resources\tools\CMakeApp\win\bin
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>set P
    ATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\
    WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Bi
    nn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Micro
    soft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET W
    eb Pages\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Fi
    les (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\CMake 2.8\bin;G:\D
    ownloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build\..\tools\
    cmake\bin
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>echo
    "================= Generate project for XMP build ================="
    "================= Generate project for XMP build ================="
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>call
    cmake.bat 64 2010 WarningAsError Dynamic
    G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build>echo
    OFF
    64 bit specified
    "Generator VS 2010 specified"
    "sensible warnings activated"
    "Static build off"
    CMakeFolder: "vc10/dynamic/windows_x64"
    Generator used: Visual Studio 10 Win64
    cmake ../../../. -G"Visual Studio 10 Win64" -DXMP_CMAKEFOLDER_NAME=""vc10/dynami
    c/windows_x64"" -DCMAKE_CL_64=ON -DCMAKE_ARCH=x64 -DXMP_BUILD_WARNING_AS_ERROR=O
    n -DXMP_BUILD_STATIC="Off"
    -- The C compiler identification is MSVC 16.0.40219.1
    -- The CXX compiler identification is MSVC 16.0.40219.1
    -- Check for working C compiler using: Visual Studio 10 Win64
    Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' w
    hile Visual Studio is running. Please exit all running instances of Visual Studi
    o before continuing.
    CMake needs to register Visual Studio macros when its macros file is updated or
    when it detects that its current macros file is no longer registered with Visual
    Studio.
    -- Check for working C compiler using: Visual Studio 10 Win64 -- works
    -- Detecting C compiler ABI info
    Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' w
    hile Visual Studio is running. Please exit all running instances of Visual Studi
    o before continuing.
    CMake needs to register Visual Studio macros when its macros file is updated or
    when it detects that its current macros file is no longer registered with Visual
    Studio.
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler using: Visual Studio 10 Win64
    Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' w
    hile Visual Studio is running. Please exit all running instances of Visual Studi
    o before continuing.
    CMake needs to register Visual Studio macros when its macros file is updated or
    when it detects that its current macros file is no longer registered with Visual
    Studio.
    -- Check for working CXX compiler using: Visual Studio 10 Win64 -- works
    -- Detecting CXX compiler ABI info
    Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' w
    hile Visual Studio is running. Please exit all running instances of Visual Studi
    o before continuing.
    CMake needs to register Visual Studio macros when its macros file is updated or
    when it detects that its current macros file is no longer registered with Visual
    Studio.
    -- Detecting CXX compiler ABI info - done
    COMMON_BUILD_SHARED_DIR= G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit
    -SDK-CC201306/build/../build/shared
    -- ===========================================================================
    --  XMPCore64
    -- ===========================================================================
    --  OUTPUT_DIR = G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit-SDK-CC2
    01306/XMPCore/build/../../public/libraries/windows_x64/$(configuration)
    -- ===========================================================================
    --  XMPFiles64
    -- ===========================================================================
    --  OUTPUT_DIR = G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit-SDK-CC2
    01306/XMPFiles/build/../../public/libraries/windows_x64/$(configuration)
    -- ===========================================================================
    --  XMPToolkitSDK
    -- ===========================================================================
    --  64 bit build is: 1
    --  Static build is: Off
    --  XMPToolkitSDK
    --  Compiler:
    --  CC=C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/x86_amd64/cl.e
    xe
    --  CXX=C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/x86_amd64/cl.
    exe
    -- ===========================================================================
    -- Configuring done
    Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' w
    hile Visual Studio is running. Please exit all running instances of Visual Studi
    o before continuing.
    CMake needs to register Visual Studio macros when its macros file is updated or
    when it detects that its current macros file is no longer registered with Visual
    Studio.
    CMake Error at G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit-SDK-CC201
    306/build/shared/SharedConfig_Common.cmake:132 (add_library):
      Cannot find source file:
        G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit-SDK-CC201306/XMPCore
    /build/../../third-party/expat/lib/xmlparse.c
      Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
      .hxx .in .txx
    Call Stack (most recent call first):
      G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306/XMP-Toolkit-SDK-CC201306/XMPCore/b
    uild/CMakeLists.txt:192 (AddLibraryAndDependencies)
    CMake Warning:
      Manually-specified variables were not used by the project:
        CMAKE_ARCH
        XMP_BUILD_WARNING_AS_ERROR
    -- Build files have been written to: G:/Downloads/Exif/XMP-Toolkit-SDK-CC-201306
    /XMP-Toolkit-SDK-CC201306/build/vc10/dynamic/windows_x64
    Failed XMP build cmake.
    "Exiting CMakeUtils.bat"
    Failed  build cmake.
    "Exiting cmake.bat"
    Failed.
    "Exiting cmake_all.bat"
    CMake Build Failed.
    Press any key to continue . . .
    Can anyone hjelp me with this?
    Thanks John

    Inder
    Thanks for your help so far, perhaps I should have read the "Getting Started Guide" first!
    I have now been able to create all the VS solutions, when I open them in VS and I try to build the solution I get 45 warnings, samples of which include: -
    Warning               1              warning C4800: 'XMP_OptionBits' : forcing value to bool 'true' or 'false' (performance warning)                G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\XMPCore\source\Parse RDF.cpp 458                1              XMPCore
    Warning               2              warning C4267: 'argument' : conversion from 'size_t' to 'XMP_Uns32', possible loss of data                G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\XMPFiles\source\WXMP Files.cpp                204         1              XMPFiles
    Warning               3              warning C4244: '=' : conversion from 'double' to 'float', possible loss of data                G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\source\XMP_ProgressT racker.cpp                134         1              XMPFiles
    Warning               4              warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data                G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\source\XMP_ProgressT racker.cpp                142         1              XMPFiles
    Warning               5              warning C4244: '=' : conversion from 'double' to 'float', possible loss of data                G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\source\XMP_ProgressT racker.cpp                149         1              XMPFiles
    Similarly if I try to run the solution I get the following error : -
    Unable to start program 'G:\Downloads\Exif\XMP-Toolkit-SDK-CC-201306\XMP-Toolkit-SDK-CC201306\build\vc10\static\w indows_x64\x64\Debug\ALL_BUILD'.    The system cannot find the file specified.
    Can you help me with this? I hope it's not something obvious and I don't want to waste your time.
    One problem I do have is that my programming background is VB.Net and not C++ !
    Regards John

  • IPTC/XMP Toolkit Wrapper in C#

    I wanted an extremely easy C# wrapper for the toolkit. One that would compile in Visual Studio 2005 and 2008 upon install, as well as have a class with simply had property values for each of the IPTC/XMP data. I hired someone to do this and it works beautifully. It's been released in DBGallery, a photo database system (www.grrsystems.com/DBGallery).
    If anyone is interested in purchasing this wrapper you may contact me at [email protected]
    Regards,
    Glenn Rogers, PMP
    GRR Systems, Inc.

    The XMP Toolkit C# Wrapper mentioned above has been recently updated to:
    - Use the XMP Toolkit CS6
    - Support additional fields, such as GPS
    - Support UTF8
    - Includes a sample project which uses .Net 4.0
    - Compiles in Visual Studio 2012
    Regards,
    Glenn Rogers, PMP
    Project Manager for DBGallery: Photo Management Database System

  • XMP Toolkit compilation error under win32 + recent VC editions

    Hi all,
    I just downloaded the XMP plugin and tried to compile it under win xp with VC9 (express edition).
    I get the following error a few times:
    C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) :  error C3163: '_vsnprintf': attributes inconsistent with previous  declaration
    1>        C:\Program Files\Microsoft Visual Studio  9.0\VC\include\stdio.h(350) : see declaration of '_vsnprintf'
    I'm not expert of win32 and/or VC environment, but I find quite strange that there is an error in stdio.h.
    Maybe some duplicate definition in XMP toolkit? Any hint?
    Thanks a lot,
    Roberto

    Thanks a lot!
    Regards,
       Roberto
    2010/5/6 Joerg Ehrlich <[email protected]>:
    Hi Roberto,
    >
    sorry for the late reply.
    Unfortunately the compilation error is due to a certain combination of the VS compiler and the third-party ZLib library used in XMPFiles.
    When compiling XMPFiles with the new Visual Studio 2008, certain definitions in the version 1.2.3 of ZLib collide with definitions in the CRT used in VS2008.
    The solution is to get the latest version of ZLib which is 1.2.5. But you also need to adjust the XMPFiles VS project a little bit.
    In that VS project you need to remove the file "gzio.c" from this folder: XMPFiles/Source Files/Third Party/zlib.
    With those two changes, the toolkit should compile.
    But you could also wait for the CS5 SDK which is about to be released pretty soon, which has this fixed as well.
    >
    If you have further questions, please let me know.
    Kind Regards
    Jörg
    Adobe XMP
    >

  • Using the XMP Toolkit in Illustrator

    I'm trying to read information from the XMP metadata of a linked image in Illustrator from a Plugin. The SDK doesn't seem to provide a full API for manipulating XMP apart from the ability to obtain the XMP packet from an art object via the AIArtSuite with GetArtXMP(...) etc.
    So naturally I went for Adobe's XMP Toolkit to do the hard work for me, however I've run into some strange issues that have me a little stumped. Basically, no matter what I do, after calling anything from the XMP Toolkit (SXMPMeta), I end up with either a SIGABRT or BAD_ACCESS in a random object destructor such as ai::FilePath or std::string.  I assume this is due to some memory being deallocated too early based on my usage of the toolkit.
    Doing a bit more reading, I see that the XMP Toolkit uses a singleton pattern under the hood. This leads me to believe that there is some conflict with Illustrator's own implementation of the toolkit and my own.
    Could anyone shed any light on this? Is there another way I should be doing this? Any help anyone can give me would be hugely appreciated!
    Thanks!
    -W
    *Edit: I've linked to the XMP Toolkit both statically and dynamically, each time with the same results.
    Another interesting thing I noticed is that if I compile both my plugin and the XMP toolkit with "Symbols Hidden By Default" (GCC_SYMBOLS_PRIVATE_EXTERN) set to "NO", I don't get a crash, but I can't register my namespaces. They just don't appear in the list of namespaces even after dumping the namespace list out directly after the call to SXMPMeta::RegisterNamespace(...)
    Should I be asking in the XMP Toolkit forum?

    Please ignore this post. The problem was in my own code. I was stomping over memory that wasn't mine to stomp over.
    /idiot

  • I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.

    I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
    In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
    <B>DESCRIPTIONS</B>:
    This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
    <B>INSTRUCTIONS</B>:
    1. Run the VI.
    2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
    <B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
    3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
    4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
    <B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
    1. SVL Scale Voltage to EU.vi
    2. OAT Digital Tacho Process.vi
    3. OAT Get Even Angle Reference.vi
    4. OAT Convert to Even Angle Signal.vi
    5. OAT Compensate Even Angle Signal.vi
    My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
    Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
    Solved!
    Go to Solution.

    Hi CracKatoA.
    Take a look at the link bellow:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
    Regards,
    Filipe Silva

  • REPORT GENERATION TOOLKIT AND EXCEL

    i have a problem with report generation toolkit and excel
    the problem is:
    i must read & write from a excel worksheet when this is open but when i using the report generation the worksheet is open another time
    have some solution for this problem?
    sorry for my english

    You need to close Exel when before your VI is running. Excel can not have two instances running at the same time.
    Joe

  • Application doesn't work after build (database toolkit and report gen toolkit).

    I wrote an application using database toolkit and report gen toolkit to retrieve some data from a database,  put into a Word doc, save the Word doc and print it.  It works fine when I run the vi, but when I build and run it, it does nothing.   I have tried all of the settings in Projec Manager that I think might help but it still won't work right.  Labview 8.2.1, XP.
    Thanks,
    Charlie
    Solved!
    Go to Solution.

    Thanks for the help.  I finally abondened the Word append table and used the regular report gen append table and got it to work fine.  The error was 214682314.  That led me to the thread about column numbers must vbe between 1 and 63, but like I said, my coulumn number is 7 so don't know what is going on.  Anyway I got the vi to work and do what I want so I guess now the problem is solved (moot).
    Charlie

  • Convert XMP Date and Time

    Hi, in my script I am trying to read the Date and Time using the XMP functions of a selected file in bridge.  Then, I want to convert that date and time into a format that looks like: "01/12/10 | 01:23 PM" and write that to another metadata field like the description.  Im stuck on trying to convert the date and time into what I want it to look like?  Can anyone help, thanks!
    Here is the part of the code I'm having trouble with:
    When I read the dateTimeOriginal property of the file, it is in an unfriendly format.  It looks odd and shows the time zone.  The commented lines is code that I have tried, but didn't work.  I was trying to convert the XMPDateTime object into a Date object so I can adjust the format, but I haven't been successful.
    var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);      
          var myXmp = myXmpFile.getXMP();   
          var Name = myXmp.getProperty(XMPConst.NS_EXIF, "DateTimeOriginal");
          var date = new XMPDateTime(new Date(Name));
          var date2 = new Date(date);
          //dateFormat.masks.portfolioDate = 'mm/dd/yy "|" hh:MM TT';
    //date.format("portfolioDate");
    //date2.format("mm/dd/yy");
    alert(date2.toString());
    Name.convertToLocalTime();
    Name.toString();
    alert(Name);

    Thanks for helping me out Paul.  I just have one more small problem.  I am trying to access the Headline XMP property, and I know i need to use the IPTC Core property, but it doesn't seem to work.  Here is my current code, can you help me out?
    var selectedFile = thumb.spec;   
    var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);      
    var myXmp = myXmpFile.getXMP();   
    var xmpString = myXmp.getProperty(XMPConst.NS_EXIF, "DateTimeOriginal").toString();
                alert(xmpString);
    var xmpString2 = myXmp.getProperty(XMPConst.NS_IPTC_CORE, "Headline").toString();
    alert(xmpString2);
    var dat =xmpString.match(/(\d+).(\d+).(\d+).(\d+).(\d+).(\d+)/);
    var amOrPm = "AM";
    var hours = Number(dat[4]);
    if (hours > 11) amOrPm = "PM";
    if (hours > 12) hours = hours - 12;
    if (hours > 11) amOrPm = "PM";
    if (hours < 10) hours = '0' + hours;
    var dateString = dat[2]+"/"+dat[3]+"/"+dat[1].substr (2) +" | "+ hours +':'+dat[5]+ ' ' +amOrPm;

  • How can I find and install the state diagram toolkit and how to--

    Hi,
    I like to do practice how to do coding by using state diagram toolkit. For that purpose I need to install that software. Can you please help me in this regard about how to get theat toolkit and install afterwards?
    I have another question. By using VI snippets, I can extract the meaning of a particular VI/node/function block or whatever may be. Is there anyway to extract meaning in case that screenshot is not a snippet?
    Also, can you tell me about how to start from scratch for using labview in building algorithm and coding? any resource?
    Thank You.

    The state diagram toolkit is an addon and it has license fees. It's install is available on the complete set of install disks.
    There is no other way to extract code besides using snippets.
    You can find lots of information here regarding LabVIEW training including online options. You can also go through the tutorials that ship with LabVIEW.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • The difference of sinad.vi between Sound & Vibration Toolkit and Singal Processing Toolkit

    Hi, I'm confused with the the difference of sinad.vi between Sound & Vibration Toolkit and Singal Processing Toolkit.
    When the input waveform is single tone, the output is almost the same, but raises much discrepancy while a certain distribution of the spectrum. Does the sinad.vi have some limitation to the input signal? Did I miss some setting of the terminals? Hope someone can give me some suggestion.
    Attachments:
    SINAD(Front).png ‏85 KB
    SINAD(Block).png ‏77 KB

    Hi, here's the subVI for the test! Hope someone can give me some suggestion.
    Attachments:
    SINAD.vi ‏96 KB

Maybe you are looking for

  • Custom Report For Excise On Sales

    hi friends, i need custom report for excise on sale like below format, can you please guide me to prapare FS for below requirement. Material Code And Discriptiion Sales Order No      Delivery No      Billing No      Accounting No      Excise Invoice

  • Logic 9 on a PPC dual 2.7 running Tiger OSX 10.4.11 am I crazy ?

    I am a Logic pro 8 user on a Dual 2.7 PPC G5 8 GB ram under Tiger OSX 10.4.11. Plenty of hard drives including 10,000 rpm media drive. My Logic 8 experience is wonderful and professional (most of the time) on this finely tuned system. Of course I wan

  • About RMAN backup !!!!

    Dear Friends, Let my production server running starts from 1st June . In 15 june , I take the First rman full (or level0) backup using the command : RMAN> backup database plus archivelog; In 20 June I take 2nd rman full backup using : RMAN> backup da

  • Receiving data via 802.15.4 radio

    Hi, I am familiar with using a bluetooth radio to receive data wirelessly through the serial port using VISA in LabVIEW. However due to the range limitations of my bluetooth radio, I'd like to have a go at receiving date via from an 802.15.4 radio. H

  • CMP RosterApp deployment error

    Folks, when I try to deploy the RosterApp from the CMP example given in the tutorial,I get the following error.Any help to fix the issue would be appreciated. Deployment failed on target 127.0.0.1:14848_server : Fatal Error from EJB Compiler -- JDO74