AnsweredAssumed Answered

vrf 2DArrays with different lenghts

Question asked by VRFuser on Feb 19, 2008
Paco,

 

If the data files are not too large, maybe you could post them here as it will gives us a better indication of what you’re trying to achieve.  Also some screen captures of what you already have working.

 

Cheers,

Gary

 

  _____  

From: Lopez, Francisco (Paco TIJ-Tools Tech) [mailto:paco.lopez@hp.com]
Sent: Tuesday, 19 February 2008 6:48 PM
To: VRF
Subject: RE: [vrf] 2DArrays with different lenghts

 

Hi again,

 

 My original question was if there's an automatic way of doing it. I'm reading data from files that contain temperature data sampled at a constant period, but sometimes the lenght is different. I was trying to read the content of these files and use a Yplot (waveform) with the matrix input set to True, in order to display the data without having to 'prepare' the number of inputs. This could be really easy if I could put all the data in a 2D array (a collector does not work because they have different lenght). Using the Yplot reading directly the data from two files and using two inputs it works, so I need to find a way to use the matrix input, maybe filling the shorter arrays with 0es as Les pointed out.

 

Regards,

 

Paco

 

  _____  

From: les_hammer@att.net [mailto:les_hammer@att.net]
Sent: Monday, February 18, 2008 6:50 PM
To: Lopez, Francisco (Paco TIJ-Tools Tech); VRF
Subject: Re: [vrf] 2DArrays with different lenghts

 

 I wonder if there's any way to create an array 2d with let's say 10 arrays of real64 arrays, but with different lenghts and put them in a waveform display...Any clue???

Sure, but you need to decide what to do with the blank spots.

I'll asume that the longest array gets the full width of the display.

Do you want the shorter arrays to stretch out over the whole display?

  -- then use some type of data interpolation to expand the array.

Do you want the shorter arrays to be 0 at the end?

   -- then append 0's.

 

~~Les Hammer


---
You are currently subscribed to vrf as: gary.voltz@airservicesaustralia.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".


---
You are currently subscribed to vrf as: ming_meng@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".  

Outcomes