Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

2700 + 7700 + VB.net

Post Reply
OmmadawnFR
Posts: 3
Joined: June 24th, 2016, 6:56 am
Country: France

2700 + 7700 + VB.net

Post by OmmadawnFR » June 24th, 2016, 7:18 am

Hello

I'am using a 2700 + 7700 with a thermocouple K
in the panel of 2700, i select channel 1 and press temperature,
I read the temperature ambiant (ex : 22.55°C)

now i want read this temperature in a vb.net application.
I use the exemple, but i read a wrong temperature - 1°C

Code: Select all

Dim reading As Double
        Using vi As New KE2700("MODEL_2700_at_COM2", True, True)
            Try
                vi.SetInt32(KE2700Properties.TempUnit, "", KE2700Constants.TempCelsius)
                vi.SetChannelList("101")
                vi.ConfigureMeasurement(KE2700Constants.Temperature, KE2700Constants.AutoRangeOn, 0.0001)
                vi.ConfigureTransducerType(KE2700Constants.Thermocouple)
                vi.ConfigureThermocouple(KE2700Constants.TempTcK, KE2700Constants.TcRefSimulated)
                [b]vi.ConfigureSimRefJunction(32.0#)[/b]
                or
                [b]vi.ConfigureSimRefJunction(27.49#)[/b]
                vi.Read(5000, reading)
                TextBox1.Text = reading
            Catch
                If Err.Number <> 0 Then
                    System.Console.WriteLine("aaa " & Err.Description)
                End If
            End Try
            vi.Dispose()
        End Using
i try to change the RefJunction, but it's not linear.
i read a lot of documentation, but i not understand the problem

can you help me?

Thanks Thierry

OmmadawnFR
Posts: 3
Joined: June 24th, 2016, 6:56 am
Country: France

Re: 2700 + 7700 + VB.net

Post by OmmadawnFR » June 28th, 2016, 12:09 am

well, i am not find a solution.
I don't understand and i don't known where i will search.

I try another solution,
communicate with the obj serial.

i send :READ?
the 2700 return the good temperature (almost) in a string
+2.83043213E+01 C,+355.509SECS,+03014RDNG#
but he beep with the error -213 (init ignored)
i don't understand again.

i can't reset the 2700 because he is in production

however the 2700 panel tell me the good temperature

i contact the keithley SAV, but no response.
I'am lost

OmmadawnFR
Posts: 3
Joined: June 24th, 2016, 6:56 am
Country: France

[SOLVED] Re: 2700 + 7700 + VB.net

Post by OmmadawnFR » July 1st, 2016, 10:54 pm

I contact by phone the SAV, after Norbert W. on the SAV of Tek help me to understand my problem.
thanks for the patience! ;o)

My problem is solved

Code: Select all

 replace this               vi.ConfigureThermocouple(KE2700Constants.TempTcK, KE2700Constants.TcRefSimulated)
 by               vi.ConfigureThermocouple(KE2700Constants.TempTcK, KE2700Constants.TcRefInternal)

delete this ligne   vi.ConfigureSimRefJunction(32.0#)
if this, help another ....

Post Reply

Return to “Series 2700 Multimeter/Data Aquisition/Switch System”

Who is online

Users browsing this forum: No registered users and 3 guests