-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples: Use session-based simulation by default #258
Conversation
Signed-off-by: Brad Keryan <[email protected]>
Signed-off-by: Brad Keryan <[email protected]>
Signed-off-by: Brad Keryan <[email protected]>
Signed-off-by: Brad Keryan <[email protected]>
So with this setup, is it true that the user doesn't have to do anything in NI-MAX? Or do you still need to add a simulated device in NI-MAX? |
Yes, you no longer have to add simulated devices in NI MAX. If you do add a simulated device in NI MAX, you have to set USE_SIMULATION=False in order to use it. |
Signed-off-by: Brad Keryan <[email protected]>
When you initialize a dict with `d = {}`, mypy infers the key/value types from the first usage. To allow heterogenous values, add a type annotation. Signed-off-by: Brad Keryan <[email protected]>
Signed-off-by: Brad Keryan <[email protected]>
What does this Pull Request accomplish?
Update examples for modular instruments to use session-based simulation by default.
Why should this Pull Request be merged?
Make examples run "out of the box".
Enable simulation for instruments that either do not support persistent simulation in NI MAX or require TSM offline mode to enable persistent simulation.
What testing has been done?
Manually tested all examples in InstrumentStudio and TestStand.