Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize daq on scope input

I have a square wave coming in on an input of my scope (PXI-5112) and when the signal crosses a user-definable threshold (both rising and falling) I'd like to fire the acquisition of a couple of digital ports on a separate card (PXI-6534).  Is this at all possible?  The main issue I have is that I need to acquire the scope signal at around 60MHz (the input square wave frequency can be up to 400kHz or so with a varibale duty cycle between around 40% and 60%), and then send a trigger across to the 6534 and record the status of the ports at every trigger point.  The test will only last for approximately 0.1ms...




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 1 of 3
(3,192 Views)
Looks like I might have posted this on the wrong board - oops!




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 2 of 3
(3,191 Views)
Hi crelf!  If you'd like, make a posting on the high-speed digitizers board and paste this stuff and we can talk there.

But my idea here is use Hysteresis Triggering on a multirecord acquisition with the PXI-5112 so that your hysteresis window is at the the level where you want to trigger.

You will need to use the niScope Export Signal function to then export the Reference Trigger (which is what gets triggered when the hysteresis window is hit) to the backplane, like RTSI2 or something.

You can then have that RTSI line trigger a digital acquisition, we have examples that are good for that.

See the NI High-Speed Digitizers Help for more information about the Configure Trigger VI and Export Signal function.

Thanks,
mike
0 Kudos
Message 3 of 3
(3,172 Views)