LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Resource name Select

Solved!
Go to solution

Hi all,

 

I have a visa resource name select in my program that would allow me to select my GPIB channel.  When I click on the down arrow to select, it takes a long time (about 6s) for the options to show up.  Yes, some of the options are remote resources.  Is there a way to make the visa resource name select drop down box more responsive?  Thanks!

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 9
(5,159 Views)

I dunno - speed up the network?  If the resources you are interested in never change, maybe you can hardcode some constants and select from them instead?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 9
(5,140 Views)

Maybe there are some setting in MAX that I can modify?  

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 9
(5,107 Views)

The list can only populate as quickly as it can locate all of the resources, so as billko said, your bottleneck here is your network speed.

Well, probably not the speed of the network itself, but how quickly the resources respond to pings or whatever protocol is used to check their availability.

It is not anything in MAX that is slowing you down, it is how quickly the network resources are being located.

Cory K
0 Kudos
Message 4 of 9
(5,098 Views)
Solution
Accepted by topic author jyang72211

Use visa find resources at the start of your program. That should work.

 

Edit: I said should work - let me know if it in fact does work!

=====================
LabVIEW 2012


Message 5 of 9
(5,087 Views)

Technically it doesn't speed things up, but moves the delay somewhere not so annoying.  It's a good compromise!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 9
(5,068 Views)

Nice!  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 7 of 9
(5,056 Views)

hi im new in labview.. can ask some question regarding is using visa serial..

about the resoure name..does it automaticaly show the ports when i click the combo box?

or i just set up 1st or maybe type the name of the port? only refresh come.up..

0 Kudos
Message 8 of 9
(4,912 Views)

 


@koko13 wrote:

hi im new in labview.. can ask some question regarding is using visa serial..

about the resoure name..does it automaticaly show the ports when i click the combo box?

or i just set up 1st or maybe type the name of the port? only refresh come.up..


 

If you place a Open Visa connection and Create Control it'll automatically scan, yes. You'll see the ones found/visible in MAX.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 9
(4,900 Views)