01-14-2016 08:35 AM
Hi All,
I am an experenced LabVIEW developer but am new to Linux RT and Linux in general. I am trying to devlop an application on a NI-9031 that will use the embedded UI. My application will need to run without any kind of host connected to it but my user needs to enter some simple information such the serial number of the UUT. Reading the manual of the 9033 on page 26 it indicates this should be possible. However I can't seem to make it work and can't really find much on how to set it up. The closest thing I could find was this totorial for the myRIO and it did not work. I also tried using a key down event in the event strucutre without any luck.
Has anyone been able to make this work? Maybe there is some type of driver I need to install? If it matters I am using a generic HP keyboard I had in my desk and have also tired a Microsoft Ergonomic Keyboard 4000.
Thanks for any help.
Lukin
01-15-2016 01:14 AM
Have you enabled the embedded UI on the target (done in MAX), and tried running your application deployed on the cRIO? From what I recall any inputs won't work if you're running the VI from the LabVIEW development environment (the Remotely Controlled watermark is in the corner).
When you plug a display into the cRIO to view the embedded UI, can you open up a terminal and type any text at all?
This embedded UI example may prove useful in testing - https://decibel.ni.com/content/docs/DOC-36546
01-15-2016 08:03 AM - edited 01-15-2016 08:06 AM
Perhaps this is my problem. The embeded UI is enabled but I have not been able to use it. So far I have just ran code from the development enviroment. The cRIO is on loan from NI and we did not have an active mini-displayport converter. Hopefully it will be here soon. How do key presses show up? Will they trigger a key down event?
Thanks,
01-15-2016 11:51 AM
Ok well I figued out my own problem with out the adapter. I wrote a simple VI that based on a key down event would change the state USER LED. When running from the devlopment enviroment the event registers when I hit a key on my windows computers keyboard. If I disconect from the controler but leave the VI running on the cRIO I am able to change the state of the LED by using the keyboard attached to the cRIO. So it apears that the keybaord will only work when not connected through the devlopment enviroment but that no special configuration is need to enable the keyboard.
Thanks,