LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string constant bug

Ran into this really weird problem this morning and I couldn't believe my eyes when I thought I found out what the problem really was, and I'd like to see if someone else can replicate/refute this. I checked the boards, but either I didn't enter a good enough search criteria, or this hasn't been brought up. Working in LabVIEW 8.2. Here's the scenario:
  1. Start LabVIEW.
  2. Create a blank VI.
  3. On the block diagram create a string constant.
  4. In the string constant enter the following: " anything" (note the space at the beginning - very important.). Stay in the string constant.
  5. Now, in the string constant, press the Ctrl-Left Arrow keys to move the cursor left by word. You should be at the beginning of the word "anything".
  6. Now, press Ctrl-Left Arrow again. At this point LabVIEW apparently goes nuts, pegging the CPU usage at 100%, forcing you to terminate the process.
I've been able to replicate this each time I run LabVIEW. I'm on a Windoze machine, running XP SP2.
Message 1 of 9
(3,757 Views)

I see this too.

Except I don't see a 100% processor usage, only 50%.  This is because I have a hyperthreading CPU..... Smiley Happy

Shane.

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 9
(3,744 Views)

I don't know why I really wanted to see this for myself, knowing that it would probably crash LabVIEW. Nonetheless, I did it. It acted exactly as you said. 100% CPU and when I closed the vi it said LV wasn't responding.

A very weird bug, indeed.

0 Kudos
Message 3 of 9
(3,738 Views)
smercurio_fc,

i could reproduce it as well using LV 8.2.
Reported it in CAR ID 47C9QOPT.

Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 9
(3,731 Views)
By the way, this also occurs with Controls on the front panel......

It's not specific to Constants.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 5 of 9
(3,724 Views)
Thank you all for confirming this. At least this time I wasn't out of my mind. Smiley Happy
0 Kudos
Message 6 of 9
(3,706 Views)
Somehow, the CAR ID's got mixed up, here the correct one:
47C9SPPT

Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 7 of 9
(3,688 Views)
It behaves the same way on Mac OS X, except that the meta key is Alt (or option) rather than Control.

Lynn
0 Kudos
Message 8 of 9
(3,674 Views)
This was reported to R&D (# 47C9SPPT) for further investigation.
0 Kudos
Message 9 of 9
(3,588 Views)