09-13-2008 03:28 PM
hi, i am a new user, please help in any way.
I am using HP 34401 digital multimeter to read a analog voltage at the output of my cirucit. each time it goes through a for loop, I want to display it on the front panel. so i connect the indicator to the output of my instrument. but it says it's a different data type. how do i convert the data to display it on the fly?
after I write it onto the excel file. how do i lable the top of column (i.e. Vout) into excel?
much thanks!
09-13-2008 04:21 PM
Can you please post your vi or the block diagram snapshot so that we can help you.
09-13-2008 04:24 PM
Just right clock at the output and select create >> indicator.
To wright to excel you must use active.x
Search the forum and Labview examples for more info. It has been discussed a lot.
Maybe you can use "write to spreadsheet" instead of active.x. It is a lot simpler
09-15-2008 12:29 PM
I got my .VI attached. I am trying to sweep the power from a signal generator and measure the output voltage each time it goes through a loop. when I run the program, it appears that the equipments are not coordinated. the power would sweep very fast, but the HP 34401 is not making the measurements. any suggestion?
09-15-2008 08:40 PM
You haven't done anything to 'coordinate' the instruments.
Your VI is kind of a mess. There is not reason to initialize each instrument (resetting each time) and doing basic config. Those types of operations only need to be done once and should be placed outside the loop. You also want to control data flow with the error in/error out clusters. You want the 34401 measurement to take place after you've stepped the am[litude. Not sure either why you are taking multiple readings with the 34401 but even with a single measurement, with the next iteration of the loop, the last reading is overwritten in the indicator. Use a shift register to hold previous readings.
If the 34401 is not making any measurements at all, then you may have misconnected or misprogrammed it. That is something you will have to determine.