Thread: [vrf] Truncation of data!!!!


Permlink Replies: 3 - Pages: 1 - Last Post: Sep 26, 2006 6:52 PM Last Post By: VRF user
monty1082

Posts: 5
Registered: 11/11/08
[vrf] Truncation of data!!!!
Posted: Sep 26, 2006 6:52 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
<div>Hello Everyone,</div>
<div> </div>
<div>I am getting my data from the Rohde-Schwarz FSQ-K26 with K-92 WiMax option. I am getting the Tx power fron the instrument. This value has 10-15 digits after the decimal points. I read the data and store it in the variable and send the data to .txt file. Is there any way I can truncate the data to only two decimal places?
</div>
<div> </div>
<div>Thank you</div>
<div> </div>
<div>Monty</div>

---
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/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] Truncation of data!!!!
Posted: Sep 27, 2006 6:52 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
Hello Everyone,
 
I am getting my data from the Rohde-Schwarz FSQ-K26 with K-92 WiMax option. I am getting the Tx power fron the instrument. This value has 10-15 digits after the decimal points. I read the data and store it in the variable and send the data to .txt file. Is there any way I can truncate the data to only two decimal places?
 
Thank you
 
Monty
--- 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/".
papineni_vinod

Posts: 89
Registered: 11/11/08
[vrf] Truncation of data!!!!
Posted: Sep 27, 2006 7:11 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Monty,</DIV><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">In the To File object transaction, instead of the "Default Format", select "Real Format", change "Standard" to "Fixed" and set the "Num of Fract Digits".</DIV><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Vinod</DIV><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: monty a |monty1082@gmail.com><BR>To: VRF |vrf@agilent.com><BR>Sent: Wednesday, September 27, 2006 8:52:15 PM<BR>Subject: vrf Truncation of data!!!!<BR><BR><DIV>Hello Everyone,</DIV><DIV> </DIV><DIV>I am getting my data from the Rohde-Schwarz FSQ-K26 with K-92 WiMax option. I am getting the Tx power fron the instrument. This value has 10-15 digits after the decimal points. I read the data and store it in the variable and send the data to .txt file. Is there any way I can truncate the data to only two decimal places? </DIV><DIV> </DIV><DIV>Thank you</DIV><DIV> </DIV><DIV>Monty</DIV></DIV></div><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.<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<BR>"owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></html>
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] Truncation of data!!!!
Posted: Sep 27, 2006 7:12 AM
Click to report abuse...   Click to reply to this thread Reply
Monty,
 
In the To File object transaction, instead of the "Default Format", select "Real Format", change "Standard" to "Fixed" and set the "Num of Fract Digits".
 
Vinod
 
----- Original Message ----
From: monty a <monty1082@gmail.com>
To: VRF <vrf@agilent.com>
Sent: Wednesday, September 27, 2006 8:52:15 PM
Subject: vrf Truncation of data!!!!


Hello Everyone,
 
I am getting my data from the Rohde-Schwarz FSQ-K26 with K-92 WiMax option. I am getting the Tx power fron the instrument. This value has 10-15 digits after the decimal points. I read the data and store it in the variable and send the data to .txt file. Is there any way I can truncate the data to only two decimal places?
 
Thank you
 
Monty

---

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/".

Point your RSS reader here for a feed of the latest messages in all forums