cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

VISA Resource name Select

Resolvido!
Ir para a solução

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
Mensagem 1 de 9
5.742Exibições

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
Mensagem 2 de 9
5.723Exibições

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

 

Yik

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Mensagem 3 de 9
5.690Exibições

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
Mensagem 4 de 9
5.681Exibições
Solução
Aceita por 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


Mensagem 5 de 9
5.670Exibições

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
Mensagem 6 de 9
5.651Exibições

Nice!  Thanks!

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Mensagem 7 de 9
5.639Exibições

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
Mensagem 8 de 9
5.495Exibições

 


@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
Mensagem 9 de 9
5.483Exibições