LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO simple question?

 

I know with cRio the host code cannot run if the target code is not running. 

 If I deploy the target code to cRIO. What's the indicator that shows that the target code is running? In other words, How do I know if the target code is running on the cRIO? I've never used cRIO before.  I am completely new to it. I am trying to look at data on the computer screen. I am using an ethernet cable to connect the computer to the cRIO.

 

Or do you think  I have to run the target code and host code at the same time for me to see the data on the computer screen? Can someone please clarify things for me?

I am using cRIO 9035.

 

Thanks,

 

GRCK5000

0 Kudos
Message 1 of 9
(1,699 Views)

@GRCK5000 wrote:

 

I know with cRio the host code cannot run if the target code is not running. 

 If I deploy the target code to cRIO. What's the indicator that shows that the target code is running? In other words, How do I know if the target code is running on the cRIO? I've never used cRIO before.  I am completely new to it. I am trying to look at data on the computer screen. I am using an ethernet cable to connect the computer to the cRIO.

 

Or do you think  I have to run the target code and host code at the same time for me to see the data on the computer screen? Can someone please clarify things for me?

I am using cRIO 9035.

 

Thanks,

 

GRCK5000



@GRCK5000 wrote:

 

I know with cRio the host code cannot run if the target code is not running. Not true.  

 If I deploy the target code to cRIO. What's the indicator that shows that the target code is running? It depends on your Environment (Development or Run Time) and how you have coded the cRIO.  In other words, How do I know if the target code is running on the cRIO? I've never used cRIO before.  I am completely new to it. I am trying to look at data on the computer screen. I am using an ethernet cable to connect the computer to the cRIO.

 

Or do you think  I have to run the target code and host code at the same time for me to see the data on the computer screen? Can someone please clarify things for me?

I am using cRIO 9035.

 

Thanks,

 

GRCK5000


As you have been told on (almost) every Post you make to this Forum, attach your LabVIEW Code.  Since you are now talking about a LabVIEW Real-Time Project, you need to compress the Project Folder and attach the resulting .ZIP file.  Since you "have never used cRIO before" and are "completely new to it", please respect our time and effort and show us your work.

 

Note I'm assuming you are a legitimate "student" trying to learn LabVIEW, and not a scammer trying to get someone (like Altenbach) to do work for which you receive payment ...  Please don't prove me wrong.

  

Bob Schor

0 Kudos
Message 2 of 9
(1,695 Views)

These are simple questions. I did not ask someone to debug my code or write my code for me. When is the last time I came here to ask questions? It's been over a week and I didn't ask any questions.  It's not like I am here everyday asking questions.  All I did was asking questions. I cannot ask questions without you assuming I need someone to write code for me. Please if you think I am wasting your time by asking my stupid questions, please ignore my questions. It will save you time.  Anyway, call me whatever you want, it won't change who God has called me to be. Only God/Jesus-Christ  knows my destiny. He is my creator.  I am a child of God and that's what makes me proud. PERIOD!

God bless you!

0 Kudos
Message 3 of 9
(1,678 Views)

This is a Simple Request -- attach your LabVIEW Project (the .zip file that will expand to be the Project Folder) so we can understand what you are trying to do and explain to you (or "teach you") how to do it.

 

Bob Schor

0 Kudos
Message 4 of 9
(1,669 Views)

@GRCK5000 wrote:

These are simple questions.


Some are, some aren't. You can find an answer to your first question with just a quick Google search. Did you find this thread?

https://forums.ni.com/t5/LabVIEW/Checking-what-VI-s-are-running-on-a-cRIO/td-p/2065348

 

Your second question ("How do I look at data on a computer screen") is not simple. Well, to be clear, it's too simple. It's like saying "How do I know how fast something is?" It's too overly simple. There are a bunch of ways to get data from a cRIO to the host computer. Here's another page on it that came up quickly in Google: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OVoSAM

 

And please... calm down. No one is going to help you if you get angry. Just post your dang code. If you don't have code, find an example in the Example Finder. If you can't find example code there, explain that you did all of that and still couldn't even find a single place to start.

Message 5 of 9
(1,657 Views)

No problem.

0 Kudos
Message 6 of 9
(1,646 Views)

@GRCK5000 wrote:

 If I deploy the target code to cRIO. What's the indicator that shows that the target code is running?


What I like to do is use the User LED and the FPGA LED to blink or do some pattern when they are running.  In my current projects, I'm using the User LED to verify the host has a TCP connection to the cRIO via the Ethernet port.


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 7 of 9
(1,610 Views)

So basically, I was just playing with LabView examples. I have attached the two codes.

0 Kudos
Message 8 of 9
(1,518 Views)

I'm sure when you ran the Example Codes that NI provided (which is what you attached) that it worked as advertised.  So how did you adapt this "known solution" to your task?  I assume it didn't work, else why would you be posting?

 

As has happened with almost all of your posts, you have (again) failed to attach your code (which I assume either doesn't work, or hasn't been written).  Attach your VIs that demonstrate a problem (if you are working with a LabVIEW Project, compress the Project Folder and attach the resulting .ZIP file to give us access to all of the code you are trying to run, which would allow us to immediately "see and understand the problem").  We'd like to help you to learn LabVIEW -- help us by attaching your code.

 

Bob Schor

0 Kudos
Message 9 of 9
(1,480 Views)