LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to programmatically binding control

Solved!
Go to solution

Working with LabView 8.5, I can't change the binding source (shared variable) in a indicator control that previously is bound to another shared variable, the error 1522 appears.

 

See details in files attached.

 

Thank you in advance, any help would be appreciated.

 

Manuel.

Download All
0 Kudos
Message 1 of 4
(3,182 Views)
Sorry, I forget to inform that I am using DSC module.
0 Kudos
Message 2 of 4
(3,181 Views)
Solution
Accepted by topic author MMCDAT

Hi MMCDAT:

 

If you are using DSC you must follow the instructions that appear in this link:

 

http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044?OpenDocument

 

The first part is about using DSC module and it's you must follow.

 

If you want to keep using your method you must initialize the data binding before change the path, so set a data binding to this variable before change the path using the property node.

 

Regards,

0 Kudos
Message 3 of 4
(3,152 Views)

I'm having the same problem.  I have one VI creating the SV programmatically.  I have another VI binding an indicator to the SV.  In that VI I get the same error.  I'm using the SV Binding.zip example to bind the SV to the indicator.  What am I am doing wrong?

 

SVcreate.png - creates the SV programmatically

SVassign.png - assigns the SV to an indicator

SVsend.png - sends data to the SV

Download All
0 Kudos
Message 4 of 4
(2,749 Views)