Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
c4a41482
Commit
c4a41482
authored
Mar 05, 2015
by
Henrique Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/client.c: change status messages output stream to stderr
parent
52ddb033
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client.c
examples/client.c
+2
-2
No files found.
examples/client.c
View file @
c4a41482
...
...
@@ -1751,7 +1751,7 @@ int main (int argc, char *argv [])
bpm_client_err_e
err
=
bpm_acq_get_data_block
(
bpm_client
,
acq_service
,
&
acq_trans
);
if
(
err
==
BPM_CLIENT_SUCCESS
)
{
fprintf
(
std
out
,
"[client:acq]: bpm_get_block was successfully executed
\n
"
);
fprintf
(
std
err
,
"[client:acq]: bpm_get_block was successfully executed
\n
"
);
print_data_curve
(
acq_chan_val
,
acq_trans
.
block
.
data
,
acq_trans
.
block
.
bytes_read
);
}
else
{
fprintf
(
stderr
,
"[client:acq]: bpm_get_block failed
\n
"
);
...
...
@@ -1780,7 +1780,7 @@ int main (int argc, char *argv [])
if
(
err
==
BPM_CLIENT_SUCCESS
)
{
print_data_curve
(
acq_chan_val
,
acq_trans
.
block
.
data
,
acq_trans
.
block
.
bytes_read
);
fprintf
(
std
out
,
"[client:acq]: bpm_acq_get_curve was successfully executed
\n
"
);
fprintf
(
std
err
,
"[client:acq]: bpm_acq_get_curve was successfully executed
\n
"
);
}
else
{
fprintf
(
stderr
,
"[client:acq]: bpm_acq_get_curve failed: %s
\n
"
,
bpm_client_err_str
(
err
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment