03-13-2006 02:06 PM
03-16-2006 03:52 AM
Hello,
in the application note you mention, the last section is an example with one of the tutorial examples included with Vision Builder for AI. Have your tried with that? Do you have also errors?
crisR
03-16-2006 09:28 AM
03-17-2006 04:30 AM
Hello,
I have done a test following the steps commented in the application note and I haven't had any problem or error. I attach you an image when the application has finished.
Maybe the problem you have are the soft versions. I work with TestStand 3.5 and Vision Builder for AI 2.6.1 in win XP SP2
crisR
03-21-2006 11:43 AM
03-22-2006 03:08 AM
Gonzalo,
the IP that I have used is the IP of the target ( Compact Vision System ). As you can see in Connecting to a Target Section, it says "...You can run an inspection from a local computer or from a remote target, such as the NI CVS-1450 Series compact vision system ".
I used a CVS but if you are not using CVS but a desktop PC to run the inspection, the IP that you must insert is the IP of you computer.
I suppose that with this change, you will be able to run it correctly.
Regards
crisR
03-22-2006 03:08 PM
Thanks crisR for all your collaboration.
I understand that when working on a local computer the ip should be 127.0.0.1, following the instructions of ap. note.
Despite I have modified step "connect to Target..." with the IP given back by ipconfig command, and again it doesn`t work. The fail message is always the same (the first one). Also this would force to me to be connected to a local network to have an assigned IP and in addition static address.
Regards,
Gonzalo
03-23-2006 06:18 AM
Gonzalo,
I have tried again and when I run the sequence with my lP, sometimes I got the following error, but sometimes no. I don't understand why.
Error executing substep 'Post'.
An error occurred calling 'ExecuteStep' in '_NIVBAITestStandSteps' of 'NIVBAITestStandAPI'
Vision Builder AI Error
VI Server access denied.
-2146827256; User-defined error code.
Step 'Connect' of sequence 'MainSequence' in 'VBAI_Inspection_Example.seq'
I will try to do more test and I will let you know what can be happeing.
crisR
03-27-2006 12:51 AM
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:
03-29-2006 07:46 AM
Thanks for your effort in solving the problem, but unfortunately it doesn't work.
Although the application is interesting , due the time, I will take another way, that will be to convert the application from vision builder to a VI of labview, thus I call it from teststand.
Thanks again, anyway I will test any idea.