Hi, I am trying to read the temperature data from the keithley data logger but I am getting the wrong readings. The code is as follows. I got this program from a sample code provided by keithley. Can anyone explain tis code to me.
Dim reading As Double
Dim isOverRange As Boolean
Using vi As New KE2700("TemperatureReader", True, True)
System.Console.Out.WriteLine("One-shot T/C Temperature Measurement, 2700 Manual, p. 2-49, example #3")
' There are two alternative implementations.
' Implementation 1: Uses vi.ChannelList to pass the channel name
' configure the temperature unit, KE2700Properties.TEMPUNIT is not channel-based.
vi.SetInt32(KE2700Properties.TempUnit, "", KE2700Constants.TempFahrenheit)
' configure function and range
vi.ConfigureMeasurement(KE2700Constants.Temperature, KE2700Constants.AutoRangeOn, 0.0001)
' Configure the temperature transducer type as Thermocouple,
' configure the thermocouple type and reference junction type
' set the simulated reference junction value
' init and fetch a reading
Actually, what does this mean KE2700Constants.TcRefSimulated
vi.ConfigureSimRefJunction(32.0#) How is this 32.0 set.