06-13-2011 04:08 PM
Hello,
Where can I find a Measurement Studio C# function to perform the same operation as the "Formula Waveform" VI in labview?
Thank you.
06-14-2011 08:35 PM
Hi MDKF,
I've got good news and bad news. The bad news is that there isn't a C# function that performs the same operation as "Formula Waveform" Vi in LabVIEW.
The good news is that it is relativity easily to graph waveforms based on a function. This particular function is implemented in LabVIEW because it's difficult to graph waveforms due to the inherent structure of LabVIEW. With C#, all you have to do is to generate an array that contains all the vales of your math function. Then plot the array into a graph. Below is a Visual Studio link that explains how to create an array in C#.
http://msdn.microsoft.com/en-us/library/dbcwkdwa%28v=vs.80%29.aspx
I hope this helps.
Josh L.