-
Notifications
You must be signed in to change notification settings - Fork 299
selectDATA
Jason Watkins edited this page May 8, 2015
·
2 revisions
Choose which rows of data X-Plane will export over UDP.
| Language | Signature |
|---|---|
| C | Not Supported |
| MATLAB | selectDATA( rows, socket ) |
| Java | void selectDATA(int[] rows) |
| Python | selectDATA(rows) |
rows: The row numbers that X-Plane should export.
socket (MATLAB): An optional reference to a socket opened with openUDP that
should be used to send the command.
| C Error Code | Java Exception | Python Error | Description |
|---|
-
|IOException |OSError |The client is unable to send the command
import XPlaneConnect.*
% Request that X-Plane export the gear status row
result = selectDATA([14]);import gov.nasa.xpc.XPlaneConnect;
try(XPlaneConnect xpc = new XPlaneConnect())
{
// Request that X-Plane export the gear status row
xpc.selectDATA(new float[] {14});
}import xpc
with xpc.XPlaneConnect() as client:
# Request that X-Plane export the gear status row
client.selectDATA([14]);