05-04-2016 05:13 AM
Dear all,
I want to record and output data with two separate cards (later synchronously).
For data acquisition, I use the NI PCI-6133, for the data output, the NI PCI-6733.
The data collection works, but there are problems with the data output. In the first ms the desired signal (eg. Sinusoidal 25kHz, 1V) is issued,
but after a certain time a sinusoidal output with about twice as high frequency occurs, the actual signal occurs only sporadically on.
The desired and undesired signal seem arbitrary to change. In addition other frequencies were tested which attain the same result.
In the appendix of the current code, and some recording of the problem (with the PCI-6133 & oscilloscop measured). Can anyone explain the error?
Solved! Go to Solution.
05-04-2016 11:29 AM
The first step should be to separate the generation and acquisition into separate while loops. I will post an example if I can later.
05-04-2016 11:52 AM
Personally, I think the First Step is to remove the Sequence Structure -- it is absolutely not needed (you appropriately use the Error Wire to serialize the major steps of Data Flow). Getting this big, bulky structure out of the Block Diagram will allow you to "shrink" it to a more reasonable size.
Here are some questions and comments.
Looking forward to Version 2. Strive to get as much of your Block Diagram on a single screen as possible. Don't be afraid to "hide details" in sub-VIs.
Bob Schor
05-11-2016 05:48 AM
Thanks for your help! Clean up my window/code helped a lot.
Now I wanted to synchronize the recording and output, but it comes to the errors mentioned above and the recording does not work. Have I forgotten something? I routed the 20MHzTimebase of output (Dev2/RTSI7) to the recording (Dev1/RTSI7) and let the output trigger recording (Dev2/RTSI6 -> Dev1/RTSI6).RTSI-Lines are connected and added in MAX.