DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I choose a channel in an autosequence for further operations?

I want to program an autosequence with a combobox in which I can choose the channel from DATA to work with. The names from the channels in DATA are not always the same. I am looking for the possibility to choose the actual channels in DATA.
Is there a way to work with chnget()?
0 Kudos
Message 1 of 8
(5,764 Views)
Hello;

Attached is file "MyFirstDialog.SUD". It has code that reads all the channels from the DATA area and adds them to a listbox. You can easily convert this write to a combobox.

Checkout the code behind the following events:

Button1_EventClick()
Button2_EventClick()
Dialog_EventInitialize()

Let us know if you have any further questions!

Hope this helps

Tom
Message 2 of 8
(5,764 Views)
Hello Tom,
I have problems opening your attachment. When I try to open the SUD file a messagebox appears with "file invalid".
Perhaps you have a newer Version. I work with 8.0

Thanks Fuzzy
0 Kudos
Message 3 of 8
(5,764 Views)
Hi Fuzzy

Try this Zip file, mybe the file was corrupted when copied up to the website. If this doesn't work, I'll hunt down a version 8 CD and send that version as well, to the best of my knowledge all Version 8.1 SUD's will work with 8. Let me know

Tom
0 Kudos
Message 4 of 8
(5,764 Views)
Hi Tom,
I'm sorry file does still not work at my computer.

Fuzzy
0 Kudos
Message 5 of 8
(5,764 Views)
Fuzzy, I recompile under version 8 and have it up on the web in 30 mins
0 Kudos
Message 6 of 8
(5,764 Views)
Fuzzy

Try this, let me know if you have any problems opening the file, or any questions. This was recomplied in version 8.

Regards

Tom
0 Kudos
Message 7 of 8
(5,764 Views)
Hi Tom,
your compiled file works.
Thank you for helping to solve my problem.

Fuzzy
0 Kudos
Message 8 of 8
(5,764 Views)