Create a server using the following .proto file
syntax = "proto3";
package ni_hal;
//==========================================================================================
// Message Types
//==========================================================================================
message null {}
message mBool {
bool value = 1;
}
message mDouble {
double value = 1;
}
//===========================================================================================
// GRPC SERVICE DEFINITION
//===========================================================================================
// Unless otherwise indicated, distances are in microns, time in milliseconds
service SlowService {
rpc GetLocation(null) returns (mDouble); // return current location of motion
}
service FastService {
rpc Abort(null) returns (mDouble); // immediately stop all motion, may require reset afterwards
}
Replace the SlowService in the .proto file with the following
service SlowService {
rpc GetLocation(null) returns (mDouble); // return current location of motion
rpc GetSpace(null) returns (mDouble);
}
Regenerate the server. It will error during creation and no code will be updated.
AB#3491856
Create a server using the following .proto file
Replace the SlowService in the .proto file with the following
Regenerate the server. It will error during creation and no code will be updated.
AB#3491856