Jump to content

cdaq 9135 change OS


bvrm

Recommended Posts

Goodmorning,

 

Currently I'm using a cDAQ 9135 shipped with WES7 as OS for a acquisition application. My code is based on the continous acquistion template (event loop, message loop, acquition loop, logging loop and visualization loop) based on data sharing with queues.

 

Now I wanted to extend this code with daqmx writing blocks as I need to add a closed loop control. However I noticed that my acquisition loop is running too slow for a 'realtime' closed loop control. +/- 20 ms/iteration is the best i can get with a timed loop IF disable the visualization loop. Otherwise it goes to 200 ms/iteration.

 

To have a closed loop control I read it would be better to have a real time target. Therefore I would need to change the OS of my cDAQ from WES7 to Linux Labview RT. As I understood, then the acquiring/control and logging would run on the RT target and the visualization on a host computer connected by ethernet or usb to the cDAQ.

 

Now the questions:

- Will I get better performance by going to the Labview RT solution?

- Is it uberhaupt possible to change from OS on my cdaq? and if yes, how to do this?

 

Thank you in advance.

 

Kind regards,

bvrm

Link to comment

You will definitely have a more deterministic loop rate with a real-time solution, so long as your deterministic loop is coded to avoid jitter.

The cDAQ 9135 does support NI Linux Real-Time, however I've never switched the OS from Windows to Linux personally.

However, the source for NI Linux RT is open and available for download, so I would imagine that you could build or get an image of that distribution and install it as you would install Linux on any other machine.

Link to the NI Linux source:

https://github.com/ni/nilrt

Some good info in this FAQ:

https://decibel.ni.com/content/docs/DOC-35053

Edited by bjones
Link to comment

You will definitely have a more deterministic loop rate with a real-time solution, so long as your deterministic loop is coded to avoid jitter.

The cDAQ 9135 does support NI Linux Real-Time, however I've never switched the OS from Windows to Linux personally.

However, the source for NI Linux RT is open and available for download, so I would imagine that you could build or get an image of that distribution and install it as you would install Linux on any other machine.

Link to the NI Linux source:

https://github.com/ni/nilrt

Some good info in this FAQ:

https://decibel.ni.com/content/docs/DOC-35053

Has no-one created a vmware image yet?

Building Linux distros is like unraveling a jumper with chopsticks to make a tank-top.

Link to comment
 

Has no-one created a vmware image yet?

Building Linux distros is like unraveling a jumper with chopsticks to make a tank-top.

 

 

If you have one with NI Linux RT just pull the drive and image it. I suspect it would just boot as it looks like a standard x86 machine.

Edited by CopperD
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.