04-07-2010 10:52 AM
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
04-07-2010 11:10 AM
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.
04-07-2010 12:51 PM
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
04-07-2010 12:55 PM
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.
04-07-2010 01:14 PM - edited 04-07-2010 01:21 PM
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.
04-07-2010 01:23 PM
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.
04-07-2010 01:55 PM - edited 04-07-2010 01:57 PM
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.
04-07-2010 02:16 PM
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
04-07-2010 02:20 PM
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
04-07-2010 02:50 PM
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