07-23-2014 07:34 AM
Hi,
sometimes when i launch the VI "visa find" my application is frozen.
It's frozen just when i connect an indicator on the output number or list find.If nothing is connected on the output i don' have the problem.
Somebody already have the same problem?
Best regards
07-23-2014 07:46 AM
which interfaces are you searching for, use expression " ?*INSTR " to find all the device resources in your system.
I don't see a problem.
07-23-2014 07:47 AM
If you wait for a very long time, will it return something? What kinds of devices are you looking for?
I'm thinking that it is doing a search on your Ethernet ports, COM ports, GPIB bus, and anything else that it could possibly look. So if you supply an expression to limit where it looks, that should speed things up.
07-23-2014 07:56 AM
Okay , this behaviour is intersting.
when you are not expecting any output from this VI it runs to completion and gives no error ( LabVIEW 2013 ) and if you connect output and don't have any serial or GPIB devices it gives error - device is not present in system.
Does Labview or this function is smart enough , that it knows when to execte till completion and when not ??
07-23-2014 08:12 AM - edited 07-23-2014 08:13 AM
@Neos wrote:
Okay , this behaviour is intersting.
when you are not expecting any output from this VI it runs to completion and gives no error ( LabVIEW 2013 ) and if you connect output and don't have any serial or GPIB devices it gives error - device is not present in system.
Does Labview or this function is smart enough , that it knows when to execte till completion and when not ??
A lot of primitives will not do certain things if the outputs are not wired. I'm guessing the Find VISA sees that there is no output, so it basically will not run.
07-23-2014 08:19 AM
Thanks ou for our reply. It's work when i put a search expression.
But i don't now why it 's doesn't work without expression..
Best regards
07-23-2014 08:34 AM
@aurelaurel wrote:
Thanks ou for our reply. It's work when i put a search expression.
But i don't now why it 's doesn't work without expression..
Best regards
Hmmm, your findings should be self-explanatory, but if you supply an expression to limit where it is looking... wouldn't that shorten the time it is looking?
07-23-2014 08:38 AM
I had a feeling that ?*INSTR " should be default expression.
Now for me it is turning out that if i don't give expression then also it returns the value correctly.
which LabVIEW version are you using???
07-24-2014 04:10 AM
I use labview 2013.
My last post doesn't work finally. I have just get the bug.
I have a vi which just call the "VISA FIND".There il no loop o stucture.
If the output are not connected it's work fine....
07-24-2014 04:22 AM
I test to open NI MAX when i have the problem with the VISA FIND RESSOURCE and an error appeared.
Actually, i serach a solution on this forum with the plug IN ni visa.