LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

loading examples, error code 21

Every time I try to load the examples, about 20 pop-up boxes come up, all with different file names, with error code 21 : external subroutine required for execution could not be found.  I wrote down a list of all the file names that come up, and a few come up twice.
 
WsEpQueryGetHitCount.vi
WsEpQueryGetTitle.vi
WsEpQueryGetId.vi
WsEpQueryGetSummary.vi
WsEpQueryGetMetadata.vi
WsEpQueryCheck.vi
WsEpClose.vi
WsEpQueryAddTerm.vi
WsEpQueryOpenGroup.vi
WsEpQueryCloseGroup.vi
WsEpOpen.vi
WsEpQuerySubmit.vi
WsEpQueryRequestMetadata.vi
WsEpInstallCheck.vi
WsEpInstall.vi
WsPing.vi
WsLookupOpen.vi
WsCheck.vi
WsEpInstallcancel.vi
WsEpQueryCancel.vi
WsLoopupGetSize.vi
WsLookupGetCode.vi
WsLookupGetText.vi
WsLookupClose.vi
WsLookupCancel.vi
 
 
Labview was recently loaded on this labtop, and other than attempting to view the examples hasn't been used.  Can someone please offer some suggestions.
0 Kudos
Message 1 of 8
(3,126 Views)
Which examples are you trying to load? Those VIs look like they may from some toolkit, but I'm not sure since I don't recognize them.
0 Kudos
Message 2 of 8
(3,112 Views)
I assume the ones that came with the program.  I opened the program, clicked the open menu and clicked examples, which was the only choice there.  Then all those error boxes opened and after I clicked ok on all of them, I got to a screen where I could pick which example I wanted, but none of them had loaded.
0 Kudos
Message 3 of 8
(3,103 Views)
Forgive me, but I'm a little confused right now. What open menu? Are you referring to File->Open? That should present a standard OS open file dialog. Is it defaulting to some folder?

Are you sure you're dealing with the LabVIEW development environment, or are you dealing with an application that someone created, and when you said "LabVIEW was recently loaded", you were actually referring to the LabVIEW Run-Time Engine?
0 Kudos
Message 4 of 8
(3,099 Views)
We installed Labview 7.1. Measurement and Automation Explorer loaded fine. Labview opened successfully and all operations seem to work fine. The examples just didn't load. When I tried to open the examples it said I was missing several sub vi's. I've tried reloading from the disc, but no luck.

Since you mentioned the run time engine, the run time engine loads every time I open anything associated with labview.

Please let me know where I can find these sub vi's.

Thanks in advance.
0 Kudos
Message 5 of 8
(3,086 Views)
I have no idea where to find those subVIs because I don't recognize them, as I've already indicated. Measurement and Automation Explorer has nothing to do with LabVIEW. It allows you to configure and talk to devices such as DAQ and GPIB devices. It's independent of LabVIEW.

You said:

Since you mentioned the run time engine, the run time engine loads every time I open anything associated with labview.
This is very important, and leads me back to asking... do you actually have the LabVIEW Development Environment installed, or did you just install the Run-Time Engine? You also have still not indicated which examples you are trying to load. What discs do you have?
0 Kudos
Message 6 of 8
(3,076 Views)
Labview 7.1 professional development system for windows 2000/NT/XP
Device Driver Reference CD for use with Labview 7.1 Discs 1 and 2

There are no examples to choose from because none of them loaded. I usually use cont. acq. to spreadsheet, so that's my end goal. There are usually 100 or so examples to choose from but none are loading.

I'm not sure of the difference between the run time engine and the development environment, but I have installed Labview with these discs on several other machines successfully  in the past.

I wasn't sure whether I checked all the right items on the driver disc.

Thanks.

0 Kudos
Message 7 of 8
(3,068 Views)
OK, that helps to narrow it down. It looks like that specific example is related to data acquisition. I know you said that no examples load, but let's concentrate on this for now. First, have you installed DAQmx? I'm not familiar with that example, so I'm assuming that's a DAQmx example - it may be a "traditional DAQ" example. If you haven't installed DAQmx you should install that. Otherwise the example won't find the DAQ VIs. (The list you provided are not DAQ VIs, but without the DAQ VIs you won't be able to run any code.) You can check to see whether you should have "traditional" DAQ or DAQmx using the Measurement and Automation Explorer. Yes, this tool is independent of LabVIEW, but it will tell you what software you have installed. Simply go to one of the sytems where it works, run MAX, and then expand "My System -> Software". You will see a list of software that's installed and you can compare it to what you have installed on your system.

Now, as far as not being able to open any example: Are you trying to open them from the Example Finder, or from disk via the File->Open menu item? You should be able to at least open the files from disk directly. All examples are in the \National Instruments\LabVIEW 7.1\examples directory. DAQ examples, for instance, should be in the "DAQmx" folder and will probably be in libraries. Can you open the examples direct from disk? Try one of the examples in the "general" folder, as these examples are just LabVIEW code without additional libraries.

If you're trying to open the examples via the Example Finder you most likely do not have some services running. Somewhere along the way NI decided to use this convoluted method of using services just to open examples. If some of these services are not running, the Example Finder doesn't work. The list of services that get installed is long, depending on what you've got installed:
National Instruments Domain Service
National Instruments PSP Server Locator
National Instruments Time Synchronization
National Instruments Variable Engine
NI Configuration Manager
NI Service Locator
nidevldu
NILM License manager
nipxirmu
I believe the only service that the Example Finder is dependent on is the NI Server Location, but you should check the status of all these services (if you have them) and see if they're running. Their startup type should be "Automatic".
0 Kudos
Message 8 of 8
(3,056 Views)