04-04-2013 06:46 AM
See block labeled ''digital data'' in my attachment for reference. Currently, only the digital data point for the current time step can be seen (it is deleted before the next one appears). However, I would like it display all the samples in the table like in the example found at this link under ''Digital Waveform Control'':
http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/fp_controls_indicators/
Many thanks for any suggestions! I am new to Labview, so I appreciate your help.
Solved! Go to Solution.
04-05-2013 03:31 PM
Hey westerman111,
If you're looking to produce have your display include the solution information from previous solver steps, you will need to buffer the previous data. The way to implement this in a Control Design & Simulation Loop is using the Memory.vi found under Control Design & Simulation > Simulation > Utilities > Memory.vi. It will allow you to save previous information generated in the simulation environment for letter solution steps.
I've attached an example that should get you started in using the Memory.vi.
I would also make sure that what you're looking to accomplish is suitable for the Control & Simulation Loop. I know you mentioned you were new to LabVIEW so I wanted to make sure you were heading off in the right direction. Is there a particular reason why you are using the Control & Simulation Loop instead of a standard While or For Loop? The Control Design & Simulation loop is unique in that it calculates the solution of a dynamic system at a prescribed time step and ODE solver. It also provides the tools to interact with the model you are solving during execution. However, if you are simply looking to perform data acquisition and measurements (instead of dynamic model simulation) I would recommend using standard LabVIEW functions.
Here are some useful references for getting start with both LabVIEW and the Control Design and Simulation Module.
http://zone.ni.com/reference/en-XX/help/371894G-01/lvsimhowto/sim_h_gs/
http://digital.ni.com/manuals.nsf/websearch/ba2fb433a7940e7a862579d40070cc2c
04-10-2013 04:17 AM
Thank you! That is exactly what I was looking for.