09-01-2016 09:22 AM
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
09-01-2016 10:05 AM
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\
09-01-2016 11:18 AM
09-01-2016 11:57 AM
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
09-01-2016 02:13 PM
> I've tried to deselect the read only from this folder,
Was it actually read-only?
09-01-2016 02:54 PM
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
09-01-2016 03:31 PM
Weird. So... does creating a channel work for you now?
09-01-2016 05:23 PM
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
09-01-2016 05:27 PM
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
09-06-2016 07:42 AM
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!