01-22-2017 04:00 AM
Hello Everyone,
I'm trying to interface laptop's keyboard with myrio by using labview. When i'm trying in basic VI it is working perfectly but when i'm trying same code in myrio VI it is showing error that 'choose correct function name in CALL FUNCTION NODE'. There are 3 .vi i have choosen in my code
initialize keyboard.vi, Aquire input data.vi and close input device.vi. all of three contains "CALL FUNCTION NODE" in them. so my question is in each "CALL FUNCTION NODE" what settings should be keep?
06-15-2017 06:26 PM
Hi,
It would be better if you posted a snippet of your code, so that to comprehend the situation you are facing. Also you won't be able to get inputs from the Laptop Keyboard to myRIO directly, because myRIO has a different set of RT processor and FPGA which completely makes it a different computing device.
Since i didn't get a very clear picture about your dilemma in this case, i can only suggest to put the VI under your Computer Profile in the Project File, and then in your keyboard VI, after acquisition whatever values you are getting, transfer those values alone to the myRIO with Shared Variables to a new VI under the myRIO profile in the project explorer. In this way you can then control the actuation you wanted to control with the myRIO.
Let me know, if this helped.
PS: you cannot use local or global variables in this case, if you don't know how to use Shared Variables, checkout a few YouTube videos.