Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Error 1026 On Labview - Nothing works... (http://www.chiefdelphi.com/forums/showthread.php?t=154727)

wrightty 04-02-2017 14:23

Error 1026 On Labview - Nothing works...
 
On our drivert station we have all green lights, comm, code, and joysticks. The joysticks are working according to the DS but it continuously gives us the following error
Error 1026: Property Node in FPGA_SystemAsync VI Agent.viLabVIEW: VI Revference is invalid.

No motors on our robot responds to the joysticks.

We don't know how to save our code as a single file so it can be posted (or backed up for that matter).

Any help would be appreciated.

BrennanB 04-02-2017 16:56

Re: Error 1026 On Labview - Nothing works...
 
Can you screenshot your teleop vi, and begin vi?

LabView saves under a directory, with the project file being the connector between all the vi's.

Mark McLeod 04-02-2017 17:01

Re: Error 1026 On Labview - Nothing works...
 
The project folder is in Documents/LabVIEW Data/2017 Robot Project (or whatever name you gave your robot project).

I'd recommend position either a .zip of the whole folder or the .vi files themselves. Screenshots are less useful for locating typo errors.

wrightty 05-02-2017 15:02

Re: Error 1026 On Labview - Nothing works...
 
Thanks for the info on backing up the program and where to find the folder.

I'll post a .zip when I'm back at school tomorrow.

wrightty 06-02-2017 15:00

Re: Error 1026 On Labview - Nothing works...
 
Here is a link to a zip file of our labview program:
https://drive.google.com/file/d/0B4_...ew?usp=sharing

Just to reiterate, we are able to enable our robot but nothing moves when controllers are used (it should be driving arcade mode with 4 talons).

We are getting an error (see above) repeatedly in the driver station.

Thanks for any and all help.

Mark McLeod 06-02-2017 15:50

Re: Error 1026 On Labview - Nothing works...
 
In Begin you declare the same Talons multiple times.
I commented out all the Talons except for the four feeding Open 4 Motors.

Other than that, the code worked okay on my robot.

I don't get the FPGA_SystemAsync error, so that might be a corrupted roboRIO format.
You might try reformatting the roboRIO to see if that helps with the error.

P.S.
I forgot to mention that I used %V instead of Speed in Begin.vi to test with, since I didn't integrate encoders for feedback.

wrightty 06-02-2017 16:51

Re: Error 1026 On Labview - Nothing works...
 
Quote:

Originally Posted by Mark McLeod (Post 1641234)
In Begin you declare the same Talons multiple times.
I commented out all the Talons except for the four feeding Open 4 Motors.

Other than that, the code worked okay on my robot.

I don't get the FPGA_SystemAsync error, so that might be a corrupted roboRIO format.
You might try reformatting the roboRIO to see if that helps with the error.

Fantastic. Thanks for your help. I'll pass on the info to our programming group.
I appreciate the quick response.

Tyler

flemdogmillion 07-02-2017 09:17

Re: Error 1026 On Labview - Nothing works...
 
Are you using CAN Talon SR's? IF you are, you have to go into the RoboRIO web interface and set your device IDs for the controllers. Leave indexes 0 and 1 open for the PCM and PDP, respectively.

Mark McLeod 07-02-2017 10:41

Re: Error 1026 On Labview - Nothing works...
 
Quote:

Originally Posted by flemdogmillion (Post 1641525)
Leave indexes 0 and 1 open for the PCM and PDP, respectively.

The indexes are device type independent, so we can have a PDP 1 and a PCM 1 and a Talon SRX 1.
They don't conflict unless they are the same type of device.

flemdogmillion 07-02-2017 13:55

Re: Error 1026 On Labview - Nothing works...
 
Quote:

Originally Posted by Mark McLeod (Post 1641559)
The indexes are device type independent, so we can have a PDP 1 and a PCM 1 and a Talon SRX 1.
They don't conflict unless they are the same type of device.

Oh. My bad then. It's good to know that now.


All times are GMT -5. The time now is 02:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi