07-12-2024 10:12 AM - edited 07-12-2024 10:33 AM
Hello,
I'm trying to configure the scale of a measurement channel on a NI-9203 board installed on a cRIO-9056.
My input is a PT100 probe wired in 4-20 mA.
I'm configuring my board via Shared Variable Propertie, on the desired measurement channel.
And I get the following error (I admit it sounds counter-intuitive...):
However, I put the data in the right place and in the "right way". 0.02 A is well > 0.004 A ....
I can put 20 (instead of 0.02) and 4 (instead of 0.004), but of course, the value returned by the board is in A and not in mA. So it doesn't match.
Does anyone have an idea of my error?
Thanks in advance!
Solved! Go to Solution.
07-12-2024 11:26 AM
Hi,
Is there a reason you are using commas instead of periods for the scaling? That may be the issue.
-Jonathan
07-13-2024 10:06 AM
@jwright30 wrote:
Is there a reason you are using commas instead of periods for the scaling? That may be the issue.
The formatting of numeric is location specific and some countries use comma as decimal delimiter. This is a cosmetic issue, not related to the problem. (these are not string controls where anything goes 😄 ).
07-15-2024 04:55 AM
Indeed, commas work perfectly!
I did try it with dots, though, and it replaced them with commas.
Do you have any idea what could be causing this error?
07-16-2024 09:15 AM
Can you add your project file? I tried the same steps and did not get an error:
07-16-2024 09:56 AM
Wild guess: Under the hood everything is of course just bits from the digitizer and at one point behind the scenes your values are mapped to a raw integer. Maybe some wrapping can happen in edge cases.
07-22-2024 03:56 AM
Hello jwright30 and altenbach,
Here is the Project attached.
Indeed, when I look at the control panel of the card I see that you always several zeros after your numbers. I don't have anything.
altenbach, to be honest I didn't quite understand your comment... ^^
Thanks
07-22-2024 10:02 AM
I've created a new project with a cRIO-9056 and a 9203 board, and I'm getting the same error: I can't set the right values (0.02 and 0.004).
07-31-2024 10:09 AM - edited 07-31-2024 10:10 AM
Hi,
Did you figure this out? I wasn't able to open the project since I use Labview 2020 and the project is in a newer version. You'll have to save it for a later version for me to open it.
-Jonathan
08-12-2024 08:02 AM
Hello,
I still haven't found the solution. I've tried scaling manually in the code (only 2 measurements to adjust, so it's fine ...). But I'm still struggling to find it, knowing that I'm starting a new project today and the error is still there ... 🙁
You'll find the project in labview 2020 attached.
Thank you very much ...