05-13-2012 12:08 PM
Hello , I was looking at this code and tried to run it and got the following error,Error 8 occurred at New File
Possible reason(s):
LabVIEW: File permission error. You do not have the correct permissions for the file.
=========================
NI-488: DMA hardware error detected.
Do you know why it is giving me this error? Thank you.
05-14-2012 10:03 AM
Hi
May I ask which code from this post you are running?
We have some good articles (here, here, and here) about Error 8 you are seeing. Generally this error is seen when the file you are trying to access is in use by another program or you don't have the correct permissions on your machine to open up the file location. Be sure you have administrative privileges on your machine.
I would recommend what the previous post mentioned about using some of our shipping examples to refer to when aquiring and saving data to a file. Also, I see that you have posted elsewhere on our forums, and the responses you have received have some very good resources on there as well for getting started with your NI-SCOPE device.
05-15-2012 09:18 AM
Hello,
I have attached the file. I just realized that I could not save it to the defualt path, I changed the path and the file was successfully saved! However , the program only runs for one second and then asks me if I would like to replace the file. Is that a problem with the loop ? Thank you.
05-15-2012 11:55 AM
Its a problem with your code. Do you not have the Context Help open? If you would look at the function, you would quickly see and input called 'append to file? (new file:F)'. So, with input unwired, the default is False so it will try to create a new file with the same name and you get the dialog.
11-23-2021 02:52 AM
Hello, I just came into contact with Labview and I use PCI-5122. I was fortunate to see your discussion. What you are doing happens to be what I am doing now. My problem is that when I sample at 100M sampling rate, he will report an error: The The requested data has been overwritten in memory so it is no longer available for fatching. Interestingly, when using the 100M sampling rate on the NI-MAX virtual device, there is no problem.
11-23-2021 09:55 AM
@johnded please create a separate topic to discuss your issue and gather inputs from forum members. From a quick look at your VI, there is scope for improvement and we can discuss there.