VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Device on Linux cRIO (9063)

I'm pretty new to VeriStand and I'm getting started with Custom Devices. I'm trying to modify my custom device so that it will run on a cRIO 9063, ie Linux Arm32. I'm trying to find some documenation on how to do this, I've seen https://decibel.ni.com/content/docs/DOC-47564 and https://decibel.ni.com/content/message/129287?tstart=0 but I haven't got it working.

Is there anything else out there that I'm missing please? I figured there would be some official documentation as it's a supported feature but I can't find it.

Thanks,

Martin

0 Kudos
Message 1 of 9
(5,198 Views)

Hi Martin,

look at the xml f.e. from this custom device:

https://github.com/NIVeriStandAdd-Ons/Engine-Simulation-Toolkit-Custom-Device 

It has section to support  Linux.

~Jiri

CLA, CTA, CLED

0 Kudos
Message 2 of 9
(5,192 Views)
Which custom device are you working with? I went through this recently when trying you get the Lambda power supply custom device working for Linux x64. The trick is getting all of the paths correct in the builds and xml.
Aaron Smith
0 Kudos
Message 3 of 9
(5,179 Views)

I've just created a basic serial loopback custom device which runs nicely on a Windows target. The next step is to get it to run on the cRIO, which is proving more tricky.

0 Kudos
Message 4 of 9
(5,174 Views)
That's funny, because I am currently having trouble getting that Lambda custom device to work on my 9038 with a 9870 serial module. I got the custom device to build, but now it will only work with the onboard serial port and not the module ports. Are you getting deployment errors at this point or will it deploy and errors during operation?
Aaron Smith
0 Kudos
Message 5 of 9
(5,171 Views)

I haven't got that far, I'm yet to be able to built it for the linux target. I was then going to just use the built in serial port on the 9063 for the moment.

0 Kudos
Message 6 of 9
(5,169 Views)

Mr221 you should have chassis in Scan Mode mode or of you have FPGA, than you need to compile support for the module.

Could you share you modification of Lambda? Maybe it would be more simple exaple for Martin.

CLA, CTA, CLED

0 Kudos
Message 7 of 9
(5,166 Views)

Here is the project with the device modified for Linux_x64.  You should be able to replace x64 with ARM and duplicate the same technique.  I am going to give it a shot this morning and see how that goes, but I dont have a Linux ARM cRIO to test with. 

Aaron Smith
0 Kudos
Message 8 of 9
(5,160 Views)

Great, thank you I'll take a look now.

0 Kudos
Message 9 of 9
(5,157 Views)