NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't create Labview 6.02 runtime server.

I tried to use the Labview source code for the Runtime Server to build a LV 6.02 Runtime Server that I can use in TestStand 2.0 with a Visual Basic Operator Interface.

Right now, I cannot run an example TestStand sequence with the example Visual Basic Operator Interface...I get error 18002.
0 Kudos
Message 1 of 4
(3,317 Views)
Hi,

Have you tried using the C demo or even the VB demo instead.

If you haven't got the labview 6.0.2 application builder then you will have problems in generating the runtime server. There doesnt appear to be the 6.0.2 version on the NI site to download, so I would suggest you get in contact with your NI rep and ask for a copy.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,317 Views)
This error means the VI that you are trying to call is not executable. There are usually 2 reasons for this.
1) The most likely cause is that you have not assembled your VIs for distribution. Whenever you try to run a VI on a machine using the the LV run-time engine, you must distribute other VIs on which your VI is dependent. TS ships with a tool that will search you sequences, find all called VIs and then gather up all the necessary support files. You then must change your TS search directories to reference these compiled files so that your sequences use them over the development VIs. These are the files that you must distribute to your target machine. I STRONGLY recommend that you test your assembled VIs and your run-time server on your development machine befo
re distributing. If it doesn't work on the development machine it is a waste of time to distribute. Please read the NIDZ document "Overview of Distributing TestStand when your Sequences use the LabVIEW Standard Prototype Adapter".

2) The other cause is that you VI is truely broken (e.g. bad wires, bad subVI, etc). Usually you would have detected this problem when running the VI on your development machine.

Nemo
0 Kudos
Message 3 of 4
(3,317 Views)
Hi Shay,

Ive just realised your problem. You have created your activex server which is at version 6.0.2. But all the example code supplied with TestStand (even TS ver 2.0) is still at version 5.0.1.
Re- register the original lv activex server supplied with TS which is still at ver 5.0.1. then the lv demo sequences will run.

Or
Mass compile all the LabVIEW VI's in the TestStand folders. Then your ver6.0.2 server will work.

Note: to Nemo.
Hi Nemo,

You dont actual need to run the VIs for distribution wizard. Its a useful tools, but not the reason for the broken arrow. What must be ensured is that all VI's have been compiled at the same versions as the activex server thats going to be used.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,317 Views)