Save file real time

hello
i was having problem with the saving file real time. the data is
desired to be saved in the form of spreadsheet. using the date and time
as file name, the file will be saved automatically. i do not what has
gone wrong as it can be used to save file offline.
it appears the message of
ERROR 8 occur at create file (file exists) (althought it does not exist)
NI 488: DMA hardware error detected
here attached the error message
someone pls help
thanks
regards
Attachments:
error.png ‏20 KB

It is difficult to tell from the small segment of code shown, but it appears that the New File function is in a loop. Is it possible that the loop iterates quickly enough that it attempts to create the file twice with the same time? One way around this it to check first to see if the file exists. If it does, than append a 1 (or 2, or 3, or ...) to the filename and try again.
Lynn

Similar Messages

  • Replacing jar files real-time in classpath

    Hi All
    I have a swing application and It runs perfectly. I have created a update manager that can download jar files for the application. This update manager downloads jar files and replaces the jar files that are currently in the class path. You could say the update is real-time.
    After the files are downloaded I get errors like class not found and other really strange Java errors. The class not found errors indicate that the application cant find classes that are in the downloaded jar file.
    Is there any way to prevent this from happening?
    Thanks in advance,
    Martyn Hiemstra

    I am currently just saving the downloaded files into the classpath directory, so in short I'm replacing them while the JVM is running.
    The problem is that my Java application is installed using install4j meaning that the application is started as a .exe file. The problem is that I would need to create an external application to update the files but the external programme would have not idea where to put the newly downloaded files. T o overcome this all I want to create an updater within my own application.
    Is there a way to shutdown real-time loading of jar files in the class path? That would solve the problem since the newly loaded jar files arent detected until the application is started again.

  • Save files to time capsule

    How do I actually save files directly to time capsule?  Drag and drop does not seem to work.

    Using what OS??
    You need to mount the disk first and create a new directory for the files.
    It is also a bad idea because the TC cannot backup your files and nor can TM.
    See Q3 here. http://pondini.org/TM/Time_Capsule.html

  • Request does not save for real time cube

    Hello,
    I have created the real time cube  and copied the data from the actual cube.
    I have careted the MP on top of actual adn real time cube.
    created the aggregation level -> Planning function etc.
    I have created the input query and trying make some modification and then clicking on save the data.
    I am getting the message that " data is saved " but request is not getting generated in BW for the real time cube... The real time cube is set to planning.
    Appreciate your immediate help.
    Thanks

    Data is saved ... resolved
    Thanks

  • Cannot save file 2nd time CS4 ID=-54 om SMB server

    Hello,
    We have a problem with saving .ai files in Illustrator CS4 on a Windows 2003 server with SMB filesharing with OX 10.6. If we save .ai files for the second time, Illustrator gives the error: 'cannot save illustration. file is locked or in use. ID = -54'.
    If you save a file on the OSX 10.6 workstation, it gives no errror. It is an illustrator .ai smb problem. .eps or .pdf on SMB gives also no problems.
    Does anyone know a solution?
    Thanks!
    Percy

    Percy,
    Saving to the harddisk is the safe and troublefree way. Saving through a network is a known troublemaker.
    Maybe you can reset the network connexion somehow. You may try disconnecting and reconnecting between savings and see whether that solves the issue; at least it may show the nature of the issue.

  • Download to a file, real-time oscillosco​pe traces accessed through the web: How?

    Our new Textronix oscilloscope was assigned an IP address, and we are
    viewing this oscilloscope's traces over the web using the IP address
    assigned. Now, using LabVIEW, we want to download into a file an
    oscilloscope trace at a particular instant in time, and we want to do
    it many times as we want. Is LabVIEW 6.1 capable of doing that? If YES,
    then how? What features do I use?
    Thank you very much for your help!
    Sincerely,
    reynann7

    Do a search for the Tektronix model under drivers, you should be able to find a labview driver for the instrument. The Tektronics scope I have (TDS3034) used TekVisa to what looked like "fake" a GPIB bus. When I installed Labview and NI-488 TekVisa would no longer work, I used the serial port on the TDS3034 instead.
    Hopfully this points you in the right direction.
    Andrew Alford
    Production Test Engineering Technologist
    Sustainable Energy Technologies
    www.sustainableenergy.com

  • How do I save files to time capsule separate from the back up files

    I have the time capsule set up; the wifi works great with all devices and it backed up my MacBook a few times without incident.  After that I exported portions of my iPhoto library to files I set up on the time capsule and since then I get an error message when time machine attempts to back up my Mac.  The error message reads "the back up disk image "/volume/time capsule-1/1234.sparsebundle" is already in use".  I have since deleted the files with the exported pics from iPhoto believing that was the issue...but the error message still pops up when time machine tries to back up to time capsule.  Is it not possible to use the time capsule as an external drive in addition to the back up disk?  I'd like to store old pictures from iPhoto on the time capsule and delete the pictures from my MacBook.

    Moving the image files is not related to the the error that you see. Lion...and Mountain Lion....has bugs.
    Fix the "file in use" error first, then move the files that you want over to the Time Capsule disk.
    See Time Machine -- Troubleshooting by Time Machine wizard Pondini.
    http://pondini.org/TM/Troubleshooting.html
    # C12 is what you want

  • Reading and saving real time data

    Hi,
    I would like to read and save real time data using DAQ card 6004 with my PDA device. There is no problem with reading real time data, I can see it on the PDA's screen successfully. But, when I'm trying to save this real time data, I have the following problem:
    -It continuosly asks for file name.
    -It only saves the data instaneously,i.e. it only saves the data at the moment.
    I'm stuck with this problem, could you please help me?  I attached my vi doc.
    By the way, I'm using Labview PDA 8.5 version. 
    Attachments:
    Acq&Graph&Save Voltage-Int Clk.vi ‏32 KB

    oozdemir,
    >> -It continuosly asks for file name.
    You are prompting the user for a file name each time through the loop.  Do this before you enter the loop and pass that file ref in.
    >> -It only saves the data instaneously,i.e. it only saves the data at the moment.
    By this, I am going to assume you want to append to the file as you go.  Two problems, 1.  you are saving an array to the file and additional info about the array structure is being saved.  You would essentially be creating a binary file filled with array "records" (for lack of a better term) appended one after another.  2.  If you want to append to the file, you will need to use the "Set File Position.vi" to locate the file pointer to the end of the file.
    This task looks like it runs once per second until the stop button is pressed.  You could build an array of all acquired data in the loop and then write it when the loop exits.  Just a thought.  This app could create a lot of data though.
    -cb

  • Program object schedule success but is not executed in real time

    Hi all,
    I have a batch file ad following is the content
    set path=C:\WINDOWS\system32
    echo Copying started at %date% %time%>>_date_.txt
    XCOPY "
    Boxis\c$\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes\qaawsWsdl.zip" "
    Sxi31\d$\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes" /s /a /d
    echo Copying finished at %date% %time%>>_date_.txt
    echo Completed Successfully at %date% %time%>>_date_.txt
    echo -
    >>_date_.txt
    pause
    I have uploaded this batch file in enterprise. When I schedule it the status is shown as Success however the file qaawsWsdl.zip is not copied to the destination.
    Note: When executing the batch file real time the file is getting copied
    I have added the user in Replace a process level token policy
    I have set program object rights to run script/binaries
    SIA is running on domain account that has access to source as well as destination folders.
    Am I missing something?
    Environment
    Business Objects XI 3.1 SP3 clustered (Also tried above in standalone, same issue)
    Windows Server 2003

    The program object will run with the credentials of the user you provided in the schedule panel unless you did not provide any and you have set a default user account in the CMC under Application->CmC->Program object settings. THis user has to have access on the source and target directories.
    What you can do is try to login manually on the BOBJ server using the credentials of the windows user that runs the program object and try to run the script from the command line.
    The domain account under which the SIA is running is not really relevant
    Regards,
    Stratos

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

  • Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it. 
    Alex D
    Applications Engineer
    National Instruments

  • Read data in real time and save as an excel file

    Hi,
    I want to write a LabVIEW progarmme which able to read data in real time and save it as an excel file from Varian Vacuum muli-gauge.
    It is using RS232 port.
    Can anyone give me some examples or point me in the right direction?
    I am a beginner of LabVIEW. Hope anyone can help me.
    Thank you very much!!
    Joanne

    Thanks for your reply.
    I just use MAX to verify that the rs232 port is operational.
    However, there is an error (please refer to the attachment).
    One possible reason is in MAX I am trying to do the default command *idn? ...but it doesn't work.
    I read the vacuum multi-gauge manual but I don't know which command should I use...
    I attached the manual and can you tell me which command should I use?
    Or can you tell me other possible reason for this error code?
    Thank you very much. 
    Joan
    Attachments:
    Varian Multi-Gauge Controller.pdf ‏2747 KB
    error1.JPG ‏111 KB

  • How to save data in a 4D array and make partial plots in real time?

    Hi, this is a little complex, so bear with me...
    I have a test system that tests a number of parts at the same time. The
    experiment I do consists of measuring a number of properties of the
    parts at various temperatures and voltages. I want to save all the
    measured data in a 4-dimensional array. The indices represent,
    respectively, temperature, voltage, part, property.
    The way the experiment is done, I first do a loop in temperature, then
    in voltage, then switch the part. At this point, I measure all the
    properties for that condition and part and want to add them as a 1D
    array to the 4D array.
    At the same time, I want to make a multiple plot (on an XY graph) of
    one selected property and part (using two pull-down selectors near the
    XY graph) vs. voltage. (The reason I need to use an XY graph and not a
    waveform graph, which would be easier, is that I do not have
    equidistant steps in voltage, although all the voltage values I step
    through are the same for all cases). The multiple plots are the data
    sets at different temperatures. I would like to draw connection lines
    between the points as a guide to the eye.
    I also want the plot to be updated in the innermost for loop in real
    time as the data are measured. I have a VI working using nested loops
    as described above and passing the 4D array through shift registers,
    starting with an array of the right dimensions initialized by zeroes. I
    know in advance how many times all the loops have to be executed, and I
    use the ReplaceArraySubset function to add the measured properties each
    time. I then use IndexArray with the part and property index terminals
    wired to extract the 2D array containing the data I want to plot. After
    some transformation to combine these data with an array of the voltage
    values in the form required to pass to the XYGraph control, I get my
    plot.
    The problem is: During program execution, when only partial data is
    available, all the zero elements in the array do not allow the graph to
    autoscale properly, and the lines between the points make little sense
    when they jump to zero.
    Here is how I think the problem could be solved:
    1. Start with an empty array and have the array grow gradually as the
    elements are measured. I tried to implement this using Insert Into
    Array. Unfortunately, this VI is not as flexible as the Replace Array
    Subset, and does not allow me to add a 1D array to a 4D array. One
    other option would be to use the Build Array, but I could not figure
    out if this is usable in this case.
    2. The second option would be to extract only the already measured data
    points from the 4D array and pass them to the graph
    3. Keep track of the min. and max. values (only when they are different
    from zero) and manually reset the graph Y axis scale each time.
    Option 3 is doable, but more work for me.....
    Option 2: I first tried to use Array Subset, but this always returns an
    array of the same dimensionality of the input array. It seems to be
    very difficult, but maybe not impossible, to make this work by using
    Index Array first followed by Array Subset. Option 3 seems easier.
    Ideally, I would like option 1, but I cannot figure out how to achieve
    this.
    Your help is appreciated, thanks in advance!
    germ Remove "nospam" to reply

    In article <[email protected]>,
    chutla wrote:
    > Greetings!
    >
    > You can use any of the 3D display vi's to show your "main" 3d
    > data, and then use color to represent your fourth dimension. This can
    > be accessed via the property node. You will have to set thresholds
    > for each color you use, which is quite simple using the comparison
    > functions. As far as the data is concerned, the fourth dimension will
    > be just another vector (column) in your data file.
    chutla, thanks for your post, but I don't want a 3D display of the
    data....
    > Also, check out
    > the BUFFER examples for how to separate out "running" data in real
    > time.
    Not clear to me what you mean, but will c
    heck the BUFFER examples.
    > As far as autoscaling is concerned, you might have to disable
    > it, or alternatively, you could force a couple of "dummy" points into
    > your data which represent the absolute min/max you should encounter.
    > Autoscaling should generally be regarded as a default mode, just to
    > get things rolling, it should not be relied on too heavily for serious
    > data acquisition. It's better to use well-conditioned data, or some
    > other means, such as a logarithmic scale, to allow access to all your
    > possible data points.
    I love autoscaling, that's the way it should be.
    germ Remove "nospam" to reply

  • How can I save/write data on the hard disc of the Real-Time System?

    I would like to acquire huge size of data via LabView Real-Time System.
    Since data is so huge, I am now thinking that it might be good idea to
    write/save data on the hard disc of the Real-Time System first and then
    transfer the data file to a data processing PC using FTP etc.
    If you know how to save/write data on the hard disc of the Real-Time System
    (Ver. 7.1), please let me know.
    Thanks,

    Just to add to Aitortxo's good answer,
    Since you have only one Drive ( C:\) on your RT, just keep monitering the availible disc space.
    After every few set of file writes keep transferring Backups delete these files, so that you  keep C:\ drive space for running your applications.
    Regards

  • Save real-time data

    Hello!
    I'm at the begin with LabView. I'd like to verify my signal with an
    oscilloscope. After this, when i active a light, the power of this
    signal must be save. I have found the oscilloscope VI. I'm tring to
    modify it in order to save, when it's necessary, this power. How can i
    get the power from a waveform signal and save it continuosly (i.e. in
    "real-time mode") in a file?
    thank you for the help and sorry for my english...
    Andrea

    Hello Andrea:
    The simplest way to save Oscilloscope data is with the Wave File tools. The oscilloscope data will be in the form of a 1D array. I assume you know what the impedance of the load is that you're measuring the power at. If you do, the power is simply E^2/R. For RMS power, be sure to divide E by 2.82. A more direct way, if you also have a CURRENT sample available is to multiply E*I. I've attached a very simple oscilloscope/data save.vi
    Hope this helps. Lots of luck!
    Chutla
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705
    Attachments:
    Simple_O-scope.vi ‏19 KB

Maybe you are looking for

  • How do I display a live webpage (live data feed) as part of my looping flash movie.

    G'Day All, I've been tasked with creating a flash movie for a client (3 scenes, some text and images) simple enough, the challenge is one of the scenes needs to display a live page from a locally hosted website (it's a graphic display of a live data

  • .SWF showing up as random text

    It will work fine when I compile it and run it using file:/// but when I try to acess through http://localhost with parameter it will just show up as random wingding-like characters  after taking awhile to load. The code is fine because it works fine

  • Time machine restore crashed system preferences

    Hi, just hoping someone can help with the following as my MacBook is not a happy bunny. I recently reformatted my hdd and restored my system using Time machine. This was to allow me to create a new partition so I could run bootcamp. All was fine for

  • What is UBCD4WinV350? I've come across it in an early download

    Please advise whether I am likely to have a problem. I've come across UBCD4WinV350 in my downloads folder. It dates from when I first bought the macbook. It shows up as "unreviewed" when I ran a web search. I plan to delete is as it takes up half a g

  • VA02 - Sale Order Change Flag ?

    Hi All, Please help me with the following issue. Whenever there is a change made to the Sales Order, during the save event is there any flag that indicates, whether there was a change in the order. I mean before the order getting saved, i am having a