LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to handle user scaling/offsetting of channels in a program?

I have a "Channel Configuration" page in my program that I setup. The user can turn channels on or off for data acquisition. The user saves the channels (global variable), and then goes back to a Main Menu.

Right now, if they want to add a channel or edit one, I'm having them go through MAX.

I can deal with them having to add channels through MAX but I'm thinking of just integrating my own scaling. Having the user enter UNITS/VOLT and OFFSET. Then transfer those values via a global variable array to where I need them. Is there a VI Function that handle this scale? Or do I just need to get the individual data and store them in arrays. Does that make sense?

I'm using SCC modules, PXI-6052E car
d, and Labview 6.1.

Thanks!

Lauren
0 Kudos
Message 1 of 2
(2,645 Views)
If you use DAQmx (I can't remember if its supported in LV6.1) there is a property node where you can read and write scaling and offsets.

If you can't use DAQmx, your approach to store in arrays/config files will also work.

Robert
0 Kudos
Message 2 of 2
(2,644 Views)