LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared variables error (1950679023)

Hi everyone, I'm doing a program to send data from host VI to my RT VI in myRIO-1900. But, I currently facing an error from shared variable (1950679023) as shown in Figure below. I have try reconnect my device and also deploy all the shared variables again, but I still getting the same error. Can anyone help me to solve this out? Thank You.

Untitled.png

0 Kudos
Message 1 of 10
(6,066 Views)

I can't take a look at the actual items because I am only using LV2013; will you please resave them for LV2013?

 

From the image that you attached, it looks like the variables are supposed to be hosted on the myRIO.  Perhaps you are not deploying them to the myRIO properly (for instance, actually deploying them to your PC instead) - how are you deploying them?

If you are deploying them interactively, then I would normally expect there to be a project with a myRIO target with the variables assigned to it...



0 Kudos
Message 2 of 10
(6,051 Views)

Hi, sorry for late reply. I had solved my problem. Thank you very muchSmiley Happy

0 Kudos
Message 3 of 10
(6,025 Views)

Please post any additional details about your problem and the solution that you found, and then mark that as the solution to this topic.



0 Kudos
Message 4 of 10
(6,003 Views)

Sorry to hijack this post but I have a problem that looks similar to this. It would be good if Laurain could tell me what his solution was.

Attached is my problem seen from the NI Distributed System Manager.

I can access the shared variable from my PC (146C32HPD-W), I put a copy of the SharedVarLibrary to the "DAVESELBY" PC but the variables can not be accessed.

0 Kudos
Message 5 of 10
(5,875 Views)

Attached picture from post above...

 

distributed.jpg

0 Kudos
Message 6 of 10
(5,867 Views)

@hasse wrote:

Sorry to hijack this post but I have a problem that looks similar to this. It would be good if Laurain could tell me what his solution was.

Attached is my problem seen from the NI Distributed System Manager.

I can access the shared variable from my PC (146C32HPD-W), I put a copy of the SharedVarLibrary to the "DAVESELBY" PC but the variables can not be accessed.


Elaborate how you "put a copy of the SharedVarLibrary to the "DAVESELBY" PC".



0 Kudos
Message 7 of 10
(5,825 Views)

I just took a copy of the library "SharedVarLibrary.lvlib and copied this to the PC. This PC doesn't have labview on it though. After reading some more it looks like you will have to deploy the SVE to the machine?

Will the SVE be deployed if I install LabView runtime engine on that PC or how I install the SVE?

0 Kudos
Message 8 of 10
(5,815 Views)

@hasse wrote:

I just took a copy of the library "SharedVarLibrary.lvlib and copied this to the PC. This PC doesn't have labview on it though. After reading some more it looks like you will have to deploy the SVE to the machine?

Will the SVE be deployed if I install LabView runtime engine on that PC or how I install the SVE?


You have to deploy the shared variables to an instance of the Shared Variable Engine (technically named the "NI Variable Engine") on the machine.

Note that shared variables are deployed to the SVE, and the SVE is ran on a machine as a service.

 

Therefore, the SVE has to be installed on the machine.

I believe that the SVE can be installed separately from a LabVIEW Run-Time Engine, but I am not 100% sure.

If you cannot find a download for a SVE installer from NI, then you should be able to create your own by making an installer build specification (may require the Application Builder) in LabVIEW that is marked to include the SVE and does not include any actual application.

 

After you have the SVE installed and running on a target, the shared variables must be deployed to that engine.  Following are three methods of deployment:

  • The LabVIEW development environment's Project Explorer provides an interactive method of deployment by right-clicking a library.
  • With the LabVIEW DSC module, you should be able to interactively deploy variables using the Distributed System Manager.
  • You can programmatically deploy variables in LabVIEW programs, such as making your own interactive tool that deploys a provided library to a networked target running the SVE.


0 Kudos
Message 9 of 10
(5,807 Views)

Hi everyone,

I use this post because i've a problem that looks similar to thist. I'm trying to create a connection between two pc which rappresent my server-client. I've a problem with client because i recive the notification "ERROR 1950679023 OCCURRED AT SHARED VARIABLE". I'm using LabVIEW 2010 on WindowsXP but the same happend for win7.

Can anyone help me to solve this? Thank You.

0 Kudos
Message 10 of 10
(5,690 Views)