07-17-2008 07:06 AM
07-18-2008 04:38 PM
05-14-2011 11:28 AM
Hello!
Do you have a detailled picture, where I could see how to change these options. I am using LabVIEW 2010 and cRIO 9074 with the AO 9263.
"(...) You have the option of changing the values read by right clicking on the C series Module >> Properties >> Expand "Calibration Mode" >> select either"Raw" (integer 16) or "Calibrated" (Fixed Point) (...)"
My AO is "grey" (fixed point) and I cannot shift FIXED POINT data from the crio (host) to the FPGA. This is not possible. I am using DATA TRANSFER VIA INTERRUPTS and no NI-Scan Engine, no FIFO. So this is why I prefer working with INTEGER VALUES. In my hostVI the data to be written is DOUBLE or FIXED POINT, but I only can transfer data from cRIO to the FPGA using INTEGER VALUES. I want to calculate INTEGER VALUES from the DOUBLE VALUES to get the correct relationship.
It would be great if someone had an answer for me after this long time between my question and the last answer of this topic.
BYE
05-14-2011 10:33 PM - edited 05-14-2011 10:35 PM
@cs134 wrote:
Hello!
Do you have a detailled picture, where I could see how to change these options. I am using LabVIEW 2010 and cRIO 9074 with the AO 9263.
"(...) You have the option of changing the values read by right clicking on the C series Module >> Properties >> Expand "Calibration Mode" >> select either"Raw" (integer 16) or "Calibrated" (Fixed Point) (...)"
My AO is "grey" (fixed point) and I cannot shift FIXED POINT data from the crio (host) to the FPGA. This is not possible. I am using DATA TRANSFER VIA INTERRUPTS and no NI-Scan Engine, no FIFO. So this is why I prefer working with INTEGER VALUES. In my hostVI the data to be written is DOUBLE or FIXED POINT, but I only can transfer data from cRIO to the FPGA using INTEGER VALUES. I want to calculate INTEGER VALUES from the DOUBLE VALUES to get the correct relationship.
It would be great if someone had an answer for me after this long time between my question and the last answer of this topic.
BYE
In the project you shoudl see the 9201 module under your FPGA Target in the tree. Right click the module and choose properties, exactly as has been clearly described before.
If you want to convert integer to double data, first look to see what type of integer it is (I32, U32, I16, U16, etc). From my experience with FPGA it is a 16 bit integer. Then look at what the voltage range is you are reading. Let's assume it is 0-10 volts. In order to convert from integer to a voltage value, once you have the integer on the RT, divide the integer by 32,767 and multiply by 10. This scales it to volts.
05-15-2011 08:07 AM
Thanks a lot! Now it is working. I guess I was blind yesterday! 😉
Bye