LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx (Version 9.1) Create Channel for Accelerometer will NOT convert into m/s^2

Solved!
Go to solution

Hey Peter,

 

I have reproduced the behavior.  The key to reproducing this is actually what we call "reconfiguration".  That is, if the task transitions to a "Verified" state, something like setting an attribute can force the task to recompile.  For this bug, when recompiling the DAQmx Task, a cached value was not reset.  This is probably more information than you care about.  Long story short, we see the bug and can fix this in a future DAQmx version.

 

There is a slightly better workaround that you can use than what you're currently doing (since this workaround will continue to work with future versions of DAQmx in which the bug is fixed and the code still mostly make sense).  If you set a units attribute besides acceleration units (like temperature units), it will force the cache to get reevaluated.  Here's a code snippet of what I'm referring to:

setUnits.png

 

You can drag that onto your block diagram anywhere before you begin the acquisition.

 

Sorry for the inconvenience, and thanks for bringing this issue to our attention.

Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 11 of 15
(948 Views)

Andy McRorie,

 

can you post the CAR number?

0 Kudos
Message 12 of 15
(924 Views)
It has already been posted earlier in this thread... 220294
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 13 of 15
(919 Views)
already posted in buglist here
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 14 of 15
(895 Views)

Hello Peter_S

 

I just take a look at your second message and I'm quite interested by your subVI "Get DAQ setting" and "Read sensor data" . Can you explain how you program these subVI or why not post them here.Smiley Happy

0 Kudos
Message 15 of 15
(816 Views)