From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-14-2009 04:23 AM
I'm using (or rather trying, for now) to utilise the HSDIO card for acquisition like follows:
Scripted generation according to scheme: (l1, wrtcfg1, wrtlat are 1000clock long waveforms)
script myscript
generate l1
repeat 10
generate wrtlat marker0(0)
generate wrtcfg1 marker0(0)
end repeat
end script
Marker0 is exported (properly) to PFI0. Same line is configured to run the data acquisition (multiple records, both Start and Advance Trig point to same PFI0 signal). For test purposes I'm doing that with SMA2164, where channel 6 (wvfm sent to DUT) is wired directly back to ch4 (wvfm received from DUT) to get rid of possible DUT influence. What worries me is that I seem to catch _half_ of the signals I generate, instead of all. The attached vi has two independent test loops, the timed generation one (every second, do the script above), which means generating 2xrepetitions (20 in the example above) trigger pulses on PFI0 (scope proves this assumption being right). However, the second loop - acquisition part (acq 20 records each iteration of the loop, timeout 10s) which should in principle run once per each generation loop iteration runs only every second time.
I would be grateful for pointing my errors.
Michal
PS:Checked the bahaviour on two different setups, one with PCI 6562, second with PXI 6562. Both are missing triggers from PFI line (no difference which) in the presented scenario.
Solved! Go to Solution.
02-24-2009 07:59 AM
03-23-2009 04:09 PM
Hi Michal,
Are you still having issues with this?
Thanks,
Keith Shapiro
National Instruments R&D
03-24-2009 01:45 AM
Thank you both.
That was exactly Read/Initiate+Fetch issue.
Sorry for not looking at the thread, I found the solution soon after writing, and forgot about writing after having gone code frenzy...
Regards
Michal
03-24-2009 09:06 AM
Glad to hear you've got things working. Please let us know if you have any more issues.
Keith Shapiro
National Instruments R&D