> Is there a format function or
> some way I can do this?
Look at the To String object. It's the most flexible formatting doodad VEE has. You can define field widths, fill chars, left or right justification, number format.. on and on.
-SHAWN-
---
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 "www.oswegosw.com/vrf_archive/".
> some way I can do this?
Look at the To String object. It's the most flexible formatting doodad VEE has. You can define field widths, fill chars, left or right justification, number format.. on and on.
-SHAWN-
---
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 "www.oswegosw.com/vrf_archive/".
I don't believe that there is any difference between the data created
for RS-232 and RS-485, the difference seems to be hardware related
rather than in the actual data sent.
The answer to your question, however is that I am using VEE itself to
translate the data for sending. I just have a message in the form of
(header byte)(address byte)(command byte)(parameter byte)(end
byte)(check byte) and am pointing VEE to the RS-485 card I am using.
To Shawn Fessenden:
Thankyou for your insight! Do you have any ideas for dealing with driver
failure? And is it likely for them to fail in every instance of the
program running?
-----Original Message-----
From: Gregg Levine [mailto:gregg.drwho8@gmail.com]
Sent: Monday, February 20, 2006 13:33
To: VRF
Subject: Re: [vrf] Crash at Direct I/O
Hello!
Sean, one question comes to mind: What are you using to create the
RS485 data? The IOLIBs for VEE do create RS232 data, and they do of
course create GPIB/HPIB data, but that's all.
--
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude messages in English in the
Moscow subway."
You might also want to supply us with more information to add to this
issue.
On 2/20/06, Sean Watson <sean.watson@cmp.cpii.com> wrote:
> Hi Everyone,
>
> I have a VEE Pro program in which I query a moderately large
> number(10-20) of different units over an RS-485 communications line.
> Between these units there are two or three different I/O objects with
> varied settings (8-bit word, no parity; 7-bit word, no parity and
> 7-bit word, even parity). To send to these units, I create an array of
> all the units to send to and use a loop to cycle through all of them
repeatedly.
>
> What I am finding is that this will work for some amount of time,
> anywhere between 12 and 48 hours but will inevitably cause VEE to
> freeze at a Direct I/O object. After this freeze, VEE must be totally
> shut down and will lock up in the same way any other time a Direct I/O
> object is used until the computer has been restarted.
>
> I was wondering if anyone has encountered something similar in the
> past or have any ideas as to why this keeps happening. Any help is
> greatly appreciated.
> ---
> You are currently subscribed to vrf as: gregg.drwho8@gmail.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: sean.watson@cmp.cpii.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/".
I don't believe that there is any difference between the data created
for RS-232 and RS-485, the difference seems to be hardware related
rather than in the actual data sent.
The answer to your question, however is that I am using VEE itself to
translate the data for sending. I just have a message in the form of
(header byte)(address byte)(command byte)(parameter byte)(end
byte)(check byte) and am pointing VEE to the RS-485 card I am using.
To Shawn Fessenden:
Thankyou for your insight! Do you have any ideas for dealing with driver
failure? And is it likely for them to fail in every instance of the
program running?
-----Original Message-----
From: Gregg Levine [mailto:gregg.drwho8@gmail.com]
Sent: Monday, February 20, 2006 13:33
To: VRF
Subject: Re: [vrf] Crash at Direct I/O
Hello!
Sean, one question comes to mind: What are you using to create the
RS485 data? The IOLIBs for VEE do create RS232 data, and they do of
course create GPIB/HPIB data, but that's all.
--
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude messages in English in the
Moscow subway."
You might also want to supply us with more information to add to this
issue.
On 2/20/06, Sean Watson <sean.watson@cmp.cpii.com> wrote:
> Hi Everyone,
>
> I have a VEE Pro program in which I query a moderately large
> number(10-20) of different units over an RS-485 communications line.
> Between these units there are two or three different I/O objects with
> varied settings (8-bit word, no parity; 7-bit word, no parity and
> 7-bit word, even parity). To send to these units, I create an array of
> all the units to send to and use a loop to cycle through all of them
repeatedly.
>
> What I am finding is that this will work for some amount of time,
> anywhere between 12 and 48 hours but will inevitably cause VEE to
> freeze at a Direct I/O object. After this freeze, VEE must be totally
> shut down and will lock up in the same way any other time a Direct I/O
> object is used until the computer has been restarted.
>
> I was wondering if anyone has encountered something similar in the
> past or have any ideas as to why this keeps happening. Any help is
> greatly appreciated.
> ---
> You are currently subscribed to vrf as: gregg.drwho8@gmail.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: sean.watson@cmp.cpii.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/".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Is there a way to reverse the elements of a one dimentional array without looping?
/Søren
---
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/".
Is there a way to reverse the elements of a one dimentional array without looping?
/Søren
---
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/".
I am trying to send a whole bunch of data to a .txt file that will
later be read by another application. I need the numbers to be in a specific
format. For example, the first column of numbers should be like this:
150000000, or 000000150 (9 digits). The second column should be in
scientific format like this: 1.191791e+002. Is there a format function or
some way I can do this?
Thanks.
Brian Bauer
Test Engineer
Radio Frequency Systems
29 Research Parkway
Wallingford, CT 06492
P - 203-630-3311 X1760
F - 203-634-2179
---
You are currently subscribed to vrf as: rsb@soco.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 "www.oswegosw.com/vrf_archive/".
> some way I can do this?
Look at the To String object. It's the most flexible formatting doodad VEE
has. You can define field widths, fill chars, left or right justification,
number format.. on and on.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.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 "www.oswegosw.com/vrf_archive/".
I am trying to send a whole bunch of data to a .txt file that will later be read by another application. I need the numbers to be in a specific format. For example, the first column of numbers should be like this:
150000000, or 000000150 (9 digits). The second column should be in scientific format like this: 1.191791e+002. Is there a format function or some way I can do this?
Thanks.
Brian Bauer
Test Engineer
Radio Frequency Systems
29 Research Parkway
Wallingford, CT 06492
P - 203-630-3311 X1760
F - 203-634-2179
---
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 "www.oswegosw.com/vrf_archive/".