02-27-2008 05:29 PM - edited 02-27-2008 05:30 PM
IngoWolf wrote:
IQ-Data is filled up in other parts of the code (other event cases), its the global container for my IQ-Data.I have to use local variables to work with in my event cases.
IngoWolf wrote:
Isn't the temporary memory freed when the event case is completely processed so it can be usedwhen other event cases are processed?
02-28-2008 04:54 PM
Yes I've some more ideas now how I could optimize the code.
My Program is controlled by several buttons which makes the messages and than action has to be done with the data, writing to file, reading from file reading from device etc.
I have 11 cases in my event struct, less than half deal with IQ-Data, but a shift register used need to be wired trough all 11 cases, not to funny.
I tryed to work with replace array subset today but it seems like I cant partial replace data in 2D-Arrays like in 1D ones in 2D I only can replace only complete rows, cols or single datums with the complex type I have a 1D array but I have to test if the writespreadshetfile-vi can handle complex or if Ihave to cast to 2d-array somehow.