GoPxL SDK
ResourcePath SensorPath ( SerialNum  serialNum)

Given a sensor's serial number, returns its resource path.

This function throws a GoPxLSdk::GoChannelError if the operation is not completed within the timeout period. Default timeout period is 15 seconds.

Version
Introduced in 0.2.1.53.
Parameters
serialNumThe serial number to look for.
Exceptions
GoPxLSdk::GoRequestErrorIf the server responds with a failed status for the request.
GoPxLSdk::GoChannelErrorIf the request times out.
Returns
Resource path of the sensor. If sensor with the specified serial number is not found, returns an empty string.