Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable on 9148 expansion chassis?

Does any one know if I can access the Shared Variable Engine on a CRIO-9148 expansion chassis? (I.E. ni.var.io). My end goal is to reference my 9411 Pulse counter card when seated in my CRIO expansion chassis and configure it as a Counter dynamically. (I can accomplish this via the project but I'm trying to build a system that responds to dynamically to newly introduced modules)

 

I've attempted to reference ni.var.io/<CRIO_IPADDRESS> but I get the following error:

 

Error -1950679035 occurred at GetChildren Property Node
Possible reason(s):
LabVIEW:  (Hex 0x8BBB0005) Unable to locate variable in the Shared Variable Engine.  Deployment of this variable may have failed.

 

Thanks,

Craig

0 Kudos
Message 1 of 4
(4,833 Views)

There is one problem you're running into, and another that you will run into very soon.  The first is that you are using "ni.var.io" on the front of your URL.  That protocol specifier essentially means "local variable engine" so it will only look locally, ignoring any IP address you put in there.  Try using "ni.var.psp" instead.  That indicates to use the PSP network protocol and should work fine.

 

Yes, you can discover and configure modules under scan interface mode remotely with LabVIEW 2011 + RIO 4.0.  But you must install a new remote configuration service on the target for this to work. For most of our cRIO targets you would make sure to choose "I/O Variable Remote Configuration Web Service" when installing software from MAX.  But as you may already know, the 9148 doesn't allow you to select software components individually like this.  For this reason you'll have to copy the attached CDF files (inside the attached ZIP file) to your Program Files\National Instruments\RT Images\CompactRIO\4.0\2011 and then reinstall software from MAX.  This will install the remote configuration service you need.  I've also attached the file for the 9146 since it has the same issue.  There will soon be a knowledge base posted about this issue and it's already been fixed for future releases.

 

Don't hesitate to ask if you have any more questions.

Ross Houston
Principal Software Engineer
Timing & Sync Software R&D
0 Kudos
Message 2 of 4
(4,819 Views)

Curious to know what cRIO module properties does this new interface expose.  I am keeping my fingers crossed that one day we will be able to remotely modify the scaling parameters on a IOV.

0 Kudos
Message 3 of 4
(4,713 Views)

Can i change the thermocouple type of a 9214 uing this interface?  I have installed the .cdf files and can communicate with the unit but cant seem to get to the the card configuration settings.

0 Kudos
Message 4 of 4
(4,580 Views)