11-22-2016 12:39 PM
For cRIO modules you can select between raw and calibrated IO by right clicking on the module. I have an sbRIO 9627 but I don't see any modules that can be configured. Can I get the data as raw?
Solved! Go to Solution.
11-28-2016 09:05 AM
Are you using an expansion chassis with some extra c-series modules? Which specific channel are you using and what kind of data is being displayed from that channel?
Regards!
11-28-2016 12:03 PM
sbRIOs don't have expansion chassis and I'm not using modules. I'm using the MIO port. AI0-15 AO0-3. The IO node on the FPGA appears as a fixed point integer from -10 to +10 volts. I want it to appear as the raw ADC counts. Maybe as an I16 from -32768—32765
11-29-2016 02:37 PM
There is no way to get raw data directly from the IO node on a sbRIO, you would have to programmatically convert it to binary.
FYI: the sbRIOs have an Ethernet port from which they could be using an Ethernet or EtherCAT expansion chassis with c-series modules
11-29-2016 02:50 PM - edited 11-29-2016 02:51 PM
Hey nanocyte,
What is the motivation to have raw data? Perhaps there is a different option to acheive whatever your end goal is.
The thread you linked in the original post is a 9263. The option to get that data as raw vs calibrated probably had to be separately implemented on the driver / IO Node side. This options existence varies by module.
11-29-2016 04:18 PM
Thank you for following up. My primary goal was to reduce FPGA resource usage. I don't need calibrated data and it might be more intutive to program with raw. Imagine something as simple as AO1=A01+1 to generate a ramp.
11-30-2016 09:21 AM
Ah, a good goal. Reducing the use of fixed point numbers is definitely an optimization. It looks like using raw data might not be a possible way to optimize this program. If you haven't already found it, the High Performance Dev Guide might be something for you. It's free, and a great resource. Other quick ways you can optimize are by reducing front panel objects, reducing the frequency you update those objects, and avoiding arrays on the front panel.
11-30-2016 02:52 PM
I made an idea on the exchange supporting the addition of this functionality