05-14-2008 01:24 PM
05-14-2008 01:37 PM - edited 05-14-2008 01:37 PM
05-14-2008 02:18 PM
Hello Lynn,
My best guess is that I am not giving the card enough time to get ready before the event happens. As soon as I send the notifier to the daq loop I trigger the event. I played with arming the card about .5 seconds before the event happens and it seemed to work fine, I am just looking for a more better way to have them work together.
I am working with 6 solenoids that are cycling and I can't have any of the open/close events overlap because of the daq card. So I am using a state machine to basically step through each open/close and track the time to keep everything seperated. It seemed like the easiest path at first, but obviously now I have to modify each open/close case with the soloution. I am almost temped to scrap it and try to come up with a different method so changes don't hurt so much. But of course they want it soon.
05-14-2008 03:10 PM
05-14-2008 05:33 PM
Lynn,
I am using a PCI-5105 for the accelerometer data. The pumps are just cycling pressure and the solenoids are on a 70 second cycle with a staggered start to keep them separated while opening/closing.
I was looking at triggering off the accelerometer because my boss wants consistent data between all the files, so they can easily be aligned and compared after the test. I told him it sounded like a personal problem for the engineer, but he was not buying into it. ![]()
So you are thinking I could adjust the queue sizes to hold just the amount of data I need and when I change states on the solenoid use that as a trigger to save the data in the queue to a file. That does not sound like a bad idea at all, if I can get it to work.![]()
Hopefully the data will be consistent enough for them.
Thanks