DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem RS232 Driver Control File

Hi,

I am trying to connect a RS485/RS232 Device with diadem.

Therefore I am using this block:

ThoRu_0-1598453321993.png

ThoRu_1-1598453360174.png

 

The F1 help seems to tell me this is the correct block.

However the help does a really bad job at explaining how to use it.

I need to somehow send a command to a thermal chamber, the correct command seems to be "1,TEMP,S23.0" in order to set a constant temperature according to the documentation of the thermal chamber. So, how should I use this block? Do I need a signal? I don't know. Additionally, to make the DAC run, an error tells me I need a *.atr file. Great! Who tells me the format of this file? Even google does not find it. The help of Diadem is so useless, tells nothing but the obvious. Can someone shed some light on this matter? Thanks!

 

Greetings

Thomas

 

 

 

 

0 Kudos
Message 1 of 2
(1,549 Views)

Hello Thomas,

 

If I understand you correct, you are going to send a command to an external device and what I assume is that you use an old DIAdem version like DIAdem 2015 or before.

IN DIAdem DAC with have two options for this: the “Control File Driver” and the “Script Driver”. The “Control File Driver” is an outdated option which is still installed for compatibility.

The better way for task is the “Script Driver”. In general, you need an input signal and a VBS script which defines how to communicate with the external device. If you open the “Script Driver” bock you can create in the parameters section a template for this script.

In the folder “…\DIAdem\examples\documents\...” you find two examples for a similar task: “Script_Example_1.dac (with Script_Example_1.vbs)” and “Script_Example_2.dac (with Script_Example_1.vbs)”

You find more information in the help of this block.

 

Greetings

Walter

Message 2 of 2
(1,515 Views)