05-10-2012 11:35 AM
Hi,
I am controlling an Agilent 34970A with lab view, and collecting temps via the HP34970A EZ Temperature.vi. My trouble is with the units....the default is in °C, but I'd like it to return in °F. I cannot seem to find a way to do this in either the HP34970A Initialize.vi nor the HP34970AEZ Temperature.vi. Is there a way to set the unit to do this, or am I stuck with manipulating the data thru conversion code to do it after collection?
TIA!
05-10-2012 11:54 AM
You don't know how to write your own VI to send a command to change the default units?
05-10-2012 12:10 PM
nm...I found it! I somehow overlook the config temp.vi.
As far as writing a Vi from scratch to communicate with the unit to do it, no, I do not.
05-10-2012 12:44 PM
@arminyack wrote:
nm...I found it! I somehow overlook the config temp.vi.
As far as writing a Vi from scratch to communicate with the unit to do it, no, I do not.
Perhaps you should start looking at the block diagrams of these VIs you are using.
05-10-2012 12:49 PM
uhm, I am look at the block diagrams.
and thanks for the help? I am seriously wondering why you are even bothering to reply. Yes, i am a compete beginner kinda thrown into deep water here.
I am assuming you are an experienced user.....and once you were a beginner too.
05-10-2012 12:55 PM
there are a lot of good KB articles about developing instrument drivers and how they work. HERE is a good place to start
05-10-2012 02:09 PM
@arminyack wrote:
uhm, I am look at the block diagrams.
and thanks for the help? I am seriously wondering why you are even bothering to reply. Yes, i am a compete beginner kinda thrown into deep water here.
I am assuming you are an experienced user.....and once you were a beginner too.
You claim you don't know how to write a VI to communicate to an instrument.
Looking at VIs developed by others is how you learn.
LEARN how to do something. Or do you plan on being dependent on others throughout your entire LabVIEW programming career?
05-10-2012 03:51 PM - edited 05-10-2012 03:52 PM
I am looking at other Vi's in fact....what made you think I was not? I don't believe I said anything to that effect.
So a beginner is to just look at existing VI's, use the context help, and examples and muddle through without asking questions? Thats basically what you're telling me
Yes, am a begginer....so this bars me from asking questions on a NI discussion board (were the majority of people go for HELP) becuase you think I am being toally dependant on others?
God forbide I LEARN something from asking questions (so you didnt asking any questions in school ot training yourself huh?)
thanks for the help?
Thanks Jeff for you post....I'm reading through your link
05-10-2012 04:19 PM
05-10-2012 04:40 PM
@Albert.Geven wrote:
Without extra calculations
The first cast changes a normal value in a value of type degree Celsius, this is changed into Fahrenheit and then displayed.
Dangerous Units to introduce a new user to! so for those of you think about this approach I want to remind you of temperature units.
Temperature is stored in memory in Kelvins and converted to ºC or ºF only for display so you need to be careful when doing MATH with temperature units! 0ºC + 1ºC is 547.3 Cº !
Thats where knowing the difference between ºC and Cº comes in handy.
This snippet demonstates the trouble you can get into. Imagine stepping an oven controller by 10ºC!