Showing results for 
Search instead for 
Did you mean: 

collecting signals removes names thru shift registers

I have noticed a nuance when attempting to add signals onto a mixed signal graph while using a shift register collection syste,.  Attached is a VI that when run once generates 5 sine waves and puts them on a mixed sig graph.  When you run it a second time, since the shift register was not initialized, the graph creates new names for the next 5 sigs added to the graph. Is there a better way to do this?

0 Kudos
Message 1 of 5

Why don't you want to use initialized shift register?

0 Kudos
Message 2 of 5
I id, The mixed signal graph can display both analog and digital data, and it accepts all data types accepted by waveform graphs, XY graphs, and digital waveform graphs. As you only use analog data, you should use either waveform chart if your inside of your loop (fixed history length during execution), or a waveform graph if your outside (the history length is adapted to the input data). You should probably work with double or waveform data instead of the dynamic ones. A good idea should be to initialize your shift register as between each executions, it keep the last data buffered. Good Luck.
Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 3 of 5

Thanks but working with waveform data and graphs does not fix this issue. Since I am merely trying to give the user a means to add more waveforms to an existing graph from more files to be selected, I do not initialize the shift register.  Clearing Mixed signal graphs  have many SRs writen on them due to that problem which may be related to this one somehow.

0 Kudos
Message 4 of 5

Hi Id,


 I made a VI very similar to the one you posted that is correctly ( or at least as expected) changing the name of each plot. I believe that when you use high level VIs or functions you have less programming flexibility.

Hope this helps.

0 Kudos
Message 5 of 5