Hi All,
Is there a way to find out there was already a call to rp_Init()?
Thanks in advance,
Omer.
Was rp_Init called
- M0JPI
- Posts: 19
- Joined: Wed Jun 15, 2022 8:06 pm
- Location: Cumbria, UK
Re: Was rp_Init called
I've not used the C API much, but there is a rp_IsApiInit() function that returns g_api_state.
I can't find an official example in the Red Pitaya documentation, but the source for the API is available on GitHub.
I did find KevinR117 has a GitHub repository that uses it in C++. He is using it with an if statement, so it must evaluate to false if the Red Pitaya API is not initialised.
John M0JPI
I can't find an official example in the Red Pitaya documentation, but the source for the API is available on GitHub.
I did find KevinR117 has a GitHub repository that uses it in C++. He is using it with an if statement, so it must evaluate to false if the Red Pitaya API is not initialised.
John M0JPI
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 9 guests