Discussion:
agilent 34970a and Labview 8.2.1
(too old to reply)
Everett
2007-05-26 14:10:11 UTC
Permalink
Good morning,
 
I am having problems getting Labview 8.2.1 to communicate with my 34970a.  It works fine using Labview 7.1  Has anyone tried using the latest Labview with the 34970a?
 
Thanks
 
Everett
Everett
2007-05-26 19:10:07 UTC
Permalink
Thank you for your reply,
I am using Agilents Labview drivers.  When using the usb to rs232 adapter on com 3, if I don't configure any channels, and only initialize I don't get an error.  If I configure any channels I get an error although the data is read.  Just using com 1 or 2 yields nothing.
 
All of the drivers that shipped with Labview 8.2.1 are also installed.
 
Thanks
 
Everett
Everett
2007-05-28 15:10:09 UTC
Permalink
Thanks for the reply.  I will try the other drivers when I get to work tomorrow.  I use the voltage and temperature vi's primarily.  I will be using the relay card in the 3rd slot. 
 
When I referred to com 1 or 2 I was trying to communicate with the same Agilent.  I had the baud rates etc set the same 9600 8n1 and xon/xoff.   I put a usb to rs232 converter assigned to com 3 which gave the various error codes when I connected the Agilent to it.
 
I suspect the updated drivers will fix the comm problem. 
 
Thanks again,
 
Everett
Everett
2007-05-28 16:40:07 UTC
Permalink
Hello again,
Came into work to download project drivers and install on the computer with Labview 8.2.1.  I put the downloaded folder in the inst.lib folder.  It doesn't unzip well for some reason.  It asks for close.vi etc which are in the public folder that downloaded with it. However it won't let me point to it.  Should I have not put it in the inst.lib folder?
Thanks
Everett
Everett
2007-05-29 16:10:12 UTC
Permalink
Hello again,
 
I probably confused you somewhat.  The LV 7.1 is running on another test setup.  In that setup, I am communicating via com 2 with no adapter to an Agilent 34970a.
 
On this new setup, I am trying to get LV 8.2.1 running,  the drivers that installed with 8.2.1 are the NI-Visa 4.1.  When opening MAX comm 1 and comm 2 both have exclamation points so there is no data and no error.  I attached the usb to serial adapter which is assigned comm 3.  Using MAX, when I execute a viWrite with *IDN?\n  I get a return count of 6 and status of 0.  Seems normal with no error.  Executing a viRead it returns Hewlett-Packard, 34970a, 0, 13-2-2\r\n return count 33 and status of 0.  Looks normal.  Then I try the advanced scan vi that downloaded with the project vi's.  If I don't put in a channel I don't get an error--the Agilent lights the rmt indicator.  If I put in any channel such as 101 I get an error which is -138
 
Thanks again for your help.
 
Everett
Dennis Knutson
2007-05-29 18:40:10 UTC
Permalink
Conf Scan and Conf Trigger are not in the voltage configure case.
I ran it at the default setting of 57600 instead of 9600.
<img src="Loading Image..."> Message Edited by Dennis Knutson on 05-29-2007 12:26 PM


hp34970A mod.PNG:
http://forums.ni.com/attachments/ni/170/249958/1/hp34970A mod.PNG
Loading...