Creating a custom UUT dialog for the parallel model

Hello,
I am attempting to customize the parallel process model in order to (amongst other things) present a different UUT info dialog.  (The default one defined in modelsupport2.dll only presents a single "Serial number" field where I need numerous other ones.)  Because I am not familiar with CVI (and don't have the development tools for it), I was hoping to create an ActiveX DLL in Visual Basic, or a .NET assembly to manage a slightly more complex version of the UUT info dialog...  While I am sure it would be great fun to fumble with all the complexities of this until it shows some semblance of proper functionality I am hoping there may be some resources available online that would demonstrate how one would go about doing this kind of thing.  I've seen LabVIEW code that provides a different UUT dialog, but it was based on the sequential model which circumvents the most complex issues such as synchronizing the dialog with the TestStand threads, etc.  Any pointers would be greatly appreciated.
Thanks!

I am just posting this in case anyone else runs into the same sort of requirement.  The attached zip file contains the source for a .NET assembly that is the beginnings of a VB .NET replacement for the parallel UUT dialog of the modelsupport2 DLL.  I don't want to write an epic here, so the general idea is that the parallel model sequence is modified to make calls into this assembly instead of the modelsupport2.dll component.  But you can't just disable the dialog by setting the ShowUUTDlg boolean to false - that will completely remove the consumer loop in the ProcessDialogRequests sequence which the .NET assembly is trying to send requests to.  I've attached the modified ParallelModel.seq in case anyone's interested.
Note that there are still significant problems with this and it is provided as-is.  In particular, if you attempt to break and step through the parallel model sequence after the dialog has been initialized, you will not be able to continue - the main thread will hang until you restart TestStand.  With a little more thread mgmt, that could be fixed.  If nothing else, it is useful code to look at if you need to enqueue items from a .NET assembly into a queue defined in a TestStand sequence.
If you can afford to use the existing dialog as-is, and then add additional info gathering to the main sequence, that is clearly easier.  (That will be OK for my purposes so that is what I'll do.)  However, if you need to have one custom dialog that manages everything in the parallel model, this is the kind of code you should expect to need.
Hopefully that helps somebody.  There is not much info out there about integrating .NET at this level.
Attachments:
CustomUUTDialog.zip ‏117 KB
ParallelModel.seq ‏430 KB

Similar Messages

  • Create a custom viewer app for the iPad and iPhone

    This question was posted in response to the following article: http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60c5dd08612e5ea7d27f-7ff f.html

    Okay, so just to clarify, once I build the viewer app (using the DPS App Builder) that I want to use with Apple products I submit it to Apple - without any folios? Then once I gain approval from Apple I will be given the proper information to publish folios to the app? May seem like a dumb question but the reason I ask this is because currently I cannot see any of the folios that I have created in the testing/developer app. - even though they have been uploaded to the folio producer and are listed as public and free. This is the part that is still "fuzzy" to me. When do I submit the viewer app for Apple consideration/approval?

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • Cr XIR1 to create a custom function to change the timestamp of a field

    Post Author: palm
    CA Forum: Crystal Reports
    Hi,
    I am trying to create a custom function to change the timezone of a field in the report depending on the timezone selected by the user in the prompt
    I wrote a SQL Expression to do this , but i ended up creating a bunch of expressions for each time zone ,
    So i am thinking of custom fuction some thing like
    TimeZoneConvertor:
    Fuction(TimeStampField ,  Timezone)
    Returns: Timestamp field with newtimezone as selected by user
    Hope you get this and please give me some kind of ideas to acheive this
    Thanks in Advance!!!!!!!!

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • I would like to create a custom Logout Message for users

    I would like to create a custom Logout Message for users.
    When users click the Logout button, I would like a message appear saying have they made a backup of their data.
    I know I could use LogoutHook script but I will need some help in creating one to do the above

    Can't help with that. You might post to the AppleScript forum.

  • Can I create a custom setup test for Adobe Connect Pro?

    I was wondering if there was a way to create a custom setup test for Adobe Connect Pro?  We are using Adobe Connect to teach some web courses and we need them to complete the Adobe Connect test as well as some other software setup tests.  Due to the fact that we are using a company wide account for Adobe Connect the "Send Results" button on the setup test doesn't reach me (I am the one in charge of making sure all students have taken all the setup tests).  Typically we have them take a test and then return back to the main 'test' page where they select whether or not the test worked.
    In the end I figure I have two options:
    1. Change the test so that it emails the responses to the email of my choice, i.e. a custom version of the setup test. (Not sure if this is possible as we use a company account)
    2. Completely remove the "Send Results" button from setup test and just rely on the student manually entering whether the test worked or not.
    Please help!

    The timecode effect can only show whole frames so there is not a setting for 23.97. I'm not at my editor at the moment, is there an option for 'drop frame' in the timecode settings, this is how timecode is displayed for non whole number frame rates.

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • How do I create a custom inline subgrid for Custom entities in MS CRM 2013

    Hi All,
    We have a requirement to create a custom inline subgrid for custom entities same as like that in OOB of CRM Subgrid.
    Is this possible to do for custom entities?
    Please let me know.
    Thanks in advance....
    Gopinath V.

    Hello,
    Yes. You can develop such kind of grid using Silverlight or Html/Css/Js. You can check following article as a good started -
    http://www.sparklexrm.com/s/Tutorials/QuoteEditor.html
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • [svn:fx-trunk] 5465: Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains .

    Revision: 5465
    Author: [email protected]
    Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
    SDK-18275, SDK-19849
    Reviewer: Glenn
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18275
    http://bugs.adobe.com/jira/browse/SDK-19849
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxml

    Revision: 5465
    Author: [email protected]
    Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
    SDK-18275, SDK-19849
    Reviewer: Glenn
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18275
    http://bugs.adobe.com/jira/browse/SDK-19849
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxml

  • Can we create a local client copy for the RFID Client in discovery Box

    Can we create a local client copy for the RFID(400 Client) in the Discovery Box,and if created which profile we have to select for the client and also at a time we can work on these both client or not  .

    This isn't possible with Live Mail.  Acrobat has an add-in for Outlook (which you've used), but there is no similar function for Live Mail.

  • Is it possible to create a custom web app for online quotes?

    is it possible to create a custom web app for online quotes?
    Any advise greatly appreciated.

    Hi there,
    You really need to expand a lot more on what you want to achieve. That really is nothing to go on there .

  • Parts Requirement Create Order Error:Validation Failed for the field - Shipping Method DHL

    Trying to create Parts Requirement.
    Error message on clicking "Create Order" button: "Validation Failed for the field - Shipping Method DHL"
    Please suggest the Setup that needs to be done for this.

    Kinck
    The same script worked for me in vision (R12.1). You may have issues with your defaulting of a number of attributes that you are not passing in the API (like price list, line type and so on). You may want to check them.
    Thanks
    Nagamohan

  • Has anyone created a NI-VXI driver for the Ardence RTX operating system?

    Has anyone created a NI-VXI driver for the Ardence RTX operating system?
    a VXI instrument through a PCI-VXI-8335 card (in the PC) talking to a PCI-VXI-8345 card (in the VXI chassis) via MXI-3, Has anyone created a PCI-VXI-8335 card  driver for the Ardence RTX operating system?

    Now  i want  develop driver on RTX,my hard platform is similiar(PCI8335+VXI8340+1418A),and after i read the PCI baseaddress,i find PCI8335 only has memory-map,so that means if i want to driver this board ,so i take following steps list below:
    1.use Rtmapmemory() to map the baseaddress to virtual address
    2.using memset() or memcpy() to driver the 1418A board
    is this right?
    if you can give me some hints,thanks 
    or you can contact me :[email protected] 

  • HT201320 Both of my kids have an iPod Touch.  Can I have two iPods registered on the same email account or do I have to create a new email account for the second one?

    Both of my kids have an iPod Touch.  Can I have two iPods registered on the same email account or do I have to create a new email account for the second one?

    There is some info in this discussion.
    https://discussions.apple.com/thread/6024120?tstart=0

Maybe you are looking for

  • Reinstalling owned copy of Mt Lion

    Boought a new iMac.  Apple store cleaned old MacBook Pro of everything, back to original settings of OS X 10.7.5  Genius told me to go home and reinstall Mt Lion wich I had purchased.  Can't find anywhere that shows that I have a copy of Mt Lion that

  • Retry after timeout criteria met in Business service level

    Dears, I want to know if the timeout criteria would be met on a request to a business service (It means if the request would be served in more than 2 seconds in below sample service), does the Proxy Domain retry it again. My service configuration par

  • How to deliver MM02 to user with only Bin Location editable.

    My user wishes to have access to change only the Bin Location field in MM02. How can we achieve this? or in other words how can we deliver MM02 to user with only the Bin Location field editable. My basis guy sees a possibility if we can some how prov

  • Forms in a document

    Hi, I want to use the form I developed in a book, it is a Travel Log sheet. THe forms data will be exported to a spreadsheet. I Want to also go the other way and use some data from the spreadsheet into the form, the date. Unless acrobat can populate

  • Ship to - sold to ?

    How to derive sold to from ship to ?  In our project sold to has become a primary customer . I have replicated knvp table in one DSO . but when I select the ship to and respective partner function , i can see 2 records with same partner function . I