在控制和仿真循环中保存事件的仿真时间

Saving the simulation time of an event within a Control and Simulation Loop

我在 LabVIEW 中有一个控制和仿真循环结构,它向 Multisim 模型发送输入并从中接收输出。我想测量 Multisim 模型的两个布尔输出变为真时的仿真时间差。我可以添加一个控制和模拟 -> 模拟 -> 实用程序 -> 模拟时间小部件并将其连接到我前面板上的一个指示器,然后看到模拟时间在我 运行 时进行,但是我如果不使用控制和模拟循环结构中不允许的循环结构,就找不到将该双精度数值锁存到存储位置以供以后比较的方法。我错过了一些直截了当的东西吗?

您要使用的函数称为 "Memory",位于模拟实用程序函数面板中。内存执行以下操作,

"Stores the value of the Input signal from the previous iteration of the simulation. Use this polymorphic function to transfer values from one iteration of the Control & Simulation Loop to the next. The data type you wire to the Initial Value input determines the polymorphic instance to use." - https://zone.ni.com/reference/en-XX/help/371894H-01/lvsim/sim_memory/