This is a real quick one that I wish I had figured out a lot faster earlier today: apparently a NaN from LabVIEW can’t go into a MySQL double. You need to check for NaN before writing to your database. Be especially mindful of this if you’re doing any type of counter measurement with NI equipment since they’ll return NaN when no pulses are detected on a timeout. That is all.
Tags: LabVIEW, programming