Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

ni 9214

Hi guys I'm a beginner at LabView, I've made a loop that reads temperature from a thermocouple and when it exceeds a certain value it aborts. When I run it in highlight execution it's fine, when I run it normally the temperature reads 150 and kills the program after 1 second I've attached the vi if anyone is interested.

 

Thanks.

0 Kudos
Message 1 of 8
(5,307 Views)

It seems, when I run the fpga vi then the host vi it, then it works? But what If I want this to be a standalone system?

 

Why is it doing this?!

0 Kudos
Message 2 of 8
(5,301 Views)

If you really want help, attach your entire project.


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 3 of 8
(5,293 Views)

Sorry about that.

 

I've now attached the project

0 Kudos
Message 4 of 8
(5,290 Views)

Why isn't your host VI on the cRIO?  That is where it belongs.

 

And where is your FPGA code?  When I say your "entire project", I mean the project file, all VIs, all controls, etc.  It is easiest to just zip up your project directly and post that.


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 5 of 8
(5,284 Views)

Once again sorry, I've put the project in a zip file now. As for not putting the host vi on the on the crio I didn't think I had to as I was just testing?

 

Thanks

0 Kudos
Message 6 of 8
(5,265 Views)

@OA1 wrote:

As for not putting the host vi on the on the crio I didn't think I had to as I was just testing?


Your PC does not have access to that FPGA.  The VI running on the cRIO does.  So the host VI has to be on the cRIO.

 

What times are you using for "High Pulse" and "Low Pulse"?  The 9214 can only sample at 68S/s.


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 8
(5,260 Views)

Hi 

0 Kudos
Message 8 of 8
(5,253 Views)