![]() |
Mar 15 2006, 01:58 PM
Post
#1
|
|
![]() Very Active Member Posts: 181 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. Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Mar 15 2006, 01:58 PM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Mar 15 2006, 02:47 PM
Post
#2
|
|
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3643 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...
-------------------- ![]() Tags
This content has not been tagged yet
|
|
|
|
Mar 15 2006, 05:11 PM
Post
#3
|
|
![]() Very Active Member Posts: 181 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. Tags
This content has not been tagged yet
|
|
|
|
Mar 15 2006, 05:53 PM
Post
#4
|
|
|
Certified Kool-Aid Kid Premium Member ![]() Posts: 1141 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 Tags
This content has not been tagged yet
|
|
|
|
Mar 17 2006, 07:32 PM
Post
#5
|
|
![]() Very Active Member Posts: 181 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? Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | kev_hib | 2721 | 5th November 2004 - 07:04 PM Last post by: bocanada |
|||
![]() |
1 | kev_hib | 1762 | 13th May 2004 - 05:03 PM Last post by: Deep_Blue |
|||
![]() |
0 | Hakan | 1181 | 16th June 2004 - 07:37 PM Last post by: Hakan |
|||
![]() |
1 | Khodarev | 1182 | 12th October 2004 - 04:29 PM Last post by: FLX |
|||
![]() ![]() |
| Time is now: 10th October 2008 - 11:38 PM |