NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create SyncManager object in csharp

Solved!
Go to solution

Greetings!

 

I'm tryint to send a notitication to a testStand sequence from a charp DLL ... it seems I should use the SyncManager, but I can't figure out where the syncmanager object is defined:

 

xxx foo = seqContext.Engine.GetSyncManager("myNotification");

 

The problem is that I cannot determine what the type 'xxx' should be.  I would have thought it would be a "SyncManager", but this does not seem to be a valid type.

 

I am referencing:  NationalInstruments.TestStand.Interop.API and NationalInstruments.TestStand.Interop.UI

 

What is the correct type?

 

Thanks,

Tom M.

0 Kudos
Message 1 of 3
(3,646 Views)
Solution
Accepted by topic author LabCat

Hi Tom,

 

you have add the TSSyncLib.dll as COM Object to your c# Project

Then it should work

 

Juergen

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 3
(3,629 Views)

Thanks!  That was what I needed!  I didn't see any reference to this DLL in the parts of the documentation that I read.  I guess I need to read it all!

 

Regards,

Tom MacLean

0 Kudos
Message 3 of 3
(3,613 Views)