Why does the new CVI adapter not put the contextCVI parameter?

Hi,
With good old 2.0 prototype you could not specify arguments and you always used the parameters tTestData and tTestError. Now, with the TS3.x the recommended prototype is the new one.
If I specify the standard prototype it puts some arguments which the sequence context is not one of them.
The question is why?
1) Don't you always need it? Is there a way to get the context from within the CVI code? Isn't the idea of the context argument is to be able to get/set information from the TS variables?
2) I read the manuals but didn't see exact instructions how to specify the context as an argument. Can anybody show me how to do it? Do I need to specify it by value or by reference?
3) Isn't there a check box to include the context in the same fashion as it was in TS2.x?
4) I specify the context parameter with every TS step. Is that the proper way? Can I modify the standard prototype so it will automatically be inserted along with the other argument?
Thanks
Rafi

Hello Rafi -
I think the Action steptype will always give you a seqContextCVI pointer, but I agree that the default templates for the other steps don't. Certainly you don't 'always' need it. Especially if all you're doing is talking to hardware, doing some calculation and returning a measurement value, but it's very nice to have for various chores in TestStand.
I think in TS 3.0 rather expect you to specify it manually.It's not too hard to do once you see the trick. I looked at the Action step's default arguements before I saw how it was done, but here's the simple breakdown.
(1) create new arguement, on the right-hand side of the screen name it whatever you like.
(2) The category is 'Object, the Type is 'CVI ActiveX Automation Handle' and the Pass is 'By Value'.
(3) on the left-hand side of the screen, assign it the value 'ThisContext' as usual, and you're all set.
If you build your functions manually in CVI you'll just include the parameter "CAObjHandle seqContextCVI" and use it just like you used to.
Other options might be... I know there's still a button on the Module tab of CVI steps to allow you to create a TS 2.0 style prototype with TestData and TestError...
Or, Yes, you can also modify the default template that comes with TestStand, but the software will likely complain at you for changing the settings on a NI steptype. If you want to explore this route, you need to add your seqContextCVI parameter in two places. Once to the actual template file at (TestStand Root dir)\CodeTemplates\User\NumericLimitCVI, and once to the type definition of the step you want to change. For example, use the Type Palette to find the Numeric Limit type and right click on it to alter it's properties. The tab you'll want to investigate is 'Code Templates'and then the template for CVI.
I hope this helps!
Cheers,
Elaine R.
www.bloomy.com
Cheers,
Elaine R.
www.bloomy.com

Similar Messages

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Why does my digital AV adapter not work with my iPad

    Why does my digital AV adapter not work with my iPad

    i was going to try it on a flat screen hdmi input, but just as i plug the apple digital av adapter in to my ipad it says "this accessory is not supported by ipad"... my itouch says the same thing... any ideas?

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • Why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet?

    why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet? i need to update my ipod i even changed the LAN settings and it stilll doesnt work

    Have you seen this article?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    B-rock

  • When I right-click a link to open in another tab, the new tab opens not in the original window but in the first firefox window of the session

    when I right-click a link to open in another tab, the new tab opens not in the original window but in the first Firefox window of the session.
    I deleted sessionstore.js from the profile and restarted Firefox but that did not help

    Sounds like this bug:
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=644729 bug 644729] - Popup window with all toolbars visible causes new tabs to open in another browser window
    ''(please do not comment in bug reports; you can vote instead)''

  • I just upgraded my older G5 from tiger to leopard and it is now at 10.5.8, I was unaware that the new system did not support the classic envoirnment and cannot access my 6.0 version of Photoshop, which I use often...how do I get P.S. going again?

    I just upgraded my older G5 from tiger to leopard and it is now at 10.5.8, I was unaware that the new system did not support the classic envoirnment and cannot access my 6.0 version of Photoshop, which I use often...how do I get P.S. up and going again?

    Niel...
    I installed Leopard 10.5.6 and then it upgraded to 10.5.8, when I installed it I had the old info saved to a "previous systems" folder, where most of my artwork, etc. were saved, I have a one terabyte Lacie backup that unfortunately did not work as it was intended...it saved the new info and not the old. I did look into the system preferences folder and found the classic file, of course it wouldn't launch...but I have the old G 5 startup discs and will try to do it as you stated. I will try also to move it out of the previous folders file to my hard drive and see how that works.
    thank you for your time and help,
    Dennis

  • In the restrictions you can not put the call to voicemail?

    with the next update, in the restrictions you can not put the call to voicemail?

    so I have to delete the message?

  • Why does my .sparseimage file size not reflect the amount of data insde of it?

    SUMMARY
    I have an uncompressed sparese image file that has over 35GB of data inside of it, yet the image file always claims to be taking up 4.29GB of space on the drive on which it resides.
    DETAILS
    The image file was created with Disk Utility useing the following settings:
    When I mount the image and Show Inspector for the contents, I see this:
    However, when I Get Info on the image file itself, mounted or not, I get this:
    I was expecting that the size of the file would be reported as roughly the same as the size of it's contents. 
    What gives?
    -t

    Hello, and thank you for the new reply.
    I'm sorry to be slow with my responses, but I am wrapped up in the task of sorting out what has turned out to be over 100GB of photos and videos that I shot over the last ten years and have backed up all over the place ... I'm sorting through all of it and getting it all organized for the first time.
    OK, here are the results of ls -lR@ /Volumes/Bin/
    $ ls -lR@ /Volumes/Bin/
    total 8382080
    -rwxrwxrwx@        1      <username>  staff  4291448832 Nov 12 09:04 00000.MTS
        com.apple.ResourceFork           286
    drwxrwxrwx        32      <username>  staff        1088 Jan 30 15:38 Misc
    drwxr-xr-x       1638      <username>  staff       55692 Mar  3 00:02 Images
    drwxr-xr-x         922      <username>  staff       31348 Mar  3 00:02 Videos
    That'st the first bit, and there there are a zillion pages listing the contents of the top level directories. (Over 17k files)
    Again, when I mount the sparseimage file, I see everything that I expect to see inside of it ... my backups of thousands of photos and hundreds of video files.  I can view all of them, so the data is definitely there.  This is why I am confused as to why the sparseimage file itself is being reported as so small!
    I just noticed this ... there is a large video file in the root of the mounted image; 00000.MTS which happens to be 4.29GB in size ... everything else is located in one of the three directories that are listed.  Now, the sparseimage  happens to be reported as 4.29GB in size.  That can't be a coincidence.   Is the OS reporting the size of the sparseimage file based on the total reported contents of only the root directory?  If so, that would explain why it shows as being 4.29GB.  That would, however, be kind of a bug, no?  Should it not report the size of the sparseimage as being the total size of all of the contents of the image?
    As a test, I just moved that file into the Videos directory and then unmounted the image.  bin.sparseimage is still reported as being 4.29GB. 
    Thanks,
    -t

  • Why does my new Time Capsule not connect

    Yesterday I bought a new 1T Time Capsule so I could back up my son's computer before he heads overseas for a university exchange.
    The first hint of trouble is that my computer (MacBook Pro) spat out the CD. After several attempts I tried another CD, no problems. so it's not my drive.
    Anyway, I have fully updated OS X 10.5.8 running and tried to link via Airport Utility.
    Again no joy. No matter which way I wire (Ethernet cabel) the Time Capsule, via my Linksys modem/router or directly to the computer, Airport Utility says there are no wireless devices connected.
    At this stage I'm not the least worried about wireless transmission. I simply want to back up my son's computer before he takes it to the airport. Since I have a day job I can't contact Apple Support during business hours and they have not been available today.
    What are my options?
    Desperate Dad

    If you are adding the Time Capsule behind another router then you must go into "Bridged Mode". So the main router will be the only thing doing NAT and you will avoid the deadly double NAT.
    With a Mac you don't need the CD/DVD. Just go to the folder /Applications/Utilities/ and launch Airport Utility (connecting via the Ethernet cable. If you are setting it behind another router Launching in Airport Utility select the Time Capsule and let it open. Then stop and look at the bottom of the pane and select "Manual. This will set up the Manual setup and buttons will appear on the top. There select "Wireless" and near the bottom of the new pane use the pull down to select "Bridged Mode". This way only the main router will be assigning IPS.
    If the router is connected to the main modem to the ISP you must turn off the modem for 5 minutes so the ISP server will reassign an IP address to the NEW device. This goes for ANY router being setup on a existing modem. Now in the Manual Wireless setup if you are right behind an ISP modem set it for "Sharing a single IP" to do NAT in the Time Capsule.
    The important thing is to first setup for no wireless security and then go to each device on your network to see what each device is able to receive in wireless security. Then use Airport Utility again to setup the appropriate wireless setup and security setup to your devices highest capability.
    So /Applications/Utilities/Airport Utility is your Time Capsule setup device.
    Message was edited by: satcomer

  • Why does Adobe think I'm not in the US?

    I'm trying to buy a Creative Cloud subscription and when I click buy now  I get a this messages: (I'm in Spokane, Washington, United States of America)
    Creative Cloud Membership isn't currently offered in your country or region (Wallis and Futuna), but if you like, we can notify you when it becomes available. If you no longer live in this country or region, login to update your account or create a new Adobe ID for your current country of residence. For a list of countries in which Creative Cloud is available, please visit our Tech specs and Language availability page.
    I tried in Chrome and Firefox on a Windows 7 PC. I use Comcast Cable Internet.

    Hi there
    The country associated with your Adobe ID is Wallis, Futuna.
    We don't have the option of changing the country, but if you wish to set up a new Adobe ID using the same email address please follow the workaround given here - https://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id .html
    Thanks
    Bev

  • Why does my new MacBook air not recognize my iPod touch?

    After I connect the iPod 3.1 to my MacBook Air, the Mac does nothing. It doesnt recognize the iPod and I can't find it anywhere. Any help? Thanks =)

    Start a finder window and on the menubar Finder > Preferences > General tab > check Show these Item on the desktop > CDs DVDs, and iPods.
    If you want it to start iTunes, connect the iPod, select it in the sidebar of iTunes and on the Summary tab, check "open iTunes when this iPod is connected.
    Regards,
    Captfred

  • TS4062 Why does my I phone 5 not have the latest itunes

    Updating I phone 5 with I tunes latest version

    What seems to be your problem...?
    On the phone iTunes is an App that Accesses the iTunes Store...
    The Latest Version of the Application iTunes is meant for your Computer.

  • HT1206 My older ipod is recognized by computer but the newer one is not.  The only thiing I did was to download and update.

    I am not very good with this infernal machine.  However I do use simple tools, my ipod is suddenly not recognized by itunes, yet my older ipod IS??????
    What ever I try to do does not work.  I downloaded the most recent update and now BOOM  it is not recognized and I am afraid that I will lose all my vintage recordings.

    Hello Muhlenmerg55,
    I would be concerned too if my iPod was not recognized by iTunes.  I found a couple of articles that might help with this.
    If you don't see your iPod in the My Computer or Computer section of Windows, follow the steps in this article:
    iPod not recognized in 'My Computer' and in iTunes for Windows
    http://support.apple.com/kb/TS1369
    If Windows recognizes your iPod but iTunes does not, follow the steps in this article:
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/TS1363
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

  • Why does my new saved swatch not appear in the Swatches panel when I open a new document?? Thanks :)

    I can create a new swatch and save it. It appears in the Swatches panel. But when I close (or save and close) the document, then open a new one/existing old one, my new swatch is no longer in the Swatches panel!?
    I have tried finding the answer on forums/Adobe books etc but to no avail - it is driving me mad!!!
    Thanks

    That's because a new file defaults to the "default template". You can save a file as a custom template, then open your template to use the custom swatches.
    I'm not saying I like this. It's just the way it is.
    Any file can be opened as a "swatch library", as well. If you've created files with custom swatches and want access to them, go to: Swatch panel flyout menu>Open Swatch Library>Other Library, then find the file containing the swatches. It will open as a "Library" and you can click swatches to add them to the current Swatch panel. You can also set the Library to be "Persistant" by going to "Library Panel flyout menu>Persistant". Then that Library will open anytime you open Illustrator.

Maybe you are looking for

  • Slow receipt of e mail

    My e mail does not show up on my Galaxy lll until hours after it is actually received in my e mail account (on my computer etc).  Is there a setting adjustment I need to make so that I receive them in real time.  Text messages work fine in real time.

  • Latest version of UCCX Agent desktop in VDI or XenDesktop environment

    Is anyone out there using Agent Desktop for UCCX in a XenDesktop VDI environment. The release notes for the latest clients don't appear to list XenDesktop specifically but mentions VDI support and XenApp support.

  • BAPI executing examlpe

    Hi Friends, i am trying to develop a java application and i need to fetch data from backend. I understand, we can use JCo, JAVA RESOURCE ADAPTER, ENTERPRISE CONNECTOR, J2EE CONNECTOR. Can you please let me know which is better suited for a stand-alon

  • Is it possible to recover a Database in the following condition??

    Dear folks: this question has confused me quite a while, and nobody I asked can answer it. Please kindly provide any hint to the following question: Suppose I did a hot backup last night. (use ALTER TABLESPACE BEGIN BACKUP;copy Datafiles;ALTER TABLES

  • CS3 Crashing with the following code

    Try this in CS3. 1) Open a new page. 2) Paste the following between the body tags. <cfoutput> <form> <select name="whatever"> <cfloop index="x" from="1" to="12"> <option value="#x#">#x#</option> </cfloop> </select> </form> </cfoutput> 3) Save the fil