05-13-2020 11:17 PM
Hi,
the attached software isn't working in Real-time . i need a solution to change this software in order to make it work in Real-time.
LabVIEW 2019.
Best Regard.
Thank you.
05-13-2020 11:31 PM - edited 05-14-2020 12:27 AM
Emna20 edited their post so, my reply might not be helpful...
I couldn't see your VI (I'm using 2017) but, only user-event is supported on RT.
Do you see your problem with user-event?
Event Structures Are Not Working on my CompactRIO (cRIO) in LabVIEW - National Instruments
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019UiySAE&l=en-US
05-14-2020 01:19 AM
Please explain what you mean by "real time". That term has a very specific meaning, but is also often used generically. Make sure to describe the problem precisely.
If you are planning to deploy this to a realtime embedded system, you should post in the correct forum.
Be aware that embedded systems don't have a user interface. How are you communicating with it?
05-14-2020 03:01 AM
Hi,
I'am using cRio 9068. and i try to run the vi . but there is no response . i think event structure does not work with Real time can any one help me to transforme the VI using user event.
Best Regard.
05-14-2020 05:21 AM - edited 05-14-2020 05:22 AM
Real time targets don't have user interfaces in the same way you are probably used to, and therefore event structures do not work (Along with property nodes if you aren't running it from a PC)
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AV2SAM&l=en-GB
You should really develop your user interface to be deployed on a PC, this user interface then needs to communicate with your CRio using network streams, tcp or udp communication.
Have a look at this sample project to get more of an idea.
05-14-2020 07:53 AM
@Worle wrote:
Real time targets don't have user interfaces in the same way you are probably used to, and therefore event structures do not work (Along with property nodes if you aren't running it from a PC)
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AV2SAM&l=en-GB
You should really develop your user interface to be deployed on a PC, this user interface then needs to communicate with your CRio using network streams, tcp or udp communication.
Have a look at this sample project to get more of an idea.
Actually, event structures are supported; it's just that if the target doesn't support a UI, then neither does the event structure.