LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to deny access to a configuration file

The Deny Access function returns an error 1 when wiring the refnum from a configuration file. The LV help only mentions that you cannot deny access to a datalog file. Am I missing something obvious ?

 

 

Message Edité par JB le 02-26-2009 06:20 PM
Download All
0 Kudos
Message 1 of 3
(2,777 Views)

JB,

 

Try closing the file first. 

 

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 3
(2,770 Views)
Configuration file references are created and tracked by the Config Data Registry VI (in C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\Utility\config.llb).  You'll notice that the confuration file reference number (e.g. 2) doens't match the file reference number ( e.g. 445644800).  This is why the "To More Generic Class" node doesn't accept the Configuration File Reference Constant.

Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
0 Kudos
Message 3 of 3
(2,763 Views)