My team is programming in java. We want to see a camera image in the labview dashboard.
In java, we want to use addInt, addByte, addFloat, addArray, addCluster. But we can’t convert a Image to a basic type. Does anyone know how I send the images to the dashboard in java?
And I found an alternative dashboard. It’s called ZomB. But I don’t know if it allowed its use in competitions. There’s nothing in the rules.
And this dashboard asks to modify some files from cRIO. It says it can corrupt the file ni-rt.ini. Can I connect via FTP with the cRIO and make a backup of files? Someone recommended me to try this ZomB or should I try to labview.
-
No rules against ZomB.
-
In LabVIEW, on the Dashboard, there is a VI called “Get Image on PC” which does exactly that - it gets an image on the Dashboard. The cRio forwards the camera to the dashboard automatically, and you can get that image on the Dashboard.
2b. Last year, the camera code indicated what it was looking at by applying circles to the Dashboard image (using IMAQ Overlay), and sending the circle coordinates over the Dashboard data stream.
Being the ZomB creator, I may be a bit biased, but please try ZomB (0.7 is amazing compared to 0.6)
Legality: DBPacket is 100% legal, TCP (the default) is pending a decision from the GDC, but should be legal, considering what they have said in the past. Both are always available at home, and the TCP sending TO the robot is really nice for lots of variables needing tuning.
As for corrupting the ni-rt.ini, I’ve tested it, and it has not corrupted mine, but I would back it up (ftp://10.xx.yy.2/ xxyy is your team number), run the installer, and compare the new ni-rt.ini (it also saves a backup), and make sure it only added ZomB.out to the StartupDLls list. If not, either manually edit it, or replace it with the backup it automatically creates (ni-rt.ini.backupTIMESTAMP). you can also manually install it
If you have any questions, please ask!