Shawn & Reiner,
Thank you very much for your responses. You showed me two ways to do it. I
will use the .Net getProcesses method.
I do have a followup question for shawn.
After the code worked in VB.Net I tried to port it to VEE. In doing so I
originally treated the output of process.getprocess as an array and followed
it with a loop to get each element of the array out (A[n] in a loop. I did
this because I recently upgraded to 7.5 and was not aware of the addition of
the For Each function. After receiving an error I checked and I saw that it
listed it as a scalar Object. So it appears that the only way to retrieve
data from a collection in VEE is by using the FOR EACH function. Is that
correct? If it is. How was data retrieved from a collection in prior
versions like 7.0 that had the capability to create the same collection with
.NET?
Thanks
Kevin
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Thursday, February 23, 2006 8:17 AM
To: VRF
Subject: RE: [vrf] problem using .Net system.diagonstics.process
getprocesses
> Any ideas would be welcome
Yeah it's working. Note your return is a Process[] - aka process array. You
have to then iterate that array to get individual processes, just like in
the VB code. For Each and all.
-SHAWN-
---
You are currently subscribed to vrf as: KSalter@kdsengineering.com
To subscribe send a blank email request to "join-vrf@lists.it.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@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 "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email request to "join-vrf@lists.it.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@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 "www.oswegosw.com/vrf_archive/".
Thank you very much for your responses. You showed me two ways to do it. I
will use the .Net getProcesses method.
I do have a followup question for shawn.
After the code worked in VB.Net I tried to port it to VEE. In doing so I
originally treated the output of process.getprocess as an array and followed
it with a loop to get each element of the array out (A[n] in a loop. I did
this because I recently upgraded to 7.5 and was not aware of the addition of
the For Each function. After receiving an error I checked and I saw that it
listed it as a scalar Object. So it appears that the only way to retrieve
data from a collection in VEE is by using the FOR EACH function. Is that
correct? If it is. How was data retrieved from a collection in prior
versions like 7.0 that had the capability to create the same collection with
.NET?
Thanks
Kevin
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Thursday, February 23, 2006 8:17 AM
To: VRF
Subject: RE: [vrf] problem using .Net system.diagonstics.process
getprocesses
> Any ideas would be welcome
Yeah it's working. Note your return is a Process[] - aka process array. You
have to then iterate that array to get individual processes, just like in
the VB code. For Each and all.
-SHAWN-
---
You are currently subscribed to vrf as: KSalter@kdsengineering.com
To subscribe send a blank email request to "join-vrf@lists.it.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@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 "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email request to "join-vrf@lists.it.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@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 "www.oswegosw.com/vrf_archive/".
How I do to trace a couple X and Y data (with the same X data values)sequential (Succeeding or following in time order)?, simulate data fromexternal equipment. I explain, print one trace and after print anothertrace in the same "X vs Y Print", with two pen color.
Best Regard,
Carlos Jimenez
<div class="moz-signature">--
<img src="cid:part1.08020703.04010807@ivic.ve" border="0"></div><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email request to "join-vrf@lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></html>