02-05-2007 03:56 AM
02-07-2007 06:10 AM
02-07-2007 07:08 AM
Hi! I am attaching a picture of the loop, there are another loops like this one. My subvi delivers the data from the cards. I am using a 50ms wait for every loop. At first the loops only had the subvi for the signals and a Waveform, now it has a couple other things, but the problem was from the beginning. Thank you vary much in advance.
02-08-2007 03:12 AM
02-09-2007 04:00 AM
02-12-2007 04:50 AM
02-12-2007 08:31 AM
02-13-2007 06:54 AM
02-15-2007 06:50 AM
Thank you Philipp for all your help. I finally got it to work. The problem was that my subvi was initializing the devices in every loop, that is why I had those spaces in the signals. I am now running the cards continously and it works fine. Another problem, tough. Sometimes when I start the devices, there is a delay and I get an error message (saying that the data is not available and that I should use a longer timeout). With a simple error handler and a no action setup, it usually starts the devices after showing the error. But that only happens sometimes, so I cannot tell what is going on. When that happens the signals from one device are delayed compared to the other devices. And sometimes, it is not showing any errors, but the waveformchart does not update, after a few seconds it runs very fast and then stops again and keeps on doing that. How can I make sure that the cards initialize correctly everytime, with no delay and at the same time? I was trying to use the starttrigger but with no results (I cannot figure out how that works, I set up the start trigger at PFI0 but the data-flow does not start). Thank you very much again!
Best regards,
David P.
02-15-2007 10:08 AM
Dear David
This again sounds like an error caused by missing synchronization among your devices.
To sync two 6009s you would need a third device (e.g. another 6009) which sends the trigger through a cable connected to the PFI0s of both acquisition devices.
Best regards
Philipp Roessler