From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-03-2021 12:48 AM
Hi,
I am writing a transfer function in labview in the attached file.
However, it yields error: Type not supported in current target.
Could you tell me the solution?
Thanks for your help.
Solved! Go to Solution.
02-03-2021 12:56 AM - edited 02-03-2021 01:02 AM
Hi bpsf,
@bpsf wrote:
I am writing a transfer function in labview in the attached file.
However, it yields error: Type not supported in current target.
Could you tell me the solution?
Well, if you would tell us the kind of target you are trying to use - but that information detail is missing from your post…
I guess you should not use DBL values in a FPGA VI. (It's an educated guess…)
Is there a specific reason to multiply by "1"? Is there a specific reason to try that operation twice?
02-03-2021 01:48 AM
Thank you GerdW, for your reply.
Yes, I would like to use it in FPGA and timing loop.
There is no reason to multiply by 1 twice. These values are for being changed to other values.
Is there any way to avoid using DBL values or to convert it to FXP?
Thanks,
02-03-2021 02:08 AM
Hi bpsf,
@bpsf wrote:
Is there any way to avoid using DBL values or to convert it to FXP?
Yes, there's a way!
Configure the math operations to output FXP values!
@bpsf wrote:
I would like to use it in FPGA and timing loop.
You want to place the code inside a SCTL?
Then you might need to use the HighThroughput math functions…
02-03-2021 03:18 AM
even when I placed a converter, feedback node yields DBL and shows error.
I appreciate it if you could tell me the specific way.
Thanks,
02-03-2021 03:32 AM - edited 02-03-2021 03:33 AM
02-03-2021 04:18 AM
Thank you GerdW, for all your kindness.
The problem was representation of adder and multipliers.
Anyway, Thank you very much!
02-03-2021 05:12 AM
Hi bpsf,
@bpsf wrote:
The problem was representation of adder and multipliers.
Note: I used the ToFXP node to convert the "input" to the same FXP representation as "f1" and you copied this behaviour. This might not be the best solution as it could be reasonable to use different FXP settings for f1 and input…
Another note: so the marked solution is your copy of my example code?