02-16-2012 09:19 AM
I have the Labview DSC software
When I export my variables, I get Network ProjectPath and a Network URL. The last part of both of these addreses should be the same.
For example:
ProjectPath : "My Computer\Modbus.lvlib\Modbus1\028529
URL : \\.\Computer\Modbus.lvlib\Modbus1\028529
I don't know why there are two locations for an address. There is only one location when I edit a variable to enter an address.
What happens if one address is different then the other? Which one will take effect? I ask this question because I have exported variables and copied the variable to new variables (to create additional variables) and changed the address of the new variables - but maybe I did not change both the ProjectPath and the URL. When I import the new variables, they show up in the tag editor with the address in the ProjectPath and it appears to work.
When I export the variables, I have some variables that do not have both the ProjectPath and the URL the same. What will be the effect of this?
Can anyone tell me the difference between the two fields?
Thanks,
Mike
02-16-2012 09:50 AM
They are two different - though related pieces of information. The first specifies the path to an object as it is refered to in a project. The second is a path to the same object via the network. The first point to an object in a way that could potentially contain virtual folders (in other words things that don't really exist outside the project). The second points to where the object really exists on a real computer.
Mike...
02-16-2012 09:54 AM
Thanks for the information.
But if both of these address show up in the export, why is there not two address locations when you edit a variable?
02-21-2012 01:43 PM
Hi mz,
it seems the reason there are not two address locations when you edit the variable is because the URL should be based off the project path, and the reason they are different is because of what Mike said, they are related addresses, the project path is used within the project to reference the variable.
Regards,