Data type detection

Hello
in my program i want to place a check if the comming data is int8,int16 or int32 based on that i have a case structure which will further select what to do if data is int8 then do this if int16 then do this etc.what is the suggestion regarding finding the data type means if it is  int8,int16 or int32 etc
regards

You can also use the "GetTypeInfo" VI found in the vi.lib\Utility\VariantDataType folder:
I would agree with tst, though, that the polymorphic VI is probably the best option.
Message Edited by smercurio_fc on 05-12-2010 09:09 AM
Attachments:
Example_VI.png ‏5 KB

Similar Messages

  • How to detect which data type is passed in ?

    Hello!
     I've built a VI function. But I want to make it more secure - that function could detect which data type is wired to the inputs and allow wiring only certain data types. How can I do this?
     Thanks
    Message Edited by ACiDuser on 05-23-2009 08:13 PM
    Solved!
    Go to Solution.

    I'm assuming you're talking about numeric datatypes. In this case that information is not available to you at the subVI level. The LabVIEW compiler will have already changed the datatype to match what your subVI expects if someone wires something of a different type.
    You could use a variant as your input. Then in the subVI you can use the Variant to Flattened Data to get the type. The OpenG LabVIEW Data Tools VIs will be useful if returning an enum specifying the datatype. Specifically, using the "Get TDEnum From Data VI".
    Now that we've gotten that out of the way, let's talk about the why. Why do you need to do this? What are you trying to "secure"?

  • How do I detect the data type of a node?

    Hello all,
    I have a few quick questions about using Schema with XDK. I hope someone can answer this for me.
    1) How do I detect the datatype of a node? I need to be able to detect if it is date/time, number or boolean
    2) How do I then parse the string into date, number, etc. ?
    3) Does Oracle SOAP also support this kind of thing? (ie. detecting the data type of a node and then parsing it?)
    4) Does XDK support inline schema?
    thanks in advance!

    Thanks for the response.
    So are you saying that it is not possible or not easy to detect the typed value data type of a node? In past years, I have had experience with converting based on what looks like a number and it is impossible to safely assume something is a number just because it looks like one. For example a Product ID could be: 14E1 which many routines would detect as a scientific notation number. This is why I need to be able to detect the data type.
    But I am no Schema expert, but my understanding of schema is that simple types have standard designations. I think it is something like xsd:string or xsd:number, etc. But no matter what parser I look at them all seem to be implemented the same way and I can't figure out with any of them how to detect the datatype and then parse it appropriately. But it should be possible since it is written into the schema.
    Since I'm using Jdev I'm hoping that the Oracle XDK can do this, if not does anyone know of any good parsers that can? I'm having trouble even locating validating parsers. Aside from Oracles all I could find were IBMs and Xerces which both seem to be based on the same thing anyhow.
    Help or pointers in the right direction would be much appreciated since I have been struggling with this seemingly simple task for a long time.

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

  • DTP Error: Duplicate data record detected

    Hi experts,
    I have a problem with loading data from DataSource to standart DSO.
    In DS there are master data attr. which have a key  containing id_field.
    In End routine I make some operations which multiple lines in result package and fill new date field - defined in DSO ( and also in result_package definition )
    I.E.
    Result_package before End routine:
    __ Id_field ____ attra1 ____  attr_b  ...___   attr_x ____ date_field
       ____1________ a1______ b1_________ x1         
       ____2________ a2______ b2_________ x2       
    Result_package after End routine:
    __ Id_field ____ attra1 ____  attr_b  ..___   attr_x ____ date_field
       ____1________ a1______ b1_________ x1______d1         
       ____2________ a1______ b1_________ x1______d2    
       ____3________ a2______ b2_________ x2______d1         
       ____4________ a2______ b2_________ x2______d2   
    The  date_field (date type)  is in a key fields in DSO
    When I execute DTP I have an error in section Update to DataStore Object: "Duplicate data record detected "
    "During loading, there was a key violation. You tried to save more than one data record with the same semantic key."
    As I know the result_package key contains all fields except fields type i, p, f.
    In simulate mode (debuging) everything is correct and the status is green.
    In DSO I have uncheched checkbox "Unique Data Records"
    Any ideas?
    Thanks in advance.
    MG

    Hi,
          In the end routine, try giving
    DELETE ADJACENT DUPLICATES FROM RESULT_PACKAGE COMPARING  XXX  YYY.
    Here XXX and YYY are keys so that you can eliminate the extra duplicate record.
    Or you can even try giving
        SORT itab_XXX BY field1 field2  field3 ASCENDING.
        DELETE ADJACENT DUPLICATES FROM itab_XXX COMPARING field1 field2  field3.
    this can be given before you loop your internal table (in case you are using internal table and loops)  itab_xxx is the internal table.
    field1, field2 and field 3 may vary depending on your requirement.
    By using the above lines, you can get rid of duplicates coming through the end routine.
    Regards
    Sunil
    Edited by: Sunny84 on Aug 7, 2009 1:13 PM

  • Version number conflicts with NI custom data types

    Custom data type version number conflicts
    Options
    Mark as New
    Bookmark
    Subscribe
    Subscribe to RSS Feed
    Highlight
    Print
    Email to a Friend
    Report to a Moderator
    07-11-2011 08:10 AM
    I am new to Teststand software interface.  While doing my first software release under the guidance of a more experienced colleague, we discovered that Teststand will not run if it detects version number conflicts between custom data types on my machine vs. the production test machine.  I verified differences between all .seq files in my test program directory, but I did not realize that the version number difference exists in the StationGlobals.ini file, which is stored in a different location.  After discovering this, I modified the version number in one of the files.  However, two releases later, I discovered that the version number mismatches in another two files.  This raises several questions for me :
    1.  Is there a way in Teststand to view all the .seq files where a custom data type is used and then change its version number in one attempt?
    2.  Under what instances does Teststand upgrade the version number of a custom data type?
    3.  Are there any tools or scripts within Teststand that can allow the version number of custom data types to be changed in all .ini files when a difference is discovered between the current production test station settings and a new release?
    Please help.

    Have you read this?  http://zone.ni.com/devzone/cda/tut/p/id/7060
    I can tell you that your situation is not uncommon with TestStand.  The key is just doing it right the first time.  haha
    #1- I doubt that this is possible because then TestStand would have to know every location of every .seq on the machine.  You will only see it when you open the sequence file.
    #2- TestStand updates the version every time you change it.  You should get a message popup when you try to save that asks if you want to increment the version or not.  There's also a check box that says Remove Modified Mark From Types.  Look under Station Options in the File tab.  There are some settings there about Type conflicts.
    #3- http://zone.ni.com/devzone/cda/tut/p/id/7910
    http://digital.ni.com/public.nsf/allkb/4153576DA04BEB098625743D00704A09
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Issue with Data type 'Date' in Hyperion Planning V11.1.2.2

    Hi,
    I have created members with data type date. However when I save the date, it either disappears or comes up with a random date? Has any one come across this kind of problem before?
    If so can you share the fix.
    Thanks in advance for your help.
    Cheers,
    XXX

    Hi
    This problem is linked to you not having a consistent setting for your date input type.
    So, go to application administration and set the date format to MM/DD/YYYY in application settings and display options, under current application defaults. Then after you have done this as a user go to User Preferences and display options and on the date format select the same. Or remove the Automatically detect.
    I have seen this behaviour if you have Automatically Detect on the user preferences
    Thanks
    Anthony

  • SAP BPC 7.5 SP 7 - Master Data Load Detected duplicate member ID

    Hi Gurus I have  a requirement.
    I am loading the Master data for Cost Center - initially while loading master data i didnot load hierarchy. Now I started to load the Master data with Hierarchy but when ever I tried vailidate the transformation file then it is throwing the "Detected Duplicate member "
    Let me show you the transformation - what I wrote there
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = TAB
    *MAPPING
    ID=ID
    *CONVERSION
    ID=Master_Data_Conversion.xls
    Conversion Master_Data_Conversion.xls has the following code this is to remove the spaces EXTERNALINTERNAL
    *js:%external%.toString().replace(/\s+/g,"")
    Let me show you how I have selected the Data type - Master Data /text from NW BW Infoobject
    Selection of infoobject - 0costcenter
    Format - External Format
    Set Selection - first Tab - Attribute I only wante the Control Area which is 1000 so - Control Area = 1000
    2nd Tab - Hierarchy - Import Text node - yes Hierarchy node - xxxxxxx  Version - Empty Member ID - first member    Level - Blank
    3rd Tab Language - English
    4th Tab Attribute list - Controling Area only is selected
    Note: Let me tell you that when I am loading the Master data with out Hierarchy inthe Set Selection the loading is succesful but when I am doing it with the Hierarchy as mentioned in the 2nd Tab I am getting the error as following.
    Master data (dealt by table level) has errors
    Detected duplicate member ID '201100'
    Also, the Master data for Cost Center in the BW is a time dependent so it is having Valid to and Valid from fields which is not there to be delt in the BPC.
    Please Help

    @Vinay let me tell you when the BW is having the master data which is time dependent then it will have this Duplicate member as we will have duplicate cost center names which are compounded with the Time, so BW will not show an error as there is compounding but BPC do not have that feature.
    The was raised with SAP and they resolved this issue.
    SAP Note 1641529 - Loading Master Data gets duplicate error in special case
    When running Data Manager Package 'Loading Master Data from BW
    InfoObjects', 'Duplicate Members are found' error may be reported in below
    case:
    o In the source BW InfoObjects, there are master data that have
    different lengths, and their IDs are all numeric characters. And
    o If the members are sorted by their lengths first and then IDs gets
    a different order compared with the one if they are sorted directly
    by their IDs. Take member '122' and '1101' for instance. In BW,
    they are sorted as [122, 1102]; if they are sorted directly by the
    IDs, the order is [1102, 122]. And
    o when running the package, the members are in both 'Attribute' and
    'Hierarchy' selection, and the option Filter members by Attributes
    or Hierarchies is used. And
    o Select 'External Format' when running the package.
    Other terms
    DM, Loading Master Data from BW, Duplicate Members
    Reason and Prerequisites
    It's a program error.
    Solution
    Please apply this note or upgrade to SP11.
    I hope this will help you else let me know the entire requirements so that I can provide some kind of assistance.
    Do check how the master data in ur BW is then how the hierarchy nodes and costcenter nodes are there?
    Good Luck
    Vijay Sumith

  • What is "Data Type" in Custom Script of Requirement

    I want to create a custom script in "Requirement" of Applications.
    It is different from "Detection Method", These is "Data Type" in The custom script of "Requirement"
    I know how to create script in "Detection Method"!
    But I don't know what is "date type" in "Requirement" , how does it work with script,
    how to return the result of wscript.echo

    You can use the Wscript.Echo result to check the requirement. The Data Type is only used to specify if the output is something like a String or Integer. Based on the type you just got some different options to check.
    For more information see:
    http://technet.microsoft.com/en-us/library/gg682048.aspx
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • [BUG]rb_gc_mark() unknown data type 0x0(0x1810340) non object Error

    I reference Sigar in my code, like this
          sigar = Sigar.new
          fs_list = sigar.file_system_list
    It occur error when sigar call file_system_list method,
    the error decription :
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28: [BUG] rb_gc_mark(): unknown data type 0x10(0x1ca9920) non object
    ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
    -- Control frame information -----------------------------------------------
    c:0018 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC  :file_system_list
    c:0017 p:0029 s:0072 b:0072 l:000071 d:000071 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28
    c:0016 p:0017 s:0064 b:0062 l:000061 d:000061 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14
    c:0015 p:0063 s:0056 b:0056 l:000055 d:000055 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60
    c:0014 p:0093 s:0046 b:0044 l:000043 d:000043 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26
    c:0013 p:0062 s:0041 b:0041 l:000040 d:000040 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32
    c:0012 p:0009 s:0037 b:0037 l:000a10 d:000036 BLOCK  /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19
    c:0011 p:---- s:0035 b:0035 l:000034 d:000034 FINISH
    c:0010 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC  :call
    c:0009 p:0025 s:0030 b:0030 l:000029 d:000029 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51
    c:0008 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
    c:0007 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC  :call
    c:0006 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC  :run_machine
    c:0005 p:0248 s:0020 b:0020 l:000019 d:000019 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256
    c:0004 p:0129 s:0013 b:0013 l:000db0 d:000db0 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45
    c:0003 p:0206 s:0009 b:0009 l:002148 d:001660 EVAL   /var/vcap/packages/cloud_agent/bin/cloud_agent:29
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:002148 d:002148 TOP
    -- Ruby level backtrace information ----------------------------------------
    /var/vcap/packages/cloud_agent/bin/cloud_agent:29:in `<main>'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `fire'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `call'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19:in `block in enable'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32:in `beat'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26:in `send_via_mbus'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60:in `heartbeat_payload'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14:in `get_usage'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `fs_usage_safe'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `file_system_list'
    -- C level backtrace information -------------------------------------------
    *** glibc detected *** ruby: malloc(): smallbin double linked list corrupted: 0x0000000001b7c260 ***
    sometimes it happen and sometimes not,the versiong of sigar is 0.7.2,ruby is 1.9.3p448, i could solve this probelm  although i spent some days on this probem.
    i will appericate you suggestion

    I thik it is connected with Garbage Collector,I Close the GC(GC.disable),then i create a Sigar object,continuly, i open GC(GC.enable),it seem that it work well now,is there some wrong with the Sigar Gem package?

  • NAD010 data type must be 'Alphanumeric' in EDIFACT D96A INVOIC

    Hi B2B GURUS,
    I am new to B2B, I was trying to integrate EDIFACT D96A INVOIC from BPEL to B2B.
    I got below error in B2B:Can some one please help on this.
    Element NAD010 data type must be 'Alphanumeric'. Segment NAD is defined in the guideline at position 0120.{br}{br}This error was detected at:{br}{tab}Segment Count: 6{br}{tab}Element Position: 3 {br}{tab}Characters: 2012 through 2049
    XML published to B2B ==>
    <Invoke_SendInvoiceToB2b_Enqueue_InputVariable_1><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Transaction-INVOIC"><Transaction-INVOIC xmlns:ns1="urn:oracle:integration:b2b:EB1F987EE11A4A3E98E3345554E5DB13" Standard="EDIFACT" Version="VD96A" GUID="{2d333538-3630-3735-3039-313132343638}" xmlns="urn:oracle:integration:b2b:EB1F987EE11A4A3E98E3345554E5DB13">
    <ns1:Segment-UNH>
    <ns1:Element-0062>3210012325</ns1:Element-0062>
    <ns1:Composite-S009>
    <ns1:Element-0065>INVOIC</ns1:Element-0065>
    <ns1:Element-0052>D</ns1:Element-0052>
    <ns1:Element-0054>96A</ns1:Element-0054>
    <ns1:Element-0051>UN</ns1:Element-0051>
    <ns1:Element-0057>EAN008</ns1:Element-0057>
    </ns1:Composite-S009>
    </ns1:Segment-UNH>
    <ns1:Segment-BGM>
    <ns1:Composite-C002>
    <ns1:Element-1001>380</ns1:Element-1001>
    </ns1:Composite-C002>
    <ns1:Element-1004>3210000019</ns1:Element-1004>
    </ns1:Segment-BGM>
    <ns1:Segment-DTM>
    <ns1:Composite-C507>
    <ns1:Element-2005>137</ns1:Element-2005>
    <ns1:Element-2380>21120821</ns1:Element-2380>
    <ns1:Element-2379>102</ns1:Element-2379>
    </ns1:Composite-C507>
    </ns1:Segment-DTM>
    <ns1:Loop-Group_1>
    <ns1:Segment-RFF>
    <ns1:Composite-C506>
    <ns1:Element-1153>VN</ns1:Element-1153>
    <ns1:Element-1154>3210012325</ns1:Element-1154>
    </ns1:Composite-C506>
    </ns1:Segment-RFF>
    <ns1:Segment-DTM>
    <ns1:Composite-C507>
    <ns1:Element-2005>171</ns1:Element-2005>
    <ns1:Element-2380>21120821</ns1:Element-2380>
    <ns1:Element-2379>102</ns1:Element-2379>
    </ns1:Composite-C507>
    </ns1:Segment-DTM>
    </ns1:Loop-Group_1>
    <ns1:Loop-Group_2>
    <ns1:Segment-NAD>
    <ns1:Element-3035>BY</ns1:Element-3035>
    <ns1:Composite-C082>
    <ns1:Element-3039>541218011234</ns1:Element-3039>
    <ns1:Element-3055>9</ns1:Element-3055>
    </ns1:Composite-C082>
    <ns1:Composite-C058>
    <ns1:Element-3124>Flex ABC Division GH-94404</ns1:Element-3124>
    </ns1:Composite-C058>
    <ns1:Composite-C080>
    <ns1:Element-3036>ABC ABC Ltd</ns1:Element-3036>
    </ns1:Composite-C080>
    <ns1:Composite-C059>
    <ns1:Element-3042>tyu Wei 45</ns1:Element-3042>
    </ns1:Composite-C059>
    <ns1:Element-3164>werentem</ns1:Element-3164>
    <ns1:Element-3251>B-455</ns1:Element-3251>
    <ns1:Element-3207>BE</ns1:Element-3207>
    </ns1:Segment-NAD>
    </ns1:Loop-Group_2>
    <ns1:Loop-Group_7>
    <ns1:Segment-CUX>
    <ns1:Composite-C504>
    <ns1:Element-6347>2</ns1:Element-6347>
    <ns1:Element-6345>EUR</ns1:Element-6345>
    <ns1:Element-6343>4</ns1:Element-6343>
    </ns1:Composite-C504>
    </ns1:Segment-CUX>
    </ns1:Loop-Group_7>
    <ns1:Loop-Group_8>
    <ns1:Segment-PAT>
    <ns1:Element-4279>5</ns1:Element-4279>
    <ns1:Composite-C110>
    <ns1:Element-4277>30</ns1:Element-4277>
    </ns1:Composite-C110>
    <ns1:Composite-C112>
    <ns1:Element-2475/>
    <ns1:Element-2009/>
    <ns1:Element-2151>D</ns1:Element-2151>
    <ns1:Element-2152>30</ns1:Element-2152>
    </ns1:Composite-C112>
    </ns1:Segment-PAT>
    <ns1:Segment-DTM>
    <ns1:Composite-C507>
    <ns1:Element-2005>12</ns1:Element-2005>
    <ns1:Element-2380/>
    <ns1:Element-2379>102</ns1:Element-2379>
    </ns1:Composite-C507>
    </ns1:Segment-DTM>
    <ns1:Segment-PCD>
    <ns1:Composite-C501>
    <ns1:Element-5245>12</ns1:Element-5245>
    <ns1:Element-5482/>
    </ns1:Composite-C501>
    </ns1:Segment-PCD>
    <ns1:Segment-MOA>
    <ns1:Composite-C516>
    <ns1:Element-5025>21</ns1:Element-5025>
    <ns1:Element-5004/>
    </ns1:Composite-C516>
    </ns1:Segment-MOA>
    </ns1:Loop-Group_8>
    <ns1:Loop-Group_25>
    <ns1:Segment-LIN>
    <ns1:Element-1082>1</ns1:Element-1082>
    </ns1:Segment-LIN>
    <ns1:Segment-PIA>
    <ns1:Element-4347>NH</ns1:Element-4347>
    <ns1:Composite-C212_1>
    <ns1:Element-7140>LDI323010</ns1:Element-7140>
    </ns1:Composite-C212_1>
    </ns1:Segment-PIA>
    <ns1:Segment-IMD>
    <ns1:Element-7077>F</ns1:Element-7077>
    <ns1:Element-7081>DSC</ns1:Element-7081>
    <ns1:Composite-C273>
    <ns1:Element-7008>ABCD IND/ Lux</ns1:Element-7008>
    </ns1:Composite-C273>
    </ns1:Segment-IMD>
    <ns1:Segment-QTY>
    <ns1:Composite-C186>
    <ns1:Element-6063>46</ns1:Element-6063>
    <ns1:Element-6060>10</ns1:Element-6060>
    </ns1:Composite-C186>
    </ns1:Segment-QTY>
    <ns1:Loop-Group_28>
    <ns1:Segment-PRI>
    <ns1:Composite-C509>
    <ns1:Element-5125>AAA</ns1:Element-5125>
    <ns1:Element-5118>769.31</ns1:Element-5118>
    </ns1:Composite-C509>
    </ns1:Segment-PRI>
    </ns1:Loop-Group_28>
    <ns1:Loop-Group_29>
    <ns1:Segment-RFF>
    <ns1:Composite-C506>
    <ns1:Element-1153>ON</ns1:Element-1153>
    <ns1:Element-1154>3210000025</ns1:Element-1154>
    <ns1:Element-1156>1</ns1:Element-1156>
    </ns1:Composite-C506>
    </ns1:Segment-RFF>
    </ns1:Loop-Group_29>
    <ns1:Loop-Group_33>
    <ns1:Segment-MOA>
    <ns1:Composite-C516>
    <ns1:Element-5025>124</ns1:Element-5025>
    <ns1:Element-5004>461.59</ns1:Element-5004>
    </ns1:Composite-C516>
    </ns1:Segment-MOA>
    </ns1:Loop-Group_33>
    <ns1:Loop-Group_38>
    <ns1:Loop-Group_43>
    <ns1:Segment-TAX>
    <ns1:Element-5283>7</ns1:Element-5283>
    <ns1:Composite-C243>
    <ns1:Element-5278>6</ns1:Element-5278>
    </ns1:Composite-C243>
    <ns1:Element-5305>S</ns1:Element-5305>
    </ns1:Segment-TAX>
    </ns1:Loop-Group_43>
    </ns1:Loop-Group_38>
    </ns1:Loop-Group_25>
    <ns1:Loop-Group_50>
    <ns1:Segment-MOA>
    <ns1:Composite-C516>
    <ns1:Element-5004/>
    </ns1:Composite-C516>
    </ns1:Segment-MOA>
    </ns1:Loop-Group_50>
    <ns1:Segment-UNT>
    <ns1:Element-0074>#SegmentCount#</ns1:Element-0074>
    <ns1:Element-0062>3210000019</ns1:Element-0062>
    </ns1:Segment-UNT>
    </Transaction-INVOIC>
    </part></Invoke_SendInvoiceToB2b_Enqueue_InputVariable_1>

    Hi Vikky,
    Glad that it worked but I am wondering why alphanumeric will allow only UPPERCASE characters. It works properly for me with lowercase characters as well. If you don't mind, can you please forward your ecs, xsd and the sample payload to my id (in my profile). Just want to check where is the gap.
    Regards,
    Anuj

  • Custom data type version number conflicts

    I am new to Teststand software interface.  While doing my first software release under the guidance of a more experienced colleague, we discovered that Teststand will not run if it detects version number conflicts between custom data types on my machine vs. the production test machine.  I verified differences between all .seq files in my test program directory, but I did not realize that the version number difference exists in the StationGlobals.ini file, which is stored in a different location.  After discovering this, I modified the version number in one of the files.  However, two releases later, I discovered that the version number mismatches in another two files.  This raises several questions for me :
    1.  Is there a way in Teststand to view all the .seq files where a custom data type is used and then change its version number in one attempt?
    2.  Under what instances does Teststand upgrade the version number of a custom data type?
    3.  Are there any tools or scripts within Teststand that can allow the version number of custom data types to be changed in all .ini files when a difference is discovered between the current production test station settings and a new release?
    Please help.

    You'll probably get better response in the TestStand Forum instead of the LabVIEW forum.
    1.  Is there a way in Teststand to view all the .seq files where a custom data type is used and then change its version number in one attempt?
    Look at the Types Window (Ctrl-T).  This should show which version of Custom Data Types are loaded for which sequence files.
    2.  Under what instances does Teststand upgrade the version number of a custom data type?
    As far as I know, anytime you edit a custom datatype which is already in memory, TestStand will update the version of the custom data type for the currently loaded sequences.
    3.  Are there any tools or scripts within Teststand that can allow the version number of custom data types to be changed in all .ini files when a difference is discovered between the current production test station settings and a new release?
    I think you can use the Types Window to do this but I'm not positive.

  • Questions on Merging Dis-similar Data Types...

    I am using Web-I version 11.5.8.834 (We do not use the Crystal Reports module, all of our reports are built with Web-I).
    I have two questions:
    Question 1: First I am attempting to create a report from two different universes and need to merge a dimension from each universe.  The two dimensions have similar data, but one is set up as a "string", and the other universe has the same data set up as a "number".  Our IT department creates and maintains the universes and I have requested that one of the dimension data type be changed to match the other, but I am told that other users have already set up reports using these dimensions and to change them at this point might cause a problem with their reports.  So my first question is: Can two separate dimensions be setup within a single universe, using the same data field, each having different data types (e.g., a field with numeric data be set up as a "string" and a second dimension be setup as a "number")?  If this works, I can make a recommendation to our IT department to do this and I will not have to resort to Question 2.  but just in case, here is Question 2:
    Question 2: I have two other dimensions that I might be able to use, but it requires creating a variable and "trimming" data off of each of the fields.  The first universe is a part number with three alpha characters followed by four numeric characters (PRT1234).  The second universe has a serial number, in which the first four characters match the last four characters of the other universe (1234-00111).  If I trim off the first three characters from the first universe using a variable (=right([Part_Number];4), and trim off the last six characters from the second universe using a variable (=left([Serial_Number],4), the variables will have matching data.  The second question is: Can variables be merged?  I've tried, but it isn't working so far.  If so, can someone give me some hints on how to do it?
    Edited by: Charles Norman on Aug 8, 2008 11:42 AM
    Edited by: Charles Norman on Aug 8, 2008 11:43 AM

    Charles,
    Can variables be merged?
    No, local variables cannot be merged.  The manipulation must be performed at the database level via Designer before the data comes across to the report.  As an aside, your IT deparatment can create "new" objects just for you, placed in the list under a separate sub-class that manipulates the data to your liking and will not upset other users who already built reports using the original columns of data.  I guess my point is that you can have multiple objects placed in your universe that derive from the same column in a given table -- user A has it per their flavor and user B has it per his flavor.
    Thanks,
    John

  • Error while transporting a data type

    Hello all SAP PI Experts,
    I'm trying to transport a data type but I'm getting the below mentioned error.
    This is happening even when I gave the proper name of SWCV that contains this data type.
    Please suggest how this problem can be solved.
    Thanks,
    Ajeya G V

    Hi Ajeya,
         An easy trick is to open the DataType on your Enterprise Service Builder, and once it is opened,  (not edit, just open) go to Tools --Export Design Object
    The correct SC will be filled as default.

  • What are the corresponding Data Types of some MDM Data Types

    Hi Guys,
    The MDM ABAP API involves creation of a DDIC structure in SRM. This structure should have the same fields with the MDM table fields. We would like to ask the corresponding ABAP Data Types for the following MDM Data Types.
         MDM                                                         SRM
    1.  Look up (flat)
    2.  Look up (taxonomy)
    3.  Look up (heirarchy)
    4.  Look up (qualified flat look up)
    Any significant inputs on this?
    Thanks and regards,
    RE

    Hi,
    Refer the below link. This is from the MDM Reference guide and contains the sample source code as well for almost all the things like creating repository, creating tables and fields etc. It would be helpful to you.
    http://help.sap.com/saphelp_mdm550/helpdata/en/47/5fd3f7cbd75518e10000000a421138/frameset.htm
    Regards,
    Jitesh Talreja

Maybe you are looking for

  • Personas- what are the settings required to make them display

    I have an XP machine where personas only show as a solid color. I have a WIN 7 machine with multiple users - some users work fine and some switch off and on between working and showing only a solid color. I want to know the config settings to look at

  • Receiver determination for ALEAUD??

    Hi,     I have configured my ALEAUD for a (B2B partner) R3 -> PI (B2b) - > PI (local) - >  R3 (local) scenario... I have requested the partner PI system to map their systems to my business systems in their Receiver determination step - header mapping

  • Error System "Item does not exist. It may have been deleted by another user"

    Error System "Item does not exist. It may have been deleted by another user" in sharepoint 2010 This is problem show when User new item in List . User open new item page about 3 pages and User save each one page when page save complete , User will sa

  • JavaScript -- Forgive me...

    I have the following script running on a JSP page for a hangman game. It works great in IE and Opera, but not Firefox or Netscape: <script type="text/javascript" language="JavaScript">      function submitGuess() {           var code;           var e

  • Solution (sort of) for Safari hangs/failure to load

    I and several others have been experiencing frequent hangs (or failure to load) with Safari 5.0.2 and 5.0.3 under OS X 10.6.5 and 10.6.6. Out of about 100 page loads, these hangs occur about twice. All pages stop loading and the progress bar stops at