04-25-2011 11:00 AM
I've got a single board RIO and a few sensors. I cant get the sensors to work. More accurately, the sensors are working, but LabVIEW isn't giving me correct values. I checked the pin-values with my multimeter and the sensor works correctly.
The frontpanel always shows that the sensoroutput is allways high, but when I measure on the actual pin, the voltage is at 15mV. Even when I connect the pin directly to a ground pin, it still says its high (tried the same with a 5v pin and it also gives a high level).
I added a picture of the FPGA code i used (simple as it may be).
Can somebody help me?
Solved! Go to Solution.
04-25-2011 11:39 AM
I have not used FPGA but the image you showed is a Digital I/O connected to a binary indicator. Where is the sensor connected?
Lynn
04-25-2011 01:08 PM
The FPGA controls all the I/O on the board. The sensor uses 3 pins: 5V, GND and one pin to detect high level/low level (Port5/DIO3). The FPGA module forwards the value to the other processor to enterpret.
Thanks for trying to help, I'm really aching for help.
04-26-2011 07:18 AM
Dear milo_unlimited,
please notice that you connected a boolean true to the conditional terminal of the while loop; the loop wil execute only once.
Best regards,
04-27-2011 07:45 AM
Which explains a lot.
Thanks!