Real-Time and Control Applications

Showing results for 
Search instead for 
Did you mean: 
Reply

CompactRIO Embedded Datalogger Reference Design

Re: CompactRIO Embedded Datalogger Reference Design

[ Edited ]

Hi Ryan

 

We use the cRED-IV a lot and its a great architecture to start working from - thanks!  

Regarding your last comment about fixed-point data type on the FPGA:

This is preferred to performing a calibration however, one thing we have found is that, if you are using a wide range of modules, you are forced to coerce to a single type of fixed point representation per DMA.

 

Given that if you had to move them through the single DMA (e.g. the one reserved for high speed) is there a way to avoid this?

One thought is to typecast each fxp type to int32 then using the channel manager, convert back again to the original fxp then double/single to log.

Would this work? 

 

Your comments on this are appreciated.

 

Cheers

 

JG 

 

 

Message Edited by jg-code on 01-13-2010 09:27 PM
Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 11 of 18 (4,708 Views)
Reply
0 Kudos

Re: CompactRIO Embedded Datalogger Reference Design

oK, Thank you very much. There are still a lot I have to learn... But I will try!
BoF
0 Kudos
Message 12 of 18 (4,702 Views)
Reply
0 Kudos
Highlighted

Re: CompactRIO Embedded Datalogger Reference Design

... by the way, are there new versions of the datalogger?
BoF
0 Kudos
Message 13 of 18 (4,702 Views)
Reply
0 Kudos

Re: CompactRIO Embedded Datalogger Reference Design

[ Edited ]

fboteroh, 

 

Are you logging waveforms or single point (slow-speed) data?  If you're logging waveforms, this is a really useful design:

http://zone.ni.com/devzone/cda/epd/p/id/6206

 

If you're logging single point, and using LabVIEW 8.6 or 2009 you can use the Scan Engine, which makes life a lot easier because you don't even have to write an FPGA personality.

 

If you are logging both then I think the In-Vehicle datalogger design is probably the best bet even though it's a bit dated.

 

Regards,

Ryan K.

NI Systems Engineering

Message Edited by ryank on 01-14-2010 09:28 AM
0 Kudos
Message 14 of 18 (4,692 Views)
Reply
0 Kudos

Re: CompactRIO Embedded Datalogger Reference Design

[ Edited ]

jg-code,

 

Glad you find the architecture useful. 

 

The method you suggest works fine, although it can be kind of painful to reassociate each piece of data with its apropriate representation.  If you're handling different pieces of data in different ways anyhow then it's not much additional work, but if you want to handle all of the data in the same way then you could check this out:

http://zone.ni.com/devzone/cda/tut/p/id/9221

One of my coworkers put that together, and I think it's probably the most elegant solution to the problem.

 

Regards,

Ryan K.

NI Systems Engineer

Message Edited by ryank on 01-14-2010 09:27 AM
Message 15 of 18 (4,691 Views)

Re: CompactRIO Embedded Datalogger Reference Design

Thanks for the link Ryan, that looks great!

I am checking it out now.

 

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 16 of 18 (4,677 Views)
Reply
0 Kudos

Re: CompactRIO Embedded Datalogger Reference Design

Can someone help me to define an architecture to a datalogger with special features? More details are available on this post.

 

 

My regards, 

Vinicius 

0 Kudos
Message 17 of 18 (4,369 Views)
Reply
0 Kudos

Re: CompactRIO Embedded Datalogger Reference Design

Hi,

 

We have 10 CompacRIO 9012 not being used properly, I just want use them data looger + same simple PID control. Will this design can be use to this version of hardware ? It looks like the configuration not allow me to select this version of CompactRio.

0 Kudos
Message 18 of 18 (2,975 Views)
Reply
0 Kudos