Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

The fastest way of RT-Host Communications

LabVIEW 8.0 has a great ability to run RT VI on a host machine when you are in a project (Remote Panel Mode).

Is there an ability to make an *.exe from this RT VI directly and then run it's Front Panel on Host and Block Diagram on RT PXI.
(As far as I remember, the thing alike existed in LabVIEW 7.*.)

Thanks in adv.
0 Kudos
Message 1 of 9
(6,636 Views)
 

Hi There,

 

 

 

You can certainly create an executable and run it on the RT target and then have it send information over to the host vi running on your remoter host machine.

Here are a couple of useful links:

 

 

 

How to create an exe in LabVIEW 8.0: <http://zone.ni.com/reference/en-XX/help/371361A-01/lvhowto/building_a_stand_alone_app/ >

 

 

 

Links to RT tutorials and example programs: <http://zone.ni.com/devzone/devzone.nsf/webcategories/C25F8C664230613A862567DF006ABB06 >

 

 

 

Regards,

Prashanth

0 Kudos
Message 2 of 9
(6,630 Views)
The question is can I get the same functionality have RT vi started as directly in LV project (connected to RT target, deploying and starting a VI)?
I mean, without having to program VI server or running VI and then publish it in Web Server - just start it as a plain Windows executable, but making it's block diagram running on RT Target chosen - just as in project.

That's it.

Thanks in adv.
0 Kudos
Message 3 of 9
(6,608 Views)

Hi There,

If I understand you correctly, you are looking to start the RT executable from the host computer and have it download it to the RT target. No, this is not possible with the RT executable in LV-RT 8.0 and you must use vi server technology to launch it on the RT target. Have great day!

Regards,
Prashanth

0 Kudos
Message 4 of 9
(6,588 Views)
But why?

If there is a way to do so in LV project, why can't there be a way to do the same without starting LV?

What prevents?

Thanks in adv.
0 Kudos
Message 5 of 9
(6,549 Views)

Sharonoff,

Could you explain what exactly you are able to do in LabVIEW project? (A step by step instruction to replicate it will help) Also what exactly you want to do with out LabVIEW project as well as VI server technology.

Regards,
Prashanth

0 Kudos
Message 6 of 9
(6,522 Views)
Thanks, Prashanth.

The wish is to run my RT-vi directly. Not by means. Just directly.

Well, connected to target, I can run RT-vi in project (by just pressing start button :))).
Why not going so without project?

I'd like to have a win-exe which front panel is on
my WindowsPC while it's block-diagram is on RT-target.

Is it possible to create such exe?
Or how LabVIEW environment makes such trick with RT-vi?
How can this thing (let's say, project emulation) be programmed?

Thnx in adv.
0 Kudos
Message 7 of 9
(6,465 Views)

Hi Sharonoff,

Unfortunatly, you cannot run a RT vi on the target with out a project. Project window is where one would setup the target options as well as shared variables.

Also, its not possible to create a windows exe whose front panel is on windows and block diagram runs on the rt target. There is no viable usecase as one would not be running a Real-Time system in this setup. Once the programming and bebugging is done, users create an RT executable and then FTP it into the target and run it there. Any user input / output data is transfered between the target vi and the host vi using shared variables/TCP. This provides better determinism than front panel communication which is meant more for programming and bebugging.

Regards,
Prashanth

0 Kudos
Message 8 of 9
(6,436 Views)
That's pity...

Well, anyway, thanx.
0 Kudos
Message 9 of 9
(6,425 Views)