|
|||||||||||||
01-13-2010 09:26 PM - edited 01-13-2010 09:27 PM
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
01-14-2010 03:50 AM
01-14-2010 03:51 AM
01-14-2010 09:24 AM - edited 01-14-2010 09:28 AM
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
01-14-2010 09:26 AM - edited 01-14-2010 09:27 AM
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
01-14-2010 06:24 PM
Thanks for the link Ryan, that looks great!
I am checking it out now.
05-08-2010 03:06 PM
Can someone help me to define an architecture to a datalogger with special features? More details are available on this post.
My regards,
Vinicius
06-26-2012 07:39 PM
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.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page