thank you very much for the fast answering! I have installed all possible LabVIEW drivers and projects from the links you send me and I have also imported the dwf.dll manually already.
Then I have modified the "Digilent_WaveForms_Stimulus Response (MSO and FGEN)" to a Logic Analyzer and it works verry well.
I have also tried to implement in LabVIEW a pattern generator with your python code above, but any of the signal lines does not work yet. Firstly I tried to generate a digital clock signal with 1MHz and display it on a external scope (Agilent DSO-X-3024A), but nothing happens.
I have attached the VI and some screens of the VI's block diagram and hope you or anyone else can help me. The VI consists of a mix of LabVIEW generated VIs from dwf.dll and VIs from NI's Edition drivers (https://decibel.ni.com/content/docs/DOC-44838).
My final destination in pattern generation is shown in the Image below "What_I_want_to_generate" via LabVIEW: (Note: The frequency is 2 MHz, but in the VI is 1 MHz).
Thanks in advance for your help.