08-05-2019 11:47 PM
Hello There,
I am trying to Control GVSP Packets coming out from GigE Camera (GC2450C), by inserting delay through Inter Packet Delay Register (SCPDx), camera acknowledge about successful SCPDx Configuration but when i capture image i found my receiver still receive packets at very high rate rather it become fast compare to previous case , earlier when i have not insert Inter packet delay two consecutive packets come at 0.000091 second delay after inserting inter packet delay they start arrive at 0.000010 second (Fast Compare to previous One),
Steps i am following
1. Writing 0XC0000007 (Inserting PAUSE Registration and PAUSE Generation) @ address 0x00000014 (Network Interface Configuration Register.) to implement PAUSE Machinism
2. Writing 0x00000001 and 0x00000002 (Reset and Latch Timestamp Control register) @ address 0x00000944
3. Writing 0xFF000000 (Inserting Packet Delay of FF000000) @ Address 0x00000D08
i am still able to capture image but it seem insertion of packet delay is not implemented.
Please suggest in this regard .
Note: my time tick frequency at Low register shows 1G frequency
Regards
kaushal kanwariya
08-09-2019 02:16 PM
Hello,
Are you writing registers directly because you don't see how to insert delay through the IMAQdx API? If so, I would suggest using the DesiredPeakBandwidth attribute. Here's a KB with the details on that: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kKfzSAE&l=en-US
Since IMAQdx is using this attribute to also write the inter-packet delay register, it's possible that you're writing the register but then it's getting overwritten by IMAQdx to 0 when you try to acquire since the Desired Peak Bandwidth attribute defaults to 1000 (no delay).
Hope this helps,
Katie