PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

5411& 5122 Syncronization

Hi, all.

I have a problem using PXI5411 and PXI5122. I made a code to sync both. But there is a problem and I don't know what is wrong with my code.

The problem is, if I input any wave file(*.hws) and run AWG, then digitizer reads it exactly 69 points later.

That is to say, if the peak of my wave file comes exactly 5000 points, then obtained peak by digitiger is at 5069.

If there is anybody who can give me an advice, please help me. And also is there anybody who is interested in my coding, I can upload the file I made.

Thank you.

Best,

SB
0 Kudos
Message 1 of 5
(3,457 Views)
Hello SB:

If you are completely sure with your sync, I would suggest that you take a look at triggering.
It seems that your AWG generates waveform earlier by 69 points.
If you set-up your triggering, you can have your AWG and digitizer to wait for a certain trigger first. Then if the AWG has detected the same trigger, then they will start generating/acquiring at the same time.

I hope this helps. Please inform me if you have any other questions.
Message 2 of 5
(3,450 Views)
Thank you for the reply. But I'm a beginner, so I'm not 100% sure how to control trigger.

Can you see mine and tell me what the problem is>

Thank you.
0 Kudos
Message 3 of 5
(3,450 Views)
Hello SB:

I checked your vi. I have one suggestion though. You have a "niSCOPE Property Node" that will modify the "Fetch Relative To". I suggest that you change the input from "Read Pointer" to "Trigger".

Please inform me if this would work. If not, could you please provide the reading from your scope?
Message 4 of 5
(3,436 Views)
It says: Error -1074118634 occurred at Error occurred at: niScope Fetch Binary 32.vi

Possible reason(s):
Driver Status: (Hex 0xBFFA4016)
The trigger has not occurred for the requested buffer, so data cannot be fetched relative to the trigger.

Status Code: -200008
0 Kudos
Message 5 of 5
(3,401 Views)