08-25-2015 08:11 AM
Hi all!
I created vi called - shift reg, but whet I replace Add function with HTM Add function the shift register type doesn't change - vi called shift reg(2).
Could somebody explain me how this is done with shift regsters?
Cheers,
Evita
08-25-2015 08:26 AM
I recommend deleting all wires going to and from the shift register and then rewire them, starting with your initialization constant. LabVIEW does sometimes get confused about the data types on shift registers in situations like this.
08-25-2015 08:48 AM
It doesn't help in this case.
08-25-2015 08:55 AM - edited 08-25-2015 09:01 AM
@VUC wrote:
It doesn't help in this case.
Did you try manually changing the representation of that indicator too?
Rewiring with the correct datatypes should do the trick... Stick some conversion nodes in there as well if that doesn't work.
Edit: FYI, you can't have DBL on an FPGA anyways. I've had trouble in the past with the LV environment automatically outputting DBL. The key is just to put FXP conversion nodes when needed.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-25-2015 09:09 AM
Yes, I tried also that.
The reason why I need shift registers type change from DBL to FXD, is that FPGA doesn't support DBL.
08-25-2015 09:14 AM
I know most, if not all, FPGAs do not support the double data type, but just to clarify, does your FPGA support singles?
08-25-2015 09:14 AM - edited 08-25-2015 09:14 AM
@VUC wrote:
Yes, I tried also that.
The reason why I need shift registers type change from DBL to FXD, is that FPGA doesn't support DBL.
Right... so have you tried inserting a FXP conversion node, then?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-25-2015 09:20 AM
I cannot use DBL data type at all in my vi, therefore I have to find another solution.
08-25-2015 09:23 AM
No, it also doesn't support singles.
08-25-2015 09:24 AM - edited 08-25-2015 09:25 AM
@VUC wrote:
I cannot use DBL data type at all in my vi, therefore I have to find another solution.
No, it also doesn't support singles.
Right... so have you tried inserting a FXP conversion node, then?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'