High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using NISCOPE to control NI-5911 digitizer

Solved!
Go to solution

Hello,

 

We are seeing problem while using NISCOPE to control a digitizer.

 

While trying to set some attributes for the device such as  NISCOPE_ATTR_DATA_TRANSFER_BLOCK_SIZE we are running in to error stating “Attribute ID not recognized”.

 

Please find the details of the driver and the device below:

 

NISCOPE version: 3.4

Digitizer model: NI-5911

 

We are not sure what the error indicates. We referred to the NISCOPE documentation but did not find any note that stated that NI 5911 is not supported for that attribute.

 

Attached, please find the modified GenericGettingStarted.c  (line number 49) file fordemonstration of the problem.

 

Thanks,

 

-Ankit 

0 Kudos
Message 1 of 5
(7,038 Views)
Solution
Accepted by topic author ADesai

Hi Ankit,

 

That error indicates that you are calling an attribute that is not supported, whether because it is not compatible or it is not a real/valid attribute. Where did the value 1151036 come from? I think it may be 1150316 that corresponds to NISCOPE_ATTR_DATA_TRANSFER_BLOCK_SIZE (IVI_SPECIFIC_PUBLIC_ATTR_BASE + 316). Or, you may want to just insert the string rather than the integer value if you can, just to make sure. Hope this helps,

 

Daniel S.
National Instruments
0 Kudos
Message 2 of 5
(7,034 Views)

Hi Daniel,

 

Thank you for your prompt response. That tip sure helps.

Much appreciated.

 

You are correct in pointing out the wrong attribute ID.

We are in fact using the correct ID, however I made a typo in the code attachment.


Is there any document that you can point me to listing all the supported/unsupported attributes for a particular device?

 

Thanks,

-Ankit 

0 Kudos
Message 3 of 5
(7,027 Views)

Hi Ankit,

 

I must apologize for not catching it sooner and realizing the actual problem. The 5911 is a legacy device, and that particular property is not supported. Unfortunately, there is no list that will indicate if a particular property is supported for specific digitizer devices. In this case, the fact that the attribute is not recognized indicates that it is not supported. Generally, for newer devices that recognize the attribute ID but do not support it, a more specific error will be given to indicate that the requested attribute is invalid for the device. However, this device is a bit different (it is older and uses Traditional-DAQ) and so the attribue ID simply will not even be recognized for newer, unsupported attributes such as the one you are trying.

 

Best of luck,

Daniel S.
National Instruments
0 Kudos
Message 4 of 5
(7,002 Views)

Thanks a lot Daniel.

 

Your help is much appreciated.

 

 

Regards,

-Ankit 

0 Kudos
Message 5 of 5
(6,997 Views)