LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet
 
Reply to this topic Start new topic
> Visa Constant Grayed Out?
pallen
post 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
Canada ca_ontario Nothing Selected


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
Go to the top of the page
+Quote Post
Ad
post Mar 15 2006, 01:58 PM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
crelf
post 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 ,. ,.
Australia United States Nothing Selected 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
Go to the top of the page
+Quote Post
pallen
post 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
Canada ca_ontario Nothing Selected


QUOTE (crelf @ Mar 15 2006, 09:47 AM) *
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. tongue.gif

Thanks though. I'll double check things to make sure nothing has been overlooked.


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
neB
post 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 ,. ,.
United States Germany Nothing Selected


QUOTE (pallen @ Mar 15 2006, 12:11 PM) *
Hmmm.....Everything is set to COM 3.....or at least it better be. tongue.gif

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
Go to the top of the page
+Quote Post
pallen
post 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
Canada ca_ontario Nothing Selected


QUOTE (Ben @ Mar 15 2006, 12:53 PM) *
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
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   3 kev_hib 2721 5th November 2004 - 07:04 PM
Last post by: bocanada
No New Posts   1 kev_hib 1762 13th May 2004 - 05:03 PM
Last post by: Deep_Blue
No New Posts   0 Hakan 1181 16th June 2004 - 07:37 PM
Last post by: Hakan
No New Posts   1 Khodarev 1182 12th October 2004 - 04:29 PM
Last post by: FLX


Reply to this topicStart new topic

 




Time is now: 10th October 2008 - 11:38 PM