08-23-2024 11:37 AM
Hello,
I'm using this setup with a 9045 as the primary chassis and a 9149 as the secondary:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x4LaCAI&l=en-US
On the 9045 I can read all the variables from an individual module by using a Scanned Variable Read and a URL such as - ni.var.io://ni-crio-9045-022ba19e/Mod1
I can read individual channels from the 9149 using the same method and a URL like - ni.var.psp://10.0.18.3/Mod1/FCV049
My problem is that using a URL to read data from the 9149 with "/Mod1" does not work. So I'm left with using an array of 100+ URL's to get the data from the 9149, that doesn't seem efficient.
Does anyone have a suggestion on the best method to move data from the 9149 to the 9045 so I can eventually get it to the Host PC?
Thanks!
08-23-2024 07:52 PM
You can get the shared variable ref programmtically. One example is List Shared Variables and Get Data
08-26-2024 09:52 AM
Thanks for the reply. That VI brings back literally hundreds of URL's I don't need. Spare channels, Force info, refers to info. Four URL's per channel. Knowing the URL's isn't my issue. I'm just wondering if there is a better way to get the data from a networked cRIO. It appears an array of URL's is the only way for me to collect data from the remote expansion chassis. Is an array of URL's the most efficient method?