02-15-2009 11:05 PM
Hey all,
I just started programming with LabView, and here's one thing that I can't seem to figure out. I have the MCB2300 board, and I'm just trying to read the voltage controlled by the potentiometor. Here's the problem, when the VI reads the value, its a value between 0 - 1023 when clearly it should be 0 - 3.3. I checked out an example program and the eio from that program was able to read the voltage as 0 - 3.3. I copied/pasted the eio node from the example program to my program, and my program was able to read the voltage fine. So what am I doing wrong here?
Thanks for your time,
DZ
02-17-2009 01:29 PM
Hi DZ,
It sounds like you have scaling disabled on your elemental IO node. You should be able to right-click the EIO node to access the properties. Under I/O Node Configuration, you should have the option to set the node attribute type to scaled. Once the scaling is enabled, the EIO generates code in the background that scales the raw value with a multiplier.
Please let me know if you have problems finding this. Thanks!
Regards,
Meghan M.
Applications Engineer
National Instruments