Reading Cluster using Objective C

I want to read a value of cluster created by LabView from a specific IP address using Objective-C on an iPad. How a cluster is packed so that I have to break the cluster on the side of the Objective-C? The data that I have to read contains a mass of different types of digital data (8 bit wide 16-bit integer, number of details of 6 digits and precision 15-digit numbers), 3 ropes and 2 Boolean values 1 32-bit integer.

If they simply send the cluster, I think you'll have to reverse engineer the format used by LabVIEW. If I remember correctly, it's a concept similar to what I suggested. However I do know not all values NOR for their data types and other ID. Do you know how the LabVIEW is written? They flatten a chain when sending data? Knowing it would help.

You should also be aware that someone changes the cluster (worst case simply rearranges the elements) your data content will change. The data will be reorganized and there is no way in a simple don't flatten to a string (which I think they do) you will be able to detect it.

Relying on the order from a cluster can be misleading because there is nothing to help enforce the format of the data or an easy way to communicate it (think header file) to the C code.

Tags: NI Software

Similar Questions

  • Read only view object replaces all of my attributes transitional when I change it

    We have a read only view object that is a large query that calls a stored procedure.   If I change the query and simply add a space character and save it, all the attributes change to be transitional and it completely breaks the view object.   The query uses an alias for each of the selected values, and I was able to replicate this with the simple query stand alone below.

    SELECT "Value1" as requestId,

    'value2' as accountId,

    "value3" as "Mr_Barcode1."

    "value4" as "dr_date."

    "Value5" as "dr_user_first_name".

    Of the DOUBLE

    Create a read-only display object and paste the query above in the sql pane and keep.   It creates correctly calculated for the 5 columns returned attributes.    Then enter and modify the query and change anything (add a space) and save.   The last 3 attributes get changed to transients and the expression gets deleted in each attribute

    It's about Jdeveloper 11.1.1.4.   I thought I would post here first of all before you try open a bug with Oracle.

    I discovered that the problem is related to what the quotes around the alias.  The person who created this originally borrowed display object from another application and the alias sql was points/periods in the names and the only way that works if you put quotes around it as below.   That works well in SQL Developer, but I get the obvious mentioned the problem when using this query in jdeveloper.   If I remove the points and the quotes in the alias I don't encounter this problem.

    SELECT "Value1" as request_Id,

    'value2' as argument account_Id,

    "value3" as "d.barcode_Id."

    "value4" as "d.date1."

    "Value5" as "d.first_Name".

    Of the DOUBLE

    Gets the XML in view objects defined like this (apostrophes around the double quotes).  It works the first time you save but when you edit the expression is removed, it gets changed to a transitional.

    AliasName = ' "dr_date."

    Expression = ""dr_date"

    I still think it's a bug, but now I can work around it.

  • write a graph in a cluster using a refnum does not?

    Hi all

    A little bit of a weird (I think). I'm trying to update a table that is in a cluster using a refnum.

    See the attached example, Boolean updates correctly, but not the graph (above). Y at - it something I'm doing wrong or can graphics simply can't be updated in this way?

    With the help of LV 8.6 in Win XP (SP3).

    Ideas?

    PNR

    It does not work. You must remove the reference for the cluster chart and update it in this way. See attached mod.

  • How to open a pdf and read/print using Microsoft Works file?

    Error message: Works cannot open "C:\Users\Desktop\Zeke's Menu.pdf.  The file may be in use by another application, the file format is not supported by any of the installed converters or the file may be corrupt.

    How to open this file and read/print using Microsoft Works or Notepad or something else?

    You can't with these programs - (there is no same Modules for these programs) - you need another program.  You must download the free Acrobat Reader http://www.adobe.com/products/reader/ allowing you to read and print PDF files (but you will not be able to edit/modify them with this program).

    To edit/change you need another program like free PDF Editor: http://www.freedownloadscenter.com/Business/MS_Office_Add-ins/Free_PDF_Editor.html.  You can also download the free OpenOffice Suite 3.2 http://www.openoffice.org/ which is capable to download and work with PDF files (via the writer program).  The good thing about OpenOffice is that you can then save the file in another format which CAN be read and used by Microsoft Works or Notepad (even though it may look very different without the features of PDF).  OpenOffice is very similar to Microsoft Office and most of the people who do not want to pay for Microsoft Office get OpenOffice instead because it is by far the best alternative (and some say that it is even better - although I don't agree with that).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I read or use the unallocated Partition?

    My external hard drive has two partitions. We're "Healthy (primary partition)", the other is "unallocated".

    I can see health as a disc but not the unallocated partition. How can I read or use the unallocated Partition?

    When I right click on the partition menu popup are faded/not usable.

    You can create a partition in the unallocated in disk management space.

    Right-click on the unallocated space and create a partition.

    If you have a partition on the disk using all the space you need to set as GPT instead of MBR.  Windows will not accept a partition of about 2 GB max on a game of MBR disk.

  • Nested reading XML using XQUERY in the PL/SQL procedure

    I'm using Oracle 11 G.
    I have a PL/SQL procedure, which is reading XML using xquery XMLTYPE column in a table. The XML contains data of the DEPARTMENT and its SECTIONS. DEPARTMENT has a to-many with SECTIONS or a DEPARTMENT can have one or more SECTIONS, and there may be cases where the DEPARTMENT will have all SECTIONS.

    The XML structure is such that
    <DATA>
    label to identify a DEPARTMENT and all its corresponding SECTIONS.

    XML
    <ROWSET> 
    <DATA>
     <DEPARTMENT>
      <DEPARTMENT_ID>DEP1</DEPARTMENT_ID>
      <DEPARTMENT_NAME>myDEPARTMENT1</DEPARTMENT_NAME>
     </DEPARTMENT>
     <SECTIONS>
      <SECTIONS_ID>6390135666643567</SECTIONS_ID>
      <SECTIONS_NAME>mySection1</SECTIONS_NAME>
      </SECTIONS>
       <SECTIONS>
      <SECTIONS_ID>6390135666643567</SECTIONS_ID>
      <SECTIONS_NAME>mySection2</SECTIONS_NAME>
      </SECTIONS>
     </DATA>
     <DATA>
     <DEPARTMENT>
      <DEPARTMENT_ID>DEP2</DEPARTMENT_ID>
      <DEPARTMENT_NAME>myDEPARTMENT2</DEPARTMENT_NAME>
     </DEPARTMENT>
     <SECTIONS>
      <SECTIONS_ID>63902</SECTIONS_ID>
      <SECTIONS_NAME>mySection1</SECTIONS_NAME>
      </SECTIONS>
     </DATA>
    </ROWSET>
    XQUERY
    select
     department_id,
      department_name,
      sections_id,
      sections_name
    from
      OFFLINE_XML xml_list,
      xmltable(
        '
          for $department in $param/ROWSET/DATA
            return $department
        '
        passing xml_list.xml_file as "param"
        columns
          "DEPARTMENT_ID"   varchar2(100) path '//DEPARTMENT/DEPARTMENT_ID',
          "DEPARTMENT_NAME" varchar2(4000) path '//DEPARTMENT/DEPARTMENT_NAME',
          "SECTIONS_ID"     varchar2(100) path '//SECTIONS/SECTIONS_ID',
          "SECTIONS_NAME"   varchar2(4000) path '//SECTIONS/SECTIONS_NAME'
      ) section_list
    where
      xml_list.Status = 5
    The performance of the query, you receive an error
    ORA-19279: XPTY0004 - XQuery dynamic type mismatch: expected singleton 
    sequence - got multi-item sequence
    It is natural because I have several sections, now how I'll handle this situation.

    It's the usual approach to manage several nested collections:

    SQL> select d.department_id
      2       , d.department_name
      3       , s.sections_id
      4       , s.sections_name
      5  from offline_xml t
      6     , xmltable(
      7         '/ROWSET/DATA'
      8         passing t.xml_file
      9         columns
     10           DEPARTMENT_ID   varchar2(20) path 'DEPARTMENT/DEPARTMENT_ID'
     11         , DEPARTMENT_NAME varchar2(30) path 'DEPARTMENT/DEPARTMENT_NAME'
     12         , SECTIONS        xmltype      path 'SECTIONS'
     13       ) d
     14     , xmltable(
     15         '/SECTIONS'
     16         passing d.sections
     17         columns
     18           SECTIONS_ID     varchar2(20) path 'SECTIONS_ID'
     19         , SECTIONS_NAME   varchar2(30) path 'SECTIONS_NAME'
     20      ) s
     21  ;
    
    DEPARTMENT_ID        DEPARTMENT_NAME                SECTIONS_ID          SECTIONS_NAME
    -------------------- ------------------------------ -------------------- ------------------------------
    DEP1                 myDEPARTMENT1                  6390135666643567     mySection1
    DEP1                 myDEPARTMENT1                  6390135666643567     mySection2
    DEP2                 myDEPARTMENT2                  63902                mySection1
     
    
  • Reading XML using XSLT data

    I have a problem of reading xml using XSLT data. There is a CASE - 900000016, has two sequences. SEQ NO1 and NO2 SEQ. Each sequence has an activity. I try to display the info of the activity under corresponding sequences.

    SEQ 01

    Activity

    SEQ 02

    Activity

    This is the xml file.

    <? XML version = "1.0" encoding = "utf-8" standalone = "yes"? >
    < case >
    < EventList >
    < PAEvent >
    < CASENO > 900000016 < / CASENO >
    < > 01 SEQ_NO < / SEQ_NO >
    APPROVED < STATUS > < / STATUS >
    < REASON > < / REASON >
    < PR_NO > 506024 < / PR_NO >
    < SRV_BEG_DAT > 11/02/2010 < / SRV_BEG_DAT >
    < SRV_END_DAT > 11/02/2010 < / SRV_END_DAT >
    < / PAEvent >
    < PAEvent >
    < CASENO > 900000016 < / CASENO >
    < > 02 SEQ_NO < / SEQ_NO >
    APPROVED < STATUS > < / STATUS >
    < TYPE > < / TYPE >
    < REASON > < / REASON >
    < PR_NO > < / PR_NO >
    < SRV_BEG_DAT > 11/02/2010 < / SRV_BEG_DAT >
    < SRV_END_DAT > 28/02/2010 < / SRV_END_DAT >
    < / PAEvent >
    false < hasErrors > < / hasErrors >
    < / EventList >
    < ActivitiesList >
    < PAActivity >
    < CASE_NO > 900000016 < / CASE_NO >
    < > 01 SEQNO < / SEQNO >
    < ACTVTY_LN_NO > 03 < / ACTVTY_LN_NO >
    < ACTVTY_TYP >: < / ACTVTY_TYP >
    < UNIT_PRC > 16.2500 < / UNIT_PRC >
    < / PAActivity >
    < PAActivity >
    < CASE_NO > 900000016 < / CASE_NO >
    < > 02 SEQNO < / SEQNO >
    < ACTVTY_LN_NO > 01 < / ACTVTY_LN_NO >
    < ACTVTY_TYP > P < / ACTVTY_TYP >
    < UNIT_PRC > 0.0000 < / UNIT_PRC >
    < / PAActivity >
    false < hasErrors > < / hasErrors >
    < / ActivitiesList >
    < / Cases >


    XSLT code

    <? XML version = "1.0" encoding = "utf-8"? >
    < xsl: stylesheet version = "1.0" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" >
    < xsl: template match = "Case" >
    < div Id = "dvEvents" align = "center" >
    <!--list of events-->
    < table width = "75%" border = "0" >
    < style tr = "text-align: left;" background-color: gray; ">
    < td colspan = "8" class = "SmallBlackFontBolder" >
    < b > < /b > events
    < table >
    < /tr >
    < xsl: for-each select = "EventList/PAEvent" >
    < b >
    < class td = "SmallBlackFontBold" style = "" text-align: left; "width ="8% "> Seq No.: < table >"
    < class td = "SmallGreenFontBold" align = "left" width = "10%" >
    < xsl: value-of select = "SEQ_NO" / >
    < table >

    < class td = "SmallBlackFontBold" align = "left" width = "8%" > status: < table >
    < td align = "left" width = "11%" >
    < xsl: value-of select = "STATUS" / >
    < table >
    < /tr >

    < b >
    < td >
    <!--get the list of activities-->
    < xsl: for-each select = "Case/ActivitiesList/PAActivity" >
    < xsl: if test = "Case, EventList, PAEvent, SEQ_NO = case, ActivitiesList, PAActivity, SEQNO" >
    < table width = "75%" >
    < b >
    < class td = "SmallBlackFontBold" style = "" text-align: left; "width ="8% "> Seq No.: < table >"
    < class td = "SmallGreenFontBold" align = "left" width = "10%" >
    < xsl: value-of select = "Case, ActivitiesList, PAActivity, SEQNO" / >
    < table >
    Unit price < td >: < table >
    < td align = "left" width = "11%" >
    < xsl: value-of select = "Case, ActivitiesList, PAActivity, UNIT_PRC" / >
    < table >
    < /tr >
    < /table >
    < / xsl: if >
    < / xsl: foreach >
    <!--get the list of activities-->
    < table >
    < /tr >

    < b >
    < class td = "SmallBlackFontBold" align = "left" width = "8%" > reason: < table >
    < td align = "left" width = "20%" >
    < xsl: value-of select = "PAEvent/EventList/reason" / >
    < table >
    < td > < table >
    < td > < table >
    < class td = "SmallBlackFontBold" align = "left" width = "14%" > PR_NO: < table >
    < td align = "left" width = "18%" >
    < xsl: value-of select = "PAEvent/EventList/PR_NO" / >
    < table >
    < /tr >

    < / xsl: foreach >
    < /table >

    < / div >
    < / xsl: template >
    < / xsl: stylesheet >

    Published by: 837989 on April 25, 2013 14:13
  • why we use objects?

    I wonder why the first block gives an error while second works very well. Why we use objects? I though that the nested tables are sufficient to use the table features.

    First block
    DECLARE
       TYPE parties_t IS TABLE OF plch_parties%ROWTYPE;
    
       l_parties   parties_t;
    BEGIN
       SELECT *
         BULK COLLECT INTO l_parties
         FROM plch_parties
        WHERE dancing_encouraged = 'Y';
    
       INSERT INTO plch_dance_parties
          SELECT party_name, max_attendees FROM TABLE (l_parties);
    
       plch_show_count;
    END;
    /
    Second block
    CREATE TYPE plch_parties_ot IS OBJECT
    (
       party_name VARCHAR2 (100),
       max_attendees INTEGER,
       dancing_encouraged CHAR (1)
    )
    /
    
    CREATE TYPE plch_parties_nt IS TABLE OF plch_parties_ot
    /
    
    DECLARE
       l_parties   plch_parties_nt;
    BEGIN
       SELECT plch_parties_ot (
                  party_name, max_attendees, dancing_encouraged)
         BULK COLLECT INTO l_parties
         FROM plch_parties
        WHERE dancing_encouraged = 'Y';
    
       INSERT INTO plch_dance_parties
          SELECT party_name, max_attendees FROM TABLE (l_parties);
    END;
    /
    Thank you

    You try to refer to a data structure of PL/SQL to a SQL query.
    The SQL engine doesn't know how to deal with a structure of PL/SQL locally defined.

    I heard this restriction would be removed in the next version if (12.1).

  • How to read bfile using dbms_lob.read and not raw characters

    Hi all
    Is it possible to read LOB using DBMS_LOB. READ so that the buffer is displayed in ASCII characters not BELIEVED. Suppose I have the following code:
    --create or replace procedure some_proc is
    declare
    note_clob clob;
    note_bfile bfile;
    note_var raw(10000);
    warning int;
    dest_off int:=1;
    src_off int:=1;
    lang_ctx int:=0;
    amount int:=1500;
    
    begin
    dbms_lob.createtemporary(note_clob,true);
    --note.txt is a text file
    note_bfile:=bfilename('TEMP_DIR','note.txt');
    
    dbms_lob.fileopen(note_bfile);
    dbms_lob.read(note_bfile,amount,1,note_var);
    dbms_lob.fileclose(note_bfile);
    dbms_output.put_line(to_char(note_var));
    
    end;
    /
    The DBMS_OUTPUT. Put_line shows the RAW data instead of its ASCII representation:
    53514C3E2073656C65637420696E7374616E63655F6E616D652C7374617475732C686F73745F6E616D652066726F6D207624
    696E7374616E63653B0D0A0D0A494E5354414E43455F4E414D45092053544154555320202020202020484F53545F4E414D45
    0D0A2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D202D2D2D2D2D2D2D2D2D2D2D2D202D2D2D2D2D2D2D2D2D2D0D0A696E61726109
    09204F50454E0920202020202066697265666C790D0A0D0A53514C3E2073656C656374202A2066726F6D2076247665727369
    6F6E3B0D0A0D0A42414E4E45520D0A2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D
    2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D0D0A4F7261
    636C652044617461626173652031316720456E74657270726973652045646974696F6E2052656C656173652031312E322E30
    2E312E30202D2036346269742050726F64756374696F6E0D0A504C2F53514C2052656C656173652031312E322E302E312E30
    202D2050726F64756374696F6E0D0A434F52450931312E322E302E312E300950726F64756374696F6E0D0A544E5320666F72
    204C696E75783A2056657273696F6E2031312E322E302E312E30202D2050726F64756374696F6E0D0A4E4C5352544C205665
    7273696F6E2031312E322E302E312E30202D2050726F64756374696F6E0D0A0D0A5B6F7261636C654066697265666C795D24
    206C736E7263746C207374617475730D0A0D0A4C534E5243544C20666F72204C696E75783A2056657273696F6E2031312E32
    2E302E312E30202D2050726F64756374696F6E206F6E2031332D4A554E2D323031312031363A30373A32330D0A0D0A436F70
    7972696768742028632920313939312C20323030392C204F7261636C652E2020416C6C207269676874732072657365727665
    642E0D0A0D0A436F6E6E656374696E6720746F20284445534352495054494F4E3D28414444524553533D2850524F544F434F
    4C3D49504329284B45593D45585450524F43313532312929290D0A535441545553206F6620746865204C495354454E45520D
    0A2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D0D0A416C696173202020202020202020202020202020202020
    2020204C495354454E45520D0A56657273696F6E20202020202020202020202020202020202020544E534C534E5220666F72
    204C696E75783A2056657273696F6E2031312E322E302E312E30202D2050726F64756374696F6E0D0A537461727420446174
    652020202020202020202020202020202031332D4A554E2D323031312031313A32393A35300D0A557074696D652020202020
    20202020202020202020202020202030206461797320342068722E203337206D696E2E203333207365630D0A547261636520
    4C6576656C2020202020202020202020202020206F66660D0A53656375726974792020202020202020202020202020202020
    204F4E3A204C6F63616C204F532041757468656E7469636174696F6E0D0A534E4D5020202020202020202020202020202020
    2020202020204F46460D0A4C697374656E657220506172616D657465722046696C652020202F7573722F6C6F63616C2F6F72
    61636C652F70726F647563742F31312E322E302F6462686F6D655F312F6E6574776F726B2F61646D696E2F6C697374656E65
    722E6F72610D0A4C697374656E6572204C6F672046696C652020202020202020202F7573722F6C6F63616C2F6F7261636C65
    2F646961672F746E736C736E722F66697265666C792F6C697374656E65722F616C6572742F6C6F672E786D6C0D0A4C697374
    656E696E6720456E64706F696E74732053756D6D6172792E2E2E0D0A2020284445534352495054494F4E3D28414444524553
    533D2850524F544F434F4C3D69706329284B45593D45585450524F43313532312929290D0A2020284445534352495054494F
    4E3D28414444524553533D2850524F544F434F4C3D7463702928484F53543D3132372E302E302E312928504F52543D313532
    Just curious to know if I can do this to DBMS_LOB. READ directly. Another way that I can do is use DBMS_LOB. LOADCLOBFROMFILE and not the DBMS_LOB. READ.

    Kind regards
    Val

    Hello
    Try this

      utl_raw.cast_to_varchar2(note_var)
    

    Edited by: user6806750 the 07.10.2011 01:59

  • It iOS Acrobat Reader - can use the Javascript/plugins?

    Hello

    Adobe has released the iPad/iPhone version of Acrobat Reader. I ask if it is possible to use javascript or other plugins plugins with it.

    Thanks in advance

    Adobe Reader for iOS does not have a model of plugin as one thing is prohibited by the iOS App Store Guidelines.   We also do not, at this time, supported by JavaScript.

    From: Adobe Forums [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Tuesday, October 18, 2011 02:15:18-0700

    To: Leonard Rosenthol [email protected]<>[email protected]>

    Subject: iOS Acrobat Reader - can it use Javascript/plugins?

    It iOS Acrobat Reader - can use the Javascript/plugins?

    created by DevAcrohttp://forums.adobe.com/people/DevAcro> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/3976933#3976933

  • Object LVOOP read/write using the API TestStand

    Is it possible to read/write a LVOOP object to a variable TestStand from LabVIEW using the API of TestStand?

    SetPropertyObject() takes a green wire reference, which is incompatible with an LVOOP object.  SetValVariant(), SetValIDispatch(), and SetValInterface() seems to just write a value null of type variant.  I don't know if I use the wrong API function or if it's just not possible.

    Hi jsiegel,

    That's right, it is not quite possible to what I believe, it is your intention. As mentioned, TestStand cannot create the object of LabVIEW. To make and use references of LabVIEW with TestStand, you need LabVIEW out this reference, which may then store it TestStand as an object reference. For VI requiring the obeject LabVIEW as an input, the registered object reference can be passed in. To make calls to LabVIEW classes using the class member call with a step of the VI Action instead of the call to VI for the Type.

    Of course, you need both LabVIEW and TestStand 2012 or newer in order to use these functions.

    Kind regards

  • problem reading DAQmx using Measurement Studio 2010 (even with examples OR)

    Hi all

    I'm reading the voltage using a map of NOR-DAQ-6211 with Measurement Studio 2010 SP1 V9.1.0.204. using Visual Basic .net 2010.
    When I create the task of data acquisition with the measurement studio Wizard, (Assistant DAQ) everything works fine. However, when I try to create my own task player in looking over the "ContAcqVoltageSamples_IntClk" everything I read is a value in the range of Vmin to Vmax (or to Vmin Vmax) and then she stays there no matter if I change my diet. Vmin and Vmax does not yet match my values of voltage. (It acts like that on my application and example of OR) I guess I missed a few initial settings. The config of AIChannel in two projects (manual task and Augo-Gen) use AIChannelConfig.RSE (I tried other options, but no luck).

    The only wiered thing is that when I open examples of projects, VS does not recognize the object references of NOR. Workspace names DAQmx. When I check the references, it shows that it does not find the reference to NI.Common. To make it work/compilation, removed from the solution and I again added. (I don't think this is related, as it seems that there are available tensions but not read correctly).

    The other thing is that my input voltage is 3 or 0 volt. When you use the manual DAQtask, when I toggle the voltage, the values displayed change momentarily the order of 0.001 Volts and then go back to their previous values of Vmax and Vmin.

    Is there more information I can provide?

    Help, please
    Thank you

    Yay! I just solved my problem,

    From the first moment I knew there was something fishy about this AITerminalConfig thingy! I made two errors:

    1. in the code example Configuration AI is encoded: CType (-1, AITerminalConfiguration) that caused the code example does not work for all channels to HAVE it

    2 - also, I have in my code, I had put this config to the correct value, but I was checking ai0 all the time while the signal was on another I. I was under the impression that since the example does not work for all my channels, then probably my code does not work as well.

    If after changing the line in the example for the correct terminal configuration settings, he began working for the AI number I was looking for too much and I found that my code worked for my AI # correctly from the beginning. I wasn't just to see it!

  • Creation of the virtual machine on a cluster using the vmcreate.pl script

    Hello

    I checked a few posts on this forum on how to create the virtual machine through vmcreate.pl, but responses was not so clear to me...

    These are the topics I've read:

    Create a VM on the Cluster instance

    How to configure the managed object HostSystem

    So, I would like to create a virtual machine on a Cluster, and not on a specific host. The vmcreate.pl script would have done the job? Or should I change it?

    In the topic = > VM create instance on Cluster I did not quite get, what I need to change...

    That's what I do:

    vmcreate.pl - server 'ESX NAME' - username "LOGIN" - password 'PASS' filename - vmcreate.xml - schema vmcreate.xsd


    Result:

    Creation of the 'myTestMachine ': VM error

    SOAP fault:

    -----------

    Error string: InvalidArgument

    The fault detail: InvalidArgument

    Here are the values of the XML file:

    < name > myTestMachine < / name >

    blah < Home > < / Host >

    blah < Center > < / Center >

    > Guest Id < Linioch < / comment-Id >

    blah < Datastore > < / Datastore >

    < > 2048 Disksize < / Disksize >

    > 256 MB memory < < / memory >

    < processor number > 1 < / number processor >

    < Nic-network > < / Nic-network >

    < Nic-Poweron > 1 < / Nic-Poweron >

    The values are correct the cause I checked the other perl scripts.

    Thanks in advance for your help

    Michal

    Thanks to xyz222 for the user and post Re: instance of VM to create the Cluster

    I was able at the end of the problem. So simple... The value of the in the xml file should be for example "rhel6_64Guest" and not a random word... that's all!

    sudo./vmcreate.pl--serveur SERVER - LOGIN - password PASS - filename... username/SampleData/vmcreate.xml - schema... /Schema/vmcreate.xsd

    Successfully created the virtual machine: 'teeest2' under host HOST_NAME

  • Reading file using JCA File adapter

    Hello

    I used Jdeveloper to create the Service file using read operations adapter synchronous to read the physical access defined statically, then Service path .csv file generated using eclipse with the importation of jca, xsd and wsdl generated in Jdeveloper, but when you run business service I get an error saying so no data to process while the file is present in this place that contains data also :

    The invocation was an error: check call JCA failed with connection error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus: / WSDL/file/FileReadService [SynchRead_ptt::SynchRead(Empty,body)] - SISM JCA Execute of 'SynchRead' failed due to operation: no data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    ; nested exception is:
    LIAISON. JCA-11007
    No data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    Please make sure that the file exists in the specified directory.

    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus: / WSDL/file/FileReadService [SynchRead_ptt::SynchRead(Empty,body)] - SISM JCA Execute of 'SynchRead' failed due to: no data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    ; nested exception is:
    LIAISON. JCA-11007
    No data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    Please make sure that the file exists in the specified directory.

    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:153)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:571)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to com.bea.wli.sb.transports.Util$ 1.invoke(Util.java:83)
    to $Proxy125.sendMessageAsync (Unknown Source)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:377)
    to com.bea.wli.sb.test.service.ServiceMessageSender.access$ 000 (ServiceMessageSender.java:76)
    to com.bea.wli.sb.test.service.ServiceMessageSender$ 1.run(ServiceMessageSender.java:134)
    to com.bea.wli.sb.test.service.ServiceMessageSender$ 1.run(ServiceMessageSender.java:132)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
    at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke (unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_1033_WLStub.invoke (unknown Source)
    at com.bea.alsb.console.test.TestServiceClient.invoke(TestServiceClient.java:174)
    at com.bea.alsb.console.test.actions.DefaultRequestAction.invoke(DefaultRequestAction.java:117)
    at com.bea.alsb.console.test.actions.DefaultRequestAction.execute(DefaultRequestAction.java:70)
    at com.bea.alsb.console.test.actions.ServiceRequestAction.execute(ServiceRequestAction.java:143)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$ 201 (PageFlowRequestProcessor.java:97)
    to org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ ActionRunner.execute (PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
    at com.bea.alsb.console.common.base.SBConsoleRequestProcessor.processActionPerform(SBConsoleRequestProcessor.java:91)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
    at com.bea.alsb.console.common.base.SBConsoleRequestProcessor.process(SBConsoleRequestProcessor.java:191)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
    at com.bea.alsb.console.common.base.SBConsoleActionServlet.doGet(SBConsoleActionServlet.java:49)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:687)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
    at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:76)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
    to com.bea.netuix.nf.ControlLifecycle$ 2.visit(ControlLifecycle.java:180)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3684)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus: / WSDL/file/FileReadService [SynchRead_ptt::SynchRead(Empty,body)] - SISM JCA Execute of 'SynchRead' failed due to the operation: no data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    ; nested exception is:
    LIAISON. JCA-11007
    No data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    Please make sure that the file exists in the specified directory.

    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:263)
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
    ... more than 117
    Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus: / WSDL/file/FileReadService [SynchRead_ptt::SynchRead(Empty,body)] - SISM JCA Execute of 'SynchRead' failed due to the operation: no data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    ; nested exception is:
    LIAISON. JCA-11007
    No data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    Please make sure that the file exists in the specified directory.

    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:667)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:357)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:316)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:359)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:257)
    ... more than 118
    Caused by: LIAISON. JCA-11007
    No data to process.
    No data to process.
    D:\ReadFile\"fileB.txt" file to process is not found or is not available or has no content
    Please make sure that the file exists in the specified directory.

    at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:272)
    at oracle.tip.adapter.file.outbound.FileReader.executeFileRead(FileReader.java:178)
    at oracle.tip.adapter.file.outbound.FileInteraction.executeFileRead(FileInteraction.java:331)
    at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInteraction.java:395)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:534)
    ... more than 122

    Kind regards
    Afonso

    Why these additional quotes?

    'FileB.txt '.

  • reading of the objects in another schema schema

    My requirement is to create a schema and grant privileges to read all objects in another main schema, including the functions and procedures. creating a role and assigning it to the schema will read or select the tables, but she will not allow the user to see the description of a function, or a procedure. can you please tell me what are my options. Thank you.

    Hello

    Yes you can GRANT SELECT privilege to allow access to Tables / views, and GRANT EXECUTE privilege on the procedures in another schema.

    You can also CREATE SYNONYM of these Tables in order to hide their location. There is a way to ensure the transparency of the location, otherwise use views or procedures.

    These links can give you a few tracks on the transparency of the situation and manage privileges:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28310/ds_admin006.htm

    http://download.Oracle.com/docs/CD/B28359_01/network.111/B28531/authorization.htm#DBSEG004

    Hope this helps.
    Best regards
    Jean Valentine

Maybe you are looking for

  • on start-up, firefox connects twice to hompage

    Dear Forum,on start-up, firefox connects to the homepage (google) twice.the same problem occurs in google chrome but not internet explore. I have the latest version of firefox.have you tried with disabled addons but the problem persists. many thanks

  • I forgot the questions of security and rescue by email.

    I tried to change my password iCloud, but they asked security questions. Honestly, I have it created a long time ago, how I could remember it. And then they ask for emergency e-mail, they gave me "t•••@yahoo.com", I have no email like that. How to ch

  • Satellite A60 - very slow USB transfer speed

    Hello I have a Satellite A60 with XP Home and the USB transfer speed is very very low. Is 2.0, but it is not working properly, because it takes about 30 minutes to copy the data from 1 GB on a USB 2.0 drive externally. I tried my USB drives on anothe

  • Speakers not detected

    Speaker problems I just moved and got my computer set up. I can't get the speakers to work, they worked very well others home. Everything is connected correctly, I think. It is the configuration of two Bose speakers. Any suggestions?

  • C:\\Windows\system32\ksproxy.AX error message when you try to use a new webcam with Skype

    I have a new webcam which is recognized by my computer but displays always the followed error message... .. If the other is not designed to run on Windows or it contains an error. Try to install the program by using the original installation media or