Use the same code module for several steps in the sequence

Hello All,
  I have been trying to set up a sequence that uses the same code module for all of the steps in the sequence, but am having trouble referring back to it when I need to send it commands.  I have gotten as far as calling the VI in a new thread so that it can be run asynchronously.  I can run the simple sequence and it will indeed open the VI, and move on to the next step.  When I close the VI manually from the front panel, the sequence in TestStand completes, as expected.  So it appears that I have that much working. 
  My question is how to call the separate thread from the main sequence or other sub sequences when I need to edit the parameters.  If I insert an Action step, I am required to select a VI file, but from what I can tell, it opens a different instance of the file, and does not provide an interface with the other instance running asycronously.  My next guess was to use a Statement step, but I was not able to figure out how to configure the lookup string to call the VI parameters.  Beyond that, I'm not sure how to proceed.  Please advise.   
  My intention is to start the code module VI (asynchronously), run several different subsequences within the main sequence that call that same VI and edit it's parameters, close everything and report on the results.  If I am misunderstanding how TestStand is supposed to work, please let me know. 
Thanks,
GSinMN    
Solved!
Go to Solution.

What I do is use a Queue to send data to the asynchronous VI.  So it can run and do whatever, but also recieve the commands from the queue.  I use an Action Engine that holds the queue reference and sends the commands.  So you really just have to call the Action Engine from your sequences.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • HT4759 can you use the same apple id for two phones on the cloud?

    can you use the same apple id for two phones on the same verizon account and if so can you keep there contacts etc. separate?

    If you want to keep your contacts and other data you sync with iCloud separate, you'll have to create separate iCloud accounts, which will require different IDs.  If you share the same iCloud account/ID on multiple devices, the synced data will be merged and will appear on all devices syncing with the shared account.
    You can still share the same ID for iTunes; it doesn't have to be the same as the one used for iCloud.

  • I am using a Palm Pilot still for several purposes, and the desktop version can run om my Mac OS X 10.6.8, but I cannot find a version that runs on OS X Mavericks, which prevents me from upgrading as my PalmPilot is storage for vital info.

    I am using a Palm Pilot still for several purposes, and the desktop version can run om my Mac OS X 10.6.8, but I cannot find a version thjat runs on OS X Mavericks, which prevents me from upgrading as my PalmPilot is storage for vital info. Any solution?

    Thank for for your suggestions. Unfortunately they are of little help. I am running on Snow Leopard and the PalmDesktop works fine. However, I do not want to quit my PalmTungsten unit as it is my backup for all my important access information. If it cannot run on Mavericks and no other solution is at hand, I simply will not update my OS X, but work on my Snow Leopard as it is.
    I do not know how on earth I can migrate the information from my Palm into another system, and then quit the PalmPilot. If you have any intelligent solutions to this I would appreciate an input. A manual copy and paste solution is not acceptable. I may however run it on Windows via Parallel Desktop, but it is a lousy solution, and demonstrates (again) the weakness of Apple's OS and lack of compatibility. I am not impressed by the OS X performance.
    Thank your for your attention.

  • Can I use the same trip number for several travelers?

    Hi everybody.
    This is my question... We need (in travel expenses) to use any field in order to group (add) several trips made for several travelers (in same dates).
    Expl: several travelers made the same trip (with different receipts and costs). We need to create a "supra-level" group (which could help our user to summarize, authorize, etc).
    I have made some tests changing the trip number assignment (in trip schema) to external one. The system seems not to have any problem if I assign the same trip number to several travelers (please, could you tell me if this is correct?).
    I´m not sure this could be the best solution, because I have one question... If I have travel request and travel expenses... can I assign external range numbers to the travel request? (how can I do it?).
    Please, could you tell me something about this? (if this is not correct, could you tell me if it´s possible to create a new field to do this?)
    Thanks!!!!!!

    Hi,
    As mentionned in an earlier response, you cannot assign the same trip number to multiple employees.
    If you are looking to group together similar claims based on the type of travel which was done, you can always use any of the following fields which can be made 'available' on the entry screen.  That is the 'Activity Type' or the 'Trip Type Specific' or the 'Trip Type Enterprise'.  By creating categories of types of travel, you can then use these values as selection parameters in your reports to isolate specific costs related to specific activities.
    For example, you know that many employees will be traveling for a specific conference and you want to be able to report on the total cost of that conference, you could create an Activity Type and ask employees to complete the field with the appropriate value when completing the claim.  Then you could create a report on that Activity Type only.
    Another option would be to use Internal Orders.  Create an internal order, have the employees assign their costs to the IO and then run a CO - IO report.
    Depending on how 'permanent' your employee groupings are, you could also use some fields on Infotype 17 to assign different employees to different employee groupings.  These employee grouping values are also available as selection parameters in the reports and can allow you to isolate groupings of individuals. 
    It all depends where you want to create the grouping....
    Hope this helps you somewhat...
    Regards,
    Roxanne Dore
    Travel & FI Consultant

  • Using the same itunes account for two users on the same macbook pro

    Hi all.  I purchased a macbook pro in september (which I have absolutely adore), but because my semester was so jam packed with work, I wasn't able to take it in for my data transfer until the Christmas season.  Everything was transferred correctly, but for some reason the transfer leaves me with two different users on the same macbook.  I don't really have any problem with this, except I want to access the music from the "old user" with the new user that I have been using since I purchased the macbook.  Is there any way that I can move my music from one user to another?  Bear in mind that I only have one itunes account, and almost all of this music was purchased legally through itunes (I had some old cd's that I transferred back when I first bought the original macbook back in 07).  Thank you!

    I'm assuming that you want to get both your purchased music AND your ripped CD's back into the New iTunes Library.  If you use iCloud to re-download all your purchased music, TV, apps and books you wont get your CD's or movies back; and you'll use up a lot of internet bandwidth and time to re-download everything.  So, I'm going to give you a way to get the music and everything else off the hard drive into your new iTunes Library.
    But, I need some clarification here.  I'm assuming that you recently used Migration Assistant to move your old Mac's user account to the new Mac, so when you turn on the new Mac you have a choice to log in as either the "Old_User" or the "New_User", or something like that.  And both user acounts are using the same iTunes music store Apple ID, right?
    And, I'm assuming that you have both accounts set up with your iCloud or MobileMe information, so they have the same info in the contacts, calandars, bookmarks, and notes.  If you didn't use iCloud to load this info to the new user, then importing your old contacts, calendars, bookmarks and such will require an extra few steps, and is a different process entirely (composed of exporting the data from each of those apps while logged in as the Old User, and then importing them while logged in as the New User). 
    I'm assuming that the main differences in the two accounts will be that your old documents, old downloads, old email, old iPhoto and old iTunes library are not merged with the new ones, right? Apples Migration Assistant would have merged the Mac Apps folder and copied over all the Shared Users documents if it was done right. I'm also assuming that you kept your old iTunes Library in your Old User account and not in the Shared Users folder, right?
    If that's the case, first decide which account will become the primary account that you you will use all the time from this point forward.  You may want to choose the account that has the most recent work that you have done with the computer over the past semester since it's set up the way you like it, or the account that has the largest amount of data and history that you don't want to move.  The next step will be done by first logging into whichever account you wont be using in the future (except to access old info that can't be moved).
    If you are happy with how it's working now and just want to move your old documents, photos, and music over to the new account, then it seems to me that it would help things if you first log in as your "Old User" name" and move (or copy) your old documents, downloads, iPhoto Library, and iTunes library to the Shared Users folder. 
    I would basically move everything important in the Old User's home folder to the Shared Users folder, keeping the files in the proper subfolders like "Music" "iTunes" "Pictures" "Movies" "Documents" "Downloads" etc...  However, if your New iTunes Library or New iPhoto Library and such are already in the Shared User's folder, make sure you don't replace them with the old ones, by renaming the old ones first (maybe add the word "old" to the name.
    Mind you, when you have moved everything, and you log out of the Old User acount, and then log in as the New User, you will usually have to enter any administrator's User name and password whenever you want to make changes to those old documents while logged in as the New User.  Before going forward you should first change the User Permissions of those files to let the New User "own" them, so it will stop asking you for a name and password every time you want to access them in the future. 
    EVERYTHING from this point forward assumes that you are now logged in as the New User, and you should not ever need to log in as the Old User, except to access your old email archives or old Keychain Access to find stored passwords (which I think are stored in the Old User's "Library" folder which is invisible and inaccessable in Lion).  I don't know how to merge old saved emails or keychain passwords into the new account (mobile me can sync the keychains or mail rules/accounts, but iCloud can't, and mobile me doesn't sync the actual emails that were downloaded since 2007).
    First, to change the "Sharing & Permissions" to the New User just select "Get Info" for any old document or enclosing folder that need their permissions changed to the New User, click on the little lock icon at the bottom right of the Get Info Window, authenticate with any Administrator's Name and Password, and click okay.  If it shows your New User name as "Read Only" change that to "Read and Write".  If your New User name is not in the list, click the "+" icon on the bottom left and select the New User name, and set it for Read and Write.  Sometimes you have to do this "+" user step more than once to get it to stick. 
    Then, after your New User name shows it's set for "Read & Write", with your New User name still selected, click on the little "cog-wheel" icon next to the +/- buttons, and choose "Apply to Enclosed Items".  The computer could take a long while to finish changing the permissions if there are a lot of files in the folder you changed, so be patient.  When it's done you should "own" all the files in that old folder as the new user.  You are now ready to proceed with importing the old music into the New iTunes library.
    First launch iTunes (still as the New User), and go to File > Preferences > Advanced.  Make sure iTunes is set to "keep itunes media folder organized" and "copy filkes to itunes media folder".  Click okay.  It may open a small window showing that things are being moved and organized, with a progress bar, and then it's done.  It wont do that if you are already organized and copied. 
    At this point, you could simply locate your old iTunes music folder in the Finder and drag the Finder folder onto the open iTunes app window and let go of the trackpad button when the cursor changes to a green "+" sign, and it will import and copy everything into the new iTunes Library.  When it's done you can delete the old Music folder in the Finder (not in iTunes).  However, you may not have enough hard drive space to make the copies, and it will be much slower than if you move the files in the finder before you import them.  You may still have duplicates of your ripped music that you added to the new iTunes Library, and can delete those from within iTunes.
    My step to get the old music to show up in the New iTunes Library by moving them instead of copying them will be done in a particular way, that will avoid having the entire old music folder left behind to take up space on your hard drive, and it will make the import process significantly faster.  You are basically going to use the Finder to move the old music folder into the New iTunes Media folder, but you need to do it in such a ways as to not overwrite the new stuff.
    So, before you move your old iTunes Music folder into the new iTunes media folder, rename the old Music folder with the word "old" in it, then move that folder into your current iTunes Media folder.  Move it, don't copy it.  If the Mac forces you to copy it, once it's done you can delete the old music's original folder, after you confirm it's all there in the copied folder.  This sometimes happens when you move files from Shared Users that you haven't changed the ownership properly before the move.  Now when you drag the old music folder onto the iTunes App window, since the files are already in the iTunes Media Folder it will not copy the files but will simply move them around and organize them inside the new iTunes Music folder.
    You can repeat these steps with the old Movies, TV shows, Apps and Books, or whatever you want to move to the new iTunes Music Library.
    I don't know how to "merge" the old iPhoto Library with the new one, but when you click on iPhoto in the dock while holding down the option key while you click, it will let you choose which iPhoto Library to open.  From a dialog box you can choose the old one, which you copied to the Shared Users folder earlier.  It's possible that a similar technique of dragging the old iPhoto library older on top of the iPhoto App window would import things, but you'd need to research that first.
    I wish I had more time to proof-read this answer, but I have to go to a meeting, but can check back later for questions.

  • How to use the same variable value for data entry and the planning sequence

    Hi,
    the scenario is the following:
    Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
    Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
    What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?

    You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
    Ravi Thothadri

  • Should I use the same Adobe ID for multiple apps in the same publication?

    I've been sifting through documentation on building apps for the Amazon AppStore and Google Play variants of Android for a few days and came across something I'm not too clear on.
    Here's a clip from the documentation page outlining the publishing process for Android devices:
    You cannot use the same Adobe ID to create multiple viewer apps. Create a different Adobe ID for each app. When signing in to publish folios, use the appropriate Adobe ID.
    The reason I am confused is because I thought renditions were used to send certain content to one set of devices (iPads, for example) and another set of content elsewehre.
    We currently pubish for the iPad and do so at iPad 1 resolution.  Would we add yet another Adobe ID to the mix when creating our Android apps? That sounds like a lot of logging in and out during the production and publishing process.
    Thanks for any insight,
    Steven

    Hey Steven,
    You can certainly use the same adobe Id and make renditions for two different App's ( one for android and IOS and so on )
    The point that you are referring to means that if you have two different App's in the App store with separate content than use different Id's...

  • Just got my MacBook Pro....having trouble opening up certain web pages...just keeps scrolling and scrolling, my 7 year old desk top that is on the same wireless network for internet opened up the same web page right away, so I think the Internet is OK

    just got my MacBook Pro and I'm having trouble opening up certain websites, it just keeps scrolling and scrolling and never opens up the page....this is not the case with all websites, however my 7 year old desk top - which is connected to the same wireless Internet connection opened up the same page right away, so I don't think it's the Internet, any suggestions?

    Use Software Update to update your os and anything else that needs to be updated.   Repair permissions and restart your computer when done.
    Not sure if your new Mac came with 10.7.2 pre-installed as you make no mention of your os system.

  • HT204053 can I use the same apple id for many devices

    can I use the same apple id for many devices on the app find my phone

    You can if they are all using the same iCloud account (ID).  The app will only display the devices using the iCloud account that the app is currently signed into.  If your devices are using different accounts, with different IDs, you will need to sign out, then sign back in with the iCloud ID being used on the device you are trying to locate.

  • I have been using the same debit card for iTunes forever and now it's saying its declined but it hasn't expired yet

    I Have always used the same debit card for iTunes and then the other day I tried to download an app and it said that I needed to update payment methods so I put in all of my details and it said that my card had been declined. I have no idea why and I don't know how to fix this. Please help

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Account code (gl_code_combinations) for tax based on the item code

    I would like to have invoice created (ra_customer_trx_all rcta, ra_customer_trx_lines_all) with the account code (gl_code_combinations) for tax depends on the item code (one of the segment in mtl_system_items).
    example: we have 5 segments in item code
    item A: 01-01-AAA-0001-01
    item B: 01-01-BBB-0002-01
    and when we do auto invoice(for sales order), system will create
    TAX account code for item A: xx.xx.xxxxx.xxxxx.101.xx (for item with 3rd segment=AAA)
    TAX account code for item B: xx.xx.xxxxx.xxxxx.303.xx (for item with 3rd segment=BBB)
    can anyone give me some guides to set this up?
    thanks.

    use autoaccounting

  • HT1918 I have been using the same credit card for about a year and now it's telling me my security code don't match so it won't let me buy anything.... Any ideas

    I have been using the same credit card for about a year and now it's telling me my security code don't match so it won't let me buy anything.... Any ideas

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • We have several licences of Adobe Photoshop Elements V9 can we use the same licence key for latest version or what version can we install is this key???

    We have several licences of Adobe Photoshop Elements V9 can we use the same licence key for latest version or what version can we install is this key???
    We are Gouvernment and we use Windows 7 64 bits edition with office 2010.
    Thanks.

    Hi Denis, if you have license of Photosho Elements V9 then you can only install V9, please check the download link: Download Photoshop Elements products | 9, 8, 7. Please also check System requirements | Adobe Photoshop Elements
    Atul_Saini

  • Error Code: -17601 "Attempted to load a module for a step whose module has not yet been specified"

    I am trying to run my first Test Stand sequence, and am getting the following Error: "Error Code: -17601, Attempted to load a module for a step whose module has not yet been specified".
    I have specified the correct module under the Test Stand "Action" properties, and am pointing to the right vi. I am not sure why it is giving me this error.

    Hi Shoab,
    So when you right click on your step and select Specify Module.... The Edit LabVIEW VI dialog will appear, in the VI Pathname control is your VI and under that control appear the full path to your VI, if it contains "(No File Specified)" then thats your problem. You will need to use the file browse control to find your VI.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • HT204053 i used the same apple id for my iphone and my husbands now all our contacts and such are on both phones how do i fix this.  I dont need his contacts on my phone and the other way also.  Should i create a different icloud account for his phone?

    I used the same apple id for my iphone and my husbands now all our contacts and such are together.  How do I undo this?  Do i create him a different icloud account? 

    Yes, start with deleting your account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)
    In the next step, create a new account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)

Maybe you are looking for

  • Inventory Report for Statutory

    Good Evening Experts, Please help me in writing the query for the following format.                              Opening Stock          In Stock                 Stock Transfer         Goods Issue                Closing Stock                          

  • 3rd party to sap using RFC adapter

    Hi Folks, I'm sending some IDOC to sap from the 3rd party. I have to use RFC (TRFC call) adapter as sender and IDOC as receiver adapter. Can you please suggest me how to configure teh sender side. Regards....

  • TDS Certificate Error

    Dear ALL, The Client have done TDS Remmittance for Mar'2008(FISCAL-2007),but the actual payment was done in the month of April 2008(FISCAL - 2008). Now when they are going for TDS Printout the TDS Certificate(for mar-2008) number of Fiscal year 2008

  • Cannot see my SSID

    Hi there, Just bought the WRT160N to replace a WRT54 and have issues.  I cannot see the SSID from the wireless desktops, it does not show in the list to select from when I can see plenty others.  On the other hand, I have a laptop with Vista, and I c

  • BW & Portal ...........roles

    My roles/authorisations  requirements  in BW and Portal are BW We created a reports cost centre accounting We want to restrict the reports based on the cost centre hirerachies….. I developed a report, When executed it will display all cost centres (a