gtb1234
2008-08-06 21:40:05 UTC
I am using a 9172 chassis with 6 -- 9217?s (RTD AI) and 2 ? 9203?s (Current AI). I initialize the AI?s and start the task running. The problem is I need to be able to read the values once every second or so. This read occurs in its own thread / loop. The problem is the ?circular memory? mechanism that?s used in Labview. It requires that I read the data not to slow and not to fast or it stops and tosses an error? I have experimented a little and found some combinations of loop delay and sample rate that will run for a long time without crashing. Some crash sooner and some take quite a while. I guess it depends on how long the buffer takes to corrupt.
Is there anyway to read these devices like a DMM? In other words take a reading anytime you want whether the value has changed at all or changed many times before it is next read? The only way I have been able to do this is start the acquisition, then READ once then STOP the acq. This is at least stable.The major problem with this is it takes too much time to start and stop. Thanks.
Is there anyway to read these devices like a DMM? In other words take a reading anytime you want whether the value has changed at all or changed many times before it is next read? The only way I have been able to do this is start the acquisition, then READ once then STOP the acq. This is at least stable.The major problem with this is it takes too much time to start and stop. Thanks.