How to access new data in User Message Event Callback?

I am using the Simple LabVIEW OI as the model for my TestStand user interface.
The sequence sends a User Message to the OI to request the string array of tests to run.
But I am having great difficulty making this string array data available to the event callback VI.
I do not want to use a global variable and so my unsuccessful method so far has been as follows:
1. Use a Refnum to the Array and pass it into the Config Event Callbacks VI via the cluster 
2. The "Selected Tests" in the input cluster in the Config Event Callbacks VI is a generic Control Refnum
3. This Selected Tests (at the bottom) is then bundled and passed into the User Parameter
4. But how do I convert the Selected Tests Control refnum back into the original string array in the actual callback?
Also if there is anyone that can suggest a better way of doing this then please let me know.
The bottom line is - how to get the latest data into the event callback function when it is called?
Many thanks,
Ronnie
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
Solved!
Go to Solution.

Hi Ray,
The 'Selected Tests' array refnum is #4 in the cluster order and matches all the way through - so I think that's OK.
In the final diagram above, I can get the Selected Tests cluster from the 'User Parameter', but it is still in the form of a refnum.
My problem is a lack of understanding in how to convert this 'Selected Tests' refnum back to the original data type (a string array).
Basically I want to get the string array from the 'Selected Tests' refnum.
As you can see from above I tried to use a property node. I've also tried to 'cast' the refnum to a 'more specific class' by choosing 'Array' but it's still ends up as a refnum.
I hope you see what I mean?
Thanks,
Ronnie
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009

Similar Messages

  • How we create new data base in oracle 10g express edition

    hello every body.. i student of B tech n new user of oracle so please help me how we creat new data base in oracle 10g express edition

    Hello, Oracle XE can not create more than one instance, the other editions yes, but like other editions XE allows you to create database schemas, schemas logically grouped objects like tables, views, indexes created by a user. By creating an Oracle user is associated with a schema of the same name.
    Using SYS or system accounts for creating user accounts.
    Syntax to create a user:
    create user Your_user
    IDENTIFIED BY password
    default tablespace users;
    grant connect, resources to your_user;
    Edited by: rober584812 on Jun 25, 2010 9:03 PM

  • How to access sap data which in our program

    Hello
    I am using a custom program in which i am calling sap standrad includes. in one of the sap standrad include ,one internal table is getting filledup.now i have to display a message in my program based on that internal table.how to access the data in my program?

    Hello Raj
    Please go through the sample code bellow, which may solve your problem
    DATA: profile TYPE TABLE OF user04 .
    CALL FUNCTION 'SUSR_GET_PROFILES_OF_USER_RFC'
      EXPORTING
        user_name       = sy-uname
      TABLES
        profile         = profile
      EXCEPTIONS
        user_not_exists = 1
        no_authority    = 2
        OTHERS          = 3.
    IF sy-subrc .
    WRITE : /  l_r_usr02-ustyp.

  • How to add new fields in Reduced message ( in BD53 )

    Hi Experts,
    How to add new fields in Reduced message ( in BD53 ), when the required field iis available in Table or Structure and need to be added in BD53 so that we can ALE.
    Thanks,
    Ninad

    Hello,
    I think of something like:
    First, you create extension, with transaction WE30.
    Then, reduce your idoc, your extension should also be proposed.
    Do not forget to add this extension in outbound we82, and/or we57 in inbound, and WE20, and find BTE or exit to populate extension.
    regards.
    F.S.

  • How to access reference data in BPS Exit Function

    Hi Experts,
    Can any please tell me how to access reference data in BPS Exit function. I am creating a copy function using ABAP Exit Function (Std copy and fox formula doesn't work for my requirement).
    Please suggest,
    Thanks in advance,
    Shiwesh

    Hi Deepti,
    Thanks a lot for your reply. xth_data contains all the data based on package filteration. Let me explain you,
    Say, I have a characteristic char and whose value is 'A', I want to change it to 'B' in my copy function, while keeping the original record with 'A' as well. So now I want my xth_data to contain two records, one with A and other with 'B'. I mean to say from value is 'A' and to value is 'B'. Now my package contains 'B' (the to value) as the allowed value, but not A because in the package I am setting this using a BPS variable. There are two types of variables, one is to variables other is from variable. There could be two scenarios,
    1. If I set from varibale in the package: if I do so, I will have the data in xth_data containing 'A' as char value. But in this case when I change it to 'B' and try to save both the records, package won't recognize the record with value 'B' and reject it.
    2. If I set to variable in the package: In this case the xth_data itself will not contain anything and I can not loop over xth_data because there is no record with 'B'. Only record available in the system is with 'A' values.
    That is why I am thinking about having reference daya somewhere. I could loop over reference data and then pass it to xth_data. Package will contain to variable so it will allow all my modifications to get saved.
    Thanks and regards,
    Shiwesh

  • How to add new data file

    Hi Friends,
    We have 4 below file systems.
    Sybase/TST/sapdata_1
    Sybase/TST/sapdata_2
    Sybase/TST/sapdata_3
    Sybase/TST/sapdata_4
    Already we have added one data file each in sapdata_1 and 2.  Sapdata3 and 4 are emptry.
    How to add new data file in sapdata3 or 4.
    Please provide syntax for creating a new data file and steps for the same.
    Regards,
    Karthik.

    Just for the record: you have here the DBACockpit documentation:
    https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000571562012E
    And this is a sample of the extend to be executed:
    Regards,
    Victoria.

  • How to Define new Date rules

    Hi ,
       I have a requirement in my project, where in i have to create some new date rules. I've searched the whole web to find any document which explains the XML for Date rules but couldn't find any. Does any one know what that XML means, and how to create new Date rules ?
    Please reply
    Krishna-

    Hi
    it just calculates new dates base on reference dates or abap function modules.
    In IMG in Date management node you can create your own date rules.
    Best would be to copy existing one and than modify it.
    Please read this thread about this: Date rules editor - file format documentation availability
    Regards
    Radek

  • User Message event firing

    I'm not sure of the best way to program what I have in my head.
    If I send a UI Message >10000 then the User Message event is going to fire for any and all of those messages.  This isn't much of a problem if it is a single callback VI that has a case structure to handle the different event numbers.  This is what some of the examples are showing in the Developer Zone.  My problem is that I will have several different VIs that will be handling User Messages.  If I want to keep the same Reg Event Callback structure is the only real way to do this with different VIs is to register multiple callback VIs to the same event and just have each VI only respond to the event number that it is interested in?  It seems to be a bit of a waste of CPU cycles if I have 5 different callback VIs and and 4 of them will get pinged on every event but not actually do anything.  I'm not going to be firing these messages too rapidly (~0.5-1s) but I can just envision one of my other programmers running a little wild with this concept and then we eventually find out that LabVIEW starts to get finnicky having 20 different VIs registered to the same event even if only 1 of them will do anything for any given firing of the User Message.

    Hi,
    You might call the AEs about registering multiple VIs. I don't know if that is possible. I've never seen it.
    What is the problem with a single callback VI that has a case structure to handle the different event numbers? Can't you paste your several different VIs into the case structure? Do you have to process your events in parallel, are they overlapping, or can you process them all serially? That's the only reason I can think of to not use the case structure.
    You can use the single callback VI case structure to convert the TestStand User Events to LabVIEW Dynamic Events and pass them to the LabVIEW Event structure that the Exit Event is in. And then put your VIs in the Event structure. Basically what that does is make the single callback VI a router that forwards the event messages to another handler. 
    cc

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • How to create new .dat file and its contents?

    Hi There
    Can anybody let me know the procedure of how to create new .ctl or .dat file to load data to tables.
    i working on 2day dba chapter 8. it shows me how to creat table and use .dat file to load data. but doesnot giv any clue how new .dat file and its contents can be created. please help.
    thanks in advance.

    Thanks for ur help
    I ve created txt file in notepad and saved it as dat file. tried to load that data thru Enterprise manager. used load data from User files everything went well and job was showing suceeded but dont know why that data is not showing in the table. i ve tried it now for three four times. used right table and pathe but dont know. has anybody got idea why that ll be?
    Thanks

  • How to add new data type

    I need to add new data type like SDO_GEOMETRY in spatial Oracle.
    I don't mean the User-Defined Datatype but new datatype imbed in the database.
    It might be written in C++ or Java but I do not know how.
    Any hints and help will be appreciated. Thanks,

    > It is not simply defining new VARCHAR3.
    I will compare embedded new built-in data type and UDT as part of my research.
    What I really meant was what do you want from your new type that a user-defined object can't give you? (Apart from the obvious shortcomings of Oracle object types being addressed, but that could take a while.) You specifically said "I don't mean the User-Defined Datatype but new datatype imbedded in the database" and I wondered what you meant by that.

  • How to get the dates a user has logged into the portal??

    I need to know all the times and the dates a user has loggin to the portal? Do you know any way to do this? I was trying to use "successfullogoncount" from UME_STRING of the PCD database but it doesn't say anything about the dates. I also try to use "lastsuccessfulllogon" from the sama table but, as the name says, it just give me the last date of logon... Please help!!!

    Hi Pablo,
    probably you could work with Portal activity reports.
    This can generate reports on activity in the portal, either reports on how many users were logged on to the portal or reports on the most popular pages and iViews.
    look out on this weblog at
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1242. [original link is broken] [original link is broken] [original link is broken]
    From this you can know which user has logged on at which date and time.
    If you are not looking for Portal activity reports try this:
    You can  get this information in the Visual Administrator of the J2EE Engine.
    Goto  Security Provider Service -> Runtime -> Login (Sessions).
    This would return a table showing the users along with the logging in start date&time, (if logged out) log out date&time, user-Ids, etc.
    Hope this helps,
    Regards,
    Uma.
    Message was edited by: Uma Thirugnanam

  • How to access  complex data type from a soap web services?

    hello
    can u please tell me how can i access complex data type from a soap web service from jdeveloper 10g
    Jdeveloper generates 3 classes
    serviceStub
    getproperties
    response
    i have to retreview the data which is a complex data type it gives some
    unknown type. and the return value is a key-value pair data type .
    regards
    vs

    After you create the partner link and the invoke (to create the variables), change the element type of the response message to the complex type definition of your collection that appears in the XSD. You can do the same thing if you want to change the element type of the payload of the request message as well.

  • How to access biz data of process instances in workspace at any time in 11g

    Hi,
    We are using Oracle BPM Suite 11g.
    Our users want to be able to check and search the business data associated with the process instance at any time (i.e. even after the instance is completed. And the business data should be included in the task list or search result list in the BPM workspace.
    I am new to Oracle BPM 11g. Please help. For the data to be displayed in the workspace, should I define them as “Process Data Objects”?
    Regarding to how to display the data, I find something about Flexfield. But the Oracle document says the Flexfield is for the data that saved in human workflow database schema. When the process instance is completed, will the data in human workflow database for this instance be removed? Can I setup flexfield for the Process Data Objects?

    Hi Ramandeep,
    Apparently I am not getting the required exception.
    I have a TF that outputs an Invalid Region Site when I run it and the when I run it I only got the loading page image of ADF.
    Looking at JDEV logs, I see an Invalid Region Site error
    Here's what I did, I created a TF template with only one view in it like this.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-template id="TFTemplate">
        <default-activity id="__7">errorPage</default-activity>
        <exception-handler id="__14">errorPage</exception-handler>
        <view id="errorPage">
          <page>/com/test/errorPage.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-template>
    </adfc-config>My error page as this:
    <af:panelGroupLayout id="pgl1">
         <af:outputText value="Error has occurred!" id="ot2"/>
         <af:outputText value="#{pageFlowScope.MyErrorHandler.stacktrace}" id="ot1"/>
    </af:panelGroupLayout>...and my bean.
    public class MyErrorHandler
      public String getStacktrace() { 
        ControllerContext context = ControllerContext.getInstance();
        ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
        Exception exceptionData = currentRootViewPort.getExceptionData();
        if (currentRootViewPort.isExceptionPresent())
          if(exceptionData!=null)
            return exceptionData.getMessage();
        return null;
      }But exception data still returns null.
    I exactly wanted to show this invalid region site but it seems I cannot catch it.
    Any idea why?

  • How to access Master Data in ERP2005 for SD

    Hi All,
    I installed ERP2005 in my system with MS SQL.
    I do not know how to Access the Master Data in the system for SD.
    Can anybody guide me.
    Thank you,
    Ravi.

    Hi Ravi,
    Firstly, have you created any Master Data. If yes, you will be able to access the same.
    Sales Order Management Transactions Codes:
    <b>GENERAL ORDER MANAGEMENT</b>
    Reviewing Document Flow VA03
    Searching for a Customer Sales Order by Serial Number ZV11
    Order Inquiry ZV33
    <b>SALES ORDER PROCESSING</b>
    Creating Sales Order VA01
    Maintaining a Sales Order VA02
    Displaying a Sales Order VA03
    Releasing an Order or Delivery from Credit Hold: Non-Flooring VKM1
    Releasing an Order or Delivery from Flooring Hold ZKM1
    Manually Pre-authorizing Blocked Credit Card Orders Z.14
    Display List of RMAs by Customer VA05
    Confirm RMA Goods Receipt VL02
    Generate list of open return orders for deletion VA05
    Display Customer returns eligibility MCSI
    Removing a Billing Block (Approving Credit/Debit Requests) V.23
    <u><b>PRICING MASTER DATA</b></u>
    Create Pricing VK11
    Creating a Sales Deal VB21
    Maintaining a Sales Deal VB22
    Displaying a Sales Deal VB23
    Maintaining Prices VK12
    Displaying Prices VK13
    <u><b>MATERIAL MASTER DATA</b></u>
    Creating Material Substitution Master Data VB11
    Maintaining/Deleting Material Substitution Master Data VB12
    Displaying Material Substitution Master Data VB13
    Creating a Bundled Master MM01
    Creating a Sales BOM CS01
    Maintaining a Sales BOM CS02
    Displaying a Sales BOM CS03
    <u><b>CUSTOMER MASTER DATA</b></u>
    Creating Partner Records XD01
    Maintaining Customer Master Data XD02
    Displaying Customer Master Data XD03
    Deactivating a Partner VD06
    CUSTOMER CREDIT INFO
    Creating/Maintaining New Customer Credit Information FD32
    Displaying Customer Credit Information FD33
    Blocking or Unblocking a Customer VD05
    <b>SHIPPING</b>
    Creating a Delivery VL01
    Displaying a Delivery VL03
    Deleting a Delivery VL02
    Shipment Inquiry / Display VT03
    Adjusting Transfer Order - Confirmation Quantity LT12
    Collectively Confirm Transfer Order LT25
    Batch Shipment Confirmation VL19
    Creating Service Provider/Carrier Master Data XK01
    Maintaining Serive Provider/Carrier Master Data XK02
    Displaying Service Provider/Carrier Master Data XK03
    Maintaining Product Master/Serial # Profile/Unit of Measure/Shipping Unit MM02
    IDoc Inquiry WE02 / WE05
    Workflow Instructions
    <b>BILLING</b>
    Invoicing a Customer Shipment VF01
    Reprinting an Invoice VF31
    Releasing a Sales Order for Billing V.23
    Creating an Invoice by Using the Billing Due List VF04
    Checking Open Billing Documents VF05
    Create Credit/Debit Memo FB01
    <b>A/R</b>
    Controlling Total Debit/Credit bkgs F.03
    Generate FI Account balance F.08
    Generate Month-to-date Inv. register F.02
    Process payments FBZ1
    Rqst Individual Customer Corresp. FB12
    Generate Customer Correspondence F.61
    Enter Batch totals under Control ttl FB07
    Display G/L Acct. totals FBL3
    Reverse Posted Amounts FB08
    Customer Refunds FBL6
    Customer Refund to other than Payer FB05
    Clearing Debit/Credit on Cust. acct. FB1D
    Customer Balance in Local Currency F.23
    G/L Account Balance Report F.08
    Create Invoice - legal entity adjust FB01
    Generate Cust. Acct. statements F.27
    Generate Dunning Letters F150
    Generate Billing Due List VF04
    Generate Blocked Billing Doc list VFX3
    Inq. via Credit Release Screen VKM1
    List orders by partner VA05
    Past Due invoices by customer FD11
    Check number info by G/L account FBL3
    Display customer Line items FBL5
    TREASURY - CASH APPLICATION:
    Post Customer payments FF68
    Verify if A/R is updated FB03
    Hope The above details helps you.
    Regards,
    Rajesh Banka

Maybe you are looking for

  • Visual Web - How to 'setObject' for an SQL query with an IN  ? clause

    Hello, I am relatively new to visual web pack. I am stuck at writing the java code for passing parameters to the SQL query. In a normal scenario, where we need to check if some variable is present in a column (= ?), we would pass the parameter as : s

  • Problem with loading image in html!!

    hai, my question is is it possible to show an image saved as a byte array using <img> is there any alternative solutions ........

  • How to maintain Hierarchy?

    Dear all, We create a hierarchy on CM Account(InfoObject),Every month there ara some new records should be upload to it. The problem is that after upload new records the hierarchy wouldn't maintain,so the report result is wrong. I want to kown how to

  • How to do application failover?

    I'm using weblogic cluster and oracle http server as loadbalancer. As we know: "mod_wl_ohs only support container level failover and NOT application level failover. mod_wl_ohs continues to route requests to a down application as long as the managed s

  • Upgrading Robo 5.0 files to 7.0

    Hi, I need to upgrade the Robo files created in Robo 5.0 to 7.0. Can anyone please let me know what are the issues that would encounter while upgrading? As of now, I have not faced any problems with styles, links and others when I have upgraded. But