DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency staircase

Hello everyone,

I would like to apply a frequency signal to a shaker using dasylab. This works with the hand controller and the generator module. Now I no longer want to set the frequency manually during the measurement, but to implement a frequency staircase.
Can anyone help me with this?
Thank you very much !

0 Kudos
Message 1 of 5
(150 Views)

Delete your current Generator and replace it with another Generator with frequency modulation enabled. Connect a Coded Switch to the Generator input. Set both modules to use the Driver time base. The A/D in the toolbar will open the Driver panel. Set the frequency high enough to control the frequency settings properly. Set the Coded Switch to have the desired number of switches. Each position will output a voltage. Divide 5.0 volts by the number of switch positions. For example, 5 / 8 switches are 0.625, so set switch one to zero. Set switch two is 0.625, switch three is 1.25, and so on.Attached is my example.

 

johnMCC_0-1736776480437.png

 

Please post DASYLab questions at https://forum.digilent.com/
Use the **Data Acquisition and data logging** section
Thank you,
Digilent


0 Kudos
Message 2 of 5
(138 Views)

Dasylab_codedSwitch_Messung.png

 

Many thanks for the quick reply!
The picture shows what my circuit diagram looks like during a measurement. The whole thing also works, but I would like to simplify the evaluation. I don't want to press the buttons on the coded switch manually, but I want Dasylab to increase the frequency by 300 Hz every 30 seconds. Is this possible and with which modules?
Thank you very much!

 

0 Kudos
Message 3 of 5
(108 Views)

Use a Control -TTL Pulse Generator tied to an Action module. Configure the pulse generator so that phase one is one second and cycle restart is 300 seconds. This will cause it to generate a one-second pulse every 300 seconds. Set the action module event to "Rising Edge," the Receiver module to the coded switch, and the action to "Next Position." When it gets to the last switch, it resets to zero and continues.

 

johnMCC_0-1736959019994.png

 

Please post DASYLab questions at https://forum.digilent.com/
Use the **Data Acquisition and data logging** section
Thank you,
Digilent


0 Kudos
Message 4 of 5
(100 Views)

Yes, it works! Thanks a lot. 

0 Kudos
Message 5 of 5
(62 Views)