LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slider not Sliding at run time

Strange behavior:

 

I have a slider that I want to use to control the offset position for NISCOPE Horiz config.  When I am at run time, however,  I cannot "slide" the slider.  I am allowed to click on a position where the pointer ISN'T, and the needle will move to that position, thus changing the value of the slider, BUT, I cannot "grab" and "slide" the slider.

 

I am not a LV N00B, but have NO idea how to explain this behavior.  Granted, I haven't used sliders all that much in my 17+ years of doing this...

 

All my loops have some delay to allow CPU clock cycles, and even the horizontal and vertical scroll bars for the VI window are displaying this same behavior.

 

PXIe-8108 controller with Win XP.

 

Any ideas?

Thanks.

 

Wes

 


--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 1 of 15
(4,280 Views)

Interesting that the window scroll bars are also not allowing you to drag, which makes me think that is's a wondows/hardware problem. First thing I'd try is to see if the mouse works OK in other applications, maybe you've got a dodgy mouse button, so you get a click ok, but the button doesn't stay pressed for a hold and drag operation. If other applications are the same, try another mouse.

 

....or am I being too simplistic?

 

Rod.

 

 

 

0 Kudos
Message 2 of 15
(4,275 Views)

No, the mouse works OK all the time, it's just that the slider control doesn't allow me to "grab" the pointer and move it.  

 

Wes

 


--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 3 of 15
(4,263 Views)

Post your vi and we will try it to see if we have the same problem.  You stated that even your windows horizontal and vertical bars have the same problem.  This makes it sound like its not a Labview problem.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 15
(4,261 Views)

The "windows" problem I mentioned has to do with the LV window at run time.  All other Windows "windows" behave correctly, ie chrome, Explorer, etc.  All other scrollbars work as they should..

 

One more piece of info:  I am also not able to zoom on a waveform graph at run time, though I can do so when not running. None of the graph zoom tools from the graph palette work while the program is running.  Fu

 

furthermore, I am not able to move the cursors on a waveform graph with the mouse when executing.  Can do this when not running.  Further(further)more, the horizontal scrollbars for a table are similarly affected while executing. 

 

I have made sure that none of my FP entities stretch off the screen, as this seems to be an issue at times.   

 

The VI is too big to post here, I am afraid.  

 

 

Message Edited by Wes Ramm on 04-07-2010 02:21 PM

--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 5 of 15
(4,250 Views)

Wes Ramm wrote:

The "windows" problem I mentioned has to do with the LV window at run time.  All other Windows "windows" behave correctly, ie chrome, Explorer, etc.  All other scrollbars work as they should..

 

 


That makes a difference.  It does look like a Labview problem.  Can you use the Disable structure to comment out part of your code, one piece at a time, to determine exactly what causes the problem.  If the VI is too big, you should break it down into smaller chunks by using subvis.  Could be that the problem is there is too much in memory at one time.  If the problem only occurs at run time, there is a very good chance that this is the problem.  Good coding practice dictates that the screen should not exceed the monitor size.  Use subvis.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 15
(4,244 Views)

Yeah, the memory allocation is something like 1% top level vi, 99% sub vis that are NOT loaded at run time.  And the screen is JUST the size of the front panel, so neither of them are problems.  However, I _did_ just add a whole bunch of NIscope stuff......

 

 

 Nope, that's not the problem......  It's a strange one, I'll tell ya.

 

Message Edited by Wes Ramm on 04-07-2010 02:57 PM

--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 7 of 15
(4,235 Views)

It may be time for someone to ask the dumb question... have you rebooted?

 

You can drag to select multiple files in an Explorer Window?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 15
(4,229 Views)

There is no such thing as a dumb question.  Yes, I did.

 

I am systematically reming (remember rem?) out code to see if I am causing this in my event structure AND have looked carefully at the VI setup (window position, run time position, etc).....  Nothing yet.

 

W

 


--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 9 of 15
(4,227 Views)

I can drag multiple files in explorer.  Now the plot thickens:

 

I cannot even turn a standard numeric knob on my front panel.  Starting to seem like a video driver issue, but this is a PXIe-8108 controller..  So, one would assume that NI would have a compatible driver.

 

LV 2009 v 9.0 f3

 

Is there a f4 yet?  I'm going to escalate this to Tech Support.

 

Wes 

 

 


--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 10 of 15
(4,213 Views)