LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB6008 multiple line output with DAQmx

Solved!
Go to solution

Terrific input! 

 

I always try to match to whatever data type LabVIEW prefers, just for safety's sake.  You make a very good point here about possible roundoff errors.  Thanks for the post!

0 Kudos
Message 11 of 13
(769 Views)
Thank you for your help Diane!  I appreciate your encouraging me to find things out on my own and your willingness to answer my very basic questions as well.  Your suggestion worked just fine for my application.  I'm not too sure of the solution that Ravens Fan proposed or how to follow his advice, but I think I should be fine the way the vi is now.    
0 Kudos
Message 12 of 13
(749 Views)

You're welcome, Leanne!

 

Ravens Fan was suggesting that, to avoid possible roundoff errors which could occur in some situations, you convert your numeric case selector to the I32 data type before you use it as a case selector.  I think that's a fine idea, and if it were my program, I would follow his advice.  There are conversion functions in the "numeric" palette of LabVIEW that will enable you to perform the conversion very easily if you want to do so.

 

Diane

Message 13 of 13
(738 Views)