Oops - the message got posted before I even wrote it - sorry!
I'm working on a simple RT daq app that acquires 32
channels of AI and pops them into a network variable for a host program
to read several times a second. I build and deploy the app as a
startup so that it starts every time the PXI RT system boots. I
want to move the RT box to another computer that has LV, but not LV-RT.
I first tried using the variable server on the host.
The LV box boots and the app starts. I start my program on the
host, and it connects. Everything is fine.
However, to make the transition to another computer
easier, I would like to host the network variables on the RT box.
Then I don't have to deploy them to the network variable engine on the
new computer. When I write the program this way, the RT half
still boots and runs. Using the variable monitor program, I can
see that the variables are hosted on the RT box and are being
updated. So I open the host program in LV and start it. It
has to deploy some sort of connection to the network variables, so a
deploy dialog pops up. It finds out that the RT box already has
an app running and says that if I continue to deploy, that app will be
stopped. If I cancel, the host app doesn't run. If I don't
cancel, the RT app stops. I have to connect to the RT box again
and redeploy the RT app. Then both are running and I get data.
Is there a way to host the variables on the RT box, and
have the RT program start automatically on bootup, and have LV for
Windows start a program that gets the variables off the RT box from a
Windows machine that doesn't have RT?
Thanks,
Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.