Reading 21576 bytes of data at offset 3 in a buffer of total size 114

Logs claim it's a 'buffer overflow' - [2015-Jan-05 22:32:41] RDP (0): Exception caught: BufferOverflowException in file '../../gryps/misc/containers/flexbuffer.h' at line 421
Specifics: 
attempting to connect to virtual box running on localhost:55985
OSX: 10.9.5
RDP: 8.0.12
VirtualBox: 4.3.20
[2015-Jan-05 22:32:41] RDP (0): --- BEGIN INTERFACE LIST ---
[2015-Jan-05 22:32:41] RDP (0): lo0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
[2015-Jan-05 22:32:41] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
[2015-Jan-05 22:32:41] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
[2015-Jan-05 22:32:41] RDP (0): gif0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): stf0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): en0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): en0 af=30 (AF_INET6) addr=fe80::2acf:e9ff:fe1a:cc0d%en0 netmask=ffff:ffff:ffff:ffff::
[2015-Jan-05 22:32:41] RDP (0): en0 af=2 (AF_INET) addr=192.168.10.108 netmask=255.255.255.0
[2015-Jan-05 22:32:41] RDP (0): en4 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): en5 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): bridge0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): p2p0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): vboxnet0 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): vboxnet1 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): vboxnet2 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): vboxnet3 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): vboxnet4 af=18 addr= netmask=
[2015-Jan-05 22:32:41] RDP (0): --- END INTERFACE LIST ---
[2015-Jan-05 22:32:41] RDP (0): correlation id: 10b4ea14-964f-83df-bf55-4ff43fb10000
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to '127.0.0.1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to '::1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to 'fe80:1::1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Exception caught: BufferOverflowException in file '../../gryps/misc/containers/flexbuffer.h' at line 421
User Message : Reading 12112 bytes of data at offset 3 in a buffer of total size 82
[2015-Jan-05 22:32:41] RDP (0): correlation id: 10b4ea14-964f-83df-bf55-4ff43fb10000
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to '127.0.0.1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to '::1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Resolved 'localhost' to 'fe80:1::1' using NameResolveMethod_DNS(1)
[2015-Jan-05 22:32:41] RDP (0): Exception caught: BufferOverflowException in file '../../gryps/misc/containers/flexbuffer.h' at line 421
User Message : Reading 21576 bytes of data at offset 3 in a buffer of total size 114
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolDisconnecting(7)
[2015-Jan-05 22:32:41] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
[2015-Jan-05 22:32:41] RDP (0): ------ END ACTIVE CONNECTION ------
ps: the editor for posting on this forum is absolutely the most terrible I had ever seen.

Hi,
Please let us know which OS you are trying to connect. Because if you are running Windows 8 and not Windows 8 Pro then you won't be able to connect to your PC from any device. Windows 8 can't host an RDP session.  
Remote Desktop Client on Mac: FAQ
http://technet.microsoft.com/en-in/library/dn473006.aspx
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • To read 512 bytes using serial communication

    I want to read 512 bytes of data using rs 232 with the timeout of 30ms. I am using "Serial read with timeout -Palm.vi". Is there a limitation of the number of bytes I can specify to this VI?
    Thanks!!
    Attachments:
    Serial_Read_with_Timeout--Palm.vi ‏63 KB

    Hi software enigineer,
    It is not possible to transfer 512 bytes per 30 ms here. To do this would require a baud rate of 136533 (512*8/.03) and the maximum possible baud rate is 115000. The recommend baud rate for a serial transfer is 9600, which would mean transferring at most 36 bytes if the timeout is kept at 30ms. Moreover, there is usually some overhead involved in serial communication, and I would recommend sending a little less than the maximum 36 bytes every time too.
    On another note, I noticed that in your block diagram, you are using the Bytes at Serial Port vi. Definitely use the output of this vi to determine how many bytes to read at a time and read the bytes as they become available in the serial buffer rather than reading in a large buffer
    all at once. Continuously read and append the output until there are no more bytes to be read or until the termination character is read. This will avoid any lost data transmission due to overflow.
    Good luck with your program!
    Kileen Cheng
    Applications Engineer
    National Instruments

  • Hi, I am using USB 8476s to communicat​e to a slave unit in LIN network using LabVIEW7.1​. Can anyone tell me how i can send a header file plus 1 byte of data to the slave in a LIN network. or how do i use ldf file. i want to read responses from the slave

    Hi,   I am using USB 8476s to communicate to a slave unit in LIN network. Can anyone tell me how i can send a header frame plus 1 byte of data to the slave in a LIN network. or how do I communictae with slave using LabVIEW7.1.
    I want to read responses from the slave. When i tried with labview exapmle programs or even using MAX also, while doing some switching action in my slave, i am getting response as Device inactive with timestamp but there is no data format. 
    And I have Lin Description File. Can you suggest me how to use ldf file.
    I am at customer place and It would be great help from you if you can suggest me at the earliest. Thank you

    you may use the LDF Starter Kit to use LDF informations in your application
    http://joule.ni.com/nidu/cds/view/p/id/665/lang/en

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • TCP Read w/ #bytes=4 returns wrong data.

    On an initial TCP Read to a just-open connection, I can read any number of bytes, always getting the first n bytes from the arriving data. Except when I try to read 4 bytes! Then I get 4 bytes, but they're the seventh through ninth bytes, not the first four. Haven't found any other number that gives problems - 1,2,3,5,6,7,8,16,40,1020,etc. all work fine. Ideas?

    You may want to try runnig the Data Client and Data Server example VIs which ship with LabVIEW and see if they work on your system. The Client example actually reads in 4 bytes every time. I ran it and it works fine, so if yours exhibits the behavior you've been seeing, then the problem could be with your connection. Otherwise, if the example does work, then it could be somewhere in your code. Let us know what you find.
    J.R. Allen

  • How does the "Read TDMS" function work when reading part of a data file?

    Hi everyone,
    I have stored some rather large .lvm files that causing me a a big headache when trying to read/analyse the data.... As a work around I first convereted these files to .tdms.... Now the files are much smaller (50%) and can be load/plot within a couple of seconds rather than 10's of seconds.
    Specifically, the files include 7 channels of data that were sampled at 2kHz for about 8-9 mins..... So, each file contains about 700,000 data points or elements.... I am using a producer/consumer architechure to read/plot all the data, then using cursors to identify a data subset, which is send via a queue to the consumer where analysis occurs.... Given the size of the files, when subset is quite large I get "Out of Memory" errors and LabVIEW crashes.
    What I am thinking is that I can down-sample or decimate the data in the producer back to 1kHz (I need to ms resolution so I can see the spikes and can appropriately selected the subset) then index back into the original tdms file to send the undeciated data to the consumer.
    With the "Read TDMS" function, the help states:
    COUNT: Specifies the maximum number of data elements to read from the .tdms file for each channel. The default is –1.
    OFFSET: Specifies the number of data elements into the .tdms file at which the function begins analyzing the .tdms file. The default is 0.
    I am confused by the term "elements". Does this mean actual "data points" as in elements within the 2D array? Or bytes? I am hoping array elements... Would this then mean that given my 7 channels of data, each element value that is a multiple of 7 would index into a new line of data? I also assume this index is zero based... So with no offset, a count value of 0 would return all the data elements at time 0.0000s for all channels (regardless differences in the precision of each channel, unlike bytes), a value of 7 would return all the data elements at time 0.0005s, a value of 14 would return all the data elements at time 0.0010s, etc etc..
    Also, if anyone has any example code for indexing into a file using this method they could shareI would be very appreciative... I would assume a for loop could also be used to read the data subset into the consumer in smaller chunks to reduce the memory load?
    Many thanks,
    Jack

    You should have a different channel in the TDMS file.  So you are reading X elements from a channel starting at element Y.  Yes, those are elements in the array, not Bytes.  NI did a good job of making the API easy to use.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • TCP connection error when sending MODBUS commands to WAGO 750-881 controller after 113655 bytes of data have been sent

    Hi all,
    I am new to the world of labview and am attempting to build a VI which sends commands to a 750-881 WAGO controller at periodic intervals of 10ms. 
    To set each of the DO's of the WAGO at once I therefore attempt to send the Modbus fc15 command every 10ms using the standard Labview TCP write module. 
    When I run the VI it works for about a minute before I recieve an Error 56 message telling me the TCP connection has timed out. Thinking this strange, I decided to record the number of bytes sent via the TCP connection whilst running the program. In doing so I noticed that the connection broke after exactly 113655 Bytes of data had been sent each time. 
    Thinking that I may have been sending too many messages I increased the While-loop delay from 10ms to 20, 100 and 200 ms but the error remained. I also tried playing with the TCP connection timeout and the TCP write timeout but neither of these had any effect on the problem. 
    I cannot see why this error is occuring, as the program works perfectly up untill the 113655 Bytes mark. 
    I have attached a screenshot of the basic VI (simply showing a MODBUS command being sent every second) and of a more advanced VI (where I am able to control each DO of the WAGO manually by setting a frequency at which the DO should switch between ON and OFF). 
    If anybody has any ideas on where the problems lie, or what I could do to further debug the program this would be greatly appreciated. 
    Solved!
    Go to Solution.
    Attachments:
    Basic_VI.png ‏84 KB
    Expanded_VI.png ‏89 KB

    AvdLinden wrote:
    Hi ThiCop,
    Yes the error occurs after exactly 113655 bytes every time. The timeout control I would like to use is 10ms, however even increasing this to 1s or 10s does not remove the error, which leads me to believe that this is not the issue (furthermore, not adding any delay to the while loop, thus letting it run at maximum speed, has shown that the TCP connection is able to send all 113655 bytes in under 3 seconds again pointing towards the timeout control not being the issue here). 
    I attempted Marco's suggestion but an having difficulty translating the string returned into a readable string, (rightnow the response given is "      -#   +   ").
    As to your second suggestion, I implemented something similar where I created a sub VI to build a TCP connection, send a message and then close the connection. I now build each message and then send the string to this subVI which successfully sends the command to my application. Whilst not being the most elegant method of solving the issue, it has resolved the timeout problem meaning I am able to send as many commands as I want. So in that sense the problem has been solved. 
    If you still have tips on how to correctly read the TCP read output, I would however like to see if I could not get my first program to work as it is slightly more robust in terms of timing. 
    Modbus TCP RTU is a binary protocol, as you show in your Basic VI, where you format the data stream using byte values. So you have to interprete the returned answer accordingly with the Modbus RTU spec in hand. Now what is most likely happening is that the connection gets hung after a while since you do NOT read the data the device sends as response to your commands. The TCP/IP stack buffers those bytes and at some point the internal buffers overflow and the connection is blocked by the stack. So adding the TCP Read at strategic places (usually after each write) is the proper solution for this. Is there any reason that you didn't use the NI provided Modbus TCP library?
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • What is the best way to read high rate serial data?

    My goal is to read 14 bytes of binary data from an instrument over RS232 serial (baud 460800) at 2000 Hz. I have not gotten a high speed serial card yet so I am currently using the standard serial port (115200 baud) and reading at 400 Hz. I configure the serial port, flush the buffer then enter a while loop to read the incoming data. I have a visa read 14 bytes per interation every 0.0025 seconds (400 Hz). However it seems the sensor is spitting out data faster than labview can read it because bytes are accumilating at the port. After a while the buffer fills up and the program fails.
    Is there a better way to do this?
    Would it be better to read larger amounts of data less often, e.g. like 1400 bytes every 0.25 seconds?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    serial_read.jpg ‏161 KB
    serial_read.vi ‏19 KB
    bytes read.png ‏20 KB

    Here is a producer consumer approach.... not tested
    The unwrapping of the string could be done in a better way (didn't spend much time on it, not tested!! Just a quick mod from another post)
    Can't remember what is faster scan from string or match pattern or regular expression .....
    Avoid any frontpanel objects in the serial read loop to keep that thread independent from the GUI thread. Blocksize (128) should be optimized...
    EDIT: The scan loop will not work   
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    ProducerConsumerData 2.vi ‏29 KB

  • TEXT_CONVERT_XLS_TO_SAP uploading Zero Bytes of data

    Hi Guys,
                I am uploading an Excel data file.with GUI_Upload then next i am executing this FM but i am geetin 0 Bytes of data when data is there in the excel sheet.here is the codew
    START-OF-SELECTION.
        g_file = p_file.
        g_tab = cl_abap_char_utilities=>horizontal_tab.
        CALL METHOD cl_gui_frontend_services=>gui_upload
          EXPORTING
            filename                = g_file
            has_field_separator     = space
          CHANGING
            data_tab                = itab_text
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            not_supported_by_gui    = 17
            error_no_gui            = 18
            OTHERS                  = 19.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
          EXPORTING
      I_FIELD_SEPERATOR          = ','
       I_LINE_HEADER              = 'X'
            i_tab_raw_data             = itab_text
            i_filename                 = p_file
          TABLES
            i_tab_converted_data       = it_file[]
       EXCEPTIONS
         conversion_failed          = 1
         OTHERS                     = 2
                                     can anybody tell me how to get the data rom Excel file based on the above logic?
    Thanks,
    Gopi.

    Hi Gopi,
    We can use the Function module  TEXT_CONVERT_XLS_TO_SAP  to read the Excel file into the internal table. From this internal table you can fill the target internal table. 
    Do not need to use CALL METHOD cl_gui_frontend_services=>gui_upload.
    just declare ur internal table with fields use above function module. u dont need to give field separator while uploading data from excell file.
      report  zvenkat-upload-xl  no standard page heading.
    "Declarations.
    "types
    types:
          begin of t_bank_det,
            pernr(8)  type c,
            bnksa(4)  type c,
            zlsch(1)  type c,
            bkplz(10) type c,
            bkort(25) type c,
            bankn(18) type c,
          end of t_bank_det.
    "work areas
    data:
          w_bank_det type t_bank_det.
    "internal tables
    data:
          i_bank_det type table of t_bank_det.
    " selection-screen
    selection-screen begin of block b1 with frame title text_001.
    parameters p_file type localfile.
    selection-screen end of block b1.
    "At selection-screen on value-request for p_file.
    at selection-screen on value-request for p_file.
      perform f4_help.
      "Start-of-selection.
    start-of-selection.
      perform upload_data.
      "End-of-selection.
    end-of-selection.
      perform display_data.
      "Form  f4_help
    form f4_help .
      data:
            l_file_name like  ibipparms-path  .
      call function 'F4_FILENAME'
        exporting
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = 'P_FILE'
        importing
          file_name     = l_file_name.
      p_file = l_file_name.
    endform.                                                    " f4_help
    "Form  upload_data
    form upload_data .
      type-pools:truxs.
      data:li_tab_raw_data type  truxs_t_text_data.
      data:l_filename      like  rlgrap-filename.
      l_filename = p_file.
      call function 'TEXT_CONVERT_XLS_TO_SAP'
        exporting
          i_tab_raw_data       = li_tab_raw_data
          i_filename           = l_filename
        tables
          i_tab_converted_data = i_bank_det
        exceptions
          conversion_failed    = 1
          others               = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " upload_data
    " Form  display_data
    form display_data .
      data: char100 type char100.
      loop at i_bank_det into w_bank_det .
        if sy-tabix = 1.
          write w_bank_det.
          write / '------------------------------------------------------------'.
        else.
          write / w_bank_det.
        endif.
      endloop.
    endform.                    " display_data
    I hope that it solves ur problem.
    Regards,
    Venkat.O

  • Viewing individual bytes of data

    I am trying to read the individual bytes of data from a file format that LabView does not deal with. How Would I open the file and see the numeric vualue of each byte in LabView, if it is even possible?
    Thanks
    Beaton
    - there is always an easy way, but it is always the hardest to find

    Beaton wrote:
    I am trying to read the individual bytes of data from a file format that LabView does not deal with.
    One way or another, a file is just a long string of bytes. If you know the structure of the file, you can create appropriate code to parse it. Just read the file as a plain string and feed it to "string to byte array", you'll end up with an array where each element is one byte as U8 representation. Just use "index array" to get the element you want. (Of course you could do the same with substring to get one character, then set the display to hex).
    LabVIEW Champion . Do more with less code and in less time .

  • Charset declaration in template must be before 512 bytes of data

    I have an HTML5 template (well, as close as I can get to it since BC seems to add an XML namespace attribute on my HTML element) and on line 4 of my Sitewide Template I have the <meta charset="utf-8"> declaration which is required to be within the first 512 bytes of data for it to validate as HTML5.
    I have my homepage set to this Template and I have keyword and description meta data in the HEAD of the homepage and for some reason, BC moves my charset declaration from the 4th line of my Template to just above the keyword and description meta data which is right before the closing of the HEAD tag.
    Here's the site I'm moving over to BC: //mortgageunlimited.ignitemybusiness.com
    What's also weird is that on my homepage I moved a HTTP-EQUIV meta tag that directs IE to use the latest rendering engine or Chrome Frame and that meta tag is just before the closing HEAD tag on my page, but when I view the page with the Template applied to the page, it moves the HTTP-EQUIV meta to the top of the HEAD tag, just below the TITLE.
    Weird. The charset meta tag, if present, needs to be the first sibling of the HEAD element. Even before the TITLE element, since BC also adds an HTML comment <!-- BC_OBNW --> which takes up some of that 512 bytes of data that the charset element needs to be in.

    I'm not using the Admin editor to code my template. If you'd read my thread you'd see that I noted that BC is adding the xml namespace attribute on my html element. I don't have that in the code on my template.  Also, I'm talking about the charset meta tag, not the http-equiv meta tag.  You can still use the http-equiv meta tag to set the charset but the HTML5 spec also says that we can use the new charset meta tag instead and that it be in the first 512 bytes of data.  The Here's my template doctype and head elements:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Mortgage Unlimited, LLC</title>
    <link rel="stylesheet" href="/stylesheets/mortgage-unlimited.css">
    <link rel="stylesheet" href="/stylesheets/easy.css">
    <script src="//www.google.com/jsapi"></script>
    <script>
      google.load("jquery", "1.7.1");
      google.load("jqueryui", "1.8.17");
    </script>
    <script src="/scripts/main.js"></script>
    <script>
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <script>
    function validate()
              if (document.frmLoanOfficer.selLoanOfficerId.value == "")
                        alert("Please select a Mortgage Banker");
                        document.frmLoanOfficer.selLoanOfficerId.focus();
                        return false;
    </script>
    <script language="JavaScript" type="text/javascript">
              function validateQuote(){
                        var objForm = document.getElementById("frmquote");
                        if(objForm.loanType.value==""){
                                  alert("Please select Type of Loan");
                                  objForm.loanType.focus();
                                  return false;
                        if(objForm.creditHistory.value==""){
                                  alert("Please select Credit History");
                                  objForm.creditHistory.focus();
                                  return false;
                        if(objForm.monthlyExpenses1.value==""){
                                  alert("Please select Property Value");
                                  objForm.monthlyExpenses1.focus();
                                  return false;
                        if(objForm.loanAmount1.value==""){
                                  alert("Please select Loan Amount");
                                  objForm.loanAmount1.focus();
                                  return false;
                        if(objForm.FirstName.value==""){
                                  alert("Please enter First Name");
                                  objForm.FirstName.focus();
                                  return false;
                        if(objForm.LastName.value==""){
                                  alert("Please enter Last Name");
                                  objForm.LastName.focus();
                                  return false;
                        if(objForm.Email.value==""){
                                  alert("Please enter Email");
                                  objForm.Email.focus();
                                  return false;
                        if(objForm.Phone.value==""){
                                  alert("Please enter Phone");
                                  objForm.Phone.focus();
                                  return false;
    </script>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    </head>
    And here's my page doctype and head elements:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Mortgage Unlimited, LLC</title>
    <meta name="keywords" content="Mortgage Unlimited, LLC, home loan, mortgage, home purchase, refinance, debt consolidation, mortgage calculator, low interest rate, low mortgage rate, home finance, secure online mortgage application, home equity loan, bad credit, pre-qualify, equity line of credit,branch affiliate, net branch, branch partner, wholesale lending, retail mortgages, branch platform, branch, mortgage branch,pre approval, real estate lending, real estate loans, commercial loans,FHA Loans, 3.5% down, low down payment financing , hard money loans,  ">
    <meta name="description" content="Mortgage Unlimited, LLC offers mortgage and refinance services for home owners and home buyers. Experienced mortgage professionals providing full mortgage related services.
    ">
    </head>
    I could just update my http-equiv meta tag to include the charset but I think this is a bug since in the future most people will be using the charset meta tag instead of the http-equiv tag so whatever processes the templates are run under that are moving the http-equiv meta tags to the top of the header should also be configured to work with the charset meta tag as well. I'm still considering this a bug.

  • ORA-19587: error occurred reading 16384 bytes at block number 1

    Hi,
    I am getting the following error after I run rman hot backup.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/11/2007 02:01:03
    ORA-19587: error occurred reading 16384 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27069: attempt to do I/O beyond the range of the file
    Additional information: 1
    Additional information: 1
    Can anyone please advise. thanks

    Pardon me for not providing all the information.
    OS - Solaris 9 64bit
    RMAN Script:
    #!/bin/ksh
    # Script Name: rman_proddb_hot_bkp.sh
    # Version: 1.0 01-JUN-07
    # This script takes online backup of the database
    # Uncomment for tracing
    set -xv
    # ~~~~~ set the variables ~~~~~ #
    ORACLE_HOME=/u01/app/oraprd/product/10.2.0/db_1
    ORACLE_BASE=/u01/app/oraprd
    ORACLE_SID=proddb
    DATE_TODAY=`date +%d-%m-%y`
    # ~~~~~ set the enviroment ~~~~~ #
    HOME=/export/home/oraprd
    LOGNAME=oraprd
    export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/local/bin:/usr/dt/bin
    export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    SHELL=/usr/bin/ksh
    export HOME LOGNAME
    export ORACLE_HOME ORACLE_BASE ORACLE_SID
    export DATE_TODAY
    LOG_DIR=/var/local/logs
    export LOG_DIR
    # ~~~~~ Check if output file exists ~~~~~ #
    cd ${LOG_DIR}
    touch ${LOG_DIR}/rman_${ORACLE_SID}.${DATE_TODAY}_hot_bkp.log
    chmod 755 ${LOG_DIR}/rman_${ORACLE_SID}.${DATE_TODAY}_hot_bkp.log
    LOG_FILE=${LOG_DIR}/rman_${ORACLE_SID}.${DATE_TODAY}_hot_bkp.log
    export LOG_FILE
    # ~~~~~ start RMAN hot backup ~~~~~ #
    rman target / nocatalog log=${LOG_FILE} <<EOF
    run {
    sql "alter system archive log current";
    host 'sleep 30';
    crosscheck backup;
    crosscheck archivelog all;
    backup database plus archivelog tag "manual_hot_bkp_on_${DATE_TODAY}";
    delete noprompt expired backup;
    delete noprompt obsolete;
    exit;
    EOF
    OS Disk space: df -h
    Filesystem size used avail capacity Mounted on
    /dev/md/dsk/d60 16G 4.0G 12G 26% /u02
    /dev/md/dsk/d50 35G 25G 9.3G 73% /u01
    /dev/md/dsk/d70 1.9G 1.3G 585M 70% /u03
    /dev/md/dsk/d80 1.9G 1.3G 598M 69% /u04
    /dev/md/dsk/d90 325G 77G 245G 24% /u05
    /dev/md/dsk/d40 935M 210M 669M 24% /export/home
    FRA is 32G and is 20G at this stage. I get an error when I try to delete obsolete;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/12/2007 06:56:21
    ORA-19587: error occurred reading 16384 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27069: attempt to do I/O beyond the range of the file
    Additional information: 1
    Additional information: 1

  • Some questions on efficient serial read and speeding up data processing

    I have this flow meter that spits out two strings when queried with command "x" : Date:time, and then Meter #1 xxxx.xxxx SCFM . All that the x does is query the meter to display its status. The serial readout from the meter is intended to only duplicate the value present on the little lcd that the meter has. It's not meant for controlling and my discussion with the company was that while not ideal, parsing the string is the only way to get useable info from it. I only need the flow value and there is no way that it will just output that string. So I have it set up to search for the meter name, and if this has a value find the number. Before I did not have the true false case but it meant that the flow would state zero every time that it received the date:time string. My questions are:
    Is this the only way to do this? both in terms of finding the number I need and making sure that it is always updated properly.
    Right now I have a delay in the while loop because if I sample too fast, I oversample the buffer and get no useable string data (get one letter or no value at a time). Is there any way to remove this and have continous sampling?  I thought about reducing the wait time to 25ms, searching for a series of characters like #, 1, and parsing the string character by character, but the vi moves too fast to capture all of the data. If I put in a buffer delay I am right back where I started with the longer delay.
    Is there anything else I can do to make this code more efficient and better sample the flow meters output?
    Attachments:
    Serial Test.vi ‏15 KB

    Does the device send back a termination character such as a line feed or carriage return?  If so, you should be using that to terminate your read after reading a large number of bytes.
    Right now, your Write/Read sequence is in an odd order.  First you check number of bytes, then you write the X, then you read that original number of bytes immediately after sending the x.  Since it was probably 0 at the port when the loop started, you initially read 0 bytes.  Then the next iteration, (assuming your loop rate was slow enough, you'll get bytes as the port based on the X written in the previous iteration.
    You need to write the X, delay a period of time, then do bytes at port (assuming you can't use the termination character, and you have a different number of bytes every iteration that you can't rely on), then read that number of bytes.

  • How does the "Read Status Byte" work in the VISA test panel?

    I'm currently trying to replace an HP-85 with a modern computer running VB.NET, which will communicate with an HP 3421A. Unfortunately the 3421A was created before SCPI was created, so I believe the commands I am able to send are dictated by what the 3421A lists in the manual (http://exodus.poly.edu/~kurt/manuals/manuals/HP%20Agilent/HP%203421A%20Operation,%20Programming%20%20&%20Configuration.pdf).
    The commands I'm trying to use to troubleshoot are "DCV", which reads a voltage, and "SR", which returns 24 different registers, with register 1 being the status byte. When I write "DCV" and then read, it returns a correct voltage. When I write "DCV" and click "Read Status Byte" in the VISA panel, it lets me know that data is available to be read and when I read it returns a correct voltage. When I write "DCV", then "SR" and then read, it returns 24 different bytes, with the first byte being the status register, but it doesn't recognize the "DCV" command from before and the status byte is now 0, which leads me to believe that it's overwriting the "DCV" command from before.
    How can I mimic the functionality of the "Read Status Byte" button in the VISA panel? How does this work on instruments created before SCPI was implemented? Sending "*STB?\n" doesn't work. I am new to instrumentation so if I left out some necessary information please let me know. 

    Thank you for the suggestion. I found a solution by adding NationalInstruments.NI4882.dll and using the SerialPoll function.

  • How to parse 10 byte encoded data from Omegatte HH306 Thermometer/Datalogger?

    I am trying to write a simple code for an OMEGAETTE HH306 Thermometer/Datalogger from omega.com.
    Here is the problem. I communicate with the device via RS-232, using Labview 8.5.1 and windows xp. I query it for "all encoded data", which is basically the only option. It returns 10 bytes of encoded data, the manual describes the meaning of each byte, and I understand all of it. The problem is that I cannot seem to parse the information for use within labview, for example: I want to extract the temperature and simply display it.
    upon query, I get: 10bytes (read as a string from the serial port read buffer):     HEX display: 02 00 A8 B6 48 FF EF B6 49 03      This is perfect, and what I expect.     Codes Display: \02\00\A8\B6H\FF\EF\B6I\03               The Normal Display is a series of special characters, which I don't understand, especially since I don't think they represent the ascii characters that should correspond to the hex numbers returned!   For the life of me, I cannot figure out how to extract the information (which is the 6 48 in the hex display) from what is returned. All the string manipulation functions seem to only work on what is given in the Normal Display. (The 4th and 5th byte of the data are the BCD codes for the temperature: for example the temperature was 64.8 degrees farenheight when I took this reading).
    Can anyone help me to parse the data returned by this device?
    Solved!
    Go to Solution.

    Ok... I think I figured it out. I found this: http://digital.ni.com/public.nsf/websearch/77C8F61D36F5A23086256634005ACB38?OpenDocument.
    I guess the garbled normal display is the ascii characters corresponding to each hex number. I am just not used to seeing ascii characters beyond the decimal number 127, or hex 7F.
    So basically, to parse the 10 bytes of data:
    1) break up the string read from the serial port into the 10 individual ascii characters (using  String subset vi)
    2) wire each output string into the left input of 10 distinct Type Cast vi's.
    3) wire a U8 constant into each "type" terminal of the Type Cast vi's.
    4) wire the string output of each Type Cast vi into the input of a  number to hexadecimal string vi.
    5) concatenate or use as you would like the hex numbers (now in string format) that result.
    Cheers.

Maybe you are looking for

  • How can I print out all texts from one person

    How can I printall of my texts from my very bad lawyer?

  • Asset Impairment

    < MODERATOR:  Message locked.  Please post this message in the [Asset Accounting forum|SAP ERP Financials  - Asset Accounting;. > Hi, We are planning to do asset impairment for which we created a new Depreciation Area 91 and Asset Impairment Key Z1.

  • Mac OS 10.6 issue in windows viewing

    When I switch from icon (or list) view to column view, the system closes the window and displays it back in icon view. This occurs more often from the main folders (like HD or Applications), not so often from sub folders. Very bothering. Has anyone a

  • Workflow -  runtime error

    Hi all, I am creating workflow for material master. When i save and excute in SWDD system shows the following error. Runtime Errors         MESSAGE_TYPE_X Date and Time          01.10.2009 13:20:51 Short text      The current application triggered a

  • Contact manager

    I am trying to convert from using a Blackberry for 8 years and though I like the overall features of the iPhone and I can live with the email issues the contact manager definitely needs work. Is there anyway to search by other fields then First /Last