How can a CVI module access the UUT serial number already stored in TestStand?

I'm using the parallel model and I need to program each of my UUT's EEPROM with its serial number. I know that
TestStand has the serial number and I've gathered from the Developer exchange that it is stored in RunState.Caller.Locals.UUT.SerialNumber, but how does my CVI module access it? Can it be passed to the module, if so, how? or what is the exact form of the TestStand API function that can be used to access the serial number. Thank-you for any suggestions.

Hi lynx,
if you have a look at the way in which the parallel and batch process models work, they're a two stage process model, i.e. the process model sequence your (main) sequence sees is called by an another process model. In this case, RunState.Caller on it's own only takes you up one level, but RunState.Caller.RunState.Caller will take you to the top level process model. When dealing with multi-UUT models, it depends on which serial number you're after (parallel serial numbers are stored in the TestUUTs model entry point->Locals.ModelData.TestSockets[0].UUT.SerialNumber
where the [0] signifies the testsocket you're looking at (i.e. if it's the third testsocket, use [2].)
batch serial numbers are stored in the same place, with the addition of the BatchSerialNumber (i.e. TestUUTs model entry point->Locals.ModelData.TestSockets[0].UUT.BatchSerialNumber, however there is also a BatchSerialNumber in TestUUTs model entry point->Locals.ModelData.BatchSerialNumber which is the same as the above one.
You can always use the RunState.Root to get to the main calling process model, and in the case of the parallel and batch process models, the serial numbers are passed down from the top level execution entry point anyway into RunState.Root.Parameters.ModelData.TestSockets[0].UUT.SerialNumber
(otherwise, if you're very buried in sequences, i.e. your mainsequence calls another which calls another etc etc, your call gets longer and longer - in cases like this I tend to use a Parameter, and pass the serial number down through the levels)
If you want the data as if it came from the top level, since the LabVIEW adapter needs to see the data in a particular place, you can also use
RunState.Root.Locals.UUT.SerialNumber.
The quickest way I've found to find stuff is to create a new sequence file with just a label step in it. Set the sequence file to use the appropriate process model you're interested in, and set the label step to a breakpoint. You can then look at the context tab once you've set the sequence running from your desired execution entry point, and browse away.
There's some great documentation in \Components\NI\Models\TestStandModels\TestStandProcessModels.PDF
explaining how the process models actually work.
A word of warning though - if you decide to change the serial numbers on the fly (one particular case is if you needed a bar code serial number which included information on failures for example), because the serial number is available in several places, you need to check where the report generation is picking up it's serial number information from.
Hope that helps
Sash.
// it takes almost no time to rate an answer

Similar Messages

  • I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    Try upgrading your Mac to the newest version of OS X Mavericks, and try upgrading your iPhone and iPad to the newest version of iOS 7.
    OS X Mavericks may not be in the Mac App Store by now, but you can find the newest version of Mavericks here at download.com: http://download.cnet.com/Apple-Mac-OS-X-Mavericks/3000-18513_4-76018588.html. Note: Download.com it a safe website to download free software.

  • I've loaded my CS5 onto my ,ac book air but need adobe also...how can i download adobe acrobat using my serial number?

    i've loaded my CS5 onto my ,ac book air but need adobe also...how can i download adobe acrobat using my serial number?

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How can you find your ipod without your serial number or iclould

    how can you find your ipod without a serial number or a iclould?

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    Alos, the serial number will only help identify the iPod as yours if it is recovered.

  • HT1349 how can you track you ipod with only serial number ]

    2nd Generation ipod Touch

    Hello, Tommyty,
    I am sorry you have lost your iPod.  You don't yet seem to understand that its serial number is not tracked electronically.  Here is my attempt at explaining the same thing that Limnos and stevejobsfan0123 have already told you. 
    Tommytj wrote: ... HT1349 how can you track you ipod with only serial number ] ...
    Only by physically looking at the iPod's serial number.
    Tommytj wrote: i need to find my ipod can anyone help me find a way to track my ipd touch with only a serial number using icloud.
    No.
    Nobody can help you with that request because iCloud and  "Find My iPod touch" do not work that way.
    If you cannot see the iPod, you cannot track its serial number.  Unless someone sees the serial number, nobody can track it.
    Regardless of whether you have properly installed and enabled "Find My iPod touch", iCloud does not track your iPod's serial number.  This is true even when you or someone else can see your iPod's serial number.
    Regardless of how much you wish iCloud could track your iPod's serial number, it cannot.
    "Find My iPod touch" can sometimes track an iPod's location but only under the specific circumstances Limnos has already explained to you. 
    If "Find My iPod touch" cannot locate your iPod by its location, there is no iCloud way to find it.  In that case, the only way to identify your missing iPod is for you or someone else to physically look at it.
    Perhaps you will be successful with one of these alternative possibilities for recovering your iPod:
      • you can physically search and find your misplaced iPod
      • someone may it returned in response to a reward that you offer
      • the police may find it after you have reported it stolen
    Message was edited by: EZ Jim
    Mac OSX 10.7.4

  • How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid

    How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid.  When I tried to type this in for registration, it does register as this numbers also contain letters in it.  Apparently the registration boxes accept numbers only.  What do I do with a useless product for which I have paid good money for it?????

    This is the simple solution which was offered to me when I tried to get the serial code on line.
    The box and disc sleeve do not contain a series with 24 numbers which I presume is the product code to install.
    I tried to redeem the registration code by following what they recommended, but inevitably it gets to the page that showed the registration boxes that need 24 serial numbers and I got stuck again.
    This product is so different what my previous experiences of other software products where I just enter the serial number straight from the disc sleeve and then I got registered and go on to use the software.
    I is really frustrating, spending the last two hours trying to get my product going....

  • How can I track my mac with a serial number

    How do I track my mac with a serial number.  My computer was stolen and the find my mac wasn't enabled?

    You can't.
    What To Do If Your iDevice or Computer Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Mac Computer
           Find My Mac can be used from Find My Phone at iCloud.com and via Find
           My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

  • How can i find my stolen iphone by serial number ?

    how can i find my stolen iphone by serial number

    You can't track it be serial number.  Use this article: If your iPhone, iPad, or iPod touch is lost or stolen

  • How can I write bits through the COM1 serial port?

    I'm trying to write bits through the serial port COM1.
    Labview "Write VI" only writes everything in string. It seems. How can I write bit by bit through COM1?
    Thank you,
    Van

    Serial transmission (COM port) protocol requires sending a group of bits at one time. You cannot just send one bit. Standard COM port settings must be either 7 or 8 data bits, 1 or 2 stop bits, etc... You have to group your bits 7 or 8 at a time. You could probably send a 0 byte or a 1 byte. This would be like sending 0000 0000 for a low bit and 0000 0001 for a high bit. Your receiving end would have to know how to interpret what you are sending if you choose this method. Of course you have to convert your byte into a string before sending to COM port. Wire a U8 data type to a Build Array input. Then wire the array output to a Byte Array to String input. The output of this function will be the character representation of your byte suitable for sending acr
    oss a serial port.
    - tbob
    Inventor of the WORM Global

  • How can I find my iPad without a serial number and without the Find My iPad app?

    I LOST MY IPAD 2...I DONT HAVE A SERIAL NUMBER OR THE FIND MY IPAD APP ON THE LOST IPAD...BUT I NEED TO FIND A WAY TO FIND MY IPAD.

    All you can do is physically look for it yourself in all the places you may have lost it.

  • How can you contact itunes without giving a serial number?

    Does anyone know how to contact Itunes without having to give a serial number?   I just need then to allow me to update things, but the system does not recognise my password

    Hi Stupid021,
    If you are having an issue with signing in to update your software in iTunes, you may want to reset your Apple ID password. Use the steps in this article -
    Apple ID: Changing your password - Apple Support
    If you do not have the password available you can reset it using this article -
    If you forgot your Apple ID password - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How can I find an ipod without icloud, serial number, or an app

    is there any possible way I can find my ipod without icloud, or an app? and where else can I find the serial # besides on the product that is lost?

    Nope.
    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • I don't have the product box, thus I don't have the serial number. I cannot get hold of a warm body at Adobe or even an real onlline contact link. How am i supposed to find the correct serial number to install my original Photoshop Elements 12 product ?

    HELP. where do I get a serial number if I no longer have the product box (oops) and I still need to install the software. Is a human even working at Adobe? Do they ever look at email? I can't be the only person with this problem.

    Here is a link to a page with options to help make contact (see chat and phone options down the page):
    http://helpx.adobe.com/contact.html?step=CCSN_downloading-installing-setting-up_licensing- activation_stillNeedHelp
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • We uninstall photoshop cs6 on PC (creative suite design standard). How can we re-install it with our serial number ?

    After a problem with photoshop cs6 (CTRL+T stopped the application with an error message and closed the window), we uninstall it.
    We can't download photoshop cs6 on the adobe site to re-install it.
    At the moment I am working on photoshop cc evaluation for 1 month.
    What can we do to re-install cs6 with our serial number ?
    Thanks.

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    If you did not deactivate the software before uninstalling then you should remember to do that in the future should you decide to uninstall again.  If you contact Adobe support thru chat they can help with deactivating the original installation.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • HT3060 How can I check my warranty with 17digits Serial number?

    I found that my Apple wireless keyboard has 17 digit serial number.
    it's located at the back part near power button.
    I tried to put my serial to apple service coverage check website.
    But it doesn't work
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Thank you

    I had the same problem. If you have the order number, just call their support line and use the order number instead. I just di that and they're sending me a new one now.
    Still bizarre that you can't enter the serial number into their support site though, but at least this is a workaround (IF you have the order number).
    -Peter Vel

Maybe you are looking for

  • For two months, Telstra have failed to help me. What should I do?

    Hello everyone. I feel as though I need to inform people about this and get some advice on what to do. I've been trying to resolve it with Telstra for months but they really aren't interested. Here's what's happened: Our household wants to upgrade fr

  • IE 7 not displaying PDF files

    WinXP SP3 desktop Installed: Acrobat Reader 9 and Acrobat 6.0 Professional Up until recently, when an update from MS and adobe were installed, Internet Explorer 7 has been displaying PDF files when clicking on a link to the document. I do not know wh

  • To stop the drill down in OBIEE 11g

    Can we stop the level of drill down in RPD. ie) The Hierarchy level is l1->l2->l3->l4->l5 I need to stop the hierarchy at l4 and it shouldnot drill down to l5.

  • Select-option on subscreen for Module pool

    Hi all, I need to add some elements on standard screen of a standard transaction. Everything works fine, but the problem starts when I want to add select-option. It is displayed, but when I press on Multiple selection button no action occurs, no wind

  • After uninstall, Bridge CC will not reinstall

    I have a new computer (PC).  I downloaded Bridge CC soon after I first got the computer and admittedly did not use if for several weeks.  When I went in to first use it there were several drivers missing.  I thought the easiest thing to do would be t