AnsweredAssumed Answered

vrf I'm a new Vee user..trying to connect to a HP34970a

Question asked by VRFuser on Apr 6, 2006
Hi Henry,

The 34970 is SCPI, which makes programming fairly simple.  You didn't
specify whether you wanted the 8-10 readings from a single channel or by
scanning a list of 8-12 channels.

If you are attempting to read from multiple channels the command would
simply be:

MEAS:TEMP? <transducer parameters>,(@<channel list>)  where channel list was
something like (@102:110) or whatever cards were the ones connected to the
temperature sensors.  The command has several forms depending on the type of
temperature sensor (Thermocouple, RTD, thermistor, 2 or 4 wire) This is
documented on page 207 of the reference manual.

You would then read the results into an array.

If you are attempting to make multiple readings from channels, the form is
CONF:TEMP <transducer parameters>,(@channel list).  This is documented a
couple of pages further along.

After you have completed the basic configuration, you modify it to set up a
multiple reading from each channel.  The exact form is dependent on how you
want to trigger each reading and whether you want to make multiple readings
from one channel and then scan, or whether you want to make readings from
each channel and then go back and start over.  Both are possible in this
instrument.  This will also affect how you configure a 2 dimensional array
to hold the data.  This triggering subsystem is described starting on page
228.  Basically, the number of times through a channel list is specified by
TRIG:COUN and the number of readings before advancing the channel is
specified by SAMP:COUN

Once you have set up triggering, you perform a READ? to initiate the
measurement and return the data as above.

This is really about as specific as I can get without better knowledge of
your transducers, channel list and how you want to scan.  If you would
provide this information, several of us could probably provide a snippet
that would get you going.

Jay Nemeth-Johannes
Smart Sensor Systems
720 SW 14th Street
Loveland, Colorado 80537
(970) 663-0006
www.SmartSensorSystems.com



> -----Original Message-----
> From: Coles, Henry [mailto:henry.coles@hp.com]
> Sent: Thursday, April 06, 2006 6:20 PM
> To: VRF
> Subject: [vrf] I'm a new Vee user..trying to connect to a HP34970a
>
> Hello Vee experts,
>
> I just got Vee 7.51 and I'm in the process of trying to write
> a "driver"
> to get 8 to 10 thermocouple temperatures with say 1 second
> scans from an HP34970a which is a multichannel recorder, I
> guess you could call it.
> Of course I can start by just getting one temperature one
> time.  My thought is that the most common device anyone would
> connect to would be the HP34970a, but that's just a guess.
>
> So far I only have an RS232 connection to the device.  I
> think I need to use Direct I/O to talk to it.  I have
> programming book for the device and have tried to send a
> "*IDN?" or "IDN?" to the device to see if I can get something
> back.  I got a bunch of syntax errors/etc. just entering the
> first Write line.  It does look like Vee sees the device on
> the end of the #1 RS232 port.
>
> It looks like a panel driver can only be used if I have an
> HPIB connection which I don't have and can't quite figure out
> the VXIplug and play.....so I'm down to trying the direct I/O
> approach.
>
> Any help appriciated.  Sorry for the newbee run around.
> Maybe there is a file or old email someone can send me to help out.
>
> Thanks very much in advance.
>
> -Henry
>
> ---
> You are currently subscribed to vrf as:
> jay.johannes@completetest.com To subscribe please send an
> email to: "vrf-request@lists.it.agilent.com" with the word
> subscribe in the message body.
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at
> "www.oswegosw.com/vrf_archive/".
>




---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes