RS485 Serial HELP for Low-level Read Queries

Hi,
I am trying to communication with some lab equipement (Ebara Turbopump) over rs485. Now I have a Blastronix 2 port RS485 PCI board connect with cabiling to the equipement. But when I try and use NI-VISA to communication, the read times out, which is not particularly useful information because I don't know what part of my query is wrong then.
Below, I've posted some images from their communication protocol, but I am very confused as to how to translate this into a Labview VI. So far I've tried using a String Constant with the example 8.1 (last image, with my slave ID: 001) but I get nothing. I've tried it in both ASCII and Hex with a carriage return at the end.
Any help is very appreciated!!

Okay, I tried creating to create the string using an u8 array, but still nothing. However, I am still very new to labview and not exactly sure how to create a proper array of u8/hex. I just created different u8 constant numbers and then fed them into the build array function and then to conversion from Byte to String and then to the Write of the Serial connection.
But how would I go about validating the cable?

Similar Messages

  • Exception Message for Lower Level

    Hi everyone...
    I get this message:
    "Exception Message for Lower Level"
    after of one MD02, for my FERT Material.
    This FERT material has 2 lower levels, for a couple HALBs material in the next level and other HALB material into the level 3.
    I don't get the requeriments for the HALBs materials, when I select the Order Report for the PlOrd.
    This 3 materials are produced since level 3 up to level 1 into the same plant, therefore I need to see the requeriment of the Level 3 to produce and then, use it for the Level 2 and till the Level 1., but I'm recieving  this message.
    Thanks in advance.
    OP

    Hi,
    Not quite understandable ur query
    can u re-phrase it, anyways
    as per my understanding
    u are not getting plan orders for (HALB'S)
    just check the stock for that HALB'S &
    just execute CS11, CS12 for that header material & check
    whether BOM is getting exploded or not (upto all levels)
    Regards
    kumar

  • Please sugges the link helpful for writing efficient sql queries

    Please suggest any good resource that is weblink which can help me in optimizing sql queries. especially while writing select statements improve the execution time of the sql query.
    Thanx in advance
    prasanth

    in general I found books from O'Reilly very helpful (not only for Oracle, but for Unix too).
    Moreover there is pretty good Oracle Documentation available.
    After all, it's not only about writing good queries, but also about setting up data-models, indexes, primary keys, etc.
    Look for a real slow computer, take a lot of data, then try writing your speedy queries. This is the school of hard knocks, on the long run it's the best training.

  • Collective Planned orders Scheduling for lower level orders with reference to the Superior order

    Hi All,
    Collective planned order scheduling.
    I have been trying to reschedule the superior planned order and i was expecting the lower level planned orders to reschedule based on the superior planned order.
    My problem is
    when i try to reschedule the superior planned order the system is not rescheduling the lower level planned orders.
    For example if i change the basic finish date of superior planned order as 30/09/2014 and reschedule the planned order it is only scheduling the header planned order and the lower level planned order is not scheduling.
    Could some one tell me why this is not happenning at planned order level.
    As the rescheduling of collective order will work at production order level but for some reason it is not happening at planned order level(as there is no option available to do so).
    Please give your thoughts on this asap.
    Mahee.

    Hello Mahee
    Please observe that your system is working as designed. Planned orders are scheduled independently, even when they are part of a network/collective order. Note 152319 explains the planned order scheduling in detail and it provides the following information:
    * No scheduling of overall networks is executed although a directly manufactured component is assigned.
    Note that no scheduling of the overall network is executed for planned orders. For the components requirements dates are determined. In order to cover them, planned orders are created in the next MRP run. Since the requirements are not managed using the exact time, the results of the planned order scheduling and of a scheduling of the overall network of the converted collective order can differ.
    BR
    Caetano

  • Help for Control Level Events

    Dear Friends
    i had an internal Table Itab_emp
    before saving from belowcode i want to check for a particular field
    i had itab_otime which had value as time format for particular ids
    so i want to add them for a id and check condition
    output of itab_emp is
    PERID Date OTIME 
    1      01.10.2007 013000
    1      03.10.2007 001000
    2      04.10.2007 000030
    2      05.10.2007 001000
    i want to add values for perid 1 and 2 and see the sum of that in a field in itab only so that i can apply condition
    Hope u got my problem
    Reflect changes in below code
    i think control level events will help but How i dont know
    SORT ITAB_EMP BY PERID.
      LOOP AT ITAB_EMP WHERE MARK = 'X' .
        IF SY-SUBRC = 0.
    MOVE-CORRESPONDING ITAB_EMP TO ITAB_OTAPP .
          ITAB_OTAPP-OBJID = 1.
          ITAB_OTAPP-TODTE = ZHR_PR_M_OTAPP-TODTE.
          ITAB_OTAPP-FRDTE = ZHR_PR_M_OTAPP-FRDTE.
          ITAB_OTAPP-IMMHD = ZHR_PR_M_OTAPP-IMMHD.
          ITAB_OTAPP-CRETM = SY-UZEIT.
          ITAB_OTAPP-CREON = SY-DATUM.
          ITAB_OTAPP-CREBY = SY-UNAME.
          APPEND ITAB_OTAPP.
        ENDIF.
      ENDLOOP.
      LOOP AT ITAB_OTAPP INTO WA_ITAB_OTAPP.
        MODIFY ZHR_PR_M_OTAPP FROM WA_ITAB_OTAPP.
      ENDLOOP.
    Hope will get answer as soon as possible
    Please Help Out Genius
    With Best Regards
    Ruby

    Dear Friends
    i had an internal Table Itab_emp
    before saving from belowcode i want to check for a particular field
    i had itab_otime which had value as time format for particular ids
    so i want to add them for a id and check condition
    output of itab_emp is
    PERID Date OTIME 
    1      01.10.2007 013000
    1      03.10.2007 001000
    2      04.10.2007 000030
    2      05.10.2007 001000
    i want to add values for perid 1 and 2 and see the sum of that in a field in itab only so that i can apply condition
    Hope u got my problem
    Reflect changes in below code
    i think control level events will help but How i dont know
    SORT ITAB_EMP BY PERID.
      LOOP AT ITAB_EMP WHERE MARK = 'X' .
        IF SY-SUBRC = 0.
    MOVE-CORRESPONDING ITAB_EMP TO ITAB_OTAPP .
          ITAB_OTAPP-OBJID = 1.
          ITAB_OTAPP-TODTE = ZHR_PR_M_OTAPP-TODTE.
          ITAB_OTAPP-FRDTE = ZHR_PR_M_OTAPP-FRDTE.
          ITAB_OTAPP-IMMHD = ZHR_PR_M_OTAPP-IMMHD.
          ITAB_OTAPP-CRETM = SY-UZEIT.
          ITAB_OTAPP-CREON = SY-DATUM.
          ITAB_OTAPP-CREBY = SY-UNAME.
          APPEND ITAB_OTAPP.
        ENDIF.
      ENDLOOP.
      LOOP AT ITAB_OTAPP INTO WA_ITAB_OTAPP.
        MODIFY ZHR_PR_M_OTAPP FROM WA_ITAB_OTAPP.
      ENDLOOP.
    Hope will get answer as soon as possible
    Please Help Out Genius
    With Best Regards
    Ruby

  • Low Level Read Error on SSL

    I am trying to convert form 4.52 to 5.1 and get the following error. This
    worked in 4.52. The environment is Intel/NT.
    Thanks,
    Mica Cooper
    java.lang.Throwable: Aborting Session
    at weblogic.security.SSL.SSLSocket.abort(SSLSocket.java:812)
    at
    weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:151)
    at
    weblogic.security.SSL.RecordInputStream.read(RecordInputStream.java,
    Compiled Code)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java,
    Compiled Code)
    at
    java.io.BufferedInputStream.read(BufferedInputStream.java,Compiled Code)
    at java.io.FilterInputStream.read(FilterInputStream.java, Compiled
    Code)
    at java.io.InputStreamReader.fill(InputStreamReader.java:163)
    at java.io.InputStreamReader.read(InputStreamReader.java:239)
    at java.io.BufferedReader.fill(BufferedReader.java:137)
    at java.io.BufferedReader.read(BufferedReader.java, Compiled Code)

    Apparently either the content type in the SSL message stream is not compatible between 45 and 51 or the hand shake could otherwise not be handled. Contact support and ask them about migrating 45 SSL clients to 51.
    Mica Cooper wrote:
    Hmmm,
    must be another Weblogic 'mystery' I'll add it to my list at #347!!!! of
    Weblogic mystery bugs I have to code around.
    Mica
    "Mica Cooper" <[email protected]> wrote in message
    news:3a2c2ff0$[email protected]..
    I am trying to convert form 4.52 to 5.1 and get the following error. This
    worked in 4.52. The environment is Intel/NT.
    Thanks,
    Mica Cooper
    java.lang.Throwable: Aborting Session
    at weblogic.security.SSL.SSLSocket.abort(SSLSocket.java:812)
    at
    weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:151)
    at
    weblogic.security.SSL.RecordInputStream.read(RecordInputStream.java,
    Compiled Code)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java,
    Compiled Code)
    at
    java.io.BufferedInputStream.read(BufferedInputStream.java,Compiled Code)
    at java.io.FilterInputStream.read(FilterInputStream.java, Compiled
    Code)
    at java.io.InputStreamReader.fill(InputStreamReader.java:163)
    at java.io.InputStreamReader.read(InputStreamReader.java:239)
    at java.io.BufferedReader.fill(BufferedReader.java:137)
    at java.io.BufferedReader.read(BufferedReader.java, Compiled Code)

  • Need help in copying Invoice date to lower level item in Sales order report

    Hello Experts,
    I am debugging into one Sales order report.I need little bit help.The report is displaying Invoice Date for
    Sales order Billing documents for Higher item in Bill of Material Structures.But as per user requirement,
    I am supposed to show the Invoice date for lower level items also.The field for Higher level item is 'UEPOS'.
    I want to copy the Invoice date for Higher level item to lower level item. Can you please guide me in the logic?
    Thanking you in anticipation.
    Best Regards,
    Harish

    Hi BreakPoint,
    Thanks for the information.
    I have applied the same way but it is showing only lower line items now.
    Invoice dates for Higher level items are not there.
    I am pasting the code here which I have applied.
    Then you can give me more guidence.
    This is to be done only for 'ZREP' sales orders.
    if w_vbak-auart EQ 'ZREP' and w_vbak-uepos is not INITIAL.
                          read table t_final into w_final_ZREP with key vbeln = w_vbak-vbeln
                                                                        posnr = w_vbak-uepos.
                             w_final-erdat_i = w_final_ZREP-erdat_i.
                             else.
                    if w_vbak-auart EQ 'ZREP' and w_vbak-uepos is INITIAL.
                      w_final-erdat_i = w_invdate.
                    endif.
                    endif.
    Can you please sugest me changes here?
    Best Regards,
    Harish
    Edited by: joshihaa on Jul 13, 2010 6:22 PM

  • Low Level SSL read is not working !

    Hi,
    I can readLine() from a buffered SSL socket without any problems.
    But I can't get the last line because the last line does not contain any <CR> or <LF>.
    So, when I try to do a low level read from a raw SSL socketstream, I always get "zero bytes available" even though there should be bytes to read.
    Please help.
    InputStream in2 = serversocket.getInputStream();
    while (true) {
         num = in2.available();
         if (num > 0) {
         buffer = new byte[num]; // allocates memory buffer
    in2.read(buffer,0,num);
         System.out.write(buffer,0,num);
         System.out.flush();
         try {
                   Thread.sleep(500);
              } catch (InterruptedException e) {
                             e.printStackTrace();
    What did I do wrong?

    I can readLine() from a buffered SSL socket without any problems.
    But I can't get the last line because the last line does not contain any <CR> or <LF>.So send it, or don't use readLine().
    So, when I try to do a low level read from a raw SSL socketstream, I always get "zero bytes available" even though there should be bytes to read.So don't use available(). It's not guaranteed to return anything other than zero, and in SSL it doesn't.
         num = in2.available();Pointless. Remove this line.
         if (num > 0) {
         buffer = new byte[num]; // allocates memory bufferAllocate a buffer with a fixed size, outside this loop.
    in2.read(buffer,0,num);in2.read(buffer);
         System.out.write(buffer,0,num);Correct.
         System.out.flush();Do that outside the loop.
                   Thread.sleep(500);Completely pointless and literally a waste of time.
    What did I do wrong?Almost everything. Try it with the corrections suggested.

  • Low level interfaces to JVM

    Hi. I'm trying to write a java debugger in java. Sun mentions publicly available low level interfaces to the JVM for getting complete info on classes (ie things like private variables)
    see the end of http://java.sun.com/docs/books/vmspec/2nd-edition/html/Overview.doc.html
    I've been searching this site for "low level interface" but I haven't been able to find any information on this topic. Has anyone had any experience with this? Can anyone help me out?
    Thanks,
    Tom

    There are a number of free publicly available
    debuggers. You can get hold of their source for a
    few ideas. e.g. Eclipse, NetBeansThanks for this peter. I think you're missing the point though. I am trying to build my own debugger so that I can precisely control the environment, not to do typical debugging. Even using an open source project, I think it would take me longer to try to fit in what I want to do into that than to build my own.

  • Low-Level admin capabilities?

    Heya - I'm not in IT, so most of this is foreign to me, but I'm trying to figure out a solution to a problem we have at my office. The IT staff is stumped, so I thought I'd do my part to help.
    We have many stations running Final Cut software. Any given project is shared via the SAN by at least 3 people, and contains media that is created & edited by multiple departments. Occasionally, a file referenced within the Final cut project (.tiff, .wav, etc...) will be written with incorrect permissions, and the other editors will not be able to write over it if necessary, or worse, play the project file at all.
    File permissions are an easy thing to fix, but can only be done by someone with an admin password. The problem - waiting an hour for IT to get to it is not an option.
    My question: Is there a way to grant specific individuals quasi-admin privileges for low level tasks like this? (There's no way that a full access admin pass would be shared by the IT dept, of course)
    Thanks in advance for any advice. Let me know what importand details I have left out!
    -Rich

    A couple options:
    Edit the Umask settings. As long as all your teams are in the same groups together, the groups rights are read/write by default instead of read only. Be careful though, you can lose work if your users save over each other.
    Another option is Access Control Lists, or ACLs. IT will have to help you set this up, but you can use their more granular settings to get a finer control of permissions.
    Or you can ask your users to be disciplined enough to always set file permissions to the files they create. The owner of a file can set any permissions they want, but this approach depends on user compliance so it pretty much never works.

  • Require assistance on low level disk IO through Java.

    Hi
    I am looking for some java Api manual or java code for low level disk IO.
    Precise problem is, I am having minix image and a pen drive. I want to boot my pc from minix.
    In order to make pen drive bootable I need to write the image to sector 0 for which I have no idea how to do.
    Any info will be a gr8 help.
    Thanks
    Vineet.

    VineetArora wrote:
    Hi
    I am looking for some java Api manual or java code for low level disk IO.
    Precise problem is, I am having minix image and a pen drive. I want to boot my pc from minix.
    In order to make pen drive bootable I need to write the image to sector 0 for which I have no idea how to do.
    Any info will be a gr8 help.
    You can't. Give up now and choose a more suitable language for this project.

  • How to get search help for 2nd  parameter based on the 1st parameter value

    Hi all!
       I have 2 parameters (material no, revision level). I have created a search help for revision level. It has an importing parameter :material no. and one exporting parameter : revision level.When I checked it, it's giving the revision values only for the specified.
    In my report , I have kept these 2 materials in my selection screen.For revision level , I have added the matchcode object which I have created. When I  pressed F4 for revision level, it's giving all the values irrespective of the material no. in the first parameter. How to solve it? Please suggest.

    Hi,
    Try this code filling internal table fields,
    DATA: BEGIN OF values,
            OID TYPE ZCL_OBJECT-OBJECTID,
            ODEC TYPE ZCL_OBJECT-OBJECT_DESC,
           END OF values,
           W_FIELD(10).
    DATA: ZCL_PROJECT-PROJECTID type zcl_project-projectid,
          ZCL_OBJECT-OBJECTID(5).
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr,
          dynpro_values TYPE TABLE OF dynpread,
          field_value LIKE LINE OF dynpro_values,
          values_tab LIKE TABLE OF values.
    CALL SCREEN 100.
    *&      Module  VALUE_PROJECTID  INPUT
          text
    *MODULE VALUE_PROJECTID INPUT.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
          EXPORTING
               tabname     = 'ZCL_PROJECT'
               fieldname   = 'PROJECTID'
               dynpprog    = progname
               dynpnr      = dynnum
               dynprofield = 'ZCL_PROJECT-PROJECTID'.
    *ENDMODULE.                 " VALUE_PROJECTID  INPUT
    *&      Module  VALUE_OBJECTID  INPUT
          text
    MODULE VALUE_OBJECTID INPUT.
       CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname             = progname
                dynumb             = dynnum
                translate_to_upper = 'X'
           TABLES
                dynpfields         = dynpro_values.
      READ TABLE dynpro_values INDEX 1 INTO field_value.
    W_FIELD = FIELD_VALUE-FIELDVALUE.
      SELECT  OBJECTID
              OBJECT_DESC
        FROM  ZCL_OBJECT
        INTO  (VALUES-OID,
               VALUES-ODEC)
    WHERE PROJECTID = FIELD_VALUE-FIELDVALUE.
       APPEND VALUES TO VALUES_TAB.
    ENDSELECT.
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'OID'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'ZCL_OBJECT-OBJECTID'
                value_org   = 'S'
           TABLES
                value_tab   = values_tab.
    ENDMODULE.                 " VALUE_OBJECTID  INPUT
    *&      Module  INIT  OUTPUT
          text
    MODULE INIT OUTPUT.
      progname = sy-repid.
      dynnum   = sy-dynnr.
      CLEAR: field_value, dynpro_values.
      field_value-fieldname = 'ZCL_PROJECT-PROJECTID'.
      APPEND field_value TO dynpro_values.
      IF SY-UCOMM = 'BACK'.
        LEAVE program.
    ENDIF.
    IF SY-UCOMM = 'ANS'.
       LEAVE  TO SCREEN  '0'.
    ENDIF.
    ENDMODULE.                 " INIT  OUTPUT
    START-OF-SELECTION.
    WRITE: / field_value-fieldvalue,
             W_FIELD.
      LOOP AT VALUES_TAB INTO VALUES.
        WRITE / VALUES.
      ENDLOOP.
      if sy-subrc <> 0.
        WRITE / field_value-fieldvalue.
      endif.
    Plzz reward points if it helps

  • Low Level Design...

    Hi,
    Just wondering if anyone has a good low-level design template I could use?
    Or even a link to a template.
    Kind Regards,
    Aidan.

    Just for fun I Googled for "low-level design template". This was the first link it threw up; and when you read the document it does claim to be a template that can be used for low-level design. In fact the whole first page of links appeared to have a good chance of answering the OP's question.

  • R100 low level format utility

    Hi all, I think I got a problem with my R100 hard drive. I cannot high level format by some reasons, bad sectors I guess. So, I'm trying to find a solution and I guess the low level format could be a solution for this. But, I couldn't find a utility for low level format. So, is there any utility I can do low level format R100 Hard?
    Thanks in advance

    Hi,
    You don't wanna low-level format anything these days! All current hard drives won't even let you. I had a problem with bad sectors and metallic noises from my drive last month and I tried to fix it with utilities like "spinrite" and a myriad of other software without success. I used spinrite to rebuild the hd. It took three(!!!) days! The drive then worked for a couple of hours before it developed new read errors. This symptom means that there are un-recoverable errors on the drive and you want to buy a new one.
    If you have warranty left, RMA it, otherwise go and buy a new drive. In Sweden the HD was incredibly expensive, about $400 (ridiculus, right!!). I had to buy this drive: http://www.sarotech.com/english/cgi/pd.cgi?cmd=view&rno=5
    for $260 and grab the hd from the casing.
    The Toshiba part# for the 40gb hd is: MK4004GAH
    Search for it. Here's one link: http://www.span.com/catalog/product_info.php?cPath=23_504&products_id=3149
    Also, read some more about low-level formatting and try out spinrite here: www.spinrite.com

  • SNP - Issue with PDS as source of supply in low-level code run

    Hi All:
    I have a bunch of PDS that is giving me the following message when the SNP Low-level code is run:
    ''Invalid source 00000010382991380SLT1 S is not considered for low-level code calculation.  The source of suppy 00000010382991380SLT1   S is available actively in the Supply Chain Model. The location product for which the source of supply is intended, does not exist, however, or is no longer assigned to the model. The source of supply is therefore invalid. ''
    I tried all of the following but still did not get to work
    1. Made sure that FG and all the active component of one FG and the location and the PDS were in an active model.
    2.  Made sure that there was one production version and hence one PDS
    3.  Intialiazed the Planning area with the version
    But still would not generate the low level code for the product location.  Can some one throw share some insight and help pl?
    Thanks
    Ryan

    Could you please check whether in the Product Master, Procurement tab, the Procurement Type is set as "P - external procurement planning"? If yes, then that's the reason as the Low-Level Code is only calculated for Products that are to be planned in APO. In this case, change procurement type to X or E and it should work.
    Regards,
    Tiago

Maybe you are looking for