01-30-2011 09:49 AM
In editor mode, the shared variables update fine. When I build the executable, the shared variables no longer work.
See attachment.
01-31-2011 09:09 AM
What error code are you getting?
Do you need to create the whole process and DB on the fly? If not then define in the project and just programmatically deploy.
02-01-2011 08:04 AM
Yes, I need to create the whole process and DB on the fly!
And error code is: -1967361997 "Property Node (arg 1) in NI_DSC.lvlib:Configure Scaling (Shared Variable).vi->NI_DSC.lvlib:Configure Scaling.vi->TestCitadel.vi"
So, as I said the code works properly in edit mode but does not work in executable...
02-01-2011
08:48 AM
- last edited on
05-28-2025
12:16 PM
by
Content Cleaner
I found this note in the LV2010 help, I wonder if this could be related to your problem...
Note You can use scaling only for network-published shared variables, I/O variables, or I/O aliases. When the shared variable you want to scale is a network-published shared variable, it must have a data source. Configure a network-published shared variable to have a data source by placing a checkmark in the Enable Aliasing checkbox on the Variable page of the Shared Variable Properties dialog box.
02-01-2011 09:08 AM
I wrote that it does not work in the executable. Where's the difference?..
02-01-2011 09:33 AM
The whole idea behind NSV scaling is to apply it to a source and then have it appear as a scaled value in the destination.
I do not see that you are using it that way.
02-01-2011 09:37 AM
could you make an example vi?
02-01-2011 09:49 AM
Could you fill us in on what you are trying to do? What data are you trying to scale?
02-01-2011 09:50 AM
Could be the reason that I use LV2010 (to make the executable) and DSC Run-Time 2009 on the target PC?
02-01-2011 09:58 AM
I need to create/delete/modify in the citadel database about 500 tags on the fly. And it should be scaled and so on etc...