question

Upvotes
Accepted
185 6 12 25

How EMA provider can translate PE codes to DACS lock

Hello, one of our mutual client is using EMA for publishing data[Provider]. They have PE code which they can pack in PROD_PERM FID. In case they wish to translate PE code to DACS lock which can be passed to permData in Refresh message, how they can do it? Can you show api's or sample code to do so?

#technologyema-apiDACSopen-dacs
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
78.8k 250 52 74

@mktdata

Thanks for reaching out to us.

You can use the DACS library available in the ETA package to create DACS locks.

There is an example (AuthLock) in the ETA examples folder. For example, this is a ETA C example.

1686123647729.png

Please check the DACS_GetLock method.

I hope that this information is of help.


1686123647729.png (16.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.