Aitor Solar Posted May 15, 2007 Report Share Posted May 15, 2007 Just place a xctl in the BD (as to get a constant). LV crashes. Probably it doesn't make much sense to have a Xcontrol constant, but LV shouldn't crash, IMHO. In LV8 this wasn't allowed and so there was no problem. Saludos, Aitor Quote Link to comment
nhollenback Posted May 16, 2007 Report Share Posted May 16, 2007 Aitor - I noticed your post and just dropped a simple XControl into the BD and it did not crash LV (8.2). It simply did what I expected...create a constant of the data.ctl data type. What does your xControl do? Quote Link to comment
Aitor Solar Posted May 16, 2007 Author Report Share Posted May 16, 2007 QUOTE(nhollenback @ May 15 2007, 02:17 AM) Aitor - I noticed your post and just dropped a simple XControl into the BD and it did not crash LV (8.2). It simply did what I expected...create a constant of the data.ctl data type.What does your xControl do? Nothing special, in fact I also tried it with the xctl in the LV examples (dual thermomether I think it's called, is placed in examples/general/xcontrols) and the behavior is the same: crash boom bang. Did you tried with 8.20 or 8.2.1? Saludos, Aitor Quote Link to comment
Aristos Queue Posted May 16, 2007 Report Share Posted May 16, 2007 QUOTE(Aitor Solar @ May 15 2007, 05:49 AM) Nothing special, in fact I also tried it with the xctl in the LV examples (dual thermomether I think it's called, is placed in examples/general/xcontrols) and the behavior is the same: crash boom bang. Did you tried with 8.20 or 8.2.1? With thermometer example, I don't see a crash with either 8.2.0 or 8.2.1. Quote Link to comment
Yair Posted May 16, 2007 Report Share Posted May 16, 2007 Maybe this is caused by enabling various Xnode related settings? :ninja: Quote Link to comment
nhollenback Posted May 16, 2007 Report Share Posted May 16, 2007 Aitor - ditto wrt AQ's results. No crash with the dual themometer in 8.20. Feel free to send me your Xcontrol and I'll try it. Are you doing anything that NI does not recommend ie. using globals, functional globals, additional shift registers etc? What is the datatype of the xcontrol? Quote Link to comment
Aitor Solar Posted May 17, 2007 Author Report Share Posted May 17, 2007 QUOTE(nhollenback @ May 15 2007, 07:28 PM) Are you doing anything that NI does not recommend ie. using globals, functional globals, additional shift registers etc? What is the datatype of the xcontrol? Trust me, I do nothing: I select the Thermometer XControl that ships with LabVIEW 8.20, I hover it over the block diagram and see something strange like an empty lowered box http://forums.lavag.org/index.php?act=attach&type=post&id=5880''>http://forums.lavag.org/index.php?act=attach&type=post&id=5880'>http://forums.lavag.org/index.php?act=attach&type=post&id=5880 And when I release the mouse, crash. I don't think the XNodes are related to this (though I have seen strange errors in XNodes when trying to create an XControl input, so who knows). Just to be sure we are doing the same, I don't mean to drag an XControl from the front panel to the block diagram (that works) but placing it directly in the BD. Steps: in the BD right click -> Select a VI -> go to the XControl folder -> select "All files" to see the XCtl -> select the XCtl file -> place in the BD. Saludos, Aitor Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.