Read out more than 1 number

Hi,
I am currently working on a code for some scales that reads out the weight and saves it on a .lvm file. The program works as it should except for saving it to the .lvm file. The program only saves the last number before I click stop, ex last number read is 6.03 kg, only data saved is 6.03 kg. What do I need to do to make the file save all the points of data rather than just saving the last data point? Attached is the part of the code for the read out, it is the string to write to text file vi.
Solved!
Go to Solution.
Attachments:
Scale_read_out.png ‏86 KB

Open the file before the loop and write data inside the loop using the refnum from the open. with each call, it will write at the current file position, which is right after the previous write operation. Close the file after the while loop, again using the same refnum wire (make sure it goes through all cases!).
If you wire a path to the write primitive, it will open the file and close it afterwards, thus it will not append but start fresh with each write (unless you also set the file position).
Did you look at the help? Read the part about the "file" input connector.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • HT1918 I'm having some issues trying to change my account billing---I have a new debit card and i need to punch in the new number but when i go to edit my info itunes says my 'session has timed out.' i've logged in and out more than once. what's the probl

    i'm having some issues trying to change my account billing---I have a new debit card and i need to punch in the new number but when i go to edit my info itunes says my 'session has timed out.' i've logged in and out more than once. what's the problem?

    Try to change the credit information from your iphone or other ios device. Tap on settings > store > tap Apple ID > tap view account > tap payment information > change

  • Does Garage Band 10.0.3 provide multi channel outs (more than 2)?

    Does garage band 10.0.3 support multi channel outs (more than 2)?  I have an external mixer which can handle up to 8 at a time.  I use the Focusrite Pro 26 and it does fine with GB, but I cannot find a way to get more than 2 channel stereo out of GB and send them to the Pro 26.
    Thanks for any help you can offer.

    Hang Time,
    Thanks for your reply to my question.  I read elsewhere that GB has only 2 outs, but I wanted to get a second opinion. 
    I think I will try Pro Tools/First.  PT/First It is a new Free version of PT that will be available soon; it has a lot of capability for a free version of PT.

  • When ASM reads my block, it will usually read much more than just the block I requested.

    When ASM reads my (8K) block, it will usually read much more than just the block I requested.
    4 questions :
    1) Am I right when I presume ASM will increase my request to 1 complete AU sized retrieval action done on the I/O subsystem? 
    2) Now what interests me is where does the rest of that I/O size sleep / reside ?
    3) Under what circumstances will those poor, initially unused and discarded KB's be revived and be reckognized for their true value. Will only certain actions, like a scan, cause the 'overhead' to be used ?
    kind regards, Niek

    Hi Aman,
    ASM does not do IOs .
    ASM only gives extent map to clients and clients take that pointers and do direct IO on that block.
    This is very much true statement and explains what will happen if data block is not available at buffer .
    That's why most of IO errors are getting printed on rdbms alertlog file ,rather ASM .Which inturn confirms my statement...
    ASM level DBWR ,LGWR are related to ASM level data processing .
    Keeping above things in mind ,it clarifies ASM does not hold any IOs /place on sleep.
    ASM at diskgroup level,always does IOs  as per au_size of  that diskgroup .
    Regards,
    Aritra

  • Key Out More Than One Colour

    Hi
    I wondred if there was any way of keying out more than one colour in FCP 5.
    Thanks...

    You can use the shift key to add a secondary color, and/or you can add another keyer to add more colors...
    Jerry

  • How to set permissions to allow reading on more than one device

    Our base permissions restrict reading to one device for 365 days with print 1 page and copy 1 page limits. For a new book we're adding to our online library, we want to allow people to read on more than one device, with a defined expiration date (January 15, 2012) and no printing and no copying. (The "more than one device" restriction is intended to allow users to transfer the book to iTunes and read it in Bluefire Reader.)
    How do we set permissions for this new book? In particular, what Read settings for devices do we use? No selection? The options in the ACS Console are not clear to us (i.e., the choice between A Single Device and Specific Device Type) and the manual doesn't offer an example. ... I'm guessing the selections should be none -- i.e., do not specify any device setting. Yes?
    Any help would be appreciated.
    Jim Lyons

    What I understand your current side restrictions to be (best if they are in a distribution right rather than base permission btw)
    <permissions>
    <display>
         <device />
         <duration>31536000</duration>
    <display>
    <print>
      <count initial="1"/>
    </print>
    <excerpt>
        <count initial="1"/>
    </excerpt>
    </permissions>
    What I think you want
    <permissions>
    <display>
         <device />
         <duration>31536000</duration>
    </display>
    <display>
         <deviceType>mobile</deviceType>
         <until>2012-01-15T00:00:00-8:00</until>
    </display>
    <display>
         <deviceType>tethered</deviceType>
         <until>2012-01-15T00:00:00-8:00</until>
    </display>
    <print>
      <count initial="1"/>
    </print>
    <excerpt>
        <count initial="1"/>
    </excerpt>
    </permissions>
    (these are looking at the raw permissions rather than the dialog in the admin console)
    Which I would describe as allow viewing on the device which fulfilled the content for one year, and in addition allow viewing on any mobile or tethered device (Bluefire Reader iPad app, android app, Nook Color, etc...) until Jan 15, 2010 at midnight PST.  One print and one copy is allowed (and can only be used on the device that fulfilled the content).

  • Broadband drops 'out' more than 'in' - OpenReach a...

    First, forgive me if a similar problem has been posted; I've had to resort to a 2G O2 dongle & speeds are so bad that I can't search the forum.  For weeks (months?) now I've had terrible broadband connectivity - sometimes going for days without a connection lasting for more than 2 or 3 seconds.  Sometimes we get up to 5 days of great connectivity with speeds of 1mbps and then (as now) days with no useable broadband at all.
    We've had our line changed from the exchange, we've had a new master socket installed, we've tried 3 different routers - and each time it's the same... it works fine while the engineer is here, and then it drops 24-48 hours after he leaves.  When we do get an appointment sod's law says that all is working fine.
    Symptoms are that the DSL light flashes nearly all the time and about once every 5 minutes it goes solid.  The internet light goes green momentarily, or sometimes goes red, or generally goes out again.  If we do get a connection then any attempt to use it sees it drop out almost immediately.
    The phone line works.
    Routers used - Netgear DG834 v4, but we've also tried a BT Voyager and an old 2wire BT Business router.  All are programmed with the correct usernames and passwords - as demonstrated by the fact that we sometimes get days of good connectivity.
    Anyone got any bright ideas?  All appreciated!
    Thanks.
    P.S. OpenReach due back here again Tuesday, by which time it will probably be on its 'good' cycle of working again...

    Thanks. Sure - stats are below. I've tried the quiet line test and all seems quiet:
    Router Status
    Account Name
    Firmware Version V5.01.01
    ADSL Port MAC Address 00:1E:2A:ED:9C:B3
    IP Address ---
    Network Type PPPoA
    IP Subnet Mask ---
    Gateway IP Address ---
    Domain Name Server ---
    LAN Port MAC Address 00:1E:2A:ED:9C:B2
    IP Address 192.168.0.1
    DHCP On
    IP Subnet Mask 255.255.255.0
    Modem ADSL Firmware Version A2pB023b.d20e
    Modem Status Negotiating
    DownStream Connection Speed 0 kbps
    UpStream Connection Speed 0 kbps
    VPI 0 VCI 38
    An example of the log:
    Fri, 2011-08-19 14:08:39 - CHAP authentication success Fri, 2011-08-19 14:10:39 - LCP down. Fri, 2011-08-19 14:10:52 - Initialize LCP. Fri, 2011-08-19 14:10:52 - LCP is allowed to come up. Fri, 2011-08-19 14:11:52 - Initialize LCP. Fri, 2011-08-19 14:11:52 - LCP is allowed to come up. Fri, 2011-08-19 14:12:10 - CHAP authentication success Fri, 2011-08-19 14:14:40 - LCP down. Fri, 2011-08-19 14:14:53 - Initialize LCP. Fri, 2011-08-19 14:14:53 - LCP is allowed to come up. Fri, 2011-08-19 14:14:57 - CHAP authentication success Fri, 2011-08-19 14:19:56 - LCP down. Fri, 2011-08-19 14:20:09 - Initialize LCP. Fri, 2011-08-19 14:20:09 - LCP is allowed to come up. Fri, 2011-08-19 14:21:10 - Initialize LCP. Fri, 2011-08-19 14:21:10 - LCP is allowed to come up. Fri, 2011-08-19 14:21:25 - CHAP authentication success Fri, 2011-08-19 14:25:35 - LCP down. Fri, 2011-08-19 14:25:48 - Initialize LCP. Fri, 2011-08-19 14:25:48 - LCP is allowed to come up. Fri, 2011-08-19 14:25:51 - CHAP authentication success Fri, 2011-08-19 14:28:59 - Initialize LCP. Fri, 2011-08-19 14:28:59 - LCP is allowed to come up. Fri, 2011-08-19 14:29:59 - Initialize LCP. Fri, 2011-08-19 14:29:59 - LCP is allowed to come up. Fri, 2011-08-19 14:30:27 - CHAP authentication success Fri, 2011-08-19 14:39:16 - LCP down.

  • Can a submit button carry out more than 1 action ?

    I want to give show feed back after a survey question but I want to do this whilst the answer that the user has given is still on the page.
    I have assigned a show comand to the submit button which makes a text box visable however the play head carries on and the slide progresses to the next one.  Is there a way to pause the time line and advance on a click after the feedback, what I think I want is for the submit button to carry out several action  or am I going about this the wrong way?

    Hello,
    Could you tell if you are using the default Question slides for this survey question or did you create your own slide using standard objects?
    I'm a bit puzzled about it because you mention the 'Submit' button, that is why I supposed you are using a default Question slide. You can assign an advanced action which can have more than one action of course. But this will not solve your issue. If you want to stick with default question slides that allow you limited control I could make this suggestion:
    create the hidden text caption,
    increase the default duration of the question slide; typically it will pause at 1.5sec, increase the slide duration so that the text caption that will show up stays long enough for the user to read it
    show the text caption for the rest of the slide
    attach the success action to the Submit button as you did to show the TC
    When the user clicks on Submit, the Text Caption will pop up  but the playhead will continue till the slide is finished. AFAIK you will not be able to stop it, but now the user will have sufficient time to read.
    The best solution is to create your own survey slides, then you can add as many interactive objects as you wish.
    Lilybiri

  • Time out (more than 24 hours) deleting master data.

    We are trying to delete the 0CUST_SALES = ´000000000#´ but we are not able to do it because if we delete and try to save in rsa1>infoobject->choose the characteristic->'master data maintenance', there will be a time out error. We tried than using the program RSDMD_DEL_BACKGROUND but it would take more than
    72 hours and we wouldn’t be able to do any load for the cubes that contains the 0CUST_SALES. And also there is several aggregates with 0CUST_SALES 
    Do you know any other way around to delete this 0CUST_SALES = ´000000000#´?
    Look forward for a suggestion....
    Rubens

    Hi Rubens:
    Do you want to delete only that record (0000000#) from 0CUST_SALES.iF SO, GO TO rsdmd and select that record and delete. if t doesnt work you might want to try SE14. Bu please be advised that, when you this Tcode spl care shd be taken as you will be wiping everything from the tables.
    Assign points if helpful
    kalyan

  • Can BO universe design tool read from more than one data source

    Hi Experts
    can I add personal data (from excel or Text) on a designer that is connected to relational Database
    can we combine more than one universe from different data sources to do so
    Please advise
    thanks all

    Thanks for reply
    I tried the linked universe concept but it is not working when I read in this topic in the universe design tool guide it indicated that
    both universes should have the same database I cote from this book
    ("The core universe and derived universe use the same data account, or database, and the same
    RDBMS.")
    I also checked in the designer help it says the same condition
    If you have idea how to do so please send me the steps
    thanks

  • Why would you need to "zero out" more than once?

    Sorry if this is a dumb question, but I have always wondered why a hard drive would need to be written over more than once for better security?
    If it is writing ALL zeros what is there left to find? I just don't get it.
    Thanks,
    Curious Tom

    Hello! A random write could leave a few bits that might be salvadged while the "zero all data" maps out bad blocks and writes all zeros. Once should be enough. Tom

  • MBP Caps Lock key sticks out more than the others!

    Just wondered if this is normal! The caps lock seems to stick out of the keyboard more than the others! Can anyone help?

    I just received my new MacBook Pro 17" this afternoon. My tab, caps lock, and shift keys are all raised on the left hand side. If you look at the keys from the left hand side of the keyboard you can see how they are raised up higher than the tilde and fn key. Also, the control keys kind of sticks when it is pressed down all the way. I like the machine, but I've very disappointed in the keyboard. It doesn't seem as nice as my PowerBook keyboard. I have them here side by side. The PowerBook keyboard is perfect and has a better feel when typing. I hope I get used to this new one.
    -Karen

  • AFP Connections More Than Number of Users - Why?

    In Server Admin > AFP, why are there more connections listed here than the number of users? For example, I have two users with accounts and both logged in currently. Server Admin > AFP shows four connections, one for the first user (with two different Connected times) and one for the second user.
    Am I limited to the number of connections? I have a 10 seat version of Mac OS X server, but am not exactly sure how that applies here (if at all).
    Thanks!
    Xserve G5 with Mac OS X 10.4.8 Server

    If your users are logged in to a network home directory and then subsequently "Connect to Server..." to the same server or otherwise mount a share point other than their home, that will register twice in Server Admin. Each counts against your 10 user limit if I remember correctly.

  • How do I print out more than the first page on longer emails.

    If an email is two or three pages long the Firefos print instruction only prints out the first page and lists it as 1 of 1

    On your iMac or on your iPhone?
    If on your Mac, which version of iPhoto do you have? The Print themes changed between the versions.

  • Zooming out more than 100%

    Is there a way to zoom out, not crop, to a lower percentage than 100? I want to make the image smaller.

    bshsmiles
    You can change the dimensions (length x breadth) and the compression of a file on export using the File -> Export dialogue.
    Regards
    TD

Maybe you are looking for