TS Sequence Context and Invoke Node problems

I have a Vi that was developed in 7.1 and TS 3.1.  I inherited this design from a past developer.  The Invoke node works fine when loaded with LV 7.1 but not when I load the Vi with LV 8.2.1.  I have gone through everything I can think of to correct the problem.  Help would be appreciated. [email protected]  (contact address to let me know you posted or you can do it directly.  Thanks in advance.
Attachments:
TestStand - Dist LabVIEW Test - Sequence Context.ctl ‏6 KB
TestStand - Get Property Value (Number).vi ‏42 KB

I just loaded this vi in 7.1, 8.2 and 8.5 and it works just fine for me. Although my TS version is 4.0. Can you expalin what you mean by it doe not work in 8.2. Does it load correctly? Have you reinstalled teststand into LV 8.2 so that you can open the TS pallette in LV 8.2? Are you running this inside of a sequence and passing the sequence context to it. It will not run correctly if a sequnce context is not passed to it from TS.
Also you should post this in the teststand forum and not the LV forum
Joe.
"NOTHING IS EVER EASY"

Similar Messages

  • Problems with sequence context and W2000

    I have a Test Stand 1.0 sequence that works correctly in W98 but I have tried to execute in a PC with W2000 and the sequence doesn´t work. It seems that the problem is with the sequence context activeX pointer.

    Hello,
    TestStand 1.0 and 1.0.1 did not support operation under Windows 2000. TestStand 1.0.2 and later did. Are you by any chance using one of the versions not supported? If so, I would recommend upgrading to the latest version which is TestStand 3.0.
    Bob

  • 802.11 RTS/CTS and hidden node problem

    Guys,
    A little confused here.
    The hidden node problem is if two nodes within a cell can hear the AP but not each other. OK.
    But, when we talk about 802.11b and 802.11g backwards compatibility causing reduced throughtput in terms of bandwidth, it seems that this is always blamed on 802.11g stations having to use RTS/CTS.
    But,
    Even in an 802.11g only cell, dont stations still have to use RTS/CTS mechanisms for the hidden node problem?
    I'm confused.com!
    Thx
    Ken

    When 802.11b clients are associated to an 802.11g access point, the access point will turn on a protection mechanism called Request to Send/Clear to Send (RTS/CTS). Originally a mechanism for addressing the "hidden node problem" , RTS/CTS adds a degree of determinism to the otherwise multiple access network. When RTS/CTS is invoked, clients must first request access to the medium from the access point with an RTS message. Until the access point replies to the client with a CTS message, the client will refrain from accessing the medium and transmitting its data packets. When received by clients other than the one that sent the original RTS, the CTS command is interpreted as a "do not send" command, causing them to refrain from accessing the medium. One can see that this mechanism will preclude 802.11b clients from transmitting simultaneously with an 802.11g client, thereby avoiding collisions that decrease throughput due to retries. One can see that this additional RTS/CTS process adds a significant amount of protocol overhead that also results in a decrease in network throughput.
    In addition to RTS/CTS, the 802.11g standard adds one other significant requirement to allow for 802.11b compatibility. In the event that a collision occurs due to simultaneous transmissions (the likelihood of which is greatly reduced due to RTS/CTS), client devices "back off" the network for a random period of time before attempting to access the medium again. The client arrives at this random period of time by selecting from a number of slots, each of which has a fixed duration. For 802.11b, there are 31 slots, each of which are 20 microseconds long. For 802.11a, there are 15 slots, each of which are nine microseconds long. 802.11a generally provides shorter backoff times than does 802.11b, which provides for better performance than 802.11a, particularly as the number of clients in a cell increases. When operating in mixed mode (operating with 802.11b clients associated) the 802.11g network will adopt 802.11b backoff times. When operating without 802.11b clients associated, the 802.11g network will adopt the higher-performance 802.11a backoff times.

  • FCP 6 Sequence Settings and RT playback problem

    Hi everyone
    Have recently bought a copy of Final Cut Pro Studio for my macbook pro
    I know to play video in FCP in real time all the sequence settings need to match the captured video/file settings of the clip.
    All my settings are matching, Ive tripple checked them but they are STILL saying I need to render the clip before playback in SafeRT.
    Have tried deleating files and re-importing them ect still no go.
    The file ive imported is a DVCPRO HD codec.
    I cant render everytime I want to play a video - thats not an option. It should be okay if all the settings match (Which I belive they do) but still not working.... is there a vital setting I may have missed?
    Im running FCP 6 on a
    Mackbook pro 17"
    5400 rpm sata drive
    NIVIDIA 8600 geforce 256MB graphics card
    160GB hard drive
    2.0 MB Memory
    this prob is SO WEIRD
    cheers
    h

    Yeah tried doing that, plays okay but really want to get the safeRT working properly
    wow - i didnt realize that the 5400rpm drive in the macbook pro would preform so poorley with compressed codecs such as DVCPRO which is a pretyt standard codec yes?
    I guess the 7200rpm drive now is def the way to go - i was getting one anyway
    so does it matter that the computer drive speed is 5400rpm when working of a 7200 rpm firewire 800port drive? I assume that if all the media is on the 7200rpm the computer internal drive would only be running the program, which would be more then enough do you agree?
    Its looks as if FCP 6 has some way of recognising the computer drive speed for accessing the media and determining whether it is fast enough or not, if not, wont even try to attempt to play in RT resulting in the red render line, no matter if I have my sequences settings all set up correctly and matching. This is something that I am unclear about in the software.

  • What does mean "property node and invoke node"?

    I want to read excell file and could program it with refering to this discussion board.
    But I can't understand details of this process.
    For examples , What does mean to put "workbooks,visible,Displayalert"?
    and What does mean "open,filename,etc・・"?
    I want to be taught this object meaning each process as minutely as possible.
    Hope your help!
    Attachments:
    設定配列読込(Excel to string table).vi ‏64 KB

    Typically with any activeX programming in labview you drop an reference to an object , open the reference, then invoke the methods and set the properties and when done you close the reference.  To select what reference you would like right click on the activeX reference and choose "browse".  The excel object library provides many activeX interfaces but typically you would manipulate the application object, Workbook or worksheet but I have only used the excel interface a few times, I prefer to use excel offline and not directly communicate with the application programmaticly.  You can also place an axtiveX container on the front panel and select the Excel container object to embed an excel instance on your front panel.  Good luck.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to get a LabVIEW class object to expose an invoke-node method?

    Hi,
          I like the property/invoke-node "paradigm" used for interacting with "objects".  Can LabVIEW-class objects expose their properties and methods this way?  Can one or more LabVIEW-class objects be compiled into a library or "assembly" (or other distrubution format) that allows the property/invoke-node usage?
    I've looked at (but not completely understood) "Creating LabVIEW Classes".  Have also searched for related posts.
    The pic below shows an invoke node wired to a class with a Public VI "VAT.Status.Hello.vi".  I'd like to see VAT.Status.Hello show-up as a Method.  (I just tried "Select Method", and selected "VAT.Status.Hello.vi" but dialog's "OK" button stays greyed-out.)
    Cheers.
    Message Edited by tbd on 03-29-2007 03:15 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    VATStat.JPG ‏54 KB

    Hi Aristos,
          Thanks for the reply!  It was a bit dissappointing, though.
    It appears the LabVIEW-class object will be moving away from (what seems to me) a convenient object-interface presented by the invoke-node/method paradigm - which allows us to interface with a large set of "objects" (.NET, ActiveX, LabVIEW GUI, VISA Resource, ?) in a similar manner and independent of the object's origin.  Being able to read the methods and parameters that appear in these nodes is also helpful for understanding diagram logic!
    I do like the option of dropping a friendly "VI looking" icon on the diagram, but perhaps an optional - even default - VI-icon representation for a class-object invoke-node is feasible - so the LabVIEW class-object could be the more generic object first, but with a traditional-G representation(?)
    Given the answer "We would like, someday, to support the property node"
    and "in the next version of LV, wiring the LV class to the property/invoke nodes will break the wire so we'll avoid confusion in the future",
    ... I guess you'll break the wire in the next version, but (perhaps) allow it again - if support of the property node is ever implemented?
    Regards.
    P.S. For the record, huge THANKS to whoever it was that straightened-out enumerated-types (somewhere) between LV4.1 and LV6.1.  Every time I add or remove an enumeration in a typedef, I silently give thanks to the bright and thoughtful soul(s) who made this valuable tool work so well!
    Hello. This is your friendly neighborhood R&D guy for LabVIEW classes.
    Regarding your request about property and invoke nodes as relates to LV classes....
    Short story: We would like, someday, to support the property node. We have no intention of ever supporting the invoke node.
    Long story: As we were creating LV classes, we had to evaluate the right programming interface for these things. We wanted LV classes to behave as new data types in LV. A developer should be able to create a LV class, then give it to someone who doesn't even know OO programming, and that second programmer could use the new data type without learning a lot of new concepts. From this principle, we held fast to the idea that the programming interface should be subVI calls whereever possible. The invoke node is really nothing more than a VI minus the icon. If you want, you can popup on any subvi node and uncheck the option "View as Icon". This will make the node display in a way that has the terminals listed as text, like the invoke node. So, at the end of the day, the invoke node is simply a subroutine call in LV that is language dependent, as opposed to the language independent iconography of LV generally.
    The property node is a slightly different story -- the functionality of a property node is actually different than an invoke node as its terminals are various subsets of the properties available, not a fixed list of parameters like the invoke node. The property node provides a nice interface for setting multiple properties in a block and only having to check a single error return. Very friendly. Our intent is to allow you to create a VI that has 5 terminals: object in, object out, error in, error out, and either a single input or a single output of your chosen type. VIs with this conpane could be marked as "properties" of the class and would show up when you wire the class wire to the property node. We would call the subVIs behind the scenes as needed to get/set the properties.
    This is on the longer term roadmap because it is "syntactic sugar" -- it sweetens the programming style, but it is not necessary to program effectively. You can get the same effect by writing those same VIs and stringing them along on a block diagram "railroad track" style. We'll probably get around to it in three or four versions of LV -- there are some major user requests that impact functionality that have to get done first.
    PS -- in the next version of LV, wiring the LV class to the property/invoke nodes will break the wire so we'll avoid confusion in the future of people thinking there's a way to use these nodes.
    Message Edited by Aristos Queue on 04-02-2007 09:56 AM
    Message Edited by tbd on 04-03-2007 12:39 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Get Sequence context from ActiveX reference

    Hello,
    I am passing to MFC DLL ActiveX reference to freshly created new execution. In examples it is shown how to pass "ThisContext" to DLL (struct IDispatch *seqContextDisp) but i need something like :
    - create new execution, save ActiveX reference in local variable
    - pass reference to DLL
    - in DLL get from reference sequence context and perform some operations (get/set vaiables, etc.)
    Thanks.

    I'm not sure I fully understand the question but I'll take a stab at it anyways. First if you want to have seq context of the new execution; review my sample seq file I sent along. In this seq file you can pass seq context of the new execution to a dll in either seq/execution.
    If this is a simple "C" type question the prototype/code would look something like the .cpp file I attached.
    My stuff may have a couple different parameters!
    If I misunderstoo the question you might want to send me what you got so far... It might be eaiser for me to see what you are tyring to do and I can finish an example for you.
    [email protected]
    Attachments:
    Sequence_File2.seq ‏16 KB
    handleexports.cpp ‏9 KB

  • Problem while handling Parent and child nodes in CE

    Hi all
    I am facing a problem with handling Child and Parent nodes in CE.
    I have a Table in which I have drop downs. On selecting a value in the drop down, I have to take that value and do some action.
    I am trying to access the value in the following ways
    wdContext.nodeParent().currentParentElement().nodeChild().currentChildElement().getVaActivity();
    wdContext.nodeChild ().currentChildElement().getVaActivity();
    When I select the drop down from the first row of the Table the code works fine.
    But when I select other rows, it returns the current value of the first row.
    The lead selection of the parent always returns u20180u2019 even though you have done some action in row 2,3 etc.
    The same code gives the required values in EP 7.0; I.e.: it returns the values form selected row in the table.
    Basic problem is that the current value of parent always returns the first row.
    Following are the Properties of the nodes
    Parent
    Collection Cardinality: 0-n
    Singletone: true
    Child:
    Collection Cardinality: 0-n
    Singletone: false
    Please help
    Regards
    Deepu

    Hi,
       In CE changing dropdown selections doesn't fire table leadselection events. If you want to use a dropdown in a context-driven UI element like a Table, you need to use of event parameter mappings. So here are the steps:
    1. Create a new action for the onSelect event of the dropdown (I will write the code for DropDownByIndex), let's call it Select.
    2. Add a parameter parentElement whose type is same as the type of the parent node element. So from your example it would be IParentElement. Select the chek-box for "Adapt event-handler parameter". This will add a new parameter to the event-handler method onActionSelect called parentElement.
    3. Write this inside wdDoModifyView :
    if (firstTime) {
        IWDAbstractDropDownByIndex ddi = (IWDAbstractDropDownByIndex) view.getElement("<id of DropDownByIndex>");
        ddi.mappingOfOnSelect().addSourceMapping(IWDAbstractDropDownByIndex.IWDOnSelect.NODE_ELEMENT,"parentElement");
    3. If you want to set the lead selection of the table to the row where the dropdown is write this inside the event-handler:
    wdContext.nodeParent().setLeadSelection(parentElement.index()); //parentElement is the event handler parameter added through the action.
    Note that the event parameter IWDOnSelect.NODE_ELEMENT points to the node element that defines the data mapping for the containing row and not the node element of the source for the dropdown. This has been specfically  added for such a scenario. All this is well documented [here|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractDropDownByIndex.IWDOnSelect.html#NODE_ELEMENT].
    Regards,
    Satyajit.

  • Intermittent problem using "invoke node - reinitialization to default" command to clear an array

    I use the "reinitalization to default" invoke node to clear an array after sending the data to a file. The next time the vi is called the array should appear with all elements set at the default values. However occasionally the array will not be cleared and data from the previous time the vi was called is still in the arrary, or at least it appears that way since the same data for the previous time called appear in the file  when the new values are appended to the file. New data appears okay, only data points in the array which I dont update appear with the old values. And again it's an intermittent problem. I can fix the problem for a while anyway by shutting down labview and rerunning it.  Any ideas what's going on?
    Thank you.
    Chuck
    Solved!
    Go to Solution.

    A lot of this code should be done different, just for the reason that it is difficult to find such problems. I would suggest you browse examples about state machines to see some 'best practices'.
    But I guess I found the source of your error for now: I checked the control labled '1' which is used to build your appended array. Here I didn't find any initialization code or invoke node. Maybe that's it?
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Problem using invoke node

    I have some tables on the front panel that I use to display my data results.
    I use an invoke node to initialize them (so that results boxes are filled
    with X's), but sometimes when I rerun the program old data gets back in.
    What happens is if I run one test item, then when the program finishes I
    click that test item off and click on the next item it is supposed to remove
    the previous results so that the display is fresh for the new run. It does
    do that at first, but in a subsequent sequence I take the table and new
    results and stuff the new results into the table. Somehow the old results
    table is passed to the subvi that does the stuffing. It does not do this
    all the time, but it should not have a race condition because the
    initialization and stuffing are separated by sequence. I am using generic
    vi server class (generic/go object/control/control) because I only want to
    initialize the display tables, not everything. Is this bugged or am I doing
    something wrong? Maybe I should just use another way to initialize, but it
    seemed like an elegant way to do it.

    Using sequences doesn't remove the possibility of having race conditions. It's more a matter of how you pass the data between the different segments of your code. First thing is to NEVER use globals or locals to pass dynamic data between different parts of your code. Second, use dataflow to establish the proper execution of the program, not artificial structures such as sequences--which you should never have to use anyway. I know this message is kind of old, but if you are still having trouble I'd be glad to check out your code as this type of error is almost always a race condition.
    Mike...
    [email protected]
    "...after all He's not a tame lion..."
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Strange behaviour with ActiveX invoke node and Excel

    I want to send a table of numbers from LV50.1f to Excel97. After getting a
    reg to Excel8.Application I retrieve the Workbooks property, Invoke Item to
    select a certain Workbook reference, retrieve the Worksheets collection
    reference, Invoke Item and then get a reference to WORKBOOKS again.
    Strangely, there is an example code from the NI web site that does exactly
    the same, but in the last step a variant is returned in stead of a
    reference, which is converted using Variant to G to a Worksheet reference.
    when I copied that last invoke node to my VI I also had a variant returned,
    so on one diagram I had to invoke nodes connected to the same sources, one
    returning a ref, the other returning a variant!
    Disco
    nnecting the sources to my Invoke node and rewiring gave no change.
    Also type casting the ref to workbooks to a worksheets ref, didn't work - I
    get errors in the following property node that retrieves a Range - which
    exists in Worksheet, but not in Workbooks.
    Appearantly, LV gets the returned type mixed up sometimes, and there is no
    way to fix it other then copying a invoke node from another diagram?
    Finally I got it working though, but this behaviour puzzles me. Contrary to
    the example from NI, I now managed to send a table (2d array of strings) in
    one call to Excel (don;t need to loop over cells or columns).
    PS
    I used to do the same using DDE but ranges are different for each language
    version of Excel (i.e. R1C1 for English and R1K1 for Dutch), so my VI's need
    to know the language of Excel. Also with NT and Win98, getting a DDE
    connection often hangs LV. But a big progress has been made - now I need
    different VI's for each version of Excel!!!
    Ferry Toth
    Enraf BV, The Netherlan
    ds

    Hi Enric,
    Can you try your queries again using the new release of DB XML? It contains some improvements in this area.
    http://www.oracle.com/technology/software/products/berkeley-db/xml/index.html
    John

  • Sequence Panel and CTI lock-up - Solved, problem due to 48kHz .wav audio files

    Answering my own issue here, but maybe someone else will benefit as well...
    PC, Windows 7
    Upon opening an ongoing project I found the sequence panel and CTI were immediately unresponsive.  The PC was also showing a high amount of background processing on the PrPro processes.  I went back to a previous project version and everything was normal. 
    In the latest (problem) version I had added some VO to the sequence - audio .wav files encoded as 48kHz, 16bit.
    I then renamed the audio file folder and reopened the newest project, causing PrPro to not find them and placed them offline.  Everything returned to normal.
    I then converted the 48kHz audio files to 44.1, 16bit and reopened the project, designating the new files to replace the old.  Again, opeing the newest project, everything was OK and I was able to continue on.
    It seems that the 48kHz files were causing PrPro to hard-loop in a background process in the indexing, conforming and peak file generation phase.  I found when using the problematic project that the sequence panle adn CTI were actually responding, but only after a very long delay.  An example would be to try to reposition the CTI with no response, then clicking play and stop in the playback window, then the CTI would update.

    That is odd
    When I do DV project with video that is digitized by my old Pinnacle DV500 card, the audio inside the DV AVI is always 48khz 16bit stereo... and I do, of course, create a project to match the files

  • Problem with the browse sequence back and browse sequence next widget placed in the screen layout

    Hi,
    Some basics: We are using Robohelp 10 to  generate multiscreen  html5 output. We used the pharmaceutical  screen layout downloaded from:  http://helpx.adobe.com/robohelp/robohelp-screen-profiles-layouts.html but modified it to match our GUI.
    We are having a problem with the browse sequence back and browse sequence next buttons placed in the screen layout from the widgets tool bar. We are in no way experts at this part of Robohelp...and the css portion of all this is a bit of mystery but we have managed to get mostly what we need. Now we just need these buttons to work. In the past we used Airhelp and things worked great. Can anyone help us understand why the sequence buttons are not showing up in the output even though it does in the topic preview?
    Also
    This shows up in the  layout.css file:
    a.wBSBackButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSBackButton {
                    border: none;
    a.wBSNextButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSNextButton {
                    border: none;
    Also btw, I forgot to mention that we are linking our FrameMaker files.
    Appreciate the help.
    Thanks!

    hi pradeep
    It does not happen but if you Wait for a while that may be solved

  • I am using the NI application note "Calling IVI-COM drivers from LabVIEW" I created an Automation Open and an Invoke Node, after wiring

    the 2, the AN asked to right click the Invoke Node(this is step9) and choose initialize. However there is no intialize option on the pop up menu. Anything am I doing wrong? I am using Labview6 and I did add the "enableCustomInterface=True" in the INI-fileThank you for your help.
    T Tall

    the 2, the AN asked to right click the Invoke Node(this is step9) and choose initialize. However there is no intialize option on the pop up menu. Anything am I doing wrong? I am using Labview6 and I did add the "enableCustomInterface=True" in the INI-fileT Tall,
    What's the number of the application note "Calling IVI-COM drivers from LabVIEW"? I'm unable to find what you're looking at.
    Thanks,
    --Bankim

  • Labview problem invoke node event

    Salve a tutti,
    ho questa classe in C#:
    public class GUIRequest
    private Client Clnt;
    public GUIRequest()
    this.Clnt = new TerminalEngine.Client(true);
    public void CallAccountRequest(string ID)
    this.Clnt.getRFAccount().AccountRequest(ID);
    Clnt.getRFAccount().SendResponse2BLLabview += new RFAccount.SendResponse2BLLabviewHandler(ReceiveIdentificationResponse); //to check if it is the right place
    public void ReceiveIdentificationResponse(object sender, OtherClasses.IdentificationResponse e)
    if (SendResponse2Labview != null)
    OtherClasses.IdentificationResponse argument = new OtherClasses.IdentificationResponse();
    argument.UserName = e.UserName;
    this.SendResponse2Labview(this, argument);
    public void provamethod(int a)
    int b = a;
    public delegate void SendResponse2LabviewHandler(object o, IdentificationResponse e);
    public event SendResponse2LabviewHandler SendResponse2Labview;
    Quando vado ad usare la dll di questa classe in labview, come prima cosa uso il constructor node Successivamente, prendo un invoke node ed ho il seguente problema: non vedo metodi da utilizzare. Stranamente, se provo a commentare il metodo ReceiveIdentificationResponse, magicamente  riesco a vedere (e quindi usare) gli altri due metodi. Quindi mi viene il dubbio che usando un metodo che ha come parametri (object sender, OtherClasses.IdentificationResponse e),crea qualche problama  labview. In pratica questo metodo che crea problemi viene usato da C# (non da labview) per generare un evento che labview dovrà raccogliere.
    Sapete aiutarmi per favore?
    Grazie in anticipo,
    Chiara

    Grazie Marco. Funziona

Maybe you are looking for