Tags |
(This content has not been tagged yet)
|
![]() |
Mar 15 2006, 01:58 PM
Post
#1
|
|||
![]() Very Active Member Posts: 186 Joined: 30-January 04 From: Oakville, Ontario Member No.: 247 Using LabVIEW Since:2002 LV:8.5.1 ,8.5 ,7.1
|
This might not even be a "bug". But it's unusual behavior I've just started to notice on my current project.
I'm using constants to supply a VISA resource name in my code. This gives me a little drop down box from which I can select COM1, COM3, or LPT1. For some reason all my drop down boxes keep graying out occasionally. But they restore on a reboot. The code still works alright, and the port isn't being held open or anything. I'm just wondering what the problem might be.
|
||
|
|
|||
| Ad |
Mar 15 2006, 01:58 PM
Post
#
|
||
|
|
|
||
|
|
|||
Mar 15 2006, 02:47 PM
Post
#2
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3759 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
It sounds like your constants are type-defs that are set to auto update from their ctl source, and the source is being changed (or at least marked as changed) somewhere else...
-------------------- ![]()
|
||
|
|
|||
Mar 15 2006, 05:11 PM
Post
#3
|
|||
![]() Very Active Member Posts: 186 Joined: 30-January 04 From: Oakville, Ontario Member No.: 247 Using LabVIEW Since:2002 LV:8.5.1 ,8.5 ,7.1
|
It sounds like your constants are type-defs that are set to auto update from their ctl source, and the source is being changed (or at least marked as changed) somewhere else... Hmmm.....Everything is set to COM 3.....or at least it better be. Thanks though. I'll double check things to make sure nothing has been overlooked.
|
||
|
|
|||
Mar 15 2006, 05:53 PM
Post
#4
|
|||
|
Certified Kool-Aid Kid Premium Member ![]() Posts: 1161 Joined: 6-December 02 From: Pittsburgh PA USA Member No.: 29 Using LabVIEW Since:1998 LV:7.1 ,. ,.
|
Hmmm.....Everything is set to COM 3.....or at least it better be. Thanks though. I'll double check things to make sure nothing has been overlooked. I do not have a diffinative answer but I will share my thought. Those constants are populated based on what ports LabVIEW thinks your PC has. I have noticed that VI's with VISA constants can take quite a while to open the first time. I suspect..... MAX is being invoked in the background and a refresh is happening. Does right-clicking and selecting "allow undefined names" change this behaviour? Done guessing. Ben
|
||
|
|
|||
Mar 17 2006, 07:32 PM
Post
#5
|
|||
![]() Very Active Member Posts: 186 Joined: 30-January 04 From: Oakville, Ontario Member No.: 247 Using LabVIEW Since:2002 LV:8.5.1 ,8.5 ,7.1
|
Does right-clicking and selecting "allow undefined names" change this behaviour? I'll give that a try. NI AE's are currently working on another COM problem I'm having with my PXI system. Maybe it's all related?
|
||
|
|
|||
![]() ![]() |
| Time is now: 3rd December 2008 - 08:46 AM |