LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable: Server Failure

I'm binding Labview 8.2 Shared Variables to Fieldpoint channels, using OPCFieldPoint Server. The OPC Server works properly, i can connect to it using Server Explorer 2.4.1 and see all the channels (though i had to do a repair installation of Fieldpoint 5.0.1 to obtain this!). But Shared Variables bound to OPC Items don't work, i get "Server Failure" error both in Variable Manager and in project VIs.
Fieldpoint channels are visible in MAX, and readable using direct Bind to Source. Just OPC and NI Variable Engine don't seem to talk to each other, though everything is on the same machine. I have even set up the SVE as explained in http://digital.ni.com/public.nsf/websearch/8719713F089653C1862570F10074E06B?OpenDocument and set an administrator account (do administrators always have DCOM privileges?).
Thanks for any help!
0 Kudos
Message 1 of 8
(4,586 Views)

Ciao Snamprogetti

are you using DSC then?

 

Raffaella

0 Kudos
Message 2 of 8
(4,572 Views)
Yes, but i think binding is not dependent on DSC, it is a general feature as explained here:
0 Kudos
Message 3 of 8
(4,568 Views)
What kind of Field Point are you using?
0 Kudos
Message 4 of 8
(4,563 Views)

Currently for development i use:

FP-2010 + FP-AI-111 + FP-AI-110 + FP-AI-100

But hardware is going to change soon, especially to cFP-180x.

However, the Server Explorer shows that the FP channels are read correctly by the OPC Server, it just doesn't transmit them to the SVE, so i doubt the FPs may be the cause.

0 Kudos
Message 5 of 8
(4,563 Views)
With this kind of "intelligent" FP, you don't need to use OPC! You can create your variable and write in it in the field point, and read it from the PC, as you can see in the example picture i attached. You do this simply using the variable engine. Ciao!
0 Kudos
Message 6 of 8
(4,552 Views)
I know... but as i said, i will migrate to cFP-180x which is not intelligent.
I also know "don't use OPC" is a possible solution, i can read channels manually even without intelligent FP, with a "FP Read.vi" on my computer! Or bind shared variables directly to network items without using the OPC server.
But OPC is the standard and when i buy a Full Professional Development System it HAS to work...
0 Kudos
Message 7 of 8
(4,549 Views)

Today, at some point, it started working Smiley Surprised

I don't know what i did...

NI support told me (but AFTER it started working!) to rename the file National Instruments\Shared\Tagger\fieldpnt.mnd that may be there from older installations and may cause conflicts. I did it anyway for extra safety.

Thanks anyway!

0 Kudos
Message 8 of 8
(4,517 Views)