07-19-2010 11:06 AM - edited 07-19-2010 11:12 AM
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:
My code for RT Target:
But when VI has started, on user event no action ocсur. How can I use dynamic events on RT Target?
07-19-2010 11:10 AM
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
07-19-2010 11:17 AM
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?
07-19-2010 11:29 AM
@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
07-19-2010 12:51 PM
Thanks you for the help!!