Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69269

Creating reference to access control in subvi (custom dialog)

$
0
0

I have followed the Custom Dialog box white paper (http://www.ni.com/white-paper/8768/en/) in order to collect information within a small subvi. I would like to use a ring control to offer the user a range of selections that will be saved from the dialog box. Ideally, I don't want to have to update both the ring in the main vi and the ring in the subvi every time something changes. I need the ring to be populated in the main vi because I am displaying the strings on the main vi, not the number output by the ring. 

 

I have tried creating a reference with this method (http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/prog_controlling_fp_objs/) but this crashed labview every time I tried to run it (Full crash, have to end program from the task manager).

 

I've attached a screen shot of the relevant part from the main vi and the full subvi. The main vi is rather confusing which is why I didn't attach the whole thing, but my question is whether I wired the reference to the subvi correctly and whether the assignment from the referenced property node to the dialog box property node is correct in the subvi.

 

Thanks.


Viewing all articles
Browse latest Browse all 69269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>