Tag value set to zero when performing a tag write.

I have several tester PCs with identical equipment and versions of Labview 7.1. The TAG configuration I am using was provided by the company we purchased the equipment from. One of the testers is having an issue with the DSC module or configuration. If I write an identical analog value to a Tag with a Tag Write, the Tag Read performed for verification returns a value of 0.
Using the Tag Monitor to analyze the problem, I found that immediately following the write command the value of the Tag in the Tag Monitor reads zero. If the value written is different from the previous value, the Tag Monitor will then read the expected value after a minimal delay. If the value written is the same value, the zero will remain. I compared this behavior to the other testers and the Tag Monitor does not show a value of 0 at any point.
I have ruled out a problem with the equipment because we can connect the equipment to another tester PC and there is no problem. At this point, I think the reason the Tag Read returns the 0 is due to the value not being updated because writing the same value would not exceed the deadband. I am now trying to determine why the 0 appears from the Tag Write.
I am using the Industrial Automation OPC Server 5.1.
Any thoughts or ideas about how to remedy this problem would be much appreciated.
Thanks,
-Dave

Hi Dave,
Are you using Datasocket to read and write to your tags? If so, than setting the mode to BufferedReadWrite might solve the problem. Is it possible for you to attach a simple VI that illustrates the problem?
Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support

Similar Messages

  • Value Set  error msg when opening sales order Form

    Hi
    I created a value Set(where the values are populated at run time based on a view) which is attached to DFF (column eg Attribute13),The Value set would get value populated only if any sales order lines are cancelled, as the value of Attribute13 on cancelled line would be inserted to new Order Line.
    The Problem is when ever the Sales order Form is opened it throws the error message
    "Value XX For the FlexField Segment dosent not exists in the valueset (Valueset name)" as the oe_order_lines_all.attribute13 has value and the value set has null, it matches it and throw the above error.
    Could you guys give any suggestion how to avoid it, or is there any workarould , Thanks
    Thanks

    This tells me that the same attribute is used for something else and there is a value in that the column that is not your table which you are validating against. Or the value you are setting is not in that table.
    About the context: If the same attribute is used under a different context AND if that context gets set when you open the sales order AND if the validation type is different under that context for attribute13, you will get this error.
    Thanks
    Nagamohan

  • Extracting Tag Value from XML returned when a web service via PL/SQL

    All,
    Good afternoon.
    I have a PL/SQL that called a web service. The code is as below:
    create or replace procedure soap3 as
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    bra number := 205;
    cus number := 134988;
    cur number := 1;
    led number := 0;
    sub number := 0;
    chq number := 1;
    n number;
    v_raw RAW(32767);
    buff RAW(32767);
    http_res UTL_HTTP.resp;
    blob_length INTEGER;
    chunk_size BINARY_INTEGER := 32767;
    blob_position INTEGER := 1;
    out_file UTL_FILE.FILE_TYPE;
    name VARCHAR2(256);
    value VARCHAR2(1024);
    v_buffer RAW(32767);
    begin
    soap_request := '<?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <Validate_Mandate xmlns="http://tempuri.org/Clearing_Workflow/Service1">
    <Bra_code>205</Bra_code>
    <Cus_num>134988</Cus_num>
    <Cur_code>0</Cur_code>
    <Led_code>0</Led_code>
    <sub_acct_Code>0</sub_acct_Code>
    </Validate_Mandate>
    </soap:Body>
    </soap:Envelope>';
    --DBMS_LOB.CREATETEMPORARY(buff,true);
    http_req := utl_http.begin_request('http://10.99.0.13/clearinginwards/InwardCheques.asmx',
    'POST',
    'HTTP/1.1');
    utl_http.set_header(http_req, 'Content-Type', 'text/xml'); -- since we are dealing with plain text in XML documents
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req,
    'SOAPAction',
    'http://tempuri.org/Clearing_Workflow/Service1/Validate_Mandate'); -- required to specify this is a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp := utl_http.get_response(http_req);
    dbms_output.put_line('HTTP response status code: ' || http_resp.status_code);
    dbms_output.put_line('HTTP response reason phrase: ' || http_resp.reason_phrase);
    UTL_HTTP.read_raw(http_resp, buff, 32767);
    end;
    The response gotten from the web service is as below :
    open=F, temp=T, length=13256, chunksize=8132, data=3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D227574662D38223F3E3C736F61703A456E76656C6F706520786D6C6E733A736F61703D22687474703A2F2F736368656D61732E786D6C736F61702E6F72672F736F61702F656E76656C6F70652F2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A7873643D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61223E3C736F61703A426F64793E3C56616C69646174655F4D616E64617465526573706F6E736520786D6C6E733D2268747470
    I do not understand what this output actually means as what the webservice returns is meant tio be a XML with a signature tag that contain an image of customers signature.
    Please I need help.

    Thanks for the responses thus far , but I think i need to properly define my problem so will be able to help me better.
    I have a webservice with the definition below :
    POST /NigMailService/nigmailservice.asmx HTTP/1.1
    Host: 10.2.15.157
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://tempuri.org/GetImageDataTable_HT"
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetImageDataTable_HT xmlns="http://tempuri.org/">
    <BranchCode>int</BranchCode>
    <CustomerNumber>int</CustomerNumber>
    <CurrencyCode>int</CurrencyCode>
    <LedgerCode>int</LedgerCode>
    <SubAccountCode>int</SubAccountCode>
    <ChequeNumber>int</ChequeNumber>
    <ClientCode>string</ClientCode>
    <wantedImageTypes>int</wantedImageTypes>
    <wantedImageSize_InPercent>int</wantedImageSize_InPercent>
    </GetImageDataTable_HT>
    </soap:Body>
    </soap:Envelope>
    and sample response :
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetImageDataTable_HTResponse xmlns="http://tempuri.org/">
    <GetImageDataTable_HTResult>xmlxml</GetImageDataTable_HTResult>
    </GetImageDataTable_HTResponse>
    </soap:Body>
    </soap:Envelope>
    My aim is to write a PL/SQL that will call the webservice and recieve the response which is definately a XML with an image that is meant to be written to a file in PL/SQL.
    Please how can i achieve this ?

  • WIP Value coming as Zero when running KKAX

    Hi Gurus,
    Please help me with a small issue.
    I m trying to calculate WIP on a Production Order which is Released. When I run KKAX, there is no value in the result. What is the error here ?
    Thanks
    JP

    Check the cost analysis report on the order and see what the balance is. that should be your WIP calculation,
    What is the status on the order?  if it is DLV or TECO and no WIP had been previously calculated, no WIP will calculate now.  - the balance will go directly to MFG variance.
    Small question -  is this the first time calculating WIP?  or is has it calculated on other orders, just not on this order?

  • Get-NetworkStatistics returns all the values set to zero despite having internet traffic

    Hi
    I'm running Windows Server 2012 R2 and I have a problem with the Get-NetworkStatistics cmdlet: it returns all the parameters with a value of zero eventhough the wireless network adapter is up and running, including having internet access. Furthermore, if
    I double-click on the wireless network adapter, it displays the correct values for bytes sent / received.
    So it seems like the Get-NetworkStatistics cmdlet is unable to read the statistics for the wireless adapter. Any help would be appreciated.
    Thanks

    Hi,
    Is this what you're referring to?
    https://gallery.technet.microsoft.com/scriptcenter/Get-NetworkStatistics-66057d71
    If so, the best way to contact the author is by posting on the QandA tab of the gallery item.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Credit value in VKM1 is set to zero

    Hello,
    In tcode VKM1 sometimes we have sales orders with the credit value set to zero (structure field VBKRED-KWKKC).
    Why does it happen?
    Thanks in advance.
    Adriano Cardoso

    if u want to inactive the record then write the below code in routine
    TKOMV-KINAK = 'X' and
    TKOMV-KWERT = ''.
    Edited by: gulab zehra on Aug 10, 2009 10:50 AM

  • Tag Values in the partition Table

    I get the following information when I use format to print the partition table:
    Part Tag Flag Cylinders Size Blocks
    0 root wm 0 - 25 129.19MB (26/0/0) 264576
    1 swap wu 26 - 51 129.19MB (26/0/0) 264576
    2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 usr wm 52 - 14086 68.10GB (14035/0/0) 142820160
    7 unassigned wm 0 0 (0/0/0) 0
    I know the possible tag values are unassigned, boot, root, swap, usr, backup, var, home, reserved. However, what does each of these tag value mean? If I assign a tag value of var to a partition does that mean I have to use that partition as a /var?
    Thanks,
    Paul0al

    answer #1 - man -s 1m prtvtoc
    answer #2 - no, not at all... once a partition is created, so long as you're trying to use a wm (Read/write Mountable) as a mounted filesystem (once newfsing or mkfsing is done) and not trying to use a wu as a mounted filesystem, you can name the slices anything you want - it's pretty much arbitrary (just used for your own personal sanity)

  • Pre calculated value set

    Hi experts,
    pre-calculated value sets can improve query performance, if yes pls send me if there is any document to create precalculated value set.
    points will assing.
    regards
    manoj

    Hi,
    check the below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm
    hope it helps...
    regards,
    raju

  • Need to make Value Set as Case insenstive attached with a DFF on OA Page

    Hi All,
    I have enabled DFF on iExpense web page, OA Page, and attached a Value set to this DFF. This is an independent Value Set. Now when user enters a value in this DFF and press tab then it validates and chaged accordingly. Suppose user enters a value 'card' whereas Value set has value as 'Card'. now when user press tab button it changes automaticaaly to 'Card'. But if user enters 'card' and press 'Next' button on page it throws an exception that this value is not available in the value set.
    Kindly let me know that how can I overcome from this problem.
    Thanks,
    Sandeep

    You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
    Structure code1|Segment1($RO$)|Segment2...
    P.S: After I posted this message, I realized this was not what you are looking for. After all, this may help somebody.
    Edited by: dbhat1 on Dec 8, 2008 3:55 PM
    Edited by: dbhat1 on Dec 8, 2008 3:56 PM

  • How to read empty tag value.

    Suppose there is a tag name with values ,
    <Name>Raj</Name>
    I am able to read the tag value 'Raj' ..
    But if the tag is like
    <Name /> I am getting null pointer exception while reading the tags value..
    I have put the reading part in a try catch block .Is there any other efficient way to do it.

    try {
            BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
             DocumentBuilder builder = factory.newDocumentBuilder();
             Document doc = builder.parse(inputSource);
             NodeList list = doc.getElementsByTagName("*");
             for (int i=0; i<list.getLength(); i++) {
               Element element = (Element)list.item(i);
               NodeList fstNm = element.getChildNodes();
    *//  Here is where i get null point exception because of tag being*
        *like <test/> ,whereas other tags have vakue like <test>value </test>*
               String check_null;
               try {
                check_null = (((Node) fstNm.item(0)).getNodeValue());
               catch(Exception ex) {
                   check_null="";
               //System.out.println(element.getNodeName() + ":"  + ((Node) fstNm.item(0)).getNodeValue());
               //if((((Node) fstNm.item(0)).getNodeValue()) != null)
               hm.put(element.getNodeName(),check_null);
               //System.out.println(element.getNodeName() + ":"+ (((Node) fstNm.item(0)).getNodeValue()));
           catch (Exception ex) {
               System.out.println("Exception in PostPaidInfo Parsing") ;;
               System.err.println(ex.toString());
               return 1;
         }I have just caught the exception ,I want to know is there any other way . The null pointer exception arises not because of string being null , But because of the internal parsing.
    Edited by: CulbOy on Apr 29, 2010 12:13 PM

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • Expression or Calculation tag value are reset to last application saved value when PC reboot

    I'm doing daily logging data for daily report and for the daily flow calculation, I'm doing those step:
    1- When Timer1 = 11h55 -> Daily_Volume = (Actual_Volume - Yesterday_Volume)
    2- When Timer2 = 11h56 -> Yesterday_Volume = (Actual_Volume )
    3- When Timer3 = 11h58 -> Log to database Daily Volume
    The problem is that when you restart the application or the PC, the calculation tag "Yesterday volume" reset to the last saved value.  
    Exemple 2012-01-01 last saved application changes,
    - 2012-01-01 my Actual_Volume = 1000 USGal moved to my Yesterday_Volume.
    - 2012-01-02 my Actual_Volume (1100 USGal)  - Yesterday_Volume (1000 USGal) = Daily_Volume (1000 USGal) move the Actual_Volume to Yesterday_Volume.
    - 2012-01-03 my Actual_Volume (1200 USGal)  - Yesterday_Volume (1100 USGal) = Daily_Volume (100 USGal)
    We've got a power shutdown or any PC reboot.  On the 2013-01-01
    - 2013-01-01 my Actual_Volume (19000 USGal)  - Yesterday_Volume (1000 USGal) = Daily_Volume (18000 USGal) move the Actual_Volume to Yesterday_Volume.
    - 2013-01-02 my Actual_Volume (19100 USGal)  - Yesterday_Volume (19000 USGal) = Daily_Volume (100 USGal) move the Actual_Volume to Yesterday_Volume.
    Those values reset to the last application saved value cause bad data in my daily, monthly, yearly reports.  How can we retain calculation tag value to avoid those reset problem?

    In Edit mode, File->Modify Process, there is an option "Save state file every xxx minutes". Is this one checked or not?
    The value of objects should be saved in the state file when you close the process, or periodically saved according to this setting. The saved value will be loaded next time you open the process.
    Ryan Shi
    National Instruments

  • Setting the XML tag value in Java script

    Hi,
       I am trying to set a XML tag value in the initialize event of a text field.. The code works fine in FormCalc but I needed it to work in java script.
         FormCalc:
         $record.prospectApplication.typeName = "namedInsured";
         Java Script:
         xfa.record.prospectApplication.typeName = "namedInsured";
         The above JavaScript does not work. Can any one help on this?
    Thanks
    Srini

    Hi Srini,
    In JavaScript you don't get any default properties so you need to say;
    xfa.record.prospectApplication.typeName.value = "namedInsured";
    That is assign the value to the "value" property not the dataValue object.

  • Set default value for price unit when creating material master data

    HI: Every
    could you tell me how to use user-exit or else ways to set default value(such as 1000) for field "Price unit" (MBEW-PEINH) when creating material master data(MM01)?
    I have try to use Exit:EXIT_SAPLMGMU_001. However, this way cannot respones it.
    thanks
    Henry

    Hi: Ihave find out a solution
    Use BADI: BADI_MATERIAL_REF
    SPROlogistics general enhancement supplement or change default data (industry)
    And then creating a Implementation Name
    Double click method: CREATE_MATERIAL
    And then write code as below:
    method IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL.
              c_mbew-peinh = '1000' .
    endmethod.
    However, SAP still store '1000' in database evenif we change the default value such as 100 when we use TCode MM01.
    in additional, we still use MM02 to change the default value such as '100'
    can anybody tell me how to do?
    thanks
    Henry

  • When Requested for a Grand Total the column values changes to zeroes

    Hi,
    I have a report with 2 dimensions and 4 facts. The report is showing the correct data when compared with EBS, but when we are applying grand total in Table View then for fact values are displaying zeroes. However the grand total is correct but for some dimensions the measures are displaying zeroes.
    At this point i have modified the Aggregation rule of 1 measure from Default to SUM and when i clicked results Wonder, i can see grand total and the zeroes were replaced with actual values. When i have compared logical queries before applying the aggregation and after, the measure is surrounded with function REPORT_AGGREGATE and REPORT_SUM respectively.
    Can anyone explain me why is this behavior occurred, i got the solution but i am not in stage to explain to client why it happened.
    Kindly help and i will make sure it is definitely marked.

    Re:  Bottom Line Grand Total
    Use the Subtotal function instead of the Sum function for all totals.
    The Subtotal function ignores other Subtotal functions in the column you are summing.
    Your three "Sum" functions would look something like...
    =SUBTOTAL(9,J3:J7)    '300
    =SUBTOTAL(9,J8:J14)  '900
    =SUBTOTAL(9,J3:J14)  '1200
    '--- Info
    1    AVERAGE
    2    COUNT
    3    COUNTA
    4    MAX
    5    MIN
    6    PRODUCT
    7    STDEV
    8    STDEVP
    9    SUM
    10    VAR
    11    VARP
    Jim Cone
    Portland, Oregon USA
    free and commercial excel programs at...
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

Maybe you are looking for