01-30-2019 01:36 PM
Hi guys,
I'm trying to begin with a little project acquiring the frequencies distribution of a signal. And a simple VI is shown below. The problem is that the input is void. The crio controller and module is connected correctly(i can see it on NNI Max) and I connected the device successfully(project explorer). What can be the problem?
I'm using Labview2018 32-bit.
Solved! Go to Solution.
01-30-2019 02:05 PM
Hi ZeSuli,
your VI is set to run on your host computer: do you see that "My Computer" in the lower left corner of the block diagram?
And your host computer CANNOT access the FPGA IO node…
I strongly recommend to take the tutorials for cRIO and FPGA programming.
Also examine the example projects coming with LabVIEW.
For each cRIO module you will also find example VIs and projects!
01-30-2019 03:15 PM
Agree with response, What you should see in the Project is the RT hardware 'Tree' and under it the Chassis, FPGA and modules, From the modules, you'll see the I/O.
If it is shown there, then it is a valid I/O to place in your code.
Regards
Jack Hamilton
01-31-2019 03:07 AM
Hi,
Thank you for your answer. I don't know if this is what you mean but I actually have the Input port showed in the explorer. Did I do anything wrong? I appreciate the answer saying that I'd better go through the tutorial, which is absolutely right. But I need the results for the time being.
01-31-2019 03:37 AM - edited 01-31-2019 03:38 AM
Hi ZeSuli,
now the VI is in the right subtree of the project, but in your previous image it is clearly executed in the "My computer" context.
How do you run that VI?
Have you even compiled the VI for your FPGA? (There is no BuildSpec apparently!)
01-31-2019 04:29 AM
Hi GerdW,
Thank you for your reply. I don't quiet understand what you mean. The VI is currently not runnable. And I didn't do anything to the project. I'm currently using crio 9056 and can't find any examples(maybe it's too new). I went through the "getting-started" section of fpga on ni.com but there's no such problem that the input is void(when he drag&drop the input there is a sin-wave symbol in the left corner of the box while I have nothing as you can see). Do you have any recommedations?
Best Regards
01-31-2019 05:31 AM - edited 01-31-2019 05:37 AM
Hi ZeSuli,
there is an example specifically for your NI9244 module. Have you tried that?
(I just searched for "9244" in the example finder!)
there is a sin-wave symbol in the left corner of the box while I have nothing as you can see
Because that VI is called in the wrong context: you need to open it from its FPGA context…
When you open the VI it has to tell you this:
I underlined that "FPGA Target": this is the context the VI is set to run in! To have access to FPGA IO you need to run the VI in the FPGA! From "My Computer" it will have no access to FPGA IO…