Serial connection between arduino and labview

Put each { on its own line. Use Tools + Auto format. I think it will then be obvious what your problem is. If not, post the cleaned up code.