Hi Jakob,
I'm assuming that your scope is being triggered from some kind of external source and that you are trying to use this source as trigger and scan rate for the PCI-6023E!?
The example called Cont Acq&Graph ExtScanClk D-Trig.vi in LabVIEW should be what you are looking for. The example waits for a start trigger, then starts the acquisition
asn samples according to the scan clock (your external signal).
The two pieces of software code (NI-daq and NI-scope) are running independently, but are connected to the same source externaly.
Let me know if you need more information.
Anders Meister
NIDK