DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Can run a script from a DAC?

Solved!
Go to solution

Hello!

I want to run a script when I push a button when "Start Display" it's running. I don't want to run script after or before measurement. 

Can anybody help me?

Download All
0 Kudos
Message 1 of 2
(2,224 Views)
Solution
Accepted by topic author admyn1991

You have to add SFD_WriteChannel even it is empty. You can put your command in SDF_Init:

So you vbs looks like this:

Sub SFD_WriteChannel( ChannelNumberP, ParamP, DataP, ErrorP )
End Sub

Sub SFD_Init(DeviceParam1V, DeviceParam2V, ErrorP) 
 Call msgbox ("OK")
End sub

Hope this helps.

Winfried

0 Kudos
Message 2 of 2
(2,196 Views)