 Hank001
		
			Hank001
		
		
		
		
		
		
		
		
	
			10-08-2013 10:33 AM
I am trying to put my HP8722ES into Local Lockout using Measure and Excel ?
Thank You
 Matthew-B
		
			Matthew-B
		
		
		
		
		
		
		
		
	
			10-09-2013 11:23 AM
Hi Hank001,
How are you communicating with your HP8722ES? It appears as if we do not have any instrument drivers for your device on our instrument driver network, so are you manually sending commands to your device? The manual will probably list the command(s) you need to send it in order for it to enter the Local Lockout mode.
Regards,
10-09-2013 01:15 PM
I am using VBA code thru VISA layer oi the Analyzer
 Matthew-B
		
			Matthew-B
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		10-10-2013
	
		
		09:30 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		10-13-2025
	
		
		01:22 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi Hank001,
Look in the programming manual for your analyzer to see if there is a command for putting your analyzer into Local Lockout. If so, you can send this command to your analyzer through the NI-VISA layer.
I also found a Developer Zone Tutorial that calls NI-488.2 functions in Excel with VBA. It is for an older version of Excel, but you may be able to port it to a new version.
http://zone.ni.com/devzone/cda/epd/p/id/798
Regards,
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			10-10-2013 11:43 AM
VISA is NOT a layer of the analyzer.
To send LLO, Use the viGpibControlREN function as documented in the VISA help.
10-11-2013 06:22 AM
All I can find in the manual for lockout is :
10 REMOTE 716
20 LOCAL LOCKOUT 7
Which is done in basic with a HP computer hooked up to it.
I do not see a command listed for lockout.
The extent of my programing is done in Excel in Visual Basic where I enter the commands to perform different tasks like setting limit lines, scale per division, calibration ect.
Thank You
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			10-11-2013 10:57 AM
10-11-2013 11:01 AM
Looking into the VISA is now out of my skill range.
Thanks
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			10-11-2013 11:37 AM
You said "I am using VBA code thru VISA layer oi the Analyzer". You are either using VISA or you aren't. If you are using viWrite then you can certainly use the function I mentioned.
10-11-2013 12:16 PM
When I previously wrote "I am using VBA code thru VISA layer oi the Analyzer" Someone standing next to me said that.
When you wrote "To send LLO, Use the viGpibControlREN function as documented in the VISA help." I do not understand what that means.
I am not familar with VISA I know we installed it on a few computers but not all, as for what we are doing so far we do not need it.
Thank You