How do I access RunState via the C interface?

I'm utilzing TestStand by controlling it via a C++ program and TestStand as a COM module.  I haven't been able to find how to access the RunState property.  Thanks.
-G-

Hey Grasshopper,
I'm not certain, but it sounds like you are building a User Interface in C++ to operate your sequences, much like the one you can find at C:\Program Files\National Instruments\TestStand 3.1\OperatorInterfaces\NI\Full-Featured\C++ using MFC.  If this is the case, then the way to get access to the RunState property is by utilize UIMessages.  You should be able to do a search on the forums or in the Developer Zone and find some more information and sample code about UI Messages, but in a nutshell, you'll send a message to the User Interface that you are building by utilizing the ActiveX adapter (Action Step) in a TestStand sequence (The Method is PostUIMessageEx and can be found in the Thread class).  When you send the data you will want to send ThisContext via the ActiveX parameters.  You will then use the ApplicationMgr Control in your UI to register the UserMessage event and then create a function to be called when this event does occur.  In this function, you can get the Sequence Context from the ActiveX parameter and at that point can handle it just like any other code module to get and set items within your locals, runstate, or whatever you want.  That should give you a start, let me know if you into major issues.
Adam B. 

Similar Messages

  • How do I access photos via the Media browser in iPhoto '08?

    I have used Pages several times before for an in-house newsletter--with good success. My last newsletter was done in the version of Pages contained in iWork '06 and with photos contained in iPhoto library from iLife '06. Now I am using the version of Pages from iWork '08 and photos from my iPhoto library in iLife '08. When I am in Pages and open the Media Browser, I can see all the photos in various Events. How do I select/choose a particular photo within an Event and drag it to an image placeholder in my Pages document?

    My Media Browser shows Events or Images. See below and see if yours is the same:
    Regards,

  • I would like to free up some space on my computer and move my iphoto library to the time capsule and easily access it. Also, would I be able to access them via the TC if I purchased a new computer?

    I am using my TC as an external hard drive, I would like to remove my photos from my computer to free up space. I'm wondering:
    1. Once the photos are moved, how do I access them via the TC, AND will i still be able to print them and see them the way they were set up in my iphoto on the computer?
    2. If I purchase a new computer, will I still be able to access them just as easily?
    3. What is the process to move the photos to the TC?
    I am afraid that if I "erase" them from my computer I will not be able to access them.

    Are you still using iphoto?
    If so you should NOT move the iphoto library to the TC and use it.
    Apple says you will corrupt the library doing this.
    http://support.apple.com/kb/TS5168
    Although mostly about FAT32  it adds network drives.
    http://support.apple.com/kb/HT1198
    Now what I cannot tell you is if the same rules apply to the new photo app. Apple might have fixed the problem.
    For iphoto you should offload the photos to USB drive plugged into your computer.. or any external drive.. the faster the interface the better.
    Apple have explicit instructions for moving the library.
    iPhoto '11: Move your iPhoto library to a new location

  • From my iPad I can print wirelessly in my office, but how do I print remotely via the web through my HP ePrint printer.  It is set up with an email address but i don't know how to access it from my iPad.

    I can print wirelessly in my office from my iPad, but how do I print remotely via the web to my HP ePrint printer.  The printer is set up with an email access address but I don't know how to access it from my iPad.

    Read through this for some information on how to do this:
    http://www8.hp.com/us/en/support-topics/mobile-printing/how-to-print-mobile-devi ces-ipad-iphone.html

  • HT5621 Two days ago I changed my apple id.  Itunes recognizes my new apple id when I access itunes via the computer. when I try to make a purchase or update my apps on my iphone, it asks to give the password to the old apple id.  How do i change it on my

    Two days ago I changed my apple id.  Itunes recognizes my new apple id when I access itunes via the computer. when I try to make a purchase or update my apps on my iphone, it asks to give the password to the old apple id.  How do i change it on my iphone?

    Apps and music are forever tied to the Apple ID under which they were purchased.  If you don't want to continue to get that message, delete the apps and purchase them again with your new Apple ID.

  • How can I access and use the alphabetical keyboard of the phone ?

    How can I access and use the alphabetical keyboard of the phone ? I cannot find the answer in the manual of use.  Thanks for your help !

    Recently I was abroad and tried to contact my voicemail to check my messages. I was asked to enter a password and did not know how to use the letters below the figures on the keyboard.  I had to give up and wait until I was back in my country (no password is then needed).

  • How do I access mail in the Cloud? some emails are not on the iMac because I opened them on the iPad. How do I download then to the iMac?

    How do I access mail through the cloud that is on my iPad but not pushed to the iMac?

    There is a forum for iCloud on my Mac, I would recommend posting there or iCloud on IOS devices forum.

  • I shot at a Live performance last weekend by using the 'capture now' button. Now, my FCP is only playing the first 6 frames - how can I access or recover the full hour I shot?

    I shot at a Live performance last weekend by using the 'capture now' button. Now, my FCP is only playing the first 6 frames - how can I access or recover the full hour I shot?

    FCP X?  Then you need to use a different forum...This is the FCP 7 and earlier forum:
    https://discussions.apple.com/community/professional_applications/final_cut_pro_ x
    FCP 7?  Did it look like it captured normally? Everything go smoothly?  Stop normal?  Did an error occur at any point?  Can you open the file in QT?
    In the future...do not rely on ONLY FCP for this task. Get a reputable recorder that can record to ProRes. AJA KiPro, KiPro Mini, Atmos Ninja, Decklink Recorder...lots of options.

  • WLC 5508 Cant get access via the Mgmt Interface

    Hello everybody,
    i have a wlc 5508 (version 7.0.98.0) , if i'm pinging the service port interface or try to get access via this interface, everythings is fine, but if cant get access via the management interface. (but its pingable)
    the crazy thing is, that the LAP joined successful ti the wlc, but the Upgradetool (converting an AP to an LAP) doesnt work, because the tool cant reach the mgmt interface of the wlc.
    there are no ACLs, which are blocking the traffic between wlc and my computer
    Does anyone has an idea, what i've configured wrong???
    regrads,
    Rocco

    Interface Name                   Port Vlan Id  IP Address      Type    Ap Mgr Guest
    wlan1                                   1    16       172.16.2.10      Dynamic No     No
    management                         1    2        172.16.1.10      Static     Yes    No
    wlan2                                   1    220      172.16.3.10   Dynamic No     No
    service-port                        N/A  N/A      10.75.100.99      Static     No     No
    virtual                                N/A  N/A      1.1.1.1               Static     No     No
    and my Pc is in the 172.16.4 subnet
    i have no access to the switch port, where the controller is connected to, but i know that this port permits access to the vlans which are used

  • TS4337 I have a Google calendar that is syncing with my iPad and on my MacBook Air. However, the calendar items are not showing up when I access iCloud via the Internet. Any suggestions?

    I have a Google calendar that is syncing with my iPad and on my MacBook Air. However, the calendar items are not showing up when I access iCloud via the Internet. Any suggestions?

    On the iPad tap Settings > iCloud
    Toggle Documents & Data off then back on then restart your iPad.
    Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    On the iMac open System Preferences > iCloud
    Deselect the box next to Documents & Data then reselect it then restart your iMac.

  • HT5085 I have nearly filled my iCloud storage with pictures. If I subscribe to iTunes match, will I still be able to access music via the cloud?

    I have nearly filled my iCloud storage with pictures. If I subscribe to iTunes match, will I still be able to access music via the cloud, or will I have to buy more storage space? Cheers.

    Yes, but... you'll have to first index her music through your iTM subscription. So... you'd have to add her music into your own library first. Which.... would defeat the point of iTM I suspect in your case.

  • How do I transfer files via the thunderbolt cable

    How do I transfer files via the thunderbolt cable. 

    Like you would with any other cable. What are you connecting together?

  • I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can g

    I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can get them to display, but lose them when I log off. Can anyone help?  I have tried all the usual and supplied help facilities to no avail.  Thanks

    Post the question in Microsoft's own Office for Mac forum.

  • HT204053 How do I access photos in the cloud

    How do I access photos in the cloud?  I've downloaded them to a laptop but I'm unable to delete them from the cloud.  it's used up all of my storage and I can't backup my iPhone because I don't have enough storage.

    If you're talking about photo stream photos, those don't take up any of your iCloud storage so deleting them won't save any space in your account.  You can delete them using your phone by opening your my photo stream album, tapping select, tapping the photos and tapping the trash icon.  Be sure to copy them out of the my photo stream folder on your computer before doing this or they will be deleted from your computer too.
    This article provides some suggestions for reducing your iCloud storage: http://support.apple.com/kb/ht4847.

  • Create users via the CLI interface on a SX20

    Hi 
    Are there some who know how to create users via the CLI interface on a SX20. You can do this via the web interface but I have many video installations where I need to create a user account. Therefore, it would be easiest if I can make it through the CLI interface. 
    Best regards 
    Jesper

    Unless there's a very well hidden command somewhere, then no. As far as I know, this can only be done for the remote supportuser account;
    xcommand UserManagement ?
    xCommand UserManagement RemoteSupportUser Create
        ExpiryDays: <1..31>
    xCommand UserManagement RemoteSupportUser Delete
    xCommand UserManagement RemoteSupportUser DisablePermanently
        Confirm(r): <Yes>
    xCommand UserManagement RemoteSupportUser GetState
    /jens
    Please rate replies and mark question(s) as "answered" if applicable.

Maybe you are looking for

  • Mid-2009 13" Macbook Pro HD Upgrade...

    Hello- Been looking around here and found many suggestions but wanted to specifically ask before purchasing, so... Mid-2009, Macbook Pro, 13".  Want to upgrade the HD to 1TB.  Suggestions on RPM's 5400 vs. 7200?  Also... when I check my current hard

  • Microsoft office 2004 update

    Hi there, I recently did a software update for my microsoft office 2004 on my laptop but stopped it about a quarter of the way through and now only WORD and POWERPOINT works. The EXCEL logo in the dock now has a question mark over it. Is there a way

  • Shipping condition query

    Hi I have a question regarding shipping condition. This shipping condiion field is fetched from sold to party or from order type(if assignment is there with order type). If assignment with order type is there then this will take precedence over sold

  • Why does the 'change all' button for file extensions revert the program?

    Hi Chaps, I have a piece of analysis software produce a file with the extension .jdf and I need to open it with a particullar piece of software called Mestrenova to manipulate it. The problem is...jdf is also the extension of the Adobe acrobat job de

  • Firefox will not go to any website and i have done all the suggestions

    I can get internet explorer to work but not firefox. It stopped working before i updated it. I get this messageUnable to connect Firefox can't establish a connection to the server at www.google.com. The site could be temporarily unavailable or too bu