06-24-2012 10:13 PM
Hi All,
I'm new to Labview programming, and want your feedback. The issue is, when I write a command for visa to read and write, it reads the wrong command. Sometimes it reads the correct command, then swaps and reads a different command. I have two paroscientific pressure transducers, and both are
controlled by serial ASCII command. The command *0100P3, reads the pressure, and *0100Q3, reads the temperature. I have attached a labview file (2010 32 bit) and would like some feedback.
Regards,
Newlab
06-24-2012 11:22 PM - edited 06-24-2012 11:28 PM
Your Serial VISA read write subVI is missing. So I don't know exactly what you have going on in there.
But I think your problem is that the subVI's are running in parallel. You have a race condition as to which of the subVI's are running first.
Also, are you getting any error messages? You do not have your error wires wired up on those subVI's.