02-11-2016 03:51 AM
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.
02-11-2016 06:25 AM
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?!
02-11-2016 07:28 AM
If you really want help, attach your entire project.
02-11-2016 08:32 AM
Sorry about that.
I've now attached the project
02-11-2016 10:07 AM
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.
02-12-2016 04:59 AM
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
02-12-2016 05:20 AM
@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.
02-12-2016 05:54 AM
Hi Crossrulz, thank you for that information. I'm using 32 ticks for both pulses.