Skip to content
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

String Input / Output #8

Open
Now-Hyeok opened this issue Jul 3, 2024 · 5 comments
Open

String Input / Output #8

Now-Hyeok opened this issue Jul 3, 2024 · 5 comments

Comments

@Now-Hyeok
Copy link

Hi!
I get an error when using string type input or output for FMU, how do I fix it?

image

@markaren
Copy link
Collaborator

markaren commented Jul 3, 2024

More info?

@markaren
Copy link
Collaborator

markaren commented Jul 3, 2024

Anyhow, if the issue is related to this library, it it probably causes by the clearStrBuffer function. This is even more likely if it does not crash at the first invocation. You could try to comment out the function and rebuild.

I won't be able to assist much.

@Now-Hyeok
Copy link
Author

Here's my code.

image

And I did this with Cosim4J

@markaren
Copy link
Collaborator

markaren commented Jul 3, 2024

Note that cosim4j is outdated and is unlikely to be updated. I would consider using another tool.

@Now-Hyeok
Copy link
Author

Now-Hyeok commented Jul 3, 2024

Thank you so much for your answer. I think I'd better use a another FMU creation/execution tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants