Retrive the names of step measurements using LabVIEW

How do you retrieve the names of a multiple numeric step's measurements using LabVIEW? 
I've constructed a vi to call from TestStand, and will pass it "ThisContext", but the vi doesn't complie.  That's how far I got.  The vi is attached.  The error message is:
"The method selected in the invoke node is invalid or no method has been selected.  Right-click the invoke node and select a method."
My vi is an attempt to write the code from
message.id=10653 in LabVIEW.  Specifically:
Dim MyStep As [Step]
Dim MyMeasurement As PropertyObject
MyStep =
seqContext.AsPropertyObject.GetPropertyObject("Step", 0)
MyMeasurement =
MyStep.AsPropertyObject.GetPropertyObject("Result.Measurement[0]", 0)
MsgBox(MyMeasurement.Name)
 Can someone help me finish the vi?
Thanks
Solved!
Go to Solution.
Attachments:
Dev-GetMeasurementName.vi ‏8 KB

You missed the the AsPropertyObject in "MyMeasurement =
MyStep.AsPropertyObject.GetPropertyObject("Result.Measurement[0]", 0)". Checked out the attached.
I cleaned up your code. Make sure you're closing every reference you get from TestStand or it'll yell at you when you shut the engine down.
Attachments:
Dev-GetMeasurementName.vi ‏12 KB

Similar Messages

  • How to run stepping motor using LabVIEW

    Hi
    I need to run bipolar stepping motor using LabVIEW 6.1. Would anyone please guide me how to do that.
    I have measurement and automation 3.1.0.3021 installed on my system. I am new to LabVIEW.
    Jayaprakash.

    Hi,
    Do a search for the words "stepper motor" in the forums. This should bring up several threads where this has been discussed.
    -Sal

  • The name 'rolename' is in use by the cluster already as network name or application name

    I removed windows cluster ISCSI target server few days back since it was not needed and now its needed as we need since its a clustered storage space and we need this role for ISCSI storage to external server. Now when I add the role again I get this error
    The name winiscsi is in use by the cluster already as network name or application name
    I double check role is not installed . I even rebooted both nodes
    ad

    Hi Adnan-Vohra,
    Could you post the original error information or the screenshot about this error, I can’t find out any similar error explain, we can not install the iSCSI target on any cluster
    node we need the separate server as the shared storage.
    Failover Clustering Hardware Requirements and Storage Options
    https://technet.microsoft.com/en-us/library/jj612869.aspx
    I’m glad to be of help to you!
    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]

  • Battery management system design for EV to monitor and to balance the Li-Ion cells' voltages using LabView, NI myRIO-1900 and LTC6804-2 IC

    Hello,
    I have NI myRIO-1900 and LabView 2014. I need to design a Bettary management system to monitor and balance the rechargable Lithium-Ion battery packs' voltages and charges using LTC6804-2 IC. I am facing some problems to program the IC for monitoring and balancing the cells' voltages and charges using LabView via NI myRIO. Can anyone help me to design this by giving some references and technques.
    Thanks in advance.
    Mohammad Hoque
    [email protected]

    Hi Mohammad,
    I believe with EPS you can monitor the cells' voldates and charging. I'm not sure what you mean by balancing, though. Can you elaborate a bit more?
    Thanks.

  • Irc account keeps disconnecting cannot use IM what is nick at the beginning of the name ..can i use another name ? thank you

    hello i am trying to set up instant messaging ....the account keeeps disconnecting after a few seconds and i cannot make it work
    it keeps saying nick ... what is nick at the beginning of the name ..can i use another name ?
    if i use mozilla for IRC what is the server name ?
    what other details do i need to type in ?
    Thunderbird is running on a single home PC which only has Open Suse 13.1 x64 linux on it ( no Windows )
    thank you

    'nick' is your nickname which you entered when you set up the IRC chat. You can register your nickname by entering "/msg nickserv register <password> <email address>"
    Then when you start next time enter "/msg nickserv identify <password>"
    You can get a list of nickserv commands by entering "/msg nickserv help"

  • Cannot enter correct values in the SQL server express 2012 using labview

    Hi everyone,
    I am trying to enter the 2D array I get from DAQ into the SQL server express 2012 using Labview. When I am run the software, it connects with the table but doesn't enter the correct values. It only enters the "0" for each column of the table. I have attached the VI as well as the screenshot from the database server. 
    I am also writing the same 2D array data into the text file and I get the correct readins there. 
    Is there something I am doing wrong here. 
    Attachments:
    test.png ‏251 KB
    test3.vi ‏96 KB

    If you had read the QL manuals or reference books, you would be aware SQL Server doesn't do multidimensional arrays.
    I prefer BLOBs or VARCHAR(MAXCHAR) as an alternative. I enter the values in formatted string values delimiter separated.
    But how to deal with multidimensional arrays. Well up to 3-5 you can use simple value for each "dimension". So the lowest dimension
    would be comma delimit. The next set of values and each succeeding set for each 2nd dimension values would have the "set" of values separated
    by a ":" or semicolon. For the third I use the ":" or colon to separate each 2D block of the 3rd dimension. This can all be easily reparsed
    with a multidimensional parser for the application. Should be simple to build. (e.g.. Use string arrays to parse the higher dimensions
    and numeric array for the lowest dimension). The VARCHAR(MAXCHAR) has an upper data bound of 2GB! If you have to save more
    than 3 dimensions for most all applications, you don't understand how best to analyze the test data and may want to give it more 
    thought to optimize the operation as well as the design, so it doesn't get too complex. By the way I use Data Clusters built in the
    data order and type as for SQL Server Data Table. This makes the design of the SQL Server interface easy as pie .

  • Frequency measurement using Labview 8 and Fieldpoint FP-CTR-502 - wind speed measure

    All the information regarding this kind of application seems to be outdated, I did not find no solution or example to construct frequency measurement VIs using Labview 8
    The examples at "NI Discussion Forums :
    Most Active Hardware Boards :
    FieldPoint Family :
    Low-Frequency measurements using counter/timer" is very strange and so far the steps given seems to be usefull only do old Fieldpoint Explorer.
    I was trying to find a way to learn how to make an anemometer send its signal to a FP-CTR-502 but I have no sucess.
    I am realy very new on this Labview stuff, any help would be welcome.

    (similar thread here)
    Message Edité par Mathieu R. le 12-23-2005 02:28 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • Creating TestStand GOTO step programatically using LabView. Problems.

    Hi
    I am trying to programatically create and configure a TestStand GOTO step, using LabView.  I can create the step fine, but I cannot work out how to specify the GOTO Destination.
    Has anybodt got any ideas?
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Managed to solve this one myself by setting the CustomActionExpr to 'True' and the CustomTrueActionTargetByExpr to the name of the step I wanted to jump to.
    Steve
    Message Edited by SercoSteve on 01-24-2006 02:13 AM
    There are 10 types of people in the world that understand binary, those that do and those that don't.

  • Retriving the style that has been used for a charecter in a Document

    how can i retrive the style that was used ( bold /italic , color , size etc or Style name ) with character in a defaultStyledDocument.

    This should get you the attribute set for a given character:
    StyledDocument doc = (StyledDocument)textComponent.getDocument();
    Element element = doc.getCharacterElement( offset );
    AttributeSet attributes = element.getAttributes();

  • Need to retrive the name-value pair of concurrent request

    Hello All,
    I need to write a query that takes the concurrent request ID (executed concurrent request) as input and retrives the concurrent request parameter names and the values submitted to run that request.
    we have considered the following tables to acheive the result:
    fnd_descr_flex_col_usage_tl
    fnd_concurrent_requests
    fnd_concurrent_programs
    however unable to map the parameter name-value pairs properly.
    Thanks
    Krrish

    declangallagher .. I am sorry for not being very clear ...
    I am sorry for taking your time.But I appreciate your effort .and time ..
    I
    I have two servlets 1. result (existing) 2. preResult ( probable wrap around)
    The servlet
    1.result : takes in the Name and gets the result from the db ( Actually uses Castor and JDO ) to get the result
    and the GET is as follows
    http://128.173.99.68:8080/WebApplication/result?queryFor=Experiment&Name="john"
    where "queryFor" is for the name of the form and Name is the text in the VTL ( View)
    2.preResult is supposed to be a wrapper around the servlet "result" this takes in the ID from the user
    and is of the form
    http://128.173.99.68:8080/WebApplication/preResult?queryFor=Wrapper&ID="1234"
    There exists a DB mapping to ID and Name .
    So Instead of calling the result servlet ..I'll directly call the preResult servlet ...get the ID from the user ...
    and get the corresponding Name from the db
    ....here
    I wish to (If possible) tweak the "request" parameter
    change
    1.The queryFor value to Experiment
    2. add The Name="john"
    and send this to the result servlet so that it process it ...........

  • How to control steps of a step motor using labview?

        Hi, I'm really beginner on labview and I need to make a VI to control a step motor. For each n steps, a sensor must observe the position of a mechanism and save in a table based on the number of steps taken. I've already have the sensor's driver, but I don't know how to comunicate labview with the step motor.
       I've seen some samples here, but they weren't enough. I need to buy some specific hardware? What's the difference between using VISA and Motion NI 77xx? Where I write how much steps I want it moves?

    HI 1M2S,
    You have many ways to communicate LabVIEW with a step motor. Are you using a IC step motor driver or a NI module step motor driver?
    If you a using an IC step motor driver you can use serial port or DAQ digital output to control the step motor steps.
    If you are using a NI step motor module you need use NI Motion functions.
    Best regards,
    Abel Souza
    Engenheiro de Aplicações
    National Instruments Brasil

  • Strain measurements using labview and DL750 scopecorder

    Hi
    I want to use labview to do strain measurements using DL750 Yokogawa Scopecorder. I have installed the DL750 drivers and I  can access them from labview, but I am a bit lost as to getting to communicate with the scopecorder, setting up measurements and so on. I am all new to strain measurements and to labview, is there a link or a tutorial that anyone would recommend I refer to?
    Regards, tickle

    Hi Tickle
    It looks like the driver you are using is supported by a third party. I took a look at the driver you are using and it has a couple of examples included with it. I would recommend taking a look at these examples as they are normally a good starting point for communicating with your device. Has anyone else used this device in LabVIEW?
    Best Regards,
    Adam G 
    National Instruments
    Applications Engineer

  • How to obtain the table index in word use LabVIEW Report Generation Toolkit for Microsoft Office

    I created a word templete and it had several tables. When I use the "Word Edit Cell" function in LabVIEW Report Generation Toolkit for Microsoft Office, the function need "table index", and I didn't find any function to get or set the table index in word document. How can I achieve my attention to write value to specified table cell using the "Word Edit Cell" function?
    Thanks for reply!
    YangAfreet

    Hi yangafreet
    You do not need to get the table index for the word edit cell.vi from anywhere. LabVIEW will automatically index all the tables in the document. See the attatched vi for an example.
    Rich
    Attachments:
    Table Edit.vi ‏23 KB

  • How to find the names of Function Module used in the program

    Hi all,
    can you people help me with this issue.I want to the names of all the Function Module used in the program  along with their parameters into an internal table.It will be helpful for your suggestions.
    Kind Regards,
    Edited by: Prasenjit Sengupta on Nov 20, 2008 7:39 AM

    Take structure of internal table as
    TYPES : BEGIN OF TY_FM,
            FUNCNAME TYPE RS38L_FNAM,  "Name of Function Module
            PARAMETER TYPE RS38L_PAR_, "Parameter name
            PARAMTYPE TYPE RS38L_KIND, " Parameter type
            R3STATE TYPE R3STATE,      "ABAP: Program Status (Active, Saved, Transported...)
            STRUCTURE TYPE RS38L_TYP,  "Associated Type of an Interface Parameter
            DEFAULTVAL TYPE RS38L_DEFO,"Default value for import parameter
            REFERENCE TYPE RS38L_REFE, "Call by reference
            OPTIONAL TYPE RS38L_OPTI,  "Optional parameters
            TYPE TYPE RS38L_TYPE,      "Reference Structure is an ABAP/4 Type
            END OF TY_FM.
    DATA : IT_FM TYPE TABLE OF TY_FM WITH HEADER LINE.

  • RTD Temperature Measurements using LabView 2013 and MyRio

    Hey everyone.  I am VERY new to LabView programming and working with a MyRio.  I need to figure out how to measure the resistance of a 2 wire RTD to find a temperature utalizing the MyRio and LabView.  I am pretty lost on how to do this.  Does anyone know some good resources for making the LabView program off of the tops of their heads?  I've figured out how to measure from specific pins, but I am not sure how to get it to constantly output a voltage from the output pins.
    Eventually, I would like to have it display the temperature as well as have it turn on or off a heater depending on that temperature, but that will come far later in this process. First things first, how do I take temperature measurements utalizing LabView 2013 and a MyRio with a 2 Wire RTD. 
    Thanks so much!

    Hi JoshEpstein87,
    The myRIO can't acquire a change in resistance directly, so you'll need to somehow convert the change in resistance to a change in voltage. There are multiple ways to do this, but you'll need to build an external circuit and then read the voltage output with the myRIO. One example of a circuit that allows you to do this can be found here. To output a voltage on the analog output pins, you should just need to set the output voltage and then it will remain at that voltage until you change it or power cycle the myRIO.
    To get started with LabVIEW and myRIO programming, see the following page:
    http://www.ni.com/myrio/setup/getting-started/
    There are some links to LabVIEW training as well as resources about RIO programming. I also highly recommend you check out the myRIO Community as there are example programs on there that you can take a look at to see how they are designed.
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Portal runtime error while executing BI report through BEx Query designer

    I want to execute a query from query designer but when I execute it the following error occurs - Portal runtime error. An exception occurred while processing your request. Send the exception ID to your portal administrator. Exception ID: 04:30_30/04/

  • File - XI/BPM - R/3 IDocs

    My Scenario is multiple records in file to be sent as Idocs. Are there any documentation on how to design and config scenario like this. Also my Question is since BPM is Sender How Can I configure header data of Idocs ?.  Any documentation or blog li

  • Images not showing on ebay?

    Ever since yesterday I've logged onto ebay and when I've searched for something the images won't show. When I first enter the site all the images are there, but if I search for something no images pop up next to the descriptions however if I click on

  • Spry Menu Background Color

    I've created a spry vertical menu with a black background. When I mouse over one of the menu items and the sub menu appears, I would like it to have a different color background than the main menu. Anyone know how to accomplish this? Thank you>

  • HT201472 Does location services have to be on for activation lock to work ?

    Will activation lock work if location services is turned off ?