Unexpected values at the moment to receive serial data

Hi,
I've been a time trying to fix this and looking for forums but unfortunately I can't figure out how to solve it. I hope you can help me a bit.
I am working in a project which I have to send some information via ZigBee technology throught the serial port to my computer where there is another ZigBee module connected by serial port to LabView.
The point is that I am able to receive all the data well if I take some long delays and I really need to decrease my delays.
With low delays I receive zero values or even some values really out of range even when in some test I am just sending some fix values to debug it.
I think that it's a problem of synchronization but I don't know how to fix it.
PS: The reason cause I put a switch case even when the programm has to go out of the while when the Bytes at Port are zero, is cause i realise it doesn't. Just a way to be redundant in my goal.
I attached you the .vi file and a picture where it can be seen my problem (it's suppose to receive always some value around -1).
Thanks a lot for advance.
Attachments:
Untitled 2.vi ‏25 KB
chart.png ‏11 KB

Can you provide an example of expected data.
How to you determine the start or end of a data transmission?
It appears as though you are expecting to receive floating point numbers as a strings but you have no way of sychronizing to the start or end of a value.
Troy
CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
Beware of the man who won't be bothered with details. - William Feather
The greatest of faults is to be conscious of none. - Thomas Carlyle

Similar Messages

  • No value in the classification of material master data

    Hi:
    When I am going to assign the value into the class of batch type 023,and I found there is no value for me to choose,how add the value of class in customziation?

    Hi
    This will help you for config setting:
    Logistics general - Batch Management
    1.1. Specify Batch Level
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction  OMCT
    1.2. Batch Number - Activate Internal Number Assignment
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction  OMCZ
    1.3. Batch Creation - for Goods Movements 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements Transaction
    1.4. Characteristic Value Assignment -- Update Standard Characteristics 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics Transaction
    1.5. Activate Batch Classification for Goods Movements in Inventory Management 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction  OMCV
    1.6. Batch Determination u2013 Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction  OPLB
    1.7. Batch Determination u2013 Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction  V/C7
    1.8. Batch Determination u2013 Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction  OPLF
    1.9. Batch Determination u2013 Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction  V/C2
    1.10. Batch Determination u2013 Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction  OPLE
    1.11. Batch Determination u2013 Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction  V/C1
    1.12.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM   Search Procedure Transaction  OMCY
    1.13.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction  OPLG
    1.14.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction  V/C3
    1.15.  Batch Determination u2013 Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction  OMCG
    1.16. Batch Determination u2013 Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction  OPL8
    1.17.  Batch Determination u2013 Batch Search Procedure Allocation(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction  V/C5
    1.18.  Batch Determination u2013 Activate Automatic Batch Determination(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction  V/CL
    1.19.  Batch Determination u2013 Batch Selection Class
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction  CL01
    1.20.  Batch Determination u2013 Sort Rule
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction  CU70
    1.21.   Batch Determination u2013 Make Settings for Batch Where-used list
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction  OMBB
    Regards
    ram

  • Post processing the received serial data

    Hello,
    I want to process the data received by comport in labview where the transmitter device sends 22 bytes of data in this format 0x01 0x02 <18 bytes of information data with LSB first> 0x03 0x0D through the comport which should be read using Labview. I want to process the received 22 bytes in labview as below
    1)      Leave the first 2 bytes and last two bytes
    2)      From the left 18bytes each consecutive set of 3 bytes should be reversed (because the transmitter sends the LSB first) and stored in a text file.
    Can anyone suggest me the steps to implement this.
    Thanks.
    Solved!
    Go to Solution.

    PatanGova wrote:
    When first 2bytes are skipped and remaining 18 bytes are divided such that consecuitve 3 bytes are rearranged then it is considering 030D0102(which is rearranged as in spreadsheet2 of the attached image) which should not be.
    It is ignoring the first two bytes.  That's what the String Subset is doing.  You are taking starting on the thrid byte and up to 18 bytes.  If you put your Recieved Data on the output of the VISA Read, you would see that.
    PatanGova wrote:
    But I want to 1)skip the first two bytes(0x01 0x02) and last two bytes(0x03 0x0D).
    2)From the left 18bytes each consecutive set of 3 bytes should be reversed (because the transmitter sends the LSB first)
    Your code is already doing that.
    PatanGova wrote:
    3) arranged 3bytes value should be converted into 2's complement and want to plot the data (2's complement of arranged 3bytes) continuously such that there will 6 continous plots.(each consisting 2's complement of the rearranged 3bytes)
    Now that is a little more difficult.  A three byte Two's Compliment will take a little work.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is it possible for the client to receive constantly data over tcp without\n

    Hi
    I have a server that constantly outputs measuring data. I would like some help with the client application that receives data and directly outputs. Client application is just receiving without sending anything. I have tried
    BufferedReader stdIn = new BufferedReader(
    new InputStreamReader(System.in));
         String userInput;
         while ((userInput = stdIn.readLine()) != null) {
         out.println(userInput);
         System.out.println("echo: " + in.readLine());
    But it hangs, because there is no end of line from server, how should I proceed to constantly retrieve data from server?

    I tried with
    InputStream is = new BufferedInputStream(CLSocket.getInputStream());
    System.out.println("Connected");
    is.read();
    but my application hangs (is runing without stopp, looping forever) when it comes to is.read();
    what should I do?

  • How to include the value of the discount in the stock value ?

    Hi Friends;
    Is it possible to include the value of the discount (SKTO price condition) in the value of the stock when receiving a purchase order with MIGO
    How can I accomplish this?
    Best regards

    Like this?
    Done using chart Inspector.
    For details, see Chapter 7,  Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
    Regards,
    Barry

  • Job scheduling(passing the values to the child program)

    when i'm trying to schedule a background job(using job_open job_submit and job_close) i'm passing the values of the selection screen(parent program) to my child program using set parameter id. And trying to get the values using get parameter id in the cild program.
    But the values of the parent program are not being passed to the child program what may be the cause for it?

    rathan,
    Why con't you use
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    These options have the following effects:
    VIA SELECTION-SCREEN
    The selection screen of the called executable program (report) appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT.
    USING SELECTION-SET <var>
    This option tells the system to start the called program with the variant <var>.
    WITH <sel> <criterion>
    Use this option to fill individual elements <sel> of the selection screen (selection tables and parameters). Use one of the elements <criterion>:
    <op> <f> [SIGN <s>], for single value selection
    If <sel> is a selection criterion, use <op> to fill the OPTION field, <f> to fill the LOW field, and <s> to fill the SIGN field of the selection table <sel> in the called program.
    If <sel> is a parameter, you can use any operator for <op>. The parameter <sel> is always filled with <f>.
    [NOT] BETWEEN <f1> AND <f2> [SIGN <s>], for interval selection
    <f1> is transferred into the LOW field, <f2> into the HIGH field, and <s> into the SIGN field of the selection table <sel> in the called program. If you omit the NOT option, the system places the value BT into the OPTION field; if you use NOT, the system fills OPTION with NB.
    IN <seltab>, transferring a selection table
    This addition fills the selection table <sel> in the called program with the values of the table <seltab> in the calling program. Table <seltab> must have the structure of a selection table. Use the RANGES statement to create selection tables.
    WITH FREE SELECTION <freesel>, user dialog for dynamic selections
    To use this option, the called program must be connected to a logical database that supports dynamic selections. In the calling program, use the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. They allow the user to enter dynamic selections on a selection screen. One export parameter of these function modules has structure RSDS_TEXPR from the RSDS type group. Transfer the values of this export parameter by means of the internal table <freesel> of the same structure to the called report.
    WITH SELECTION-TABLE <rspar>, dynamic transfer of values
    You need an internal table <rspar> with the Dictionary structure RSPARAMS. The table then consists of the following six fields:
    SELNAME (type C, length 8) for the name of the selection criterion or parameter
    KIND (type C, length 1) for the selection type (S for selection criterion, P for parameter)
    SIGN, OPTION, LOW, HIGH as in a normal selection table, except that LOW and HIGH both have type C and length 45.
    This table can be filled dynamically in the calling program with all of the required values for the selection screen of the called program. If the name of a selection criterion appears more than once, the system creates a multiple-line selection table for that criterion in the called program. If the name of a parameter appears more than once, the system uses the last value. Note that LOW and HIGH have type C, so that the system executes type conversions to the criteria of the called program. This is important for date fields, for example. Before your program is used in a live context, you should check it using the VIA SELECTION-SCREEN addition.
    Except for WITH SELECTION-TABLE, you can use any of the above options several times and in any combination within a SUBMIT statement. In particular, you can use the WITH <sel> option several times for one single criterion <sel>. In the called program, the system appends the corresponding lines to the selection tables used. For parameters, it uses the last value specified. The only combination possible for the WITH SELECTION-TABLE option is USING SELECTION-SET.
    If the input fields on the selection screen are linked to SPA/GPA parameters, you can also use this technique to pass values to the selection screen (see Passing Data Between Programs).
    The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
    REPORT  demo_program_submit_rep1.
    DATA number TYPE i.
    PARAMETERS      paramet(14) TYPE c.
    SELECT-OPTIONS  selecto FOR number.
    The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
    REPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
    DATA: int TYPE i,
          rspar TYPE TABLE OF rsparams,
          wa_rspar LIKE LINE OF rspar.
    RANGES seltab FOR int.
    WRITE: 'Select a Selection!',
    SKIP.
    FORMAT HOTSPOT COLOR 5 INVERSE ON.
    WRITE: 'Selection 1',
         / 'Selection 2'.
    AT LINE-SELECTION.
      CASE sy-lilli.
        WHEN 4.
          seltab-sign = 'I'. seltab-option = 'BT'.
          seltab-low  = 1.   seltab-high   = 5.
          APPEND seltab.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH paramet eq 'Selection 1'
                          WITH selecto IN seltab
                          WITH selecto ne 3
                          AND RETURN.
        WHEN 5.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
          wa_rspar-low  = 14.  wa_rspar-high = 17.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
          wa_rspar-low  = 'Selection 2'.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
          wa_rspar-low  = 10.
          APPEND wa_rspar TO rspar.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          AND RETURN.
      ENDCASE.
    Pls. reward if useful...

  • Hexadecimal Reading does not match the reading of RealTerm Serial Capture

    Hi 
    I am reading the output of a serial device that spits out hexadecimal  characters. When I read its serial output with the VISA read block (using a string display with HexDisplay option on) I am getting hexadecimal characters. However, when I read the output of the device with a serial data capture program, such as RealTerm, the  captured data does not match with the ones that I read in my string display in LabVIEW. I know for sure that RealTerm spits out the correct hexadecomal characters since these characters are the same as the ones I am expecting. ( I am actually looking for  some specific header characters that I don't seem to get when I read with LabVIEW).
    Is there anyone out there who has an idea what the problem could be?
    Thank you very much.
    Serdar 

    Hi;
    Attached is the screenshot of RealTerm and the LabVIEW output. The hexadecimal character that I am  specifically looking for is 0X777F ( This indicates the beginning of the data whose format is 0x7FFF, 0x71DF, 0x0010, 0xFFF0, 0x0022, 0xFFA0, 0x0050, 0x0CCB, 0x0, 0x0, 0x0145). In the realterm screen shot, we can see  the characters 0XFF7F and the next 10 16-bits data words. Do you have any idea where I am making a mistake?
    By the way, another question: I think 0XFF7F  reads as 777F.  is there any command that I can use in LabVIEW that allows me to read these as 777F right off the bat? 
    Thank you very much for the response.
    Serdar 
    Attachments:
    LabVIEW Screen.png ‏152 KB
    RealTermScrenShot.PNG ‏89 KB

  • How to set the value in the xml node.

    Hi
    I am having the application PDF which can be submitted by user using the button. while submitting 
    i am using below code to set the value in the xml node.
       xfa.data.assignnode("employee.id","123",0):
    So its generating the xml like below.
    <employee>.
    <id>123</id>.
    </name>
    </employee>
    Now i need to generate the xml like  below.
    <employee id= "123" >
      </Name>
    </employee>
    So how to set/create the id node like above?
    Advance Thanks.
    Regards,
    Dhiyane

    Hi Dhiyane,
    You will have to set the contains property if the id node to "metaData", that is;
    xfa.data.assignNode("employee.id","123",0);
    xfa.data.employee.id.contains = "metaData";
    Very clumsy if you have a number of them, in which case you might want to look at using E4X.
    Good luck
    Bruce

  • Add field value to the existing internal table.

    how to add a field value to the existing internal table.
    DATA: BEGIN OF ITAB occurs 0,
                 EBELN TYPE EKPO-EBELN,
                 EBELP TYPE EKPO-EBELP,
                 AEDAT TYPE EKPO-AEDAT,
                 amount(10) type c,
               END OF ITAB.
    select * from ekpo
           into corresponding fields of table itab.
    itab-amount = '2400'.
    loop at itab where ebeln eq 70 .
           write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
             endloop.
    here output is not showing the amount field value.
    please tell me how to solve this problem urgent
    thanks in advance.

    Hi Sekhar,
        First let me know wheather you are assigning some value to the amount field externally to all records? if this is wright means check the below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    v_amount = '2400'.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,v_amount.
    endloop.
    or if you want to modify perticular records in itab  then use below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    amount(10) type c,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    loop at itab.
    itab-amount = '2400'.
    modify itab index sy-tabix (or perticular line number).
    endloop.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
    endloop.
    Thanks,
    Suma.

  • E-mail are received as DAT file instad of PDF

    Hi All,
    Please try to assist in this strange topic:
    When I try to send an e-mail via the SBO (press on the envelope button and choose u2018yesu2019 when
    the option u2018Would you like to attach an edited report to the e-mail?u2019 is display), the receiver is received a file with u2018DATu2019 extension and not with PDF extension and the receiver canu2019t open the file.
    I have tried to uninstall the acrobat reader 9 and install instead Foxit 3.1, but the problem still
    persists.
    In addition, I have found the this issue is reproduced only when the customer is using the Hebrew interface of SBO and the PDF file name is in Hebrew.
    When I switched to English interface of SBO, then the PDF file name is in English and the file is received correct (As PDF file).
    Another thing is that when you send the e-mail via the SBO (with the attached PDF) and open it
    on outlook (e.g. 2007), the file is received as DAT file,
    However If you open the e-mail on web mail (e.g. GMAIL), the file is received as correct PDF file, But when you send a regular e-mail (not via the SBO) with the attached PDF file and open it on outlook, the file is received As PDF file.
    Thanks,
    Erez

    I am afraid that there is a syntax or some codes in the interface that make the pdf converted into DAT file. You should ask the technical consultant or someone that developed the interface to make sure about it.
    If not, probably,  there is a problem with your current SAP B1 version. You could try to upgrade to the latest PL version of your current B1 application and then try again this case. if this is happened in the latest version, log a message to SAP Support.
    JimM

  • Relevance of Maximum Plan Value for Cost Center wise SKF plan Data

    Hi,
    Will you please tell me the relevence of data entered as Maximum Plan Value for the Cost center wise SKF data plan i.e. data entered through T Code KP46 using planning layout 1-301 with planning profile SAPALL.
    Regards,
    Partha B.

    Hi,
    Try 0CO_OM_CCA_1.

  • Using Digital I/O to generate serial data stream

    Hello All,
    I am in need to generate a serial data stream. HW I use is MIO-16E-10.
    I am planning to use the digital line out to generate the serial data stream.
    I seems that if I use the wait timer the minimum pulse width I can get is
    1ms. But for my application the pulses have to be shorter than that. I was
    wondering about an alternative way to achive this. Any one who has worked
    with a similar application please help!
    Thanks in advance!
    Anand.

    Anand,
    What you are looking to do is not possible with the digital lines on the board you have.
    Depending on what other connections you have on the board, you could use one of the two analog outputs to generate your required serial data stream using pattern generation. Check the DAQ solution wizard=>Custom DAQ applications=>Analog Output=>Generate continuous sine wave. This example should give you a baseline to get started. Substitute the sine wave generator for your desired digital stream Logic 0 =0V, Logic 1=5V.
    If you need more than 2 lines, or some form of handshaking, I would suggest using the PCI-6534 or (DIO-32-HS as it was previously called) This will give you the ability to generate serial data streams with timing and/or handshaking.

  • Program to decode serialized data?

    Is there a program around which displays the contents of a serialized data stream? Because I'm having a bit of difficulty in serializing some highly interlinked objects, and I suspect that a class is being serialized which shouldn't be. It would be good just to have a quick look at what objects are in the output file.
    I've seen the spec, and should obviously write a one-off program to do the decoding, but if there's something out there already it would save a lot of time.
    I tried doing a loop with
    Object o=objectInputStream.readObject();but it complained that the UIDs were wrong. Which of course was true.

    If you were to System.out.println(objectInputStream.readObject(); in your loop instead of assigning it to an object, does/will it still generate the UID error?
    I don't know of a program to do what you want, but I do know a tedious way to get around the UID error. When it gives you the error, copy down the UID number of the file, then go over to the class and declare private static final long serialVersionUID = /*the UID of the file followed by an L*/ I feel like it's almost a hack, but it will stop the UID mismatch, and you won't have to worry about it again. (I think. It worked for me when I had UID issues and realized it was because I wasn't declaring serialVersionUID like I should have been.)

  • I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem"

    I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem with this package.  The error code is 2324."

    Hi hongkongpom,
    Just wanted to say that after posting the problem, I had a chat with an iTunes' Tech Support, her name is Rebekah.  My problem was resolved after that.  Will list the chat history below in hopes that it may help you as well.
    Good luck!
    Samia  
    Chat Transcript
    Friday, October 4, 2013 05:55 AM
    Duration: 81 minutes 28 seconds
    Rebekah:
    Welcome to AppleCare chat support. Please give me a moment to look over your information.
    Rebekah:
    Hi, Samia! My name is Rebekah. If we get disconnected, please chat us back. http://www.apple.com/support/ipod/contactEnter the case number from the initial email we sent you. This gives the next advisor you chat with immediate access to your case history.
    Rebekah:
    Could you please confirm your serial number? I want to be sure we provide the best service possible for you, Samia!
    SAMIA:
    Sure, it's 8L8395UY2C5
    SAMIA:
    My problem is with iTunes.
    Rebekah:
    Thanks for that confirmation. Just a heads up, this is iOS Tech Support. We do support iPod touches, iPads, and iPhones, but not the iPod classic. But no worries! I can get you in touch with a phone Advisor who can get you in touch with the department that specializes in iPod classics and would be able to better assist you. Would that be OK?
    SAMIA:
    I wasn't able to install the new version of iTunes (version 11.1.1). The installation keeps failing. The they suggested the I install it manually and that failed too. I will attach the message I received.
    SAMIA:
    I don't have a problem with iPod.
    SAMIA:
    Just iTunes
    Rebekah:
    No problem! We can certainly troubleshoot iTunes as much as possible. It may come to the point that you may have to transferred, but we can do as much as possible during this chat!
    Rebekah:
    Thanks for the screenshot. It is a bit small so I am unable to fully see the message that you are receiving. What is the error message you are receiving?
    SAMIA:
    This is the message I received in case you weren't able to open the attachment: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324."
    Rebekah:
    Thanks for that info!
    SAMIA:
    Pleasure!
    Rebekah:
    What version of Windows (XP, Vista, 7) do you have?
    SAMIA:
    Windows 7
    SAMIA:
    Windows 7 Home Premium
    Rebekah:
    Thanks for that confirmation. I do apologize for the delay, Samia. I am researching this error code now. You mentioned trying to install iTunes manually. To be sure I am on the same page, what steps did you take to do that?
    SAMIA:
    Well when the indsatalltion failed I was given instructions to select Download Only from Tools and then install manually. When I did it, I window popped up with the following items: - AppleApplicationSupport
    SAMIA:
    - AppleMobileDeviceSupport64
    SAMIA:
    - Bonjour64
    SAMIA:
    iTunes64
    SAMIA:
    SetupAdmin
    SAMIA:
    I selected Repair in all of them instead of Remove and all worked but iTunes64
    SAMIA:
    That's when I received the message that I sent you earlier.
    SAMIA:
    By the way, this is the fir st time something like this occured. I never had problems with installation before.
    Rebekah:
    I completely understand what you're saying. Since that Repair did not resolve the issue, our best option is to uninstall iTunes and its components and redownload it. To do this, we will follow the steps in this article: Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Rebekah:
    First, we will want to quit iTunes and/or Apple Software Update if those are open at this time.
    SAMIA:
    Rebekah, the instructions you gave says, "For Windows XP, follow these steps to remove and reinstall iTunes and other software components for Windows XP."
    SAMIA:
    I closed all applications
    SAMIA:
    Also, my iTunes doesn't open anymore after the new failed installation.
    Rebekah:
    The section that says "For Windows XP…" is in case we opened up the wrong article, as we have the one for Windows Vista, 7, or 8. There is a link to click ("these steps") in those directions that would take us to the article for uninstalling on a Windows XP.
    Rebekah:
    So no worries! We have the right article!
    Rebekah:
    On the computer, we will want to click on Start > Control Panel. In Control Panel, we will click the "Uninstall a program" link.
    SAMIA:
    I thought so after doing a little exploration.
    SAMIA:
    done
    Rebekah:
    Alright, we'll want to select iTunes from the list of currently installed programs. Then we will click Uninstall. When asked if you would like to remove iTunes, let's click Yes.
    Rebekah:
    After the uninstallation is complete, we don't want to restart your computer if you're prompted.
    SAMIA:
    Done
    Rebekah:
    Then if you see other iTunes entries on the list, we'll want to remove them the same way.
    Rebekah:
    Then we will remove all instances of Apple Software Update the same way you removed iTunes.
    SAMIA:
    Okay, but do I have to remoce iCloud as well?
    SAMIA:
    Rebekah, I received the same error message again when uninstalling
    Rebekah:
    We actually do not need to remove iCloud. After the Apple Software Update, we will want to remove all instances of Apple Mobile Device Support
    Rebekah:
    How strange! Are you able to click past that and allow the process to continue or has it stopped it completely?
    SAMIA:
    I am unable to uninstall iTunes either
    SAMIA:
    Stopped completely
    SAMIA:
    I treied clicking Repair
    Rebekah:
    Alright, after trying the Repair option, let's see if it will allow us to continue uninstalling or not.
    SAMIA:
    I tried that but unfortunately, it isn't working. I still get that same message with error code 2324.
    Rebekah:
    This error code is not something that I am finding in my sources, Samia. So there is a chance that it is being caused with the Windows computer itself. However, I did find a link that may be able to help with uninstalling iTunes from Windows' support site: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    SAMIA:
    Rebekah, you're a genius! It worked! iTunes is no longer there. What next?
    Rebekah:
    Awesome! I'm glad that worked!
    Rebekah:
    To be sure I am on the same page, what was the last component we uninstalled?
    SAMIA:
    iTunes
    SAMIA:
    Shall I remove the Apple Application Support, Apple Mobile Device Support, and Apple Software Update
    Rebekah:
    That is correct! However, we do want to uninstall it in the order I mentioned above. So Apple Software Update first, Apple Mobile Device Support next, and then Apple Mobile Device Support.
    SAMIA:
    Got it, but is the second one to uninstall Apple Mobile Device Support OR Apple pplication Support?
    Rebekah:
    The second one is Apple Mobile Device Support.
    Rebekah:
    The Application Support will be the last component we uninstall.
    SAMIA:
    Thanks! I'm on it.
    SAMIA:
    Done! ll 3 are gone, well 4 with iTunes. Now what?
    Rebekah:
    Awesome! Also, I just noticed that I accidentally typed Apple Mobile Device Support twice, I do apologize for any confusion! Now we will remove all instances of Bonjour and then remove all instances of Apple Application Support.
    SAMIA:
    There was only 1 instance with Bonjour. I don't know what the instances are for Apple Application Support
    Rebekah:
    Yes, Bonjour is often only listed once. Is the Apple Application Support listed at all?
    SAMIA:
    No
    SAMIA:
    Since I removed it
    Rebekah:
    Oh, perfect! If it was removed, we should be set!
    Rebekah:
    We have removed iTunes and its components now! From here, our next step is to restart the computer. Then once you reboot, you can redownload iTunes from apple.com/itunes
    Rebekah:
    That should allow you to download iTunes!
    SAMIA:
    Shall I downloaad the latest vesion?
    Rebekah:
    You will want to first restart the computer as shown in the article. That will ensure that this process goes smoothly and that everything was removed correctly! Then you can try downloading iTunes again.
    SAMIA:
    Okay, thanks Rebekah!
    Rebekah:
    You're very welcome! I'm glad I could help! And of course if you have any issue after the reboot and download, you can always chat us back, as chat is open 24 hours! You will just need to give your case number and the next Advisor would have all my notes!
    SAMIA:
    Thanks again for all your help, for I couldn't have managed with out it. Have a nice day!
    Rebekah:
    You're very welcome! I know how important iTunes is and I'm glad we could get you on a path to resolution!
    Rebekah:
    I hope you have a lovely day!
    Rebekah:
    It's been a pleasure speaking with you! Thanks for chatting with us Samia. If you don't have any more questions, select End Chat from the upper left corner of the chat window.
    SAMIA:
    Will do, thanks.

  • Unexpected value type for Item Tag Name ; expected System.Single, received

    Hi,
    I am using PCo 2.1 with MII 12.1 to extract values from some PI tags. When I run the query, I get this error -
    Unexpected value type for Item <Tag Name>; expected System.Single, received System.String[Value = Scan Off]
    Can somebody explain what I need to do to get the correct result?
    Regards,
    Chanti.

    To make the service return "whatever is passed", you have to take a step back and realize that there is a little understanding of XML Schema required.
    When using a complexType, which is defined as a sequence, then you are implying an ordered sequence of elements. Default value for the 'minOccurs' attribute is 1. It's also important to understand that there is a difference between minOccurs=0 and nillable="true".
    nillable="true" just means that the name element can carry a null value. If you want the name element to be optional, then you must use the minOccurs=0 and keep the maxOccurs to it's default value of 1. Using an array is just a bad work around. This is for deserialization (XML to JAVA).
    The second part of you problem is on the serialization (or JAVA to XML). When you have a JAVA Bean, there is no way to make the difference between a member's value being null or not set, so it's impossible to decide if you need to send back a nul (xsi:nil="true"), an empty element <ns1:name/> or nothing.
    That said, if you do want to go the XML route, you can use the dataBinding="false" flag in the different WSA command. Instead of converting XML into JAVA, you will have SOAPElement parameters, where you can do all you want (see WS user's guide [1] for details - chapter 16). Note that you have to make sure that the WSDL (your contract) reflect what you are doing on the wire (format of your messages), so that you do not geopardize your interoperability with other toolkit.
    Note that this only applies to literal message formats (use attribute in WSDL), which is your case.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

Maybe you are looking for