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
(4,045 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
(4,030 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
(4,024 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
(4,008 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
(4,004 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
(4,000 Views)