LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I visualize the VISA Is from an application VI?

Hello. I am new to LabVIEW. I want to interface with an Horiba iHR320 monochromator. I have the SDK from Horiba but I need to make some changes. The thing is that the VI editor shows me the application VIs but I have not seen a way to get into the instrument driver VIs, and in particular the VISA VIs, 
in order to modify them. In the View menu (if that's not the English name, my apologies, I am using the French version) I select all the "Includes" (Include all VIs, VIs in vi.lib, etc.) but still I cannot seem to be able to navigate to the instrument driver VIs. 

Can somebody help me? Thanks in advance!

0 Kudos
Message 1 of 14
(3,787 Views)

Post a screen shot of what View menu and what "includes" you are looking at.

0 Kudos
Message 2 of 14
(3,778 Views)

Thanks, that was quick! Here are the screen captures (French, but that shouldn't be a problem, I guess).

 

 

Download All
0 Kudos
Message 3 of 14
(3,769 Views)

All your buttons and menus seem to be set the same as mine.  I dropped a instr.lib subVI in a subVI.  Then looked at the VI hierarchy from the main VI.  It seems to show those instr.lib files.  I couldn't get them not to show.

 

Your pictures are interesting in that all the VI's that have subVI's (indicated by a triangle) all have them pointing down to show that they are exposed in the hierarchy.

 

Can you open up a VI that has a driver subVI in it to be sure it is there?  If you open VI HIerarchy from there, does it look any different?

 

Do you have this in a project, and if so, do the inst.lib subVI's show up in the project hierarchy perhaps under Dependencies?

 

What version of LabVIEW is this?

0 Kudos
Message 4 of 14
(3,757 Views)

Hello, thanks again for the input. Is there an example I can download from a public source? Perhaps from the VI Package Manager?

0 Kudos
Message 5 of 14
(3,697 Views)

Example of what?

0 Kudos
Message 6 of 14
(3,674 Views)

Sorry, an example of a VI that goes all the way down to instr.lib as you mentioned.

The version of LabVIEW is 2015 SP 1.


0 Kudos
Message 7 of 14
(3,665 Views)

Are you sure your vi's are calling the VISA functions?

 

Why not try to open one of the lowest VI's in your program.

 

And by the way, you can't change the basic VISA functions.

0 Kudos
Message 8 of 14
(3,653 Views)

With my 2015 installation  (I haven't gotten SP1 disks yet).  I went to C:\Program Files (x86)\National Instruments\LabVIEW 2015\instr.lib\Agilent 34401\Examples  There were a bunch of sub-folders under instr.lib, but I don't see any of them on my palettes that I have found.

 

I dropped one of the VI's in that directory on my block diagram.  All the subVI's showed up.

0 Kudos
Message 9 of 14
(3,643 Views)

There is a chance that these VIs are not calling VISA but really a DLL provided by the manufacturer. Impossible to say without having some of the VIs available to look at.

Rolf Kalbermatter
My Blog
0 Kudos
Message 10 of 14
(3,634 Views)