LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One of two list boxes working other returns null.

Solved!
Go to solution

To whom it may concern,

 

I'm working with a earlier program not created by myself and have an odd behavior from a list box.  There are two list boxes with on operating correctly and the other shows a null in data.  When you look at the front panel you'll see two list boxes on the right side.  The one labeled "File for L1 Test" is working the one "File for L2 Test" isn't.  Even though the path come in the file names in the L2 box don't make it into the program and when you probe the test line you get a "" for the probe.  Any idea of why one works and the other doesn't?

 

Gary Tyrna

0 Kudos
Message 1 of 5
(2,493 Views)

You know that's a really good question. An interesting question. A question that is even intriguing...

 

Was this code ever converted between versions? How did you create the second control?

 

Mike...

 

PS: I haven't the foggiest idea what is going on.


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,472 Views)
Solution
Accepted by topic author ggaryt

It definitely appears that the control has somehow been corrupted.  Copy the working one over the non-working one and update the item names and it should start working.

0 Kudos
Message 3 of 5
(2,467 Views)

Mike,

 

To answer your questions, yes this was converted from a 8.0 to 2010 and both controls we already in the program.  It has turned out to be a corrupt list box and when I copied the working one and renamed it I'm now up and running.

 

Gary

0 Kudos
Message 4 of 5
(2,452 Views)

Matthew,

 

Thank you for your suggestion.  This was the trouble and I know have this working.  It may have been the older version that created this program and when I brought this up in LabVIEW 2010 mite have caused the corruption problem.

 

Thanks Again,

Gary Tyrna

0 Kudos
Message 5 of 5
(2,451 Views)