Can we set offset to sin wave in MC_stimulus

View previous topic View next topic Go down

Can we set offset to sin wave in MC_stimulus

Post  Hydrolab on Tue Sep 15, 2015 6:00 pm

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-27

View user profile

Back to top Go down

Re: Can we set offset to sin wave in MC_stimulus

Post  Frank MCS on Tue Sep 15, 2015 8:31 pm

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
avatar
Frank MCS

Posts : 182
Join date : 2008-07-14

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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