LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read variables from a server (local) - LabVIEW 2013

LabVIEW 2013 in Windows 7

 

Hi there, I'm new with LabVIEW.

 

I have to read the variables from a server (local), for my school.

A project that do this is already existing, but I have to adapt it to my variables.

In the old project, the read (lettura) of the variable is made with "Read variable" from Shared Variable (look at image "Reading variable.png"). To adapt the old project to the new, I just browse and selected my new variable.

When I run the simulation, LabVIEW give me back this error (image "Error.png") ->Error -1950679035

 

Someone know the reason? Help please.

Attached there is also the my Project explorer and the my Shared Variable Properties.

 

The new project have already worked, but now I have this error.

And now also the old project doesn’t works no more.

 

The main objective is to read variables from a local server (localhost), and use them in LabVIEW. Maybe someone can me explain easily step-by-step what I have to do, please?

 

 

Thank you very much for your help.

 

 

0 Kudos
Message 1 of 3
(2,261 Views)

Hi,

 

What does it mean that you run the simulation? How is it different from the desired final environment?

Also it looks like you are trying to read values from the OPC server. Could you please check the article below, it may be helpful.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PmWSAU

 

Thanks

 

---
CLA,CTD,CLED
0 Kudos
Message 2 of 3
(2,193 Views)
0 Kudos
Message 3 of 3
(2,186 Views)