Xnet change signal default value

Hello,
I let a schedule table run on a PCI-8516. I want to change specific signal values during run, and I don't know, which would be the best solution.
The changed signal value has to be sent until I programmatically change it again. And, changing the value of another signal in the Frame should not change the other signal which I wrote previously.
Following things I tried:
1. Creating a Frame Out Single Point Session, upon change of a signal change the entire payload of the frame. Here my problem is that I can't write only one specific frame, but I have to write all the frames in the schedule table.
2. Creating a Signal Out Single Point Session, upon change of a signal value call the XNET Write.VI Signal Single-point instance, and write all the signals (array of double), with the changed value on the right array element. With this solution I have to keep track on all changed I do on the signals programmatically. Is it possible to change the default value (through the property node of the signal) of a signal? I tried to do it, but the next time I read this property node, the value seems unchanged. I just read the original default value from the LDF, without reloading the LDF.
Any help is appreciated

Dear Madottati,
Could you please post the LV-Code what you are exactly trying to do.
Kind Regards,
Oleg| Applications Engineering | National Instruments | NIG |

Similar Messages

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • How can I change the default value of a command ?

    I want to be able to change the default value of a comand when the vi
    is running. (I know how to do that with a right click when the vi is
    not running).
    In fact I would like the user of the vi to be able to choose a new default value for a command.
    How can I do that ?

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • Changing of default values on the selection screen dynamically

    Hi,
          I have 2 radiobuttons R_A & R_B and i have one text field like P_TEXT. Based on selection of radio button i have to change the default values in P_TEXT on the selection screen. like if i select R_A i have to display P_TEXT = 'A'. if i select R_B then it has to display P_TEXT = 'B'. I tried like as below
    in AT SELECTION-SCREEN OUPUT EVENT.
                 IF R_A = 'X'
                   P_TEXT = 'A'.
                 ELSEIF R_B= 'B'.
                   P_TEXT = 'B'.
                 ENDIF.
            But it's not working. it is working only for first radio button. when i select second radio button it is not giving the second value. can any one tell the sol.
    Tks in advance.

    Hi Pammi,
    Use this code, its working:-
    PARAMETERS : r_a RADIOBUTTON GROUP gp1 DEFAULT 'X' USER-COMMAND rb,
                 r_b RADIOBUTTON GROUP gp1,
                 p_text(20).
    "we use user command with the radiobutton so that some event is occured in order to call AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT.
      IF r_a = 'X'.
        p_text = 'Hello'.
      ELSEIF r_b = 'X'.
        p_text = 'Hi'.
      ENDIF.
    In the above case 'AT SELECTION-SCREEN OUTPUT' will act as PBO of the selection screen and will change value of selection text as per condition.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • Changing the default value of  "Items Due" in iProcurement 11.5.9

    Is there anyway of changing the default value of 'Today' that appears in the Item Due field when doing an expanded search on Receive Items? We would like this set to 'Any Time' which is more useful to us.
    Is there anyway of changing the default value of 'Today' that appears in the "Requisition Created" field when doing an expanded search on Requisitions in iProcurement? We would like this set to 'Any Time' which is more useful to us.
    We are on 11.5.9
    Thanks in advance...
    Regards,
    Sajid

    You should be able to do that, read my reply on this thread below on iProcurement page customization in 1159.
    Adding item to exiting AK Region
    Thanks,
    Tapash

  • How can we change Prompt  default values based on other prompts....

    Hi Experts,
    I have a prompt Status --> DAILY,WEEKLY and MONTHLY.
    If user selects any one of this value the default value in another prompt Startdate and Enddateshould change,Here Startdate and Enddate is Editbox/calander control.
    Declared the presentation variable in first prompt and in the second prompt of SQL Results(Default to) i am writing
    +SELECT CASE WHEN '@{Pres}='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END+
    but in the default one it was not showing the Repository variable value...
    Please suggest me any solution its an urgent
    thanks,
    saichand.v

    Hi Saichand,
    Are you getting an error ("Error Generating Drop Down Values")? Or are you just seeing a blank default value?
    If you are getting an error, do you have any presentation columns in your default SQL formula? If not, that's your problem. OBIEE won't let you construct a logical SQL query without having a presentation column in it somewhere.
    If this is your issue, try the following: SELECT CASE WHEN 1=0 THEN <PRESENTATION_COLUMN> WHEN '@{Pres}'='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END FROM <SUBJECT_AREA>
    Be sure to replace SUBJECT_AREA and PRESENTATION_COLUMN with appropriate names. The condition 1=0 will never evaluate to true, so it's as if it's not there, but OBIEE will see that there's a presentation column in the formula and stop giving you the error.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • IMEI changed to default value, what do I do?

    I bought officially unlocked iPhone 4 in NY.  After two months of use, on the day Steve J passed away, IMEI suddenly changed. IMEI default value indicate hardware issue, but there is no advice what I should do.  I talked with Jim, Senior iOS Adviser, but he could not figure out and said he asked Activation Engineer for advice.  He never comes back with response.  I do not know what I should do.  I am on mission in Kazakhstan and there seems to be no technial support locally. Anybody know what I can do to find a solution?  Forcefully change IMEI?
    <Edited By Host>

    You need to sign out completely on all your devices and then sign back in with the new ID. On a Mac, System Preferences>iCloud and click 'Sign out'; on an iOS device, Settings>iCloud and click 'Delete account' (this will not delete the account from the server).

  • Dbcache value changes to default value by itself

    Hi,
    Recently I changed the dbcache value to improve the performance. I used the formula 1.2 x( sum of all .db3 files)+ future growth to get the new value of dbcache value.
    The server has abt 8 GB memory and the value of dbcahce value is abt 45MB.
    Now after restarting the server and other applications, the dbcache value has changed on its own to default value of 10000000 .
    Does anybody know why this has occured?
    Thanks in advance

    HI,
    I'm sorry to ask this question, but do you save the settings before you restart the directory server?
    Have a nice day.

  • Change IDE default value

    I checked past posts but did not find what I was looking for...
    Is it possible to change the defaults for certain properties? For example I would like to set the default layout to a GridLayout vs. FlowLayout for all containers. Is this possible?

    No, it isn't. There are no options in the Preferences for that. Maybe an option in a later release.
    Best regards,
      ok

  • To change the default value in approval column of Approve time data view

    Approve working times in MSS
    For a manager:
    Approval view in approve time data iview has a column with name approval.  The value is defaulted to approve all. Can any one let me know how to change this value.
    Or  point me to any documentation which will be of help with this.
    ESS BP Version 1.41
    ECC 6.0 EHP4
    Thanks,
    John.

    Hi John,
                  uncheck the mass approval option in the Timesheet config.
    Cheers!!!
    Umang

  • How to find a BADI to change the default value of a Web Dynpro Screen?

    Hello Experts!!
    My requirement is as follows-
    The SAP cProjects Distribution Functions screens default the Calculation Base to “Per Day”(This is represented via the initially-selected value in a listbox). The requirement is to make it deafult to the current standard “Per Month” (This also appears in the list box).
    Is there any BADI to achieve this?
    I tried putting a debug point in the Get_Instance method of the class cl_exithandler to find all the BADIs associated with the screen. I got a bunch of BADIs with no luck. And now I am not even able to debug anymore as the debuger is not opening. Can anybody tell me why this is happening? It was working two days before. And yes I have read all the posts about debugging a web dynpro application and I am doing everything that is mentioned there- I have set an external debug point and I have checked the "IP Matching" checkbox against my name in the workbench, but, with no luck
    Any help on this will be greatly appreciated.
    Thanks and Regards,
    Smitha

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • How can I change the default value in IT0009?

    Right now in our system when we create a new IT0009 entry, several fields are defaulted such as the payee name, bank country, and currency (field WAERS). But in table T588Z I can not find anything defined for IT0009. Now even I create entries in T588Z ex. as 
    0009              WAERS     06     10     W     P0009-WAERS='USDN'
    the currency still shows up as 'USD' when I create a new record. Can anyone tell me where the field 'WAERS' is defaulted as 'USD' and how can I control this?
    Thank you very much.
    Best regards,
    Johnson

    Hi Johnson,
    Correct me if I am wrong,You need to default a value, so i guees you would need to use the feature P0009 not the dynamic action. If you could let meknow the current structure of the p0009 feature, may b i could help you figure the could-be structure of the p0009 to default the required value.

  • How to change default value of a parameter and LOV attached to a parameter

    Hi All
    I am new to discoverer reports and I need to accomplish the following tasks:
    1. Need to change the SQL query of a discoverer report
    2. Need to change the default value of parameter ( from constant to current month). In the discoverer plus responsibility when I open the report and go to tools>>parameter>>edit
    I can see the constant default value given there. On the right hand side there is a drop down which says 'Value'. I guess if i need to put a SQL as defaul value I need to change the drop down to sql or something and then put the SQL. Problem is the drop down is froezen and I cannot change it.
    Even if I try to create a new parameter/report.
    3. Need to change the LOV associated to the item on which the parameter is based.
    I have the discoverer plus responsibility attached to myself and do not have the discoverer administrator tool (desktop developer tool like forms 6i). My questions are:
    1. Can I change the SQL query by using discoverer plus responsibility or do I need discoverer administrator tool?
    2. Any help on how to get the default value from an SQL query? currently it is a constant value.
    3. Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?
    Any pointers/solutions will be highly appriciated!!!
    Thanks in advance.
    Thanks and Regards,
    Shashank

    HI,
    Need to change the SQL query of a discoverer reportThe discoverer generate the SQL according to the item, calculation and conditions designed in the worksheet.
    You cannot edit a specific worksheet SQL.
    In order to change the SQL you need to change the worksheet using the "Edit-> worksheet" from the menu.
    To change the SQL generated inside the folders you need to do that using the administrator.
    Need to change the default value of parameterYou cannot use SQL statements for the parameter default value. it is not supported. if you need default you can use only constant (as it was). otherwise you can set the parameter to be optional and then add to this condition an OR saying that <item>= NVL(:Parameter,<your default>)
    as <your default> you can use calculations so that if for example you want the current date you will create a calculation containing: SYSDATE.
    Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?They are based on SQL, even they are const then you will see it as
    select 'a','b'... from dual
    you can find the LOV (called item classes) in the administrator.
    Go to the item your condition is based on and see its properties.
    In the properties you should see the item class it uses.
    Close the properties and go to the item classes tab, search for this item class and figure the folder it came from.
    This is the folder you need to change in order to change the LOV.
    Hope it helped a bit, you sure asked several big questions...
    Tamir

  • How to change default value in form

    Hi,
    I want to change the default value in form..how can i do this?
    Fo exa...in purchasing when we go to auto create..in action tab we see create been defaulted whenever we open the form and also there is one more option called add to...so whenever i open this form..i want to see add to there..
    How can we get this?please advise?
    Thanks
    Mahendra

    You can do it using forms personalization.

  • How to change default values in SCC?

    Hi,
    does anyone knows how to change the default values of the Sybase Control Center e.g.:
    Activation Code Expiration (Hours) – indicates how long an activation code is valid. The default is 72 hours.
    Within SCC the field is deactivated, it's changeable after creating a connection, but I need to set it within the connection template.
    Thanks in advance, Christian

    You're right, but we want to change the default setting of the template, to avoid this step.
    Thanks, Christian

Maybe you are looking for

  • How to find the route cause of the issue in one Z-transaction

    Hi, I am analysing one Z-transaction is created by one standard program RHU_HELP and the Z-transaction is  ZHOMO03. In that transaction one parameter field is P_BATCH. If parameter P_BATCH is blanks then no records showing in the output but if I give

  • Is there a Pro*C forum?

    Is there a Pro*C mailing list or newsgroup specifically for Pro*C? Thanks. null

  • Computation Problem

    Hi Guys, Im having a small problem with a computation im doing. What i have is a form and im trying to do an after submit computation on a column. The column is a Timestamp(6). What i have done is created a computation. i have selected PLSQL Expressi

  • Lost Touch ID in App Store

    After updating to IOS 8.3, I have lost the Touch ID functionality in the App Store!

  • Javadoc for sql?

    Is there a javadoc equivalent for, or can I use the javadoc tool to generate documentation for non java files? I'm looking to autodocument a sql file of stored procedures, similar to the HTML output generated by javadoc.