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.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Weird Property Problem

Solved!
Go to solution

Hi all,

I'm using DIAdem 2014, and I'm running into a weird problem. Looking in the data portal the maximum value of a channel is listed as 1, however when I use ChnPropGet it returns NOVALUE. (pictures below)

Property.PNG   no value.PNG

I had a message box display the result from ChnPropGet to show what's going on.

 

Does anyone know why this would happen? Let me know if you need further information

Thanks,

Sadie

0 Kudos
Message 1 of 4
(4,494 Views)
Solution
Accepted by topic author Artemis125

I was able to solve itn by entering this command before I attempted to grab the property     

Call ChnCharacterAll()

 

Thanks anyway,

Sadie

0 Kudos
Message 2 of 4
(4,485 Views)

Hi Sadie,

 

There is also a ChnCharacter(channel) command to recalculate the channel properties of a particular channel.  Another option is to use the CCh(channel, stattype) function to return the min,max,ave,range, or sum of a particular channel.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 3 of 4
(4,376 Views)

Brad,

 

Thanks for the options!

 

-Sadie

0 Kudos
Message 4 of 4
(4,343 Views)