states ?

pe->SerializeFromFile("./states/StandardMale@0s.json");

Could not load state, check the error

The path provided is relative to your executable’s working directory
Is that file located in that relative directory of your executable’s working directory?

It is a good idea to specify a log fine after you instantiate the engine.
Check for errors in the log file that you specify to the engine.

Soldier@0s.json
EngineHowTo [ERROR] : [0(s)] Could not load state, check the error

Have simple and clear instructions for use? I use vs2019 c++
I want to know how to use it. I have no medical knowledge.

Thank you.

It sounds like the patient state file in your install/bin/states is out of sync with your code base
If you get a load state error, you have probably pulled changes that modified a proto file in the src/schema folder.

Open a command window from your install/bin/ and type: run genStates

More information for updating Pulse source code from our repository can be found here

More on the run script can be found here

I use vs2019 c++
Do I have to install cmake, github, and java to use pulse?
How can I understand the establishment of the environment?
I encountered problems at almost every step, and every step was difficult.
Are there any relevant and complete instructions that can give me a quick understanding?

I want to learn how to use it as soon as possible.
Not to learn extra content first.

The C++ development setup has a bit of a learning curve.

Alternatives to building the C++ are:

A Unity Asset that provides a prebuilt Pulse along with our C# interface
I will be posting a new version to the Unity store this week with Pulse 3.0

A binder based jupyter notebook runs a prebuilt version of the latest Pulse in a web hosted server.
You can create your own notebooks (please save/download any new notebooks to your machine as each instance is not preserved for very long, you can upload them to each instance of binder you create)
You can easily translate one of our python how-to’s into a notebook in this binder project.

You can also easily built the same jupyter notebook docker container on your local system
It is based on other prebuilt docker containers from our dockerhub organization

The Pulse Explorer is also a GUI version of the Pulse Interface.
Here is the latest Win64 release candidate of the explorer that has added functionality. (I still need to add a bit of scenario support)

EngineHowTo.cpp
How to make it run normally?
I encountered difficulties at every step. How to use it correctly?

Try changing that string to MinimumAllowableInpiratoryAndExpiratoryPeriod

If you have built Pulse, you can run directly from Visual Studio following these instructions

https://gitlab.kitware.com/physiology/engine/-/wikis/Using-MSVC#running-the-how-to-examples

How did you create your TestPulse?
I believe it is out of sync with your Pulse build (hence why I believe reverting back to a misspelled variable in my previous post might fix your application)

Privacy Notice