07-12-2010 11:12 AM
I have designed a simple "button pushing" test fixture and have mechanical counters on them. I want to change this so that LabVIEW will count everytime the button is pushed. The software is already written to show when the button is pushed, i just need to know how write the code in LabVIEW. The messages will be sent via CAN message and plugged into my computer, if anyone knows how to do this please feel free to share.
07-13-2010 02:59 AM
Do you want labVIEW to generate a counter? You can do this using a while loop inside a case structure connected to a push button. Do you want to read data from the CAN bus? How are you getting the data now?
07-13-2010 08:24 AM
We have built a board with usb, 485, and zigbee radio attached. I have already designed a read and write VI to get data from the board, but we dont need that for this project. We are simply wanting to count each time a specific button is pressed and have it actually count the times, not just show that it happened. The data from the machine passes to its Zigbee, then passes to another Zigbee on my board, thru to 485, and then attached to my computer.