03-28-2017 08:56 AM
Hi,
I have loaded Startup EXE in RT system and set as startup.
At any point is it possible to check from host VI whether Start EXE is running in RT System.
Thanks & Regards,
Visuman
03-29-2017 12:52 AM
There are two things I do for nearly all RT applications to identify if it is running or not.
The first is to blink the User1 LED. This allows me to see at a glance if the RT application is running properly, or if it isn't running for some reason.
The second is to create a network shared variable hosted on the RT target, which is constantly incremented inside of a while loop (once per second) by the RT application. This variable acts as a watchdog. So long as the host VI can see this variable is being incremented, then you know the RT application is running.
03-29-2017 08:49 AM
HI,
I would like to check this information before connecting to the RT system.
Is it possible to do the same.
03-29-2017 09:08 AM - edited 03-29-2017 09:16 AM
Hi visuman,
you don't need to connect your LabVIEW IDE to your cRIO: you can have network traffic (aka data transfer using network shared variables or simple TCP, UDP too) using some standalone executables!
When you want to check if a program is running you have generally two options: either play command-response game or have a "beacon"-kind signal from your external device…
03-30-2017 12:33 AM
Hi GerdW,
Could you please explain little bit detail.
Thing is I am using PXI-8106 RT controller,and would like confirm whether startup.rtexe is running on the same.
Thanks
Visuman
03-30-2017 12:59 AM
Hi visuman,
as has been said before: have your RTexe send data over the network, either by setting the value of an "alive" shared variable or by sending beacon signals using UDP.
On your PC you just check the value of the shared variable or try to receive the UDP messages…
03-31-2017 09:40 AM
Hi,
Is there a option to view RT monitor from host computer.
If so can we integrate same with LabVIEW.
Thanks
Visuman
03-31-2017 03:41 PM
04-03-2017 02:38 AM
Hi,
Yes I did I able view a flag from host to confirm the EXE is running.
I have another requirement to view RT monitor details from host PC.
Regards,
Visuman
04-03-2017 02:55 AM
What do you mean by RT monitor details? Something like CPU / RAM usage?
In any case, additional shared variables and/or network comms would do the job.
If it is CPU / RAM you're after, there's also the System State Publisher which can be used in conjunction with the Distributed System Manager to monitor an RT target's status. See this link for info: https://digital.ni.com/public.nsf/allkb/FA5C65FF5645FA5A862575D30029B6E4