06-08-2011 06:36 AM
I am using Agilent 34790A. I need to acquire temperature data from some channels while voltage data from other. How can i acquire temperature and voltage from the same instrument (the channels although are different for voltage and temp) at the same time?? Please note that I am using Agilent drivers for this currently.
Solved! Go to Solution.
06-08-2011 09:27 AM
Because you have to perform a scan, the measurements will be not be done at the same time. Since you have not mentioned which programming enviroment you are using or specifics on the instrument driver, I can't help much more. If you were using LabVIEW with the driver from NI, you could look at one the examples that does this.
Questions on how to use a driver from Agilent should probably be asked of them.
06-09-2011 01:48 AM
I am working with LabVIEW 8.2.1. The drivers for Agilent are downloaded from the NI website.
Okay...It would be fine if the voltage and the temperature data is not obtained at the same time. I want to acquire the data from the same instrument in the same VI. I have tried doing that. I am a beginner. For your reference I have attached the VI as well as the image.
Thanks,
Tigmanshu
06-09-2011 02:15 AM
You aren't using the latest driver. You should be using the project-style one. Then open the example finder and go to Hardware Input and Output>Instrument Drivers>LabVIEW Plug and Play. Open Agilent 34970 Advanced Scan. Replace the section for a conf resistance with the conf temperature function.
06-09-2011 04:05 AM
Hi Dennis,
Thanks.The way you suggested by advanced VI's is good. You have helped me solve most of the difficulty.
One more thing. Now the problem is that at the output of the Advanced read i get the data in form of string. How can i convert the temperature data into double data type? I also want to use this temperature and voltage data for further manipulation and hence this conversion is necessary. Please help
Thanks,
Tigmanshu
06-09-2011 07:00 AM
The output is a 2D string array. Simply use the Index Array function to get the column and wire that to Fract/Exp String to Number.
06-09-2011 01:06 PM
Hi Dennis,
Please keep on extending your kind help in future. I would post any difficulties faced by me in future during building the application.
Thankyou for all the help. Kudos.