Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plotting application - Solution crashes in VS2010
12-21-2011, 09:45 PM
Post: #1
Plotting application - Solution crashes in VS2010
Hello,

I just started getting familiar with the library and I have developed a sample application that receives a analog data stream via a TCP threaded server and attempts to plot the spectrum of the received data.

My data stream of Int16 values is in a List and I add data to an IntegerBuffer.

In turn the IntegerBuffer sends the data to a GenericInt using :
genericInt1.SendStartCommand(500000); // 500 KHz sampling rate
genericInt1.SendData(mybuf);

Next step, the GenericInt output pin is connected to a Int2Real component which in turn is connected to the FFT component. Finally the spectrum output pin of the FFT is connected to a scope with 1 channel defined.

On the FormClosing() function, I have also added the command :
genericInt1.SendStopCommand();

Everything seems to be working OK at start BUT, after debugging my code 3-4 times, the Visual Studio 2010 IDE crashes and I cannot reopen the solution,at least the Design view of the form. Furthermore Once the crash occurs, I cannot execute the application not even from the Release folder as it halts as soon as I execute.

I have attempted to remove the Scope control from the Form while keeping everything else and the application seems to behave properly.

I would really appreciate it if you have any indication as to why this could be happening as I would to further familiarize myself with your libraries.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Plotting application - Solution crashes in VS2010 - paulstav - 12-21-2011 09:45 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)