07-11-2007 09:04 AM
07-11-2007 04:11 PM
07-12-2007 01:28 AM
Hello Kenny,
yes, there is lot of information when searching the web site of NI or Google for information on DSC. Unfortunately, it is quite scattered and in many cases I can't find the information I am locking for (like a detailed description of the error code Hex 0x8ABC7010 or decimal 1967362032). Yes, I am using LabVIEW DSC since about seven years. Things have changed and improved a lot compared to LabVIEW 7.1.
Anyhow: Except the workaround described in my original question, I still don't know how to change the alarm limits of a shared variable on a remote node. Please note, that I want to change the alarm limit on-the-fly, while the process is running. As an example, when switching on the power on an electric device, the electric current will most likely go beyond its alarm limit. So the alarm limit must be changed before and after powering up (or disabled during power up).
However, the methods described in your link don't work for me. The property node "SharedVariableIO" just works on the local node or at least I can't get it to work for remote nodes. The alternative, changing the properties of the Shared Variable contained in a library, is not applicable for me. This would imply to re-deploy the library on the remote node, which is not such a good idea in a running system. Again: there must be a way to do this, since the "Shared Variable Monitor" allows to change those properties on a remote node interactively. But I need to do this programmatically!
Dietrich
08-06-2007 03:05 PM
If you wire a shared variable node (what used to be called a tag) into a property node, you can change properties directly in the variable engine as opposed to changing them in the library file and needing to re-deploy them.
For example, please refer to the attached picture:
These changes will take place directly in the engine on the machine the VI the run.
08-20-2007 09:30 AM
05-25-2008 03:22 AM
Does anyone have an answer for this?
05-26-2008 05:41 AM
I am also having a simlar problem in accessing property node of a shared variable through remote PC. I would like to access Network.OnScan and Description Property of a shared variable remotely.
But the workaround as mentioned above does not work with these property nodes.
Has anybody come across a similar situation?.
06-16-2008 02:49 AM
I have never tried to update properties on a remote SV, but the error Error -1967362032 is an old friend of mine. As is most of the other error codes relating to SV's. Try to copy all VI's in the vi.lib\lvdsc\ folder from a machine that has just been installed. This sometimes fixes my problem. I realize that this makes very little sense.
/soren
08-26-2008 08:36 AM
You can edit any properties regarding a shared variable deployed in a remote PC using sgaredvariableIO propertynode . Only thing you need to have is the cuurect URL for the same. But inorder to make the change effective you need to stop the process first then do the editing then start the process. For starting and stoping a process in remote PC you can find the VIs in ../labVIEW 8.2/vi.lib/variable/tagger/ folder.
It worked for me with a remote RT FP.
Blackperl
12-21-2010 08:57 AM
I need a solution to this problem as well. When I try to read/write to a shared variable property, I get a "initialization failed" error. Then I went into the remote machine in the "NI Distributed System Manager" and tried to stop the process in there with no success. Then I tried to run the "Stop Process" vi in the LabVIEW 2009\vi.lib\variable\tagger folder and got an error "Error -2147220717 occurred at ni_tagger_lv_StopProcess.vi" Mind you I didn't do much coding other than pipe the Machine name and the process name into the "stop process.vi". I need to get this working. Please help.
Matt