Sequencer - How to copy a global variable in a fonction generator in sequencer.

  • Software
  • Sequencer - How to copy a global variable in a fonction generator in sequencer.
Damien Lajarrige

Posted on 07.03.2024 14:46

Hello Dewesoft team, I hope you are well since my internship.

I am using Dewesoft to control a vibrating pot that I control with the generator function. However, I'm stuck.

We want to perform a sinus vibration and perform a frequency sweep to refocus our sinus excitation frequency accross the time of a vib test.

To do this, I use a sequence with two setup files.

A first setup file allows me to create my vibration with a sinus at a frequency defined according to the resonance frequency of my equipment.

A second setup file allows me to perform a frequency sweep around this frequency in order to recalibrate my excitation frequency after a vibration phase.

I use the function generator for this, and I get the value of the frequency for which the acceleration is the highest which I store as a global variable. I then want to implement this variable in my function generator of my first setup in order to create my vibration with this new resonance frequency.

The problem is that I cannot implement this variable in my function generator, I get the following error; "Warning (Calculation): No samples acquired".

Could you tell me if what I want to do is feasible? And if yes, how ?

I am also attaching my 3 files as attachments.

Thanking you in advance,

Damien LAJARRIGE

Damien Lajarrige

Posted on 07.03.2024 18:31

Hi,

I saw that my HPV_vib.dxs file was wrong, here in the .zip are the 3 correct files.

Below, some screen shots et recording to see better what is going on during the sequence execution.


When I start the sequence, with sinus.


When I do the sinus sweep to find the resonance frequency.


The error while I want to save the value in global variable.



Thanks for helping,

Best regards.

Damien


Attached files:
Damien Lajarrige

Posted on 08.03.2024 16:53

Hello,

I solved my issue.

I can now restart my generation of fixed sine with the resonance frequency found by my sweep of my second setup.

I think my problem was that my setup files had not been updated in my sequence and therefore could not read/edit my global variable.

Thank you all the same, wishing you the best.

Rok Kmetič
Customer Support Engineer
Posted on 11.03.2024 15:01

Dear Damien,


Great to hear from you! 

Awesome, I'm glad to hear that you were able to sort it out, and thanks for letting me know.


Best regards.

Rok

Login to reply to this topic. If you don't have account yet, you can signup for free account .