Beginner with Dewesoft X trying to choreograph outputs

  • Software
  • Beginner with Dewesoft X trying to choreograph outputs
Adam Dickson

Posted on 13.07.2022 18:00

Hi there.


I'm a pretty new Dewesoft X user. I have a SIRIUS system with two AI slices and one AO slice. I'm having a hard time getting my head around how Dewesoft X works, but I'm making progress. I'm hoping this will shortcut some trial-and-error


Ultimately, what I'd like my system to be capable of accomplishing is the following: The system will be configured to acquire several channels of analog input data, and also output multiple signals (say, a trigger on one channel and an arbitrary waveform on another). The goal is, IDEALLY, the user would be able to hit a button, and start acquisition, then after some predetermined period of time (say, a second), a trigger is output, then after ANOTHER period of time (maybe another second or two), a predefined arbitrary waveform is output on a separate channel. ALL THE WHILE, input data is being recorded.


Is this out of the scope for the software? Can it be done? I feel like the sequencer is the way forward, but it seems a little non-intuitive. I hope someone out there might have an idea or tip to get my feet on the right path. Thanks in advance!

Damien Lajarrige

Posted on 25.07.2022 10:37

Dear Adam, 


This is possible with DewesoftX. For this example, there are two AI (analog inputs) and one AO (output) using the function generator module.


You can output Math formulas with the function generator. The output signal (trigger in your case) can be created in several ways. For this example, it’s sent by AO 1 and read by AI 2 to check the output signal.


Creating a math channel that is used in the Function generator:



According to the Sirius manual (p. 270): In the Function Generator Channel Setup, select channel output mode 1 and now you can select a synchronous DewesoftX® channel as input 2 . During measurement DewesoftX® will keep a short buffer of the input channel and then write the buffer to the output channel: i.e. the output channel will be delayed by about 1 second.


Using the Trigger :



The trigger starts directly at start measuring and goes down at the end of the measuring.


Using the Signal, with arbitrary function :




It's also possible to use User Input to create a custom trigger :



Be aware that the user input has to be "converted" from async to synchronous type.


One example of record with using buttons and hitting the accelerometer :




You can find attached the setup file and the data file of this example.


I hope I was able to answer your questions, enjoy !


Kind regards,

Damien.


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