DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Flank function with variable parameter

Over the Visual Basic dialogue, have I stored the following parameters:
Step = R4 / initial frequency = R1 / final frequency = R2 / time delay = L2.
With the appearance of the dialogue window would be given following values: R1=2 cycles per second, R2=10 cycles per second, R4=2 cycles per second as step, L2=5 s running time.

That at the requirements adapted program catches [ with the help of a clock the thanks of the Trunc () - function one realized ] to count up.

The initial value R1 of the counter [ over an offset to the run clock one adds ] will be additioned with the step R4 more [as amplification factor].

The final frequency which I is configured manually by application of rising flank [ e.g.: Flank/increase/threshold 15].

PROBLEM: I can configure manually the delimitation [for example 15] of the flank function also with the artificial variable R2, but the window takes over the value, so that during the next change of dialogue the variable R2 in the field ‘flank function’ is not updated.

I did not come yet on clean solution, although I sat down apart with the following function: DemVarVecSet("BlSlopeLevelV', STR(R2), DHT(3)).

Thank you, even if you cannot help me. : -)
Jean-Pierre, Junior Engineer Germany
0 Kudos
Message 1 of 4
(3,618 Views)
usually answers dont come faster if you post your problem 3 times...

Have you tried doing a "Call Schemecheck()" after updating your dialog?
Message 2 of 4
(3,610 Views)
Sorry if my german and my english are so bad.
I have posted my problem in 2 languages because the most of the english people don't read my question if this one is in german.

To come back to my problem, I have joint a PDF document explaining were is the problem.

If you have any solution to this one, would I be glad to here from you.
Thanks.
Jean-Pierre, Junior Engineer Germany
0 Kudos
Message 3 of 4
(3,607 Views)
Try to do it programmatically.

Instead of typing R2 use:

Call DACObjOpen("Endfrequenz")
BLDATASIGNALNAME(1)="Daten_1"
BLSLOPELEVELV(1)=R2
BLSLOPECNDTYPEV(1)="increasing"
Call DACObjClose("Endfrequenz")
Call SchemeCheck()

Use it whenever you change R2.
Message 4 of 4
(3,598 Views)