From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Channel Wires

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW could not create the requested channel endpoint File permission error; NI-488: DMA hardware error detected

Hi

I've already posted this question here: http://forums.ni.com/t5/LabVIEW/LV-2016-LabVIEW-could-not-create-the-requested-channel-endpoint/m-p/...

When creating channel writer, there was a pop up Select Channel Endpoint, but regardless of selected option, there is a window saying "LabVIEW could not create the requested channel endpoint", error code: 8 file permission error

NI-488: DMA hardware error detected.

I have file permission error for some file, which file is it?

Thanks for repond

0 Kudos
Message 1 of 13
(12,628 Views)

Is your LabVIEW Data directory writeable?

On Windows, that directory is

         C:\Users\<username>\Documents\LabVIEW Data\

I don't remember Linux or Mac off the top of my head.

That's the directory where channel instances get instantiated.

         C:\Users\<username>\Documents\LabVIEW Data\2016(64-bit)\ExtraVILib\ChannelInstances\

0 Kudos
Message 2 of 13
(11,889 Views)

Mac

/Users/<login name>/Documents/LabVIEW Data

as expected.

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 3 of 13
(11,889 Views)

Hi

Thanks for this localisation. I've tried to deselect the read only from this folder, but it didn't solve the issue.

What I was trying to do is to set True constant to stream channel writer. In the folder:

...\LabVIEW Data\2016(64-bit)\ExtraVILib\ChannelInstances

there is a folder Stream-bool with 20 items (vi's and Stream Data class), but when I've tried to open one of these, LabVIEW couldn't find some other vi's.

I'm trying to reinstall LV2016, maybe it will solve the issue

0 Kudos
Message 4 of 13
(11,889 Views)

> I've tried to deselect the read only from this folder,

Was it actually read-only?

0 Kudos
Message 5 of 13
(11,889 Views)

Windows is setting everything in my C:/ to read only, I've unticked read-only it in LabVIEW Data, and check if I can rename some files. I could, so I've done it well

0 Kudos
Message 6 of 13
(11,889 Views)

Weird. So... does creating a channel work for you now?

0 Kudos
Message 7 of 13
(11,889 Views)

Where are your User files, like My Documents?  By default, in Windows 7, 8, and 10, they are in C:\Users\<Your User Name>\Documents.  This folder has to be read/write by you -- if you are logged in as someone else, you won't have Write permission (and may not have Read permission either) to it.

The folder that LabVIEW uses for the Channel Wires is in the LabVIEW Data Folder, by default in \Documents\LabVIEW Data, so it should (and must be writable by the logged-in User).

It sounds like something is definitely screwy with your Windows system (or someone, a Virus, perhaps?, is messing with you).  I don't think this is the fault of LabVIEW or Channel Wires ...

Bob Schor

0 Kudos
Message 8 of 13
(11,889 Views)

An idea just occurred to me.  By any chance, did you change the location of the Default Data Directory that LabVIEW uses?  Open LabVIEW, go to Tools, Options, Paths, and look at Default Data Directory.  It should be something like C:\Users\<Your Name>\Documents\LabVIEW Data.  If you've put it somewhere else, especially if you have moved it out of your Profile and on to the C: drive, it might become Read-Only ...

Bob Schor

Message 9 of 13
(11,889 Views)

Success!

I've just discovered that on my work's PC, I've got two Documents folder. One is the local one in C:/ drive, the other one (default for everything) is on the network drive (UK-PRIMARY\UsersHome\<myname>\LabVIEW Data)

I've changed the Data folder as you've described.

After changing this folder, and copied everything that was in LabVIEW Data Folder to the new location (C:\Users\<myname>\Documents\LabVIEW Data), and making sure, that I have all the permissions to this folder, I've done my previous creating channel writer, and it worked this time.

Thanks for the help!

0 Kudos
Message 10 of 13
(11,889 Views)