Call Vision Builder 2014 AI from TestStand 2014.

I need info on how to run Vision Builder 2014 AI from TestStand 2014

Hello jspeedz,
           I did have a look at that doc it didn't address in enough details to my needs. I figured out the process thanks.

Similar Messages

  • Run time error running Vision Builder AI inspection from TestStand

    Hello,
    I have TestStand 3.1 and Vision Builder for AI v2.6.1.
    I would like to run from TestStand a Vision Builder Program or steps. For to achieve that, I have followed the instructions on Application Note 215, Running a Vision Builder AI Inspection from TestStand.
    After installation, the option in TestStand InsertStep>NI Vision Builder AI>Inspection works properly.
    But when try to execute a step with that inspection, and whatever operation of that one, the result is the following error:
    Run-Time Error
       Details: Error executing substep 'Post'.
    An error occurred calling 'ExecuteStep' in '_NIVBAITestStandSteps' of 'NIVBAITestStandAPI'.
       Error Code: -2147417851; User defined code. Possible System Error: The server sent an exception.
      At this point really I don´t know what to do, and I don't find any extra help apart of application note.
      I will appreciate some suggestion.
    Gonzalo.

    Hello,
    I've found some more information that may help.  Since these TestStand steps are simply call a DLL with an exported ActiveX API, path issues may exist.  In fact, the overwhelming number of times this error appears, paths seems to be the case. I am not sure why the error is an indication of a path issue, but that seems to be the case.  I would recommend that you would reregister the DLL, this time in the same directory as the example sequence.  To do this:
    - Unregister the current DLL by going to Start Menu>>Run, and typing: regsvr32 /u NIVBAITestStandAPI.dll
    - Move the DLL from the system32 folder to the folder in which the example sequence is saved.
    - Reregister the DLL from the run command (regsvr32 <folder path>\NIVBAITestStandAPI.dll)
    - Restart TestStand if it is open
    I apologize for not having any concrete answers, but this one is proving tough without me being able to replicate the issue.
    crisR

  • Running Vision Builder AI Inspection from TestStand

    Hello, I have installed the

    Hello,
    I've found some more information that may help.  Since these TestStand steps are simply call a DLL with an exported ActiveX API, path issues may exist.  In fact, the overwhelming number of times this error appears, paths seems to be the case. I am not sure why the error is an indication of a path issue, but that seems to be the case.  I would recommend that you would reregister the DLL, this time in the same directory as the example sequence.  To do this:
    - Unregister the current DLL by going to Start Menu>>Run, and typing: regsvr32 /u NIVBAITestStandAPI.dll
    - Move the DLL from the system32 folder to the folder in which the example sequence is saved.
    - Reregister the DLL from the run command (regsvr32 <folder path>\NIVBAITestStandAPI.dll)
    - Restart TestStand if it is open
    I apologize for not having any concrete answers, but this one is proving tough without me being able to replicate the issue.
    crisR

  • Calling labview 8.2 Vi from teststand 3.5 throws an error

    calling labview-8.2 vi in teststand-3.5 throws the following error.
    In the development environment, where Teststand 3.5 and LabVIEW 8.2 are installed, teststand file doesnt throw any error. However when the same sequence is deployed in a machine that doesnt have teststand and labview. (Both Teststand runtime engine and Labview runtime engine) are installed in the end machine.
    Trying the execute the sequence in the end machine throws the following error
    "Error loading step 'Call LabVIEW measurement module for amplitude imbalance' of sequence 'MainSequence' in file 'TSG06-Amplitude Imbalance.seq'.
    LabVIEW:  VI version is later than the current LabVIEW version."
    Attachments:
    Error.JPG ‏26 KB

    Hi,
    Should have also asked this question before.
    What is your LabVIEW Adaptor set too on the target system. Use ActiveX Runtime Server or LabVIEW RTE. If its set to use the LaBVIEW ActiveX Runtime Server which can be either the Operator Interface or the seperate ActiveX Server, then these are probably built with an early labVIEW.
    If so you would need to rebuild the server you are using.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Vision Builder for Automated Inspection and communication to external programs

    I want to use Vision Builder for Automated Inspection in my application to do the vision tasks. However, the vision task
    is only a part of the total application. Like for example, the application starts by reading the input of a barcode scanner.
    Based on the value of the barcode, the proper program should be loaded in Vision Builder for AI. I was thinking about
    using the .NET environment to build the application and call Vision Builder for AI from out of there. Is this possible? If
    not, are there other solutions?
    Thanks!
    Bert Christiaens

    Hi Bert,
    Vision Builder includes a Product Selection functionality that allows to automatically change an inspection based on the result of a step. For example, if the interface to the barcode scanner is Serial or TCP, you can use the corresponding step in Vision Builder to read the barcode, and based on the result select the appropriate inspection.
    That is if you want to stay within the Vision Builder environment.
    If your application is already written in .NET and you need to add Vision to it, then as mentioned in the post above, Vision Builder has a programmatic API that you can call from .NET (example located here:
    C:\Program Files (x86)\National Instruments\Vision Builder AI 2011\API Examples\dotNET Examples
    The API allows to programmatically load an inspection, run it and get results, close it, etc. From the information you're providing, it seems like it might be the option that is the most appropriate to your application.
    Best regards,
    Christophe

  • Bug in Teststand 2014 Simple UI Example ?

    Hi,
    I am using Teststand 2014 and LabVIEW 2013 SP1.
    I would like to create a UI for a Teststand sequence that I have created.
    I have started with the Simple UI example (Source Code) shipped with NI.
    Located at  - C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code
    I have encountered with an unexpected behaviour - when running the User Interface VI and selecting a Sequence, it works fineat first, but if I Exit the application (the VI return to edit mode), I cannot run the application again until I close LabVIEW completely.
    There seems to be more resources that are open.\\
    Steps to reproduce - 
    1. Create an Empty VI (called 1.vi for example)
    2. Create a Sequence that only calls the 1.vi in the Main Group. (called 1.seq for example)
    3. Open 'Build Script.lvproj' located at "C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code"
    4. Open and run Top-Level.vi.
    5. Click on 'Open Sequence File' and Select the 1.seq, Click on 'Single Pass' and the application should finish running the sequence (with the one VI in it) very fast.
    6. Exit the application.
    7. repeat on steps 4 and 5.
    Am I missing something ?
    When using the compiled application (exe), it works fine when called repeatedly.
    I would like to be able to add changes to the VI and to be able to run it again and again... 
    Amitai.
     

    Hi,
    I tried with the same combination and did the exact steps to reproduce.
    With the "Reserve Loaded VIs for execution" enabled i am seeing this :
    After execution is completed if i click on close execution and close sequence file, the empty test vi is read only (reserved - not in edit mode)
    However when i disable this :
    After execution and clickingon "close execution" + "close sequence file" -- i can edit the test vi.
    Probably i am missing something from the steps to reproduce?
    Additionally did you observe this behaviour with other UI/Sequence editor?
    Regards,
    Ravi

  • How to call a CString array from TestStand

    I have a C++ DLL that uses a CString array, CString myString[ ],  that I need to pass back to TestStand 4.0 for inclusion in my results database.
    In the TestStand module definition the parameter argument Description comes up as a CStriing pointer (CString*) instead of a CStringArray.
    When I put my array of strings into the Value Expression I get an error: Expected String, found Array of Strings.
    I have no trouble passing just a string pointer but that's not working either.
    Can someone help?
    Thanks,
    Steve S

    Hi Steve,
    I don't think that you can pass a CString Array from C++ DLL to TestStand 4.0 directly.
    But you can do it another way: concatenate all Strings by a delimit in your CString Array to build a new String,  then pass it to TestStand. In TestStand you can separate those Strings by the delimit, and rebuild a String Array.
    For example:
    // If this is your CString Array.
    CString myString[] = {"AAA", "BBB", "CCC"};
    // Build a  new String in your C++, and pass it to TestStand.
    char  *myNewString = "AAA~BBB~CCC";
    // Separate myNewString and build an Array in TestStand...
    Hope that can help you!
    Message Edited by My NI on 11-29-2007 11:34 AM
    Regards
    MY

  • How do I call Vee functions from TestStand ?

    I wish to call Vee functions from TestStand steps.
    I am using Vee 6.01 and TestStand 2.0.

    Hi Gerry,
    Sorry about that. Below is a sequence file created in 2.0.1f1. Please copy the contents of the zip file (previous attachment) into the folder \Examples\VEE\Using ActiveX (VEE 6.0). Please create this directory if it does not exist. The next thing you will need to do, is register the TestStand VEE server located in \Examples\VEE\Using ActiveX (VEE 6.0)\VEE_StepType.dll. To do this:
    1) Select Start>>Run.
    2) Type regsvr32 "C:\TestStand\Examples\VEE\Using ActiveX (VEE 6.0)\VEE_StepType.dll"
    You should get a message saying that the registration was successful. You should now be able to run the example. Please let me know if you encounter any further problems. Thanks!
    Attachments:
    Computer.seq ‏66 KB

  • When I call VI on Linux from Teststand on Windows using TCP/IP I get "file not found error".any sugeestions?

    I am trying to execute a VI running on Linux from Teststand running on windows 2000 prof ,both running on two different machines.I used TCP/IP for the interface using the following steps on Labview VI:tools>options>VIserver>TCP/IP and gave the ip address of both the machines.When I gave the file path as c:\home\test.vi in Edit labview Vi call window(the Vi in linux is stored in /home/test.vi)and also in remote vi path:/home/test.vi,I get a file not found error.The teststand version is 3.0 and labview is 7.0.Any idea why this is happening and any solutions?

    priya guru,
    Here is a knowledge base that addresses your question: �How do I call test VIs that reside on a non-Windows platform from TestStand?�
    You also need to set TCP/IP Access found in Tools->Options->'VI Server: TCP/IP Access'. Make sure that you list the IP address in the Access List to allow TCP/IP access to that machine. Finally you need to specify which VIs are accessible to remote applications. Open up Tools->Options->'VI Server: Exported VIs' and provide paths to the VIs you wish to be remotely accessible.
    I have attached an example VI that demonstrates VI Server in action. Please post back if you are still having problems. Good luck!
    Cr
    aig H.
    National Instruments
    Attachments:
    Remote_Run_--_VI_Server.zip ‏88 KB

  • Starting Photoshop 2014 CC from Desktop and start menu states ExtendScript.dll error

    I purchased Adobe CC for Student this morning and when I go to launch Photoshop 2014 CC from start menu/desktop it states:
    "This Program can't start because ExtendScript.dll is missing from your computer. Try reinstalling the program to fix this problem"
    If however I try to launch from the directory of the installation or the task bar it launches with non of the errors stated above I will also state that
    when I go to search the directory for the .dll file its there, is there a fix for this or will I have to install this completely.
    many thanks in advance!

    Hi awroecreative,
    Mac or Windows?
    Did you run the 15.1 update from Help > updates or from the CC Desktop Application?
    Try installing that, if still fails, might need to uninstall, and reinstall.
    Regards

  • Passing telnet session between LabVIEW calls from TestStand

    From TestStand I am calling VI's from telnet.llb.
    In one TestStand step  am opening a telnet session to an IP address and collecting the telnet connection (U32). In the next TestStand step I pass the telnet connection  to a telnet write VI but get this error.
     "Dequeue Element in Acquire Semaphore.vi:1->Telnet Write.vi:1->Telnet Write.vi.ProxyCaller"
    The telnet open, write, read, and close work great if I pass the telnet session number within the same VI. But I need to keep the session open between calls from TestStand because one huge VI is not feasible.
    thank you
    josh
    Solved!
    Go to Solution.

    Hi,
    Maybe the following link can help
    http://forums.ni.com/t5/NI-TestStand/Can-a-Telnet-session-be-passed-from-1-vi-to-the-next-in-test/m-...
    Regards
    Ray Farmer

  • Migrating inspection from Vision Builder to Labview

    When I migrate my inspection, which includes an Acquire Image function, from Vision Builder for AI 2.0 to Labview 7.0, it asks me to find a bunch of *.vi and *.ctl files such as "IMAQ Resource Manager.vi", "IMAQ Configure Buffer.vi", "IVB Image Providers Manager Function.ctl" etc. I cannot locate these files so I just hit "Cancel" when these messages pop up, and the migration is said to be successful but the resulting vi can not be run in Labview. What's wrong? I do have IMAQ Vision 7.0.1.

    All of the Vision Builder AI generated VIs are typically installed in the following directory: C:\Program Files\National Instruments\Vision Builder AI 2.0\LV\SubVIs. Within that folder you should have approximately 25 VI libraries (such as Common.llb, IVB Match Pattern.llb, etc.) and several other VIs (i.e. Inspect Result.vi and Inspect Setup.vi, etc.).
    Did you install Vision Builder AI to a different directory than the default location? Have you tried repairing/reinstalling Vision Builder AI?
    Best regards,
    Dawna P.
    Applications Engineer
    National Instruments

  • From vision builder to labview

    Would anyone possibly know how to convert a tool developed in vision builder for automated inspection into labview so that when we connect a thermal camera and have a live image, the tool from vision builder analyses the image on labview?
    Thanks for the help

    It is very weird, this is what I get as a reply when I try to convert from VB AI to LabView
    And here is also a picture of my NI License Manager, from where I have activated "successfully" VAS and VDM...
    I don't understand why it won't work...
    Attachments:
    conversion impossible.png ‏259 KB
    NI license manager.png ‏107 KB

  • Cannot open illustartor cc 2014 files from bridge

    cannot open illustartor cc 2014 files from bridge... after I installed Illustrator CC 2014 and updated Bridge CC I cannot open the Illustrator files from Bridge as it seems the path for opening such files still points to the old Illustrator CC folder which I have uninstalled from my computer

    still points to the old Illustrator CC folder which I have uninstalled from my computer
    Probably meaning you did not use the correct procedure for uninstall or have some remnants left of a trial. In Bridge Preferences File Type Associations you can change your default application for opening files of the wanted file types.

  • I want to call the DMM- SFP from Teststand using IVI

    Hi I have a Teststand 3.0 system with a NI-PXI 4070, and I want to call the DMM-SFP from Teststand using the IVI driver architecture. Unfortunatley I cannot figure out how to link the DMM-SFP to the Logical name.

    ADL,
    If you are using the TestStand IVI step types, after you have added the logical name in MAX, you can insert an IVI DMM step type. Then right-click on the step and choose "Edit IVI Dmm". You should be able to choose from the Logical Name Ring Control the logical name you created in MAX.
    If you haven't added the logical name into MAX, depending on what version of MAX you have, you can refer to Using Measurement & Automation Explorer 2.x to Configure Your IVI System or look in the IVI help that comes built into MAX 3.0.
    If you checked there already or have another question, please let us know!
    Regards,
    Shannon R.
    Applications Engineer
    Nati
    onal Instruments

Maybe you are looking for

  • IR (interactive report) Rows found: 1 + No data found on deep linking

    I am using a deep linking to a page with interactive report on it with following URL: http://...../f?p=my_app_id:target_page::::target_page:param1, param2:param1_value, param2_value After login, I arrive on the page wit "No data found" message in the

  • Application does not redirect to the SSO page even after it is configured

    I have a simple J2EE Application that has a single JSP page. I have deployed to Oracle AS `10.1.3.1. After I have deployed the application, I have turned on javasso for the application through the EM. [I had checked the box for "use java sso" in the

  • How to binding and change VM property value when DataTrigger?

    Hi all, Please see the below code. The current work is when mouse over myButton then set textbox value as 3. Then binding this value to ViewModel property, at this time, the new value of ViewModel property also be 3. The textbox just like a bridge. C

  • Anyone else experiencing slow charging with their Galaxy S4?

    After updating my phone to kit kat some time ago, I've recently been experiencing slow charging issues. I plugged my phone in for about two hours and the battery went from 2%-48%. I continued to let it charge til 2a and it was only at 63%. It did eve

  • Transmission Configuration issue

    Hi all, I'm now setting a SFTP transmission in Oracle R12.1.2 in the following procedures: 1. Log into Payment System Admin resp 2. Navigate to Payment System--- Transmission Protocol 3. Create a protocol for "Secure File Tranfer Protocol For Static