Creating a step type "launcher" that would insert the appropriate built-in or custom step type at edit time

Hi everybody,
I'm looking for tips, pointers,directions... to be able to perform this operation in TS 4.0 sequence Editor, if it's even possible...
I'm managing a test system with a "home-made" virtual instruments abstraction Layer complementary to IVI classes for instruments which do not have classes defined, customizing the sequence editor accordingly for developpers of my department.
So basically when the instrument is IVI, the developper uses the built-in IVI step-type type and when it is not, he uses the the custom step types that I developped for this particular class of instruments.  
However there are classes where I do have both IVI and specific drivers available and I do need to use both in the test sequence.
For example let's say there are two sources of DC power available in the testbench, one being a programmable IVI compliant DC power supply, and the other one composed of fixed "blocks" of DC power supply managed by externals relays and you need to use them both in the test sequence.
What I would like to be able to do in the sequence editor is inserting the appropriate step type at edit time just by selecting the source of power supply (by a ring or enum for eg), and if the first ressource is selected, it inserts IVI step type, and if the second ressource is chosen, it inserts the appropriate custom step type.
Any Ideas on how to accomplish this ?
Regards,
Cyril
Cyril Bouton
Active LabVIEW Developper
Solved!
Go to Solution.

Hello Cyril,
Here is an idea that could be done:
You could create a dynamic step by having a step that holds all the properties for both configurations (the superset of the necessary variables) and an extra one that indicates which 'mode' the step is in.  Then you create the main Edit substep in whichever language you desire.  That substep window will then have a box/dropdown/etc. at the top you can use to choose between modes A & B.  When the user changes the value, you would dynamically change the rest of the window to contain the appropriate properties for mode A or B.  You then copy the property values in that window to the Step properties, and copy the mode to your variable and you can run the step in that mode.  When the step then runs, it checks the mode variable, and depending on its value, it will run the step in mode A or B.
Now we could add a dialog that allows us to choose when we put a step down but we should still allow the user to change later via the Edit substep we create.
I don't think we can create something that inserts a completely different step, but we can have one step that has the ability to do both and we can pick which one we execute.  Also note we still don't have the ability to edit the Panels for a step, so we have to use a new window that we call from our Edit substep to complete the step.
Hope this helps.
Regards,
Olivier L. | Certified LabVIEW Developer

Similar Messages

  • Insert a specified built-in or custom step type in Teststand using CVI

      I try to build a step type . this step type specifies an adapter of DLL, which is developed under CVI. I want to use Teststand API functions in CVI to fulfill the following functions.
      1, insert a specified built-in or custom step type into current sequence;
      2, insert a specified built-in or custom step type into another sequence.
    Thanks!
    Jacky

    Hi Jacky,
    There is an example program called Programmatically Inserting a Step into a TestStand Sequence Using LabWindows/CVI and a KnowledgeBase called Programmatically Inserting a New Step in the Currently Executing Sequence that should answer your question.
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • I have created a email in Fireworks and wanted to make a line of text a hyperlink that would take the viewer to a page on my website. I want to attach the final document to my email and sending it out.

    I have created a email in Fireworks and wanted to make a line of text a hyperlink that would take the viewer to a page on my website. I want to attach the final document to my email and sending it out.

    1) design for no wider than 600px (otherwise it may not fit in email clients).
    2) Slice up your newsletter design in segments for images and html areas with the slice tool.
    3) add the <a href="http://www.yourwebsite.com">my website</a> link in one of the html areas.
    4) export as generic html 4 code, and put the images in a separate folder.
    5) upload all the images to your website's server in a folder (you cannot embed images in an email newsletter - they must link to externally hosted images).
    6) change all the links in your html page to the ones that were loaded up on your server. For example, an image's source link would work out similar to this: <img src="http://www.yourwebsite.com/newsletter/image1.jpg" alt="alternate description of your image">
    7) open the newsletter with working external images in Chrome or Firefox. Select the entire page content (ctrl-a), and copy it (ctrl-c).
    8) create a new email in your mail client. Place the cursor in the body. Paste the newsletter (ctrl-v).
    9) send your newsletter to hundreds of recipients, and get blacklisted by several email servers. Receive warning messages from your own hosting provider not to spam other users' email accounts.
    10) realize this is too much of a hassle, and instead opt for a service such as MailChimp.
    (The result in (9) depends on whether you sent out your newletter only to acquaintances, or not. But even then you might be warned off.)
    Btw, many email clients turn off images in an email by default. You must provide the most important content as html, not as images.

  • Collecting data to be compared in set ranges that would trigger the next step

    We are collecting data from a pressure transducer that needs to be read by LabVIEW. The data needs to be compared to a set range (min/max) that would determine the following 2 steps: if within the range, keep collecting data OR if outside of the range, another action would occur. The following action is the control of the pump, so either the pump continues at set flow or LabVIEW tells the pump to increase/decrease flowrate. We are having trouble trying to analyze the data so that is can be compared so we know whether it is within the set range. Is it possible that LabVIEW can continously acquire data from the pressure transducer and also analyze it at the same time? Also, what is the best option/way to compare the data within the set range; an event structure, a comparator, so that the results of the comparsion can relay a signal to the pump?
    Helpful links to tutorial sections would be very useful, if anything.
    Thank You!

    Look at the in range and coerce function on the comparison palette.  It outputs a boolean which would drive a case structure.  If the action for out of range high and out of range low need to be different, you could do a couple of comparisons to see if the value exceeds the max or is below the minimum and act according in a case structure inside of the True case of the first case structure.

  • I just replaced my hard drive and am trying to install the Snow Leppard OS on my Mac mini using the DVD's that came with the unit. Is there a step by step procedure that will guide me through this process?

    I just replaced my hard drive due to failure in my Mac mini. I am trying to load the Snow Leppard OS from the DVD's that came with the unit. Is there a step-by-step procedure somewhere that would help me? This is my first problem with my first Mac. I thought getting to the hard drive and changing it would be the hard part but I made it through that with little trouble. My lack of software experience on the Mac is really slowing me down. I believe I'm not making the right choices in the Disk Utility program.Any help would be greatly appreciated. Thank you.

    Prep the new drive:
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Upon completion quit DU and return to the installer. Install OS X. When the installation has completed you can proceed to restore your data from your backups. If you have an existing backup from Time Machine or another hard drive then upon completing the Setup Assistant you will have an option to restore from another Mac, a TM backup, or another drive. Use the appropriate option.

  • Ok so I cant open my Itunes due to Windows Error 2 and the message says to uninstall and re-install Itunes but I'm pretty sure that would wipe the library right? Is there any way to fix the problem and keep my library?

    Ok so I cant open my Itunes due to Windows Error 2 and the message says to uninstall and re-install Itunes but I'm pretty sure that would wipe the library right? Is there any way to fix the problem and keep my library?

    Hi neffn!
    I have an article for you that can help you go through that process of uninstalling and reinstalling iTunes. If you have Windows 7, you will want to see this article:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    and if you are using Windows XP, you will want to reference this article:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/ht1925
    Note that, as it says in those articles:
    iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT204387 can we get apple to make a fix to download that would enable the bluetooth file sharing with any deivce?

    can we get apple to make a fix to download that would enable the bluetooth file sharing with any deivce? i would like to to stay with Apple iphone but if they dont improve the lack of features.. i will move on and I know im not the only person to think like this.
    regards
    gavin_p

    There is not "fix" to be provided, Apple made a decision to not include the file sharing profile.
    You are welcome to provide feedback, but after six years, I would not hold your breath.
    Feedback can be left here: http://www.apple.com/feedback/iphone.html

  • Are there any tools or apps that would allow the use of iMessage from a desktop

    Hello,
    I am curious to see if there are currently any apps for programs that would allow me to use iMessage from my desktop pc at this time.
    Malcom Chakery

    So if I had a mac laptop I could imessage from it?

  • Is there anyway to print an ibook - was told I could add a link to the ibook that would send the customer to my web site where they could print it?

    Is there anyway to print an ibook -
    was told I could add a link to the ibook that would send the customer to my web site where they could print it?
    I was told a customer could not print an ibook that they purchased?
    Trying to figure out a way for them to purchase a book that they need to fill in information.
    or download to their computers and print.
    Any suggestions.... I have called and emailed - but can't get an answer
    I have 5 books I would like to do this with.
    <E-mail Edited by Host>

    BlueEyesinLA wrote:
    Is there anyway to print an ibook -
    Not as such.  You would have to put a pdf version on your web site for download, which the reader would then have to print for himself.  A pdf version might look rather different than the epub or .ibooks version, you would have to try that yourself to see how much.

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • I have too much music on my computer so i was wondering if there was an app that would randomize the music that goes on to my ipod everytime i used it

    I have too much music on my computer so i was wondering if there was a an app that would randomize the music that goes on to my ipod everytime i used it

    iOS: Importing personal photos and videos from iOS devices to your computer
    iOS: Unable to import photos or device not recognized as a camera

  • Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    HI Chris,
    Thanks for taking the time to reply.
    Could you expand on your answer, which bit is very doubtful?
    Also in your knowledge would Apple work with a company and license it if the software they were developing was desired by consumer demand?
    Thanks
    Gary

  • So I wanna go about creating a iPhone app. What would be the easiest and cheapest route? Thanks everyone!

    So I wanna go about creating a iPhone app. What would be the easiest and cheapest route? Thanks everyone!

    Download Xcode, learn Objective-C, practice endlessly, purchase Apple Dev status, then publish your work.

  • I recently purchased a song on itunes that did not download properly. I tried going to the Purchase History section to redownload the song, but there was no button on the screen that would redownload the song. Please help...

    I just purchased a song on itunes that did not download properly. I tried going to the Purchase History section to redownload the song, but there was no button on the screen that would redownload the song. right-clicking it does nothing. I tried going into my account to redownload it to no avail. I am unsure of a support phone number. Please help...

    Download past purchases - Support - Apple

  • Creating a field or workflow that responds to the Current System Date.

    In our activities/tasks we have a field that is the Expected Completion Date or Required Completion Date. Based on that date, and the current date, I want a workflow to trigger when the required completion date is less than 30 days away, sending daily reminders to the owner/manager that they have a activity/task due.
    The way I see it I have two options.
    1. Customize a field to be the system date. Create a workflow that says every time that field changes, and the date is within 30 days of required completion date, send out an email.
    2. Create a workflow that somehow incorporates the current/system date, and do the same thing as above, substituting the field with the actual date.
    I don't know how to make either of those options happen. Does anyone either have other options or advice on how to make this work?
    Thank you in advance!

    Hello Cyril,
    Here is an idea that could be done:
    You could create a dynamic step by having a step that holds all the properties for both configurations (the superset of the necessary variables) and an extra one that indicates which 'mode' the step is in.  Then you create the main Edit substep in whichever language you desire.  That substep window will then have a box/dropdown/etc. at the top you can use to choose between modes A & B.  When the user changes the value, you would dynamically change the rest of the window to contain the appropriate properties for mode A or B.  You then copy the property values in that window to the Step properties, and copy the mode to your variable and you can run the step in that mode.  When the step then runs, it checks the mode variable, and depending on its value, it will run the step in mode A or B.
    Now we could add a dialog that allows us to choose when we put a step down but we should still allow the user to change later via the Edit substep we create.
    I don't think we can create something that inserts a completely different step, but we can have one step that has the ability to do both and we can pick which one we execute.  Also note we still don't have the ability to edit the Panels for a step, so we have to use a new window that we call from our Edit substep to complete the step.
    Hope this helps.
    Regards,
    Olivier L. | Certified LabVIEW Developer

Maybe you are looking for

  • Multi pass bursting of a Crystal report on business view with a bex query

    In BO CMC, we have a group with a list of user. The idea is to burst (via the multi pass bursting method) a Crystal report for this list of user with the constraint that this report should only contains data of the store linked to the user. Our data

  • Can I install snow leopard as a virtual machine on my Macbook Pro?

    Hi All, I have a Macbook Pro running 10.5, but I have also got Snow Leopard. I wanted to play with this first in a virtual machine before going ahead with the upgrade to have a play, but Parallels only supports OS X Server. Is there anything else I c

  • Configure view state validation

    How to Configure view state validation for scaled out sql 2012 reporting services deployment of two server ? 

  • Won't print from port cn25u3501f05px

    Printer won't print. Can't delete "what's printing" item-tried cancelling, deleting, pausing and restarting, turning off printer, even unplugging printer and repluging it in. The port is cn25u3501f05px, but I don't know if that means anything.   This

  • After restart machine

    Every thing was installed perfectly even Agent configuration and url for 4889/em (for grid) was also running finely. But i restart the machine (red hat AS4) , i start these manually ie 1) Database with sql not with dbstart script 2)oms10g/opmn/bin/op