LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Undeploying vi

Hello,

 

I am completey new to LabVIEW, just starting to learn. So I guess I deployed some vi on the RT (cRIO 9067) and now everytime I turn the power on, the motor starts to run. I know it's very basic question but how can I remove this?  I tried to go to ftp:(ip address) but I couldn't see it there, and I can't find it in any project.

 

Thanks in advance!

 

 

0 Kudos
Message 1 of 6
(2,960 Views)

Through the project, you should be able to make the build set to not run at startup.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(2,936 Views)

Hey, thanks for the answer, but the problem is I'm not sure I did anything, I just started and I wanted to start with testing my limit switches with simple vi. And after deleted the whole project but this movement continued as long as the power was on. Then I formated cRIO in hope it will stop but it continued acting in the same way ever after the formatting. And it still is doing it. 

0 Kudos
Message 3 of 6
(2,903 Views)

Which C-Series module are you driving the motor with? Is it one of the servo drive modules or an analogue/digital output?

 

Are you using LabVIEW FPGA or the Scan Engine for controlling the motor?

 

You may need to check the power on state of the module and/or check if there is an FPGA VI set to run when loaded onto the device (separate to the RT executable deployed to the cRIO) - it could be the FPGA is driving the motor.

 

Does the motor control correctly / stop when you run some code to control it? (i.e. is it just running when it's in an uninitialised state after power up?)


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 6
(2,891 Views)

I'm using 9512 and scan engine. 
How do I check this? (Sorry, I'm absolute beginner) And shouldn't it be when I format it to remove everything from the cRIO? Since I just started yesterday, I still didn't try to run any code on it except interactive test panel and yes, when I push the button stop, it stops.
Thanks!

0 Kudos
Message 5 of 6
(2,881 Views)

My line of thought was that you may have some FPGA code running on the cRIO which was controlling the motor when it powered up. I don't know if that gets removed when you format the cRIO (which might just format the Real-Time portion of the RIO). I don't think that's the case but you can try this anyway:

 

Open a new project

Add your cRIO in FPGA mode

Right click on the FPGA Target item

Select RIO Device Setup...

Click the 'Erase Bitfile From Flash' button.

 

On some modules, you can change the power-on conditions so it might be worth looking in there to see if there are any options. Right click on the C-Series module in the project and look at the properties to see if there is anything about the Power-On state.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 6 of 6
(2,866 Views)