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

Unable to run example unless "c_SetPhoenixDiagnosticsStartTime(-1);" is commented out. #15

Closed
vatbrain opened this issue Oct 8, 2020 · 2 comments
Labels

Comments

@vatbrain
Copy link

vatbrain commented Oct 8, 2020

Running a stripped down version of example.cpp modified for the VictorSPX controller produces the following messages on the console:

CTR: Firm Vers could not be retrieved. Use Phoenix Tuner to check ID and firmware(CRF) version.
Victor SPX 21

and does not function properly unless the statement:

c_SetPhoenixDiagnosticsStartTime(-1); // disable diag server, instead we will use the diag server stand alone application that Tuner installs

is commented out and the standalone diagnostic server is uninstalled from the host (in this case raspberry pi).

@JCaporuscio
Copy link
Member

We're working on diagnosing the cause in order to implement a fix.

In the meantime, using the in-program diag server without the standalone version will function as a workaround.

@JCaporuscio
Copy link
Member

This was fixed when the example was updated to Phoenix 5.21.1.

We still recommend leaving it commented out so you can take advantage of the diagnostic server that runs in the application background, but if you'd prefer to disable it you can now uncomment the c_SetPhoenixDiagnosticsStartTime(-1); call and the rest of the application will still work.

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

No branches or pull requests

2 participants