I created a float variable. And requested an "Input", on an UNO, for AN1. Tried it on FC V9 and V10.
When I assign the input to the Float variable, the error message is
Can not convert to type " .
Any suggestions? I have included the FV V9 Program.
Error in FC 10 when requesting an input
-
- Posts: 14
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 06, 2024 4:41 pm
- Has thanked: 1 time
Error in FC 10 when requesting an input
- Attachments
-
- FC type variable error.fcfx
- (6.28 KiB) Downloaded 28 times
-
- Posts: 14
- Joined: Fri Dec 06, 2024 4:41 pm
- Has thanked: 1 time
Re: Error in FC 10 when requesting an input
I think I see now. I can not create a float variable. Ir should be an Int variable
-
- Matrix Staff
- Posts: 1956
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 626 times
- Been thanked: 657 times
Re: Error in FC 10 when requesting an input
Hello.
Cannot convert to tyoe message, just states it is the wrong type of variable you are trying to assign.
For single pin inputs, you can use bool, byte, int, unint long, ulong.
The smaller the variable type you can get away with then the less memory used and the faster the calculations will be etc.
I have moved from Bugs section as this is not a bug.
Cannot convert to tyoe message, just states it is the wrong type of variable you are trying to assign.
For single pin inputs, you can use bool, byte, int, unint long, ulong.
The smaller the variable type you can get away with then the less memory used and the faster the calculations will be etc.
I have moved from Bugs section as this is not a bug.
Martin