You can also initialize it with the Allocate Array object, under
Data>Allocate Array; this object outputs an array of up to 10 dims with
spec'd values which you then set your array to with a formula box or Set
Variable.
Reiner
-----Original Message-----
From: Rodriguez, Patrick [mailto:RODRIGUP@tycoelectronics.com]
Sent: Thursday, August 15, 2002 6:00 PM
To: VEE vrf
Subject: [vrf] Array2D
Two dimensions array problem:
1. How do I initialize it using Set Variable after being Declared?.
2. How can I feed a 2D array to a Record?
3. How can I extract the same 2D array from a Record and a DataSet?
Thank you in advance.
Patrick Rodriguez
M/A-COM
---
You are currently subscribed to vrf as: reiner.schlieker@siemens.com
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Data>Allocate Array; this object outputs an array of up to 10 dims with
spec'd values which you then set your array to with a formula box or Set
Variable.
Reiner
-----Original Message-----
From: Rodriguez, Patrick [mailto:RODRIGUP@tycoelectronics.com]
Sent: Thursday, August 15, 2002 6:00 PM
To: VEE vrf
Subject: [vrf] Array2D
Two dimensions array problem:
1. How do I initialize it using Set Variable after being Declared?.
2. How can I feed a 2D array to a Record?
3. How can I extract the same 2D array from a Record and a DataSet?
Thank you in advance.
Patrick Rodriguez
M/A-COM
---
You are currently subscribed to vrf as: reiner.schlieker@siemens.com
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
> 1. How do I initialize it
> using Set Variable after
> being Declared?.
1. I wouldn't. I'd use a formual box like so:
Assume declared name 'ary', global, Int32, num dims = 2:
ary = [[1, 2, 3], [4, 5, 6]];
> 2. How can I feed a 2D array
> to a Record?
2. Define one member of said record to contain an array of two dimensions.
Beware of collections of said record though. All arrays will have to be the
same shape *and* size. However, maybe the best way to do this is simply not
to. I just learned a lot about write transactions "TO CONTAINER" from folks
on the list. Check that option out. It's WAY powerful.
> 3. How can I extract the same
> 2D array from a Record and
> a DataSet?
rec.ary (or even rec.ary[0,2] I think will work for a particular element).
Same with dataset - just write & read as normal record.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".