LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot array

Hello,
 
Is there a way to plot an array of 255 values.. The values 1,3,5,7,9 etc. are value's for the amplitude and the values 2,4,6,8 etc are values for the time... (x-axis)
0 Kudos
Message 1 of 5
(3,146 Views)
Hi marten,

what about using 'decimate array' to separate your x- and y-data?

Message Edited by GerdW on 05-25-2007 03:08 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,139 Views)

Thanks for the fast reply,

It works ok! Smiley Happy Thank you 

0 Kudos
Message 3 of 5
(3,134 Views)
Is there also a way to plot:
 
x - value ; 1,4,7, 9, 12,15 (index of array)
y-value (bit 7-15)  ; 2,5,8,10,13,16
y-value (bit 0-7)    ; 3,6,9,11,14,17
 
The y value must been combined....
0 Kudos
Message 4 of 5
(3,068 Views)
Hi marten,

have you read the manual - or atleast the context help? Please do so!

I took U16 datatype as your y-data only (seem to) have 16 bits of information - change as needed. Also the filtering (Q/R and AND-operation) depend on datatype!

The 'decimate array' is a nice way to get the single values from your MUX array - but it is of limited help when your requirements change that often. Make your own subvi to DeMUX your data! (This will be a good exercise to learn LabView Smiley Happy)

Message Edited by GerdW on 05-29-2007 09:47 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(3,064 Views)