FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error code: E_PARAMETER_CHECK, Message: "The device reported a violation of parameter-specific checks!" while trying to read DEV_TYPE

Hi,

 

I am trying to read parameters from an FF device using National Instruments Foundation Fieldbus dll. 

While trying to read 'DEV_TYPE' parameter by name, I am getting the following error

 

"'block.ReadParameterByName("DEV_TYPE")' threw an exception of type 'NationalInstruments.FieldBus.ExceptionHandler.FBParameterCheckException'
Data: {System.Collections.ListDictionaryInternal}
ErrorCode: E_PARAMETER_CHECK
HResult: -2146233088
HelpLink: null
InnerException: null
Message: "The device reported a violation of parameter-specific checks!"
Source: "NationalInstruments.Fieldbus"
StackTrace: " at NationalInstruments.FieldBus.ParameterHandler.SimpleVarParameter.Read()\r\n at NationalInstruments.FieldBus.Block.ReadParameterByName(String name)"
TargetSite: {Void Read()}"

 

I tried reading other parameters in the same block using the same read function and it is working.

I cannot seem to find enough documentation of what to do to fix the error message.

Any help would be appreciated.

Thanks is advance.

0 Kudos
Message 1 of 1
(915 Views)