Jump to content
  • 0

Adjust Digital IO system frequency in Python API


HarissonJones

Question

Recommended Posts

  • 0

Hi @Steve_3

In v3 one analog-out run is performed for each analog-in capture. Having FDwfAnalogOutRepeatTriggerSet-1 each analog-out run will wait for trigger (analog-out capture).
After each analog-in reading by the software (FDwfAnalogInStatus) a new capture is started which also initiates a new analog-out run.
This is why the analog-out repeat is set to infinite (FDwfAnalogOutRepeatSet-0).
Adding wait to analog-out would delay the signal relative to the analog-in start, shift the signal to the right in the capture.
To shift it left (or right), to start the analog-out before (or after) the capture left-most sample use a positive (or negative) secDelay parameter.

image.png

Link to comment
Share on other sites

  • 0

Thank you. Yes, I'm able to delay the acquisition and the pulse independently, and it maintains phase stability.  What i was attempting was to send out two RF sine wave bursts,  (say 1 ms each, seperated by 5 msec)  and then acquire.    I can delay the acquisition,   I just can't generate the second RF pulse (until there is a new acquisition).

It seems the analog repeat set must be infinite, but it waits for a new trigger.   Ordinarily, when triggering off of the PC, I can set this for any number and once it receives the trigger it fires the N bursts seperated by a specified delay.   With repeatSet set to infinite, it seems the delay between pulses is only set by waiting for the acquisition?   

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...