Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Can we set offset to sin wave in MC_stimulus

Go down

Can we set offset to sin wave in MC_stimulus  Empty Can we set offset to sin wave in MC_stimulus

Post  Hydrolab Wed Sep 16, 2015 7:00 am

Hello,
We are trying to give voltage to a LED using stg4002, and we tend to give a sine wave with a offset. But we found that MC_stimulus can only give a sine wave with its mean zero. I wander if there is some way we can set an offset to a sine wave stimulus?

best regards

Hydrolab

Posts : 1
Join date : 2015-05-28

Back to top Go down

Can we set offset to sin wave in MC_stimulus  Empty Re: Can we set offset to sin wave in MC_stimulus

Post  Frank MCS Wed Sep 16, 2015 9:31 am

Hi,
there is at least a workaround:
program the sine wave
+ export is as ASCII (File/Export ASCII)
+ add the offset to all values
+ import as ASCII (File/Import ASCII)

Be carefull not to safe the ASCII (.dat) file in Excel, as the program adds invisible headers to the file, which will make the import impossible. Use a text editor instead. Of course you can to the adding of the offset in Excel, and then copy/paste the modified data to the original .dat file and safe it in the text editor.

Best regards Frank MCS
Frank MCS
Frank MCS

Posts : 188
Join date : 2008-07-14

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum