01-05-2011 04:38 PM
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
Solved! Go to Solution.
01-05-2011 06:32 PM - edited 01-05-2011 06:33 PM
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?
01-07-2011 09:41 AM
Maybe there are some setting in MAX that I can modify?
Yik
01-07-2011 10:35 AM - edited 01-07-2011 10:37 AM
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.
01-07-2011 11:18 AM - edited 01-07-2011 11:20 AM
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!
01-07-2011 01:10 PM
Technically it doesn't speed things up, but moves the delay somewhere not so annoying. It's a good compromise!
01-07-2011 04:20 PM
Nice! Thanks!
02-10-2011 09:03 AM
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..
02-10-2011 02:22 PM
@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