Discussion:
Read Two Mux'd Channels
(too old to reply)
DirkW
2007-04-06 14:10:10 UTC
Permalink
I checked the files  and i saw only one channel per mux.  I assume that you use more then one channel per mux normally. Otherwise it would make no sense, because the mux allows you to create multiplexed channels for the same message. And thats the only usecase i know about.
Anyway, attached you can find an example dealing with your channels and i found it works fine. Perhaps your driver needs a update, because we fixed mode depended issues with newer versions.
For your LV 7.0 try  2.3.3. I think thats the latest version for 7.0. Or try a 7.1 version with NI-CAN 2.4 if available.
 
DirkW
 
 Message Edited by DirkW on 04-06-2007 08:55 AM


example.zip:
http://forums.ni.com/attachments/ni/30/2515/1/example.zip
DirkW
2007-04-09 14:10:09 UTC
Permalink
I guess your complain is the PWM Command channel, which is a steady line in graph 2? It seems this channel is acquiring allways values above 6000? Well i could not reproduce this here with NI-CAN 2.4. Did you check the values in parallel with a second device?
Perhaps you could try LV 7.1 and NI-CAN 2.4?
DirkW
 
beavercreek
2007-04-09 15:40:12 UTC
Permalink
>I guess your complain is the PWM Command channel, which is a steady line in graph 2?
Yes, should look identical to graph 1 (ie following the other signal, but at larger magnitude)
>It seems this channel is acquiring allways values above 6000?
To me it seems to have grabbed one sample, (the first one) and never reported any of the new values.  I can kind of prove this by running the vi multiple times and the line will move position on the screen.
>Did you check the values in parallel with a second device?
I have verified the messages are changing with secondary CAN bus hardware/software.  (plus if i reduce the # of samples it will work again)
>Perhaps you could try LV 7.1 and NI-CAN 2.4?
My company is moving to LV8.2 so that should allow me to move beyond the LV7.0 NI-CAN 2.3.2 limitation.  Thanks for trying Dirk!
Loading...