12-20-2006 06:29 AM
12-20-2006 10:01 AM
> When creating shared variables, does it matter where in the tree of the project they reside?
Yes it does. Depending on where in the tree you place the SV, this will be the location where the Shared Variable Engine (SVE) will be located that hosts these variables. This only applies to network shared variables. In general it is a good idea to place the SVE on the Windows target in the configuration you describe.
Single process (local) SVs need to be located on the target where they will be used, but they will not use the SVE. See the following document for lots of information on Shared Variables.
http://zone.ni.com/devzone/cda/tut/p/id/4679> If I wish to have an EXE on the desktop that runs the host program, which in turn runs the RT program which in turn runs the FPGA, is this possible to get them all going like this?
You will need to have a Windows and separate RT executable that start automatically in this configuration. The FPGA VI is included in the RT executable and will be started by the RT VI. For both you Windows and RT VIs you will use the Application builder to create your executabel. On the RT executable before you deploy it to the RT target, you should select to start it automatically when the system is turned on. The Windows executable is normally started manually by the user, but can be included in your Windows Startup folder to start automatically.
Info on the LV 8.x app builder:
http://zone.ni.com/devzone/cda/tut/p/id/3303
Info on the RT app builder (from LV 7.x):
http://zone.ni.com/devzone/cda/tut/p/id/3883
For communication between the RT and Windows targets you should consider either Shared Variables or TCP based communication. For TCP communication look at the following documents for more information and a suggested implementation.
Command-based Architecture for LabVIEW Real-Time
http://zone.ni.com/devzone/cda/tut/p/id/3098
Simple TCP/IP Messaging Protocol
12-20-2006 11:04 AM