03-13-2007 10:40 PM - edited 03-13-2007 10:40 PM
Message Edited by wired on 03-13-2007 10:41 PM
Solved! Go to Solution.
03-15-2007 02:51 AM
Nick,
I haven't had a chance yet to install the DaqMX 8.5 driver. I'll need to round up a usb hard drive, since it's so damned huge it won't fit on my flash drive. I'm putting out another fire tonight, and hope to get to it Thursday sometime.
Kevin
03-15-2007 05:28 AM
03-15-2007 01:21 PM
Hi,
Thank you for posting to the NI forums. There are a number of troubleshooting steps that we can take to find out why you’re having trouble with the synchronization.
Please post back with the results. Thanks!
Ed W.
Applications Engineer
National Instruments
03-16-2007 08:20 AM
Ed,
I tried switching modules, and have some head-scratching results to report.
The slot 5 and 7 combination was working properly, and slots 6 and 7 were not.
Test 1: Swap cards in slots 6 and 7, then repeat test of 5 and 7. Results were good. Still able to stream all 8 channels at 800K.
Test 2: Restore original configuration, then swap cards in slots 5 and 6, and repeat test of 5 and 7. Strange results are as follows: The card in slot 5 took exactly 4 times as long to stream the data as the card in slot 7. When finished, I checked the size of the streamed file, and it was the correct size for 800KHz, 8 channels, 10 seconds streaming, which is what I requested. It's as if either the timebase divisor was different or the timebase for the sample clock was being divided by 4. I received no errors from the slot 5 acq routine, indicating that it must have actually been sampling at 200KHz (otherwise there would have been a buffer overrun error).
My code is attached to an earlier post. I don't see how this could happen. The weird thing about it is that this occurred only by swapping PXI modules. Any insight into this phenomenon would be appreciated.
03-20-2007 07:36 AM
Hi Kevin,
I agree, this is very interesting behavior. Did you buy all of the DSA devices at the same time? I’m just wondering if there was a major hardware revision between when you bought some of these DSA modules. If you’re unsure, please post back with the serial numbers, and I can check our database to see if there were any major changes between releases.
Otherwise, if this doesn’t turn out to be the issue, then I can try to reproduce the issue here.
Ed W.
Applications Engineer
National Instruments
03-21-2007 10:09 AM
03-21-2007 12:52 PM
More testing. I tried the following tests. Here's the setup:
Chassis: PXI-1042Q
Slot 1: PXI-8186
Slot 2: ZTEC ZT1000PXI GPS card
Slot 3: Empty
Slot 4: Empty
Slot 5: PXI-6120 board S/N DAB7C0 (from sticker on main board) - call this Board A
Slot 6: PXI-6120 board S/N DAB7C4 (from sticker on main board) - call this board B
Slot 7: PXI-6120 board S/N DB660B (from sticker on main board) - call this board C
Slot 8: PXI-6120 board S/N DB6616 (from sticker on main board) - call this board D
Tests were run as follows:
Slots 5 & 6: Error -200279 both boards
Slots 5 & 7: OK
Slots 5 & 8: OK
Slots 6 & 8: OK
Slots 7 & 8: Error -200279 both boards
Slots 6 & 7: OK
With only Board A in slot 5 and board B in slot 6, got error -200279 both boards.
With only Board A in slot 5 and board C in slot 7, results were OK.
With only Board A in slot 7 and board C in slot 5, results were OK.
With only board A in slot 6 and board B in slot 7, results were OK.
With only board A in slot 7 and board B in slot 8, got error -200279 both boards.
With only board A in slot 7 and board C in slot 8, got error -200279 both boards.
With only Board A in slot 3 and board B in slot 4, results were OK.
03-22-2007 02:14 PM
Latest tests: I removed the ZTEC card from the system, and reduced the data acq program to just start the two data acq tasks. I changed the data acq tasks so that they use the internal clocks and no start trigger. I still have the same problem. I can, however, take data at 100KHz with each task with the boards in slots 5 and 6. I do notice a delay in the GUI, as well as the event update rate - the event counter is not updating at constant intervals - looks like there is a slowdown followed by catching up. Slots 5 and 7 work at all rates, but 5 and 6 do not. I can also do Slot 5 at 800KHz and Slot6 at 100KHz, or Slot5 at 100KHz and Slot6 at 800KHz. It causes sporadic mouse interruptions and uneven event update rates, but it does work.
It's almost as if there's a different threading scheme or DMA configuration when the slot assignments change. Is that possible?
03-23-2007 10:17 AM
Hi,
I’ve checked on all of your devices’ serial numbers, and there aren’t any apparent differences in their revision history. There aren’t different threading schemes when the slot assignments change (or at least this is not expected behavior), but we are still looking into this.
Ed W.
Applications Engineer
National Instruments