11-09-2013 04:36 PM
Good evening!
I have a question regarding programmatic access of shared variables. I understand that to
change the IP Address of the remote computer "on the fly", I need to replace shared
variable nodes with programmatic access 'Read Variable' and 'Write Variable'. I have done
this for network-shared variables that have aliasing enabled.
For network-shared variables that also have RT FIFO enabled, the option for replacing with
programmatic access is disabled. I manually replaced the nodes with 'Read Variable',
but nothing happened.
Does anyone have a suggestion? I am using the RT FIFO's (one for timestamps and
another for an array of 97 data values) to monitor measurements from a Compact RIO on
a Windows PC.
Thanks,
Hamilton Woods
11-11-2013 09:55 AM
Update:
I have had a suggestion to consider using network streams instead of RT FIFO network-shared variables.
I am desiring to pump timestamp and measured data to a Windows PC from a Compact RIO.
Any other suggestions for how to do this?
Any areas of concern for using network streams?
Thanks,
Hamilton Woods
11-11-2013 11:43 AM
Hi Hamilton_Woods,
If the timestamp is part of the array you'll be sending over the network stream, then a network stream would be fine to use to send your data. I'm unsure why you can't replace an RT FIFO with programmatic access, I'll look into this further.
Regards,
11-12-2013 03:42 PM
Bobby,
Any discoveries regarding programmatic access of RT FIFO network-shared variables?
Thanks,
Hamilton Woods
11-13-2013 12:16 PM
Hi Hamilton_Woods,
We're still looking into this internally.
Regards,
11-14-2013 04:15 PM
Hi Hamilton_Woods,
It looks like you can still programmatically do this, however the functionality to drop a Network Shared FIFO then replace it with programmatic access is disabled. I'll go ahead and file a request on this. Thanks for the heads up!
Regards,
11-14-2013 08:15 PM
Bobby,
I already attempted to perform a programmatic access of the RT FIFO by using the read shared variable
function in the same way that I am using it to read other shared variables. It doesn't work for me.
I intend to replace the RT FIFO shared variables with network streams when I get a chance.
Thanks for your help,
Hamilton Woods
09-18-2014 01:46 PM
I come across the same question: programmtic acess to FIFO shared variable.
It doesn't allow to do this in LV2014.
Any update?
Thanks
Yan
09-19-2014 10:57 AM
Hello Yan,
It seems that this thread is quite old and kind of out of place. Would you mind creating a new thread for this question in the LabVIEW RT Forum?
Regards,