LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Still do not see any exported VIs

I have exported VI PXI-8150B wich is runnig under RTOS. I have followed all the instructions given in "Determining State of VIs on a Remote Computer" web page in the NI Developer Zone. When I run VIexecState_LabVIEW_7.vi, it shows no exported VIs. Is there something more I need to check to see my exported VIs with an application server ?
0 Kudos
Message 1 of 6
(2,967 Views)
I downloaded the VI from this article and it worked fine for me. Does the VI return an error when you run it? Do you have any VIs downloaded and running?
0 Kudos
Message 2 of 6
(2,967 Views)
I have No error message, and it return no exported VIs. Though I have downloaded two VIs in the directory C:\NI-RT\STARTUP\ as it is recommended.
0 Kudos
Message 3 of 6
(2,967 Views)
When you say "download", do you mean FTP -put? Or do you mean you targeted LabVIEW to the PXI and selected Operate>>Download Application from the VI menu?

FTP'ing the VI to disk does not put the VI in memory. You'll need to download the VI from the menu.

Because you did not get an error 63, your "VI Server:Configuration" and "VI Server: Access List" are probably fine. However, you might want to double-check your "VI Server:Exported VIs". I'd recommend using '*' for all three settings until we find out what the problem is.
0 Kudos
Message 4 of 6
(2,967 Views)
Thank you, you were right. I had downloaded VIs with FTP -put. After downloaded them from the menu, I can see them with an application server. But if I close the VIs targeted on the PXI, they are not there anymore. Does that mean that I can only see exported VIs that are downloaded from the menu or are remotely started like in the "Using VI Server to Run LabVIEW Real-Time VIs Stored on an RT Series Hard Drive" web page example ?
0 Kudos
Message 5 of 6
(2,967 Views)
You can put VIs into RT memory two ways:

1) Manually download the VI from the LabVIEW menu (or using the Run button)

2) FTP the VI to disk, then load it into memory using Open VI Reference. If you do this from the host PC, make sure to open an application reference to your RT target first. The functions "Open Application Reference" and "Open VI Reference" are on the VI Server palette.

***sneaky way***
Make a copy of LabVIEW.exe. Leave VI Server running on port 3363 for one of the exes. For the other LabVIEW exe, change the VI Server port to something else (like 3364). You can automate a download by doing the following:

In a batch script, perl script, makefile, etc, you can run LabVIEW.exe with the following comma
nd line arg: "-target vvv.xxx.yyy.zzz". That'll launch LabVIEW and target it to your PXI box. In the same batch process, run Copy of LabVIEW.exe with the command line arg: "". The VI you specify here needs to open an application reference to LabVIEW.exe on port 3363 (note: it's important that Copy of LabVIEW.exe runs VI Server on a different port, otherwise it will open an app reference to itself). The VI can then open a VI ref to whatever you want to download to the RT target and call the Run method, which will force the VI into RT memory (because LabVIEW.exe is targeted!).
0 Kudos
Message 6 of 6
(2,967 Views)