Jump to content

Placing an XControl in the BD crashes LabVIEW


Recommended Posts

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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?

Link to post
Share on other sites

QUOTE(nhollenback @ May 15 2007, 07:28 PM)

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.