09-29-2006 04:48 PM
10-02-2006 02:27 PM
10-02-2006 02:42 PM
10-02-2006 03:25 PM
10-03-2006 02:03 PM
I hope I'm not trying to tackle too many issues for a single thread here, but it seems to me that VI Server cannot be used in this case. Specifically, I've tried to implement this with Read Data Trisample, only to be informed that the VI is broken when I try to call it.
If I copy the VI to the PXI's hard drive, then the copy is no longer part of the project and can no longer access the same shared variables, even if I copy Fulcrum Variables.lvlib as well, right?
10-03-2006 06:56 PM
10-04-2006 12:26 PM
I've done some further analysis and have come to realize that my "Ready?" boolean should not be a buffer, since it is meant to store a single value indefinitely and is the cause of at least some cases of the read buffer overflow errors. I'm still trying to figure out some of the other problems, though.
I notice in the Shared Variable Manager that Mean Array, Measurement Array, and Params are listed as having types of DBL Array, DBL Array, and Custom, respectively, but in the project their types are stated to be DBL Array, Custom, and I8 Array. Is this behavior expected?
10-04-2006 09:28 PM
10-04-2006 10:01 PM - edited 10-04-2006 10:01 PM
Message Edited by kehander on 10-04-2006 10:03 PM
10-05-2006 01:55 PM
I have experimented a little more and found that quite frequently, the Host PC reads the Mean Array shared variable before the PXI has a chance to write to it, which explains that spurious zero value (and also severely messes up the data I'm trying to collect).
Why does this happen?! I set up the Ready boolean for the express purpose of keeping this from happening! Is there a better way of keeping the Host PC from taking the reading before the PXI is ready?