LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temptronics TPO4310 serial communication issue

Solved!
Go to solution

Hi All,

 

I am trying to control Temptronics TPO4310 Thermalstream using serial communication. I am getting the following error when I tried to initialize

 

Error -1073807246 occurred at VISA Open in Temptronic TP04310.lvlib:Initialize.vi

Possible reason(s):

VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

 

I have a USB-Serial converter to send serial command (I don't think this causes any issue because I have tried Computer with serial port also). I am using the baud rate and other serial settings in alignment with the Instrument settings(shown below). 

I couldn't figure out the issue.

 

serial config.png

Note: When I tried using GPIB it works as such without any issue.


Please help.

Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
0 Kudos
Message 1 of 10
(3,982 Views)

VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

 

                Is there any application using the serial port ?Pls check if the  Temptronics Oven set to Serial communication Mode?

0 Kudos
Message 2 of 10
(3,967 Views)

Sorry I should have mentioned the following error instead, (I have closed all previous VISA references)

 

Error -1073807339 occurred at VISA Read in Temptronic TP04310.lvlib:Initialize.vi

Possible reason(s):

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

 

VISA is getting initilized propely. But when the low level Initilize driver VI tries to query the IDN status it gets timedout and gives the above mentioned error. Simularly when I try to query the IDN status from NI MAX also it gets timedout.

 

I guess it is because the instruement is not responding. If anyone had faced similar issues with any kind of instrument please help.

Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
0 Kudos
Message 3 of 10
(3,961 Views)

Hi Elamaran,

    Have you selected the communication mode in the Temptronics instrument from GPIB to Serial communication?.Also does the baude rate settings in the temptronics instrument match with the software settings?

0 Kudos
Message 4 of 10
(3,945 Views)

Hi nijams,

 

I don't think there is a separate enable for GPIB/RS232 in TPO4310 instrument. We will just be able to set the GPIB address and Rs232 Baud rate.

Yes I have configured the baud rate to 9600 in both instrument and my software. But the device is still not responsive.

Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
0 Kudos
Message 5 of 10
(3,941 Views)

I feel there should be some setting to inform the fimware in the instrument about the mode of communication.

 

I am not very much sure about this.

0 Kudos
Message 6 of 10
(3,937 Views)

Have you checked to see if you are using the correct type of serial cable? There are two types - null modem and straight through.

0 Kudos
Message 7 of 10
(3,920 Views)

Hi Dennis,

 

I am using Straight through cable only.

Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
0 Kudos
Message 8 of 10
(3,903 Views)
Solution
Accepted by topic author Elamaran

Hi All,

 

I just got the interface reference document for the instrument from its support materials DVD (couldn't find on Internet). For successful serial communication with the instrument we need to use a null modem serial cable. I am yet to try it. Anyway since it is mentioned in the interface reference document I hope it will work.

 

Thanks for your comments.

Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
0 Kudos
Message 9 of 10
(3,886 Views)

Glad that you found the solution Smiley Very Happy

0 Kudos
Message 10 of 10
(3,882 Views)