Is there a way to allow DLLs to call sup-application in TestStand?

Hi,
I've got a TestStand sequence that calls a DLL function which is generating an EAccess Violation.
Now this particular function seems to run two seperate sub process of some kind. I can't figure out what they are, but when I run the DLL function in a CVI environment, two items appear on my windows taskbar and then disappear just prior to the function finishing successfully.
I've been told that TestStand likes to control its environment... my current theory is that the error generated in TestStand during the funciton call has something to do with the function attempting to launch a thread (or some kind of application) and TestStand not allowing it to do so. Is there a way to let the function run mul
tiple threads without TestStand's permission? Or turning off TestStands control for one step? Or something to that effect?
I've tried making a DLL wrapper for the DLL function... but it has the same effect since a sub-thread is trying to be created.
Thanks,
Marek D.

Hi Marek D,
This question appears to be related to another post that you and I were working on before. Does this post -> http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000040520000&UCATEGORY_0=_8_&UCATEGORY_S=0 <- have anything to do with what you are asking now? If it does did you try the suggestion that I mentioned last in the other thread? Your use of the dll in TestStand does not follow the exact same pattern as what you demonstrated in CVI, and this would be a good starting point.
To answer your question though, no, TestStand does not have a problem with a dll that it loads and invokes functions on trying to spawn new threads. This is a rather common scenario in fact. As I stated before it appears that since th
e dll is loading fine and TestStand is able to access its functions ok, there is not really a problem with how TestStand interacts with the dll. In fact if there were a specific problem dealing with this dll trying to create additional threads there could indeed be a problem in that its threads are not being managed properly from within inside the dll itself. Trying to guess at how the dll operates is generally a timewaster, unless you know its exact requirements you may never be able to get it to work. It appears that there is either an external dependency you are not taking into account with this particular dll or you are using it improperly in TestStand. Trying my previous suggestion of trying to reproduce the CVI setup exactly is your best bet.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask

Similar Messages

  • I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password pro

    I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password protecting the document?

    Is there a setting that needs to be set to allow the annotation features?  I set password protection to open and then password for editing and set it to Any except page extraction, but it still did not give the annotation option

  • Is there a way to allow setting of "Due Date for All Tasks" to current date in OOB Workflow

    Is there a way to allow setting of "Due Date for All Tasks" to current date in OOB Workflow
    I need to set it today because there are tasks that is needed to be completed on the same day.
    Is there a way without modifying the page/form. like a configuration or something?
    ----------------------- Sharepoint Newbie

    Hi ,
    As Ajeet said,  for implement your requirement, you can change the data validation on the Due data field.
    You can do as the following :
    Open the site with SharePoint Designer 2010
    Click on Workflows on the left launch, then find ‘Approval-SharePoint 2010’, click on it
    On the Forms section, click ‘ReviewApproval_***.xsn’
    Then you can find Due Data for All Tasks, and change the validation
    In addition, if you create an approval workflow with SharePoint Designer, you can use a specific date, it contains hour and minute.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Is there a way to allow text wrapping on the outside (parent) group label IN SSRS Bar chart?

    Hi,
    I am using SSRS 2012.  I have a series of charts that have multiple category groups.  When I preview the chart, everything looks great unless the category group label is too long.  In that case it just gets cut off.  I've tried allowing
    "wrapped text", changed interval values,font size for Y AXIS but that seems to only affect the inside (child) category group.  Is there a way to allow text wrapping on the outside (parent) group label?
    I am expecting AREA VIII  BUT it shows AR on y axis.
    I need to fix it asap.

    Hi Sukhjeet.BI,
    Actually, I can reproduced the issue in my local Reporting Services environment. If there are multiple category groups on the chart, the child category can be wrapped, but the parent category would be truncated. Based on my research, this behavior looks
    like by design. Usually, the best practice is to limiting label length and number of items, use a smaller size label font or enlarge the chart size to get the chart to display properly.
    If you have any concerns about this in Reporting Service, I would suggest you submitting a wish at
    https://connect.microsoft.com/SQLServer/Feedback.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is there a way to allow someone to play a keynote briefing and prevent them from copying, rewriting, or printing it?

    Is there a way to allow someone to play a keynote briefing and prevent the user from copying, modifying, or printing it?  The reason I ask this
    is because I have created a lengthy keynote briefing book that has motion in it, and I don't want it copied, modified, or printed.

    To lock a presentation : 1 Open the presentation you want to lock , and hold your pointer over the name of the presentation at the top of the Keynote application window. A triangle appears. 2 Click the triangle and choose Lock. To unlock a presentation for editing: Hold your pointer over the name of the presentation at the top of the application m window until the triangle appears, click the triangle, and then choose Unlock
    Good luck

  • If i purchase addition icloud space is there a way to allow my partner to use that space too from their iphone?

    hi there,
    I am thinking about purchasing some addition icloud space as mine and my partners iphones keep filling up...can you tell me is there a way to allow them access to my icloud space when we have separate itunes log in's?
    I would like for them to be able to access and upload photos, music, any generally be able to use the space as I would be able to...this doesnt seem to be available in family sharing.
    I am not the best technologically so please bear with me
    thanks in advance

    Hello Addouk,
    no, storage space cannot be shared between different Apple IDs/iCloud accounts. Another option which is definitely not recommended and does not make much sense would be to use one account together.

  • Is there a way to allow allow my iPhone 4S to make a call to a specific number while locked?

    Is there a way to allow allow my iPhone 4S to make a call to a specific number while locked? I would like specific phone numbers to be allowed to be called by my family members while my phone is locked. However as the phone is required to be secured for work I would rather not have to have the device unlocked and thus access to emails, texts, etc be visable. Is there a way to do this?

    With the exception of 911, no.

  • With Firefox 6, is there any way to allow cookies for the browsing only and then erase cookies when you close the browser?

    With Firefox 6, is there any way to allow cookies for the browsing session and then automatically erase cookies when the browser is closed? On older versions this option was available.

    For more help, see the '''[[Tabbed browsing]]''' page.

  • Is there a way to make a video call from my iPhone 4 to a non apple phone? Also is it possible to transfer pics using bluetooth from iPhone to other company mobiles? Its a great phone but sometimes I feel struck inside it.

    Is there a way to make a video call from my iPhone 4 to a non apple phone? Also is it possible to transfer pics using bluetooth from iPhone to other company mobiles? Its a great phone but sometimes I feel struck inside it.

    You'd need an app like Skype to video call with other phones.
    Data transfer is not supported via bluetooth and iphone to iphone is not supported at all.

  • Is theres any way i can make yahoo calls from my account to another , like pc to pc

    is theres any way i can make yahoo calls from my account to another , like pc to pc 

    by the way. if it means anything. i am using the Australian iTunes store.

  • Is there any way to show the file name super imposed on the slides?

    Is there any way to show the file name super imposed on the slides in Premiere Elements 9?
    I am setting up pictures as slide show along with some movie clips but wanted the desctiptive file names appearing with each picture.
    Thanks!

    Yes. In Timeline mode, you add it to an upper video track as a title.
    I show you the basics of titles in the Basic Training tutorials at Premiere Elements support site Muvipix.com.
    http://forums.adobe.com/thread/537685?tstart=0

  • Is there a way to allow contributor users to add web parts to a page without granting them "Add and Customize Pages" permission?

    I am working on an enterprise wiki site collection, and when contributor users try to add web parts they will get the following error:-
    A Web Part or Web Form Control on this Page cannot be displayed or imported. You don't have Add and Customize Pages permissions required to perform this action.
    So I granted the Contribute Permission level an extra permission which is “Add and Customize Pages”. Now contributors will be able to add/edit/delete
    web parts. But they will have extra permissions that I do not want them to have , such as changing the design and customize some page layouts, also they can access the site settings and create site columns !!.
    So my question is basically if there is another way to allow users with contribute permission to be able to add web parts without granting any extra permission. In other words to treat adding web parts as normal content such as image, Text ,tables ?
    Thanks

    I dont think so.
    http://technet.microsoft.com/en-us/library/cc288074%28v=office.14%29.aspx
    Add and Customize Pages
    Add, change, or delete HTML pages or Web Part pages, and edit the Web site by using a Windows SharePoint Services-compatible editor.
    View Items, Browse Directories, View Pages, Open
    Design, Full Control 
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/
    so there are not any workarounds or any custom settings which i can use to implement any of these:-
    - To force Contributor users to add web parts without granting them "Add and Customize Pages"
    - If i grant them "Add and customize Pages" permission, to stop the ability to access the site settings ?
    Please can any one advice on this , as it is causing a lot of confusion,,, and i can not live with the face that Contributor users can access and modify site settings. the other approach will be is that i will stop using web parts. but one of our main reasons
    we decide to use SharePoint is the ability to add web parts, especially the Visio & Excel web access web. thanks in advance for any advice ..

  • Is there a way to allow only selected 17+ apps

    My daughter is 14. I would like to allow all 14+ apps, and also allow selected (but not all) 17+ apps. Is there a way to do that?

    You set it up through iCloud. In fact, it should say "Set up Family Share" and then you invite up to five family members. It also allows you to share purchases between family members so you don't have to buy the app more than once.
    Your daughter would need her own Apple ID for iCloud and iTunes in her phone for it to work.

  • Is there a way to allow multiple file downloads..

    with 1 click? Instead of clicking "download to" for each file.
    I have a page that will query a db with the user supplied variable and return several (10 or more) files on a page which displays the return values as links that launches the download dialog box when clicked. Is there a way to have only 1 download dialog box that will allow the user to determine where to save the files to, and begin downloading all 10+ files in succession without user intervention? Or possibly a script that will run winzip on all of the files that the user checked and when the user selects download to, the script zips the files and begins downloading the .zip file.
    TIA!!

    Well... no and possibly. In general, I would say that this is not possible from one link, short of concatenating the files into one, but that would require the user to split them later. Obviously not what you want.
    I think you could mimic this by creating a page with frames, where one frame is really small. And use JavaScript or META refresh tags in the larger area to set the source of the small frame to the file you want download. You do this after a few seconds delay to get each next file, so that it gives the user time to do a save as. Of course, this could end up being a headache for the user if they aren't fast enough or if your next file comes too fast. So I would recommend not bothering.

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for