LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shift register data type

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

Download All
0 Kudos
Message 1 of 15
(6,018 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 15
(6,010 Views)

It doesn't help in this case. 

0 Kudos
Message 3 of 15
(6,000 Views)

@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>   ---'


0 Kudos
Message 4 of 15
(5,992 Views)

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. 

0 Kudos
Message 5 of 15
(5,969 Views)

I know most, if not all, FPGAs do not support the double data type, but just to clarify, does your FPGA support singles? 

0 Kudos
Message 6 of 15
(5,959 Views)

@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>   ---'


0 Kudos
Message 7 of 15
(5,958 Views)

I cannot use DBL data type at all in my vi, therefore I have to find another solution. 

0 Kudos
Message 8 of 15
(5,945 Views)

No, it also doesn't support singles.

0 Kudos
Message 9 of 15
(5,939 Views)

@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>   ---'


0 Kudos
Message 10 of 15
(5,932 Views)