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.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create a digital channel for NI PXI-6541 from Measurement Studio

Hello,

I'm trying the example from Measurement Studion examples: ReadDigChan_ChangeDetection_Events

and I have an error - the environment does not support this feature. Status Code: -50256

Win10, NI PXI-6541, Measurement Studio v18

What can I do?

Thanks 

Theo

 

 

0 Kudos
Message 1 of 3
(1,906 Views)

Hi Theo,

 

This error usually means that the feature you are trying to use is not supported by the device.

 

A list of devices that support it can be found in this article Which NI Digital IO Devices Support Change Detection?

 

Kind regards,

Vilius

0 Kudos
Message 2 of 3
(1,840 Views)

Hello Vilius,

thank you for your prompt reply.

I'm looking for an alternative to creating a digital channel and an attached event. 

In our setup, a digital channel output goes from one module to counter/trigger input of PXI-4462 ADC module.

I need to register the time of triggering, so if I cannot do it from dig output, maybe I could do it from the counter side. 

In the Measurement Studio examples, there's only one to get the counter but it is done by polling, which is not precise enough for me.

Can I attach an event to the counter going up one count? It would be great if you can direct me to an example...

Sincerely yours

Theo

 

0 Kudos
Message 3 of 3
(1,726 Views)