From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NIVS via ASAM XIL - MAPort ReadSimultaneously implementation

Hi, 

 

I'm currently communicating with VeriStand engine using ASAM XIL. I would like to read several channels at the same time. To make sure I get values from the same time step, I would like to use MAPort.ReadSimultaneously method provided by ASAM XIL's interface :

IList<IBaseValue> ReadSimultaneously(IList<string> variableNames, string taskName);

When calling the method, I'm returned a NotImplementedException : 

NotImplementedException: The method or operation is not implemented.
   at ASAM.XIL.Implementation.VeriStand.TestBench.MAPort.NIVSMAPort.ReadSimultaneously(IList`1 variableNames, String taskName)

Could someone confirm the method has not been implemented by NI ? Would someone have any advice about how to read several channels simultaneously ? 

 

Thanks for your help ! 

Best regards, 

Jeremie

0 Kudos
Message 1 of 4
(2,217 Views)

Hi

Just wondering what version of Veristand you are using?

It seems like ASAM XIL 2.1 support was added in Veristand 2018.

http://zone.ni.com/reference/en-XX/help/372846M-01/veristand/whats_new/

 

/Kristofer

0 Kudos
Message 2 of 4
(2,102 Views)

Hi Kristofer,

I'm using Veristand 2019 and I've been using some features of ASAM XIL 2.1 (framework variables and so on). 

Did you manage to make the ReadSimultaneoulsy method work on your side ?

 

Thank you for your answer. 

Jeremie

0 Kudos
Message 3 of 4
(2,092 Views)

Getting same error with veristand 2020 too.

Any solution?

0 Kudos
Message 4 of 4
(1,859 Views)