![]() |
network tables and arrays
have a labview robot, want to write to it's network tables from a java app on driver station. That works great, but now I want to write an array of numbers.
If I write a array of numbers to the network table from labview, Java sees it as an Object[] containing Doubles. If I try to construct the same using networkTable.putValue ("array", new Object[] { double1, double2 } ); I get an IllegalArgumentType: Invalid Type exception. Is what I am attempting doable? |
Re: network tables and arrays
Here's the method that's throwing the exception (from edu.wpi.first.wpilibj.networktables2.NetworkTableN ode):
Code:
public void putValue(String name, Object value) throws IllegalArgumentException{Code:
NumberArray outputArray = new NumberArray(); |
Re: network tables and arrays
That worked. Thanks!
|
| All times are GMT -5. The time now is 22:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi