Jump to content

ccarner

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ccarner

  1. I encountered something strange today. While paused in an active execution with the execution pointer at the last step in Main, I call Step Over, and in the resulting Trace UI message event callback, I call Execution.Break (the code doesn't realize that the execution will stop anyway); after the callback, the execution pauses at the end of the Main step group. Then, when I call Step Over again, I get the UIMsg_ResumeFromBreak and UIMsg_BreakOnBreakpoint, but no UIMsg_Trace as expected, and the execution doesn't seem to change state. I would expect the execution pointer to advance to the start of the next step after the calling step (there are no Cleanup steps).


     


    Note that this does not occur when the execution pointer does not point to the last step in Main, and also does not occur when the execution does not pause before running the last step in Main.


     


    My only thought is that the TestStand engine is perhaps erroneously inserting an extra breakpoint somewhere, but I don't see a way to determine if the execution will break at the end of a step (including after the last step in a step group) without manually calculating it sometime earlier. Or maybe I'm ignorant of something else going on? Any help is appreciated.


  2. I have a custom interface for TestStand sequence execution, written in LabVIEW. I have custom data in my custom UI (living in a LabVIEW class instance) that I want a TestStand sequence to be able to access. What I was hoping to do was pass my LabVIEW class instance to the sequence as a TestStand object reference, and have the TestStand sequence call class-specific VI's to read/write the data.

     

    As for your suggestion, how does using the SequenceContext differ from using the Execution object? They're both TestStand PropertyObjects.

  3. Hi,

     

    First time post. I find this forum very helpful for finding answers to LabVIEW questions. Hopefully someone can help me out.

     

    This webpage confirms that I can do what the topic title says, but it doesn't say how. Does anyone know how to do this?

     

    http://zone.ni.com/reference/en-XX/help/370052M-01/tslabview/infotopics/class/

     

    "You can store LabVIEW class objects in TestStand object reference variables."

     

    Thanks,

    Chris

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.