LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Dynamic Events in PC based RT Target

Hi!

 

I have a PC based Real-Time Target. I try use dynamic call of VI on RT target with setting reference to user event. My code for Host:

 

19295i959FB99983DACB61

 

My code for RT Target:

 

19297i25C9CE2450F42626 

 

But when VI has started, on user event no action ocсur. How can I use dynamic events on RT Target? 

Download All
0 Kudos
Message 1 of 5
(3,081 Views)

Events are only good within a LV context (both open from same project on same machine). They will not operate across contexts (one exe registers another exe uses) or across machines (register on one machine, expect it to work on another).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(3,078 Views)

Also i try use Queue in same manner - set reference to queue, but it's not workin too. So i can use only shared variable or TCP/UDP to transfer data between Host and RT target?  

0 Kudos
Message 3 of 5
(3,069 Views)

@Silentium wrote:

Also i try use Queue in same manner - set reference to queue, but it's not workin too. So i can use only shared variable or TCP/UDP to transfer data between Host and RT target?  


You can alos use VI-Server Invoke node Call by reference.

 

"back in the day..." when LabVIEW Real-Time was new and fresh, Serving an Action Engine on the RT platform allowed all of the threads on the RT target to read and write as they needed while also allowing the access to methods to reading/writting from the PC.

 

So there are other ways as well (serial, ScramNet....)

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 5
(3,064 Views)

Thanks you for the help!!

0 Kudos
Message 5 of 5
(3,057 Views)