07-08-2007 05:35 AM
07-09-2007 06:36 PM
Hi amose,
So if you select the "Refresh" option, no new VISA resources are detected? But if you place a new VISA Resource block on the block diagram, everything is appropriately detected - is that correct?
I am curious - were your older vi's written on the same computer that you are now running with LabVIEW 8.2? Does this behavior occur only the first time you open these older vi's in LabVIEW 8.2, or does it happen everytime you try to open the vi?
07-10-2007 01:32 AM
07-11-2007 12:38 PM
Hi amose,
That's interesting because it sounds like when you open a new VI, the VISA resource list is refreshed for any programs you open from then on. But, it sounds like when you open your "old" vi's first, and select "refresh" from the pull-down menu nothing happens (the list isn't repopulated with your VISA resources). Is that correct? I assume that all of the VISA resources show up properly in MAX on this computer?
07-12-2007 01:34 AM
07-13-2007 07:57 AM
Hi amose,
That is bizarre.. I'll see if I can reproduce the behavior here. And to clarify - what is the bus type of the VISA resources in question for you? Are they built-in serial ports, instruments on a GPIB interface, USB devices? Thanks!
07-14-2007 01:15 PM
07-17-2007 09:54 AM
Hi amose,
So in an effort to reproduce this behavior, I created a simple VISA program in LabVIEW 6.1, then I moved it to my computer & opened it in LabVIEW 8.2. When I used the VISA Resource pull-down menu, everything was populated properly, so I did not see the problem that you described. Have you seen this on multiple computers? Or are you working with executables or some variation of the test I performed here?
07-19-2007 04:04 AM
07-20-2007
04:13 PM
- last edited on
06-12-2024
02:21 PM
by
Content Cleaner
Hi amose,
I tested your code out on my computer here, and opening the vi up, and selecting the VISA pull-down menu, it was automatically populated with COM1 and LPT1, which are the two VISA resources on my computer. So, I am not seeing this same behavior you describe. Have you tried this on different computers? Also, let's make sure you have the most recent version of NI-VISA: https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html.