title: how to use measurement studio to interface usb port
body: <p>Can i use Measurement studio C# in visual studio to take a digital signal from a usb port (from a data aquisation system) and plot it and how can i do that??.
  I only tried to use it to plot a noise signal but i couldn't use it to take signal from a port.</p>
  
  <pre><code>         // Declare and initialize an instance of WhiteNoiseSignal.
          WhiteNoiseSignal whiteNoise = new WhiteNoiseSignal();
          // Store the generated data in a double array named data.
          double[] data = whiteNoise.Generate(1000.0, 256);
          // Use the PlotY method to plot the data.
          plot.PlotY(data);
  </code></pre>
  
  <p>this is the code I use.</p>