CVI XML

I am using CVI 2012 to build a XML string with the command MSXML_IXMLDOMDocumentGetxml.  Unfortunately, the string is built with default encoding that appears to be ASCII -7.  I need the XML string in UTF-8 for the expanded character set.  Is there a method to change the encoding for the Getxml command ?
Such as adding  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> in the xml file.

Hey mike7,
I researched the MSXML functions a bit, and found this page on MSDN that might be helpful: http://msdn.microsoft.com/en-us/library/aa468560.aspx#xmlencod_topic4
In particular, the section on creating documents mentions that by default, the data is encoded in UTF-8. Are you sure that this isn't the case for your data?  The section on "Creating New XML Documents with MSXML" also talks about some weird behavior that you might see when encoding into UTF-8, and also mentions an attribute you can add to the document to change the encoding format. 
Hopefully that will help resolve the issue, but please let us know if you need any more assistance with the issue!
Daniel E.
TestStand Product Support Engineer
National Instruments

Similar Messages

  • CVI XML Functions Execution Times Increase When Looped

    I have written multiple functions using CVI that read XML files. I have confirmed in the Resource Tracking utility that i have cleaned up all of my lists, elements, documents, etc. I have found that when I loop any of the functions I have created, the execution times increase. The increase is small but it is noticable and does effect my execution.
    Are there any other sources of memory that I need to deallocate? It seems that there is a memory leak somewhere but I am unable to see where this increase is located.
    I am currently running LabWIndows/CVI 2009 on Windows 2008 Server. I have looped my functions using TestStand 4.2.1. Any help would be appreciated!
    Thanks in advance,
    Kyle
    Solved!
    Go to Solution.

    HI Daniel,
    Thanks for the quick response.
    It is indeed slow down in execution speed when we loop. When looped, the XML reader is overwriting variables, not adding to an array. Our application is structured differently than my test case. We run a CVI function from TestStand that contains a series of commands, which contains the XML reading. The XML looping is really done in CVI. I used TestStand in my test case just to get execution times. Our psuedocode for the CVI function is as followed:
    For loop (looping over values, like amplitude or frequency)
    Reading the XML
    Applying the data from the XML to set up some instrument(s)
    Do something...
    End loop
    I can confirm that the instrument set up is not the cause of the slow down. We have written the same XML reading in C# and applied the values to the instrument setup and do not experience the slow down.
    I tested with On-The-Fly Reporting enabled and the execution time continued to slow down.
    I hope that answers all of your questions!
    Thanks,
    Kyle

  • Problems embedding HTML into XML with CVIXMLSetElementValue - unwanted &lt and &gt

    I'm using the CVI XML functions. When I try to insert some pre-exsting HTML as the element value with CVIXMLSetElementValue, it dutifuly converts all the HTMLangle brackets into &lt and &gt, which is NOT what I want.
    (I can protect the XML integrity by wrapping it in [CDATA[ ....]] but that does not solve the conversion issue here.)
    Any suggestions?
    Thanks,
    Ian
    Solved!
    Go to Solution.

    To explain a bit further, below is a code snippet and the unwanted result that I see. Does this behavior - even with CDATA - make good design sense?
    From my perspective CVIXMLSetElementValue should respect CDATA elements. Am I right? Or just biased?
    stat = CVIXMLSetElementValue (test1_element, "Hello");
    stat = CVIXMLSetElementValue (test2_element, "<p>Hello</p>");
    stat = CVIXMLSetElementValue (test3_element, "<! [CDATA[<p>Hello</p>]] >");
    // Problematic Output:
    // <?xml version="1.0"?>
    // <root>
    // <test1>Hello</test1>
    // <test2>&lt;p&gt;Hello&lt;/p&gt;</test1>
    // <test3>&lt;! [CDATA[&lt;p&gt;Hello&lt;/p&gt;]] &gt;</test1>
    // </root>

  • Variables reset and memory management

        Hi,
            I'm writing an application that works on sophisticated
        data-structures, and though rely a lot on memory allocations.
        As I wanted to do a clean job as much as possible, I divided
        the work in different modules, and I'm encountering a problem
        while working with two of them.
            I wrote a data library that brings data structures needed
        by the software to work, and the last one I did was a XML wrapper
        for the CVIXML library.
            Sadly, while testing those two libraries to debug and validate
        them, I encountered a 'strange' bug in the reading functions. As
        concrete example is worth any explaination, here it is :
            First of all, I wrote several little functions like this one
        to earn some local declarations and copy/paste in my code.
        (there's xmlget_elt_val(), xmlget_attr_tag() and xmlget_attr_val())
    [cf : xmlget_elt_tag() function below]
            I use them a lot through my code, but at one point, in that
        function (not even the first time I'm calling it...), I got quite
        an illogical behaviour.
    Bernard Pratz
    IT Developer
    Engineering service
    Chelton Telecom & Microwave

            Even deciding to work through using the workaround, I got into
        a similar trouble just a function latter, but at another call. For
        the context, I'm calling the xmlextract_Banc() function several times
        in the code, to get different amount of data.
            So, in the following function (called from xmlextract_Banc()) I
        discovered that I had one attribute never read. Once more, using the
        debugger, I found out that this time the xmlget_attr_val() function
        is resetting the imax variable at the second iteration of the for loop.
    [cf: xmlextract_Appareil() below]
            Then I understood that any workaround I could do would only bring that
        problem at another point further in the code, and will not be resolved. I'm
        thinking this maybe some kind of overflow of something, somewhere... But I
        can't tell what and where (...if I'm right).
            I'm using the 'data' library, which defines the structs and all the
        functions such as create_Type() or push_Type() I use in those snippets, with
        the GUI, and the measurement library without any trouble, but that doesn't
        mean it's not guilty...
            I'm really clueless about this problem, at the point I'm trying to find
        out other ways around to get a xml library to work with the application. I'm
        trying out right now to get a 'libxml++' dll to be wrapped and included in the
        project, instead of using genuine's labWindows/CVI XML interface. But as I wrote
        almost 85-90% of the library before getting into that trouble, it'd be really
        more than helpful if someone could help me find out what's wrong.
        Thanks for reading this post,
        I can give more informations about the project if needed
        and thanks again for any answer I could get.
    PS: I had to split the message in order to get into the 5000 chars limit per post
        I know there may be a reason for that limit to exists, but I prefered to ignore
        it and make my problem's explaination much verbose
    Bernard Pratz
    IT Developer
    Engineering service
    Chelton Telecom & Microwave

  • CVI dll to read XML file causes memory leak

    Hello,
    I am facing a memory leak issue when I execute a dll created using CVI to read a XML file.
    Each iteration of the step is taking around 200k of memory.
    Short description of the code:
    Basically I am using a function created in CVI to read from an XML file by tag which 2 attributes: command and the response;
    int GetCmdAndRsp(char XML_File[MAX_STR_SIZE], char tag[MAX_STR_SIZE], char Command[MAX_STR_SIZE], char Response[MAX_STR_SIZE], char ErrorDescription[MAX_STR_SIZE]) 
    inputs:  
    - XML_File_path;
    - tagToFind;
    ouputs:
    - Command;
    - Response;
    - Error;
    Example:
    XMLFile:
    <WriteParameter Command="0x9 %i %i %i %i %i" Response = "0x8 V %i %i %i %i"/>
    Execution:
    error = GetCmdAndRsp("c:\\temp\\ACS_Messages.xml" ,"WriteParameter", cmd, rsp, errStr) 
    output:
    error = 0
    cmd = "0x9 %i %i %i %i %i"
    rsp = "0x8 V %i %i %i %i"
    errStr = "Unkown Error"
    Everything is working correctly but I have this memory leak issue. Why am I having such memory consumption?? Is it a TestStand or CVI issue??
    Each iteration I am loading the file, reading the file and discarding the file.
    Attached you can find the CVI project, a TestStand sequence to test (ReadXML_test2.seq) and an example of a XML file I am using.
    Please help me here.
    Thaks in advance.
    Regards,
    Pedro Moreira
    Attachments:
    ReadXML_Prj.zip ‏1826 KB

    Pedro,
    When a TestStand step executes, its result will be stored by TestStand which will be later used for generating reports or logging data into database.
    You are looking at the memory (private bytes) when the sequence file has not finished execution. So, the memory you are looking at, includes the memory used by TestStand to store result of the step. The memory used for storing results will be de-allocated after finishing the sequence file execution.
    Hence, we dont know if there is actual memory leak or not. You should look at the memory, before and after executing sequence file instead of looking in between execution.
    Also, here are some pointers that will be helpful for checking memory leak in an application:
    1. TestStand is based on COM and uses BSTR in many function. BSTR caches the memory and because of the behavior, sometime you might get false notion of having memory leak. Hence, you need to use SetOaNoCache function OR set the OANOCACHE=1 environment variable to disable caching.
    2. Execute the sequence file atleast once before doing the actual memory leak test. The dry run will make sure all static variables are initialized before doing memory leak test.
    3. Make sure that the state of system or application is same when considering the Private bytes. Ex: Lets say ReportViewControl is not visible before you start executing sequence file. Then you note down the private bytes and then execute the sequence file. After finishing execution, make sure you close the ReportViewControl and then note down the private bytes once again to check if memory is leaked or not.
    4. If there exists memory leak as you specified, it is possible that the leak is either in TestStand, or in your code. Make sure that your code doesn't leak by creating a small standalone application (probably a console application) which calls your code.
    Detecting memory leaks in CVI is better explained in
    http://www.ni.com/white-paper/10785/en/
    http://www.ni.com/white-paper/7959/en/
    - Shashidhar

  • How can I transfer a XML file content to a MS SQL database by stored procedure using LabWindows/CVI SQL Toolkit?

    Hi,
    I have a problem to transfer a XML file content to a MS SQL database by a given/fixed stored procedure. I'm able to transfer the content of the file by using following method ...
    hstmt = DBPrepareSQL (hdbc, EXEC usp_InsertReport '<Report> ..... </Report>');
    resCode = DBExecutePreparedSQL (hstmt);
    resCode = DBClosePreparedSQL (hstmt);
    ... but in this case I'm not able to fetch the return value of the stored procedure! 
    I have tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL) but I miss a datatype for xml?!?
    Any idea how to solve my problem?
    KR Cake  
    Solved!
    Go to Solution.

    After some additional trials I found a solution by calling the stored procedure in this way
    DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_STORED_PROC);
    DBPrepareSQL (hdbc, "usp_InsertReport");
    DBCreateParamInt (hstmt, "", DB_PARAM_RETURN_VALUE, -1);
    DBCreateParamChar (hstmt, "XMLCONTENT", DB_PARAM_INPUT, sz_Buffer, (int) strlen(sz_Buffer) + 1 );
    DBExecutePreparedSQL (hstmt);
    DBClosePreparedSQL (hstmt);
    DBGetParamInt (hstmt, 1, &s32_TestId);
    where sz_Buffer is my xml file content and s32_TestID the return value of the stored procdure (usp_InsertReport(@XMLCONTENT XML))
    Now I face the problem, that DBCreateParamChar limits the buffer size to 8000 Bytes.
    Any idea to by-pass this shortage??

  • Software Development Engineer positions at Hysitron, Inc. in Minneapolis (LabWindows CVI exp preferred)

    Software Development Engineer
    Hysitron, Inc. is a premier scientific instrument manufacturer. Founded in 1992 with headquarters located in Eden Prairie, MN we are committed to promoting nanotechnology by developing advanced transducer and control technology. This leadership has made Hysitron the world leader in nanomechanical test instruments. The TriboIndenter®, TriboScope®, Ubi, and other Hysitron innovations have opened new horizons for scientists interested in investigating and understanding mechanical properties of materials at nano-scale. Hysitron fosters an environment and culture where innovation flourishes, teamwork is encouraged, and superior performance is rewarded.
    Hysitron invites applications for multiple software development engineer positions from those aspiring to explore and succeed in the nano world. Hysitron, Inc. is an Equal Opportunity Employer M/F/D/V
    Job responsibilities
    The software development engineers would be responsible for developing test and measurement software applications for nano-mechanical testing instrumentation. Job deliverables would include:
    -          Develop software applications in C based Labwindows CVI for Hysitron Instrumentation
    -          Support the development of applications to address challenges in instrument automation and control
    -          Test software applications using debugging and simulation tools
    -          Perform software releases and software quality assurance activities
    -          Participate in the design of new software products
    -          Perform maintenance activities for existing products
    -          Adapt and deliver on quality software development practices
    Minimum qualifications
    -          BS in Computer Science/ Computer Engineering/ Equivalent Scientific or engineering discipline
    -          Min of 3 yrs experience in Instrumentation software development in an industrial or R&D environment
    -          Expert at programming language C, knowledge of C++
    -          Working knowledge of various communication protocols, e.g. USB, RS232, IEEE, RS485, TCP/IP, Modbus
    -          Knowledge of general software design/documentation processes in test and measurement systems
    -          Proficient problem solving skills
    -          Strong analytical and technical skills
    -          Excellent communication and interpersonal skills
    Preferred Qualifications
    -          Proficient with LabWindows CVI and XML
    -          Working experience with DSP(Code Composer Studio) and/or FPGA level programming
    -          Exposure to digital electronics and instrumentation
    -          Working experience in Robotics interface programming
    -          Experience with Controls/Automation engineering
    Application and Information
    Qualified candidates should send a letter of application and their resumes to (please include ‘SW Engineer’ in subject line):
    Hysitron, Inc.
    10025 Valley View Rd
    Eden Prairie, MN 55344 USA
    Phone: (952) 835-6366
    Fax: (952) 835-6166
    E-MAIL: [email protected]
    Web: www.hysitron.com

    This position is still accepting resumes/CVs.

  • How to set encoding for xml Marshaller?

    Hi,
    I am using SAPXMLToolkit. And I use XMLMarshaller to convert from xml to java classes (jaxb classes). Now when I get some characters like ü, the marshaller gives an error
    com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 69(:main:, row:1, col:323)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
         at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:152)
         at com.sap.engine.lib.xml.parser.XMLParser.scanCharData(XMLParser.java:1896)
         at com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReaderImpl.next(XMLTokenReaderImpl.java:190)
    How do I solve this?? How do I set encoding for the marshaller?
    Regards,
    Guru

    Hi ogre,
    To set the encoding scheme for an XML document, you can use the createProcessingInstruction. Our CVIXML instrument driver (which
    is basically and user-friendly wrapper made around the MSXML interface) uses
    this method to specify the version of the XML document. So, what you could do
    is simply modify our existing CVIXML instrument driver to include the encoding.
    It's actually quite simple to do this.
    First off, open up the cvixml.c file
    located in the <CVI>\toolslib\toolbox directory in CVI. Then change the
    value of the constant XML_PROC_INSTR_DATA
    (located on line 42) from "version=\"1.0\"" to "version=\"1.0\"
    encoding=\"UTF-8\"". The save your source file and
    select Options >> Create Object file. This object file
    (cvixml.obj) is attached to your cvixml.fp function panel. 
    To test this out, you could simply use some code like
    CVIXMLNewDocument ("RootElement", &xmlDoc);
    CVIXMLSaveDocument (xmlDoc, 0, "C:\\Test.xml");
    Then the Test.xml document should say
    <?xml version="1.0" encoding="UTF-8"?>
    <RootElement/>
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • CVI debugger reports dynamic memory corrupt

    Hi,
    There is a problem most likely between debugger and CVIXML group of functions.
    When I operate even one of CVI examples involving population of tree control out of XML the following function corrupting heap:
                    CVIXMLGetElementValue (data,result);
    It is important to recognize that even NI example "XMLTree" do not work correctly under debugger (breakpoints and single step).
    However if release mode is selected then apparently no problems are noticeable.
    Obviously I selected different debugger modes. But no cure found.
    ///// failing example
            char * result;      
            CVIXMLElement data = 0;
            assert(!CVIXMLGetChildElementByTag (column, "Data", &data));
            if (data) {
                int len;
                char * bs;
                CVIXMLGetElementValueLength (data, &len);
                if(len) {
                    result=malloc(len+1);
                    bs=malloc(1);
                    free(bs);
                    CVIXMLGetElementValue (data,result);
                    bs=malloc(1);
                    free(bs);                                 ///////////////// problem right here
                    RemoveSurroundingWhiteSpace(result);
                    bs=malloc(1);
                    free(bs);
          printf("row=%i, column=%i >>>%s<<<\n",j,i,result);   
          free(result);      
            } else (result=""; //empty string (but printable ;-)
          CVIXMLDiscardElement(data);
    /// But if variables are coming from stack then no problem occured.
            char result[100];      
            CVIXMLElement data = 0;
            assert(!CVIXMLGetChildElementByTag (column, "Data", &data));
            if (data) {
                int len;
                char * bs;
                CVIXMLGetElementValueLength (data, &len);
                if(len) {
                    bs=malloc(1);
                    free(bs);
                    CVIXMLGetElementValue (data,result);
                    bs=malloc(1);
                    free(bs);
                    RemoveSurroundingWhiteSpace(result);
                    bs=malloc(1);
                    free(bs);
            } else result[0]=0; //empty string (but printable ;-)
          printf("row=%i, column=%i >>>%s<<<\n",j,i,result);   
          CVIXMLDiscardElement(data);
    Is there any remedy now other than giving up on debugger???
    I am using brand new CVI 8.0.1 version and cannot use static data holders..
    Otta

    Mikie,
    You should never attempt to write past the end of an array when programming in C. In fact you should be getting a fatal run-time error when you attempt to write past the end of an array. This is a feature of CVI that blocks the user from performing such actions which ANSI C does not prevent. What does your code look like that does this? Here is the code I have and as you can see in the comments, I receive the error before I get to freeing the memory.
    #include <ansi_c.h>
    int main (int argc, char *argv[])
    int *myArray;
    myArray = malloc(2*sizeof(int));
    *(myArray) = 1;
    *(myArray+1) = 2;
    *(myArray+2) = 3; //FATAL RUN_TIME ERROR: Dereference of out-of-bounds pointer
    free (myArray);
    return 0;
    National Instruments
    Product Support Engineer

  • XML Nested Element HELP

    HELP.
    I am having problems creating this XML schema in CVI.
    In particular, the creation of <chassis> and <slot> tags throws an error. 
    ie.
    <chassis1> does not start the container, </chassis1> starts the container and there is no subsequent closing element (ie </chassis1>)
    Could one provide example code to resolve my problem?
    TIA.
    <?xml version="1.0" ?>
    <config1>
        <chassis1>
              <slot1>
                   <element3>VALUE</element3>
                   <element4>VALUE</element4>
                   <element5>VALUE</element5>
              </slot1>
              <slot2>
                  <element7>VALUE</element7>
                   <element8>VALUE</element8>
                  <element9>VALUE</element9>
              </slot2>
          </chassis1>
          <chassis2>
              <slot1>
                   <element3>VALUE</element3>
                   <element4>VALUE</element4>
                   <element5>VALUE</element5>
              </slot1>
              <slot2>
                  <element7>VALUE</element7>
                   <element8>VALUE</element8>
                  <element9>VALUE</element9>
              </slot2>
          </chassis2>
    </config1>
    Solved!
    Go to Solution.

    This is the output as viewed in IE:
      <?xml version="1.0" ?>
    - <Rack>
    - <Chassis>
      <Fan1Present>0</Fan1Present>
      <Fan2Present>1</Fan2Present>
    - <Fuse2>
      1
    - <Slot0>
      <Board2>0</Board2>
      </Slot0>
    - <Slot1>
      <Board2>0</Board2>
      </Slot1>
      </Fuse2>
      </Chassis>
    - <Chassis>
      <Fan1Present>0</Fan1Present>
      <Fan2Present>1</Fan2Present>
    - <Fuse2>
      1
    - <Slot0>
      <Board2>0</Board2>
      </Slot0>
    - <Slot1>
      <Board2>0</Board2>
      </Slot1>
      </Fuse2>
      </Chassis>
      </Rack>

  • Error when Building on CVI 2013 XmlReader fails to load

    Thsi occurs during a code build under LabWindows CVI 2013 (FDS Version 13.0.2 (278) Windows 7 64 But Enterprise
    The builds completes and is functional. However midway through the builds the error windows pops open and returns the following. This is a fairly recent change, I think, as the code (albeit being continuously changed with minor changes) used to build without erro windows. Possibly related to a Windows system update.
    Please let me know if there is a known fix.
    Error:
    Error Details:
    MetaToolbox::XmlReader::Load failed. SchemaPath=''
    MetaToolbox:chemaValidationErrorHandler::fatalError: Error at line 1:
    Invalid document structure
    Error:
    Error Details:
    MetaToolbox::XmlReader::Load failed. SchemaPath=''
    MetaToolbox:chemaValidationErrorHandler::fatalError: Error at line 1:
    Invalid document structure

    Hi;
    Can you verify if the following files and folders exist?
    C:\ProgramData\National Instruments\MIF\MetaInstaller\settings.xml
    C:\ProgramData\National Instruments\MDF
    It might be possible that the software needs to be reinstalled. In the following document you can see the instructions on how to repair it:
    http://digital.ni.com/public.nsf/allkb/AC6ED75D3D93375686256E8E00245F0D

  • CVI settings

    Hi all, we are updating internal network in my office creating a new dominion, so my PC user needs to be migrated on the new dominion; since it will actually become a new user, I would like not to loose al settings and customizations I have made to the CVI IDEs (more versions, currently from 6.0 up to 8.5) installed in my development machine and my laptop. With "settings" I am referring to:
    - UIR editor preferences
    - environment settings
    - global include paths
    - library  menu custom elements
    - syntax coloring and editor colors
    - build settings
    - what else I am forgetting??? 
    I'm not interested in toolbar and font options since I am currently using the standard settings, but reassigning all other elements would be a long and boring task  I would like to shorten as much as possible.
    I have currently found only this tip by Mohan about colors in the source editor, and keyboard shortcuts can be saved and reloaded with native functions, but what about other settings?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Solved!
    Go to Solution.

    Hey Roberto - 
    In CVI 2009 there is a tool for importing and exporting your settings.  If you do not have CVI 2009 on your development machine, but do have it available somewhere and can install the 2009 CVI RTE on your development machine, you can run the tool stand alone by copying the files <National Instruments>/shared/cvi/bin/ImpExpSettings.exe and <National Instruments>/shared/cvi/bin/CVISettings.xml to your desktop or some other known location.  
    Once the tool is running, just pick the version you want to copy the settings from, which settings you want to export, and a file location where the settings should be saved.  You can then use the tool to import these settings back into your versions of CVI from the files you have created. 
    If you are unable to run the tool on your development machine, the easiest thing is most likely going to be for you to snoop around in  HKEY_CURRENT_USER\Software\National Instruments\CVI\<version> until you find the settings you want, and then import and export these keys.  Be aware that if things like MRU paths don't match from one machine to the other, you may get errors in CVI.
    Let me know if you have any questions,
    NickB
    National Instruments 

  • How to show image in TestStand xml report

    Hi,
    I am using TestStand to run DLLs written over CVI.
    I am using the xml report for collecting results.
    Some of the tests i run require showing images on the report -
    I would like to know how to allow showing an image on xml report by writing a CVI code.
    Thanks,
    Moshik

    Hi Moshik,
    There is an example for inserting images in your report in this discussion:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=2819&requireLogin=False
    TestStand uses the sequences named reportgen_***.seq that default to the
    C:\Program Files\National Instruments\TestStand 3.5\Components\NI\Models\TestStandModels directory for report generation.
    You can edit the reportgen_xml.seq for XML reports.
    Is it really necessary for your DLLs to do the image insertion?
    Gavin Fox
    Systems Software
    National Instruments

  • Xml file + alpha of this file

    Hi,
    I have a movieclip and in this movieclip I have a dynamic
    textfield. In this dynamic textfield I load in an external xml
    file.
    Now I want the movieclip to fade in on the stage. This works
    fine but the dynamic textfield doesn't fade in with the movieclip.
    The textfield is inside the movieclip but still it doesn't
    fade in.
    So when I test the my .fla, the movieclip nicely fades in,
    but the text appears immediately without fade in.
    For the textfield I also use a stylesheet(var
    styles:TextField.Stylesheet = new TextField.Stylesheet();)
    My question is: is it possible to apply _alpha to an external
    loaded xml file?
    (when I embed the font used, the text doesn't show up at all)
    Silky JacK.

    This is the LabVIEW forum.
    You need to post your question in the LabWindows/CVI forum.

  • XML Quote report

    We have a problem with our XML Quote report that cuts off the report at 26 pages when it should go to about 200 pages.
    We have another report the Acknowledge Quote and it works fine.

    Finally we found the solution for this problem.
    1. Open qotSCocPrint.jsp and add below line inside <SELECT id="qotOutFrmt" name="qotOutFrmt"> statement. This line should be added after "for" loop.
    <OPTION value="EXCEL">Excel Format</option>
    We can add as many options the XML Publisher supports.
    2. Decompile oracle.apps.aso.print.webui.MainCO.class (Controller).
    Change the below line
    httpservletresponse.setContentType("application/pdf");
    to
    httpservletresponse.setContentType("application/"+quoteOutputFormat.toLowerCase());
    Take a backup of the original file, compile the java in the same directory.
    3. Decompile oracle.apps.aso.print.server.PrintQuoteAMImpl.class and change this line
    Field field = class2.getDeclaredField("OUTPUT_TYPE_PDF");
    to
    String outputFormat="OUTPUT_TYPE"+as[12].trim();
    Field field = class2.getDeclaredField(outputFormat);
    Bounce Apache and generate the Quote output in desired format.

Maybe you are looking for

  • Service module upgrade

    I have a question sometimes someone knows how to upgrade the IOS of the service module ? With best regards

  • Get pernr statement

    Hi, I just want to know how to debug the get pernr statement or to know what is happening by this statement in the program. Thing is that, I have a scenario where, for a particular employee ID the get pernr statement gets executed with sy-subrc value

  • Best practices for DAO with relationships

    Suppose I have have a relationship structure similar to this: School -> 1:M -> Classrooms -> 1:M -> Students -> 1:M TextbooksShould I have 4 DAOs? (SchoolDAO, ClassroomDAO, StudentDAO, TextBookDAO)... How would be the best way to insert a Student? Wo

  • How long a wait is it for tv show availability on iTunes?

    I bought a seasons pass on iTunes, and episodes that aired days ago on tv still aren't on iTunes. How long does it usually take for an episode to get onto iTunes?

  • Install  11.2.0.1.0

    Hi, I have install SW 11.2.0.1.0. What is the patch for 11.2.0.2? Regards, Guido