![]() 2.0000) which is converted to numeric form and added to an array to store the response value from each iteration of the encasing while loop.Īll the commands written execute just fine as evidenced by the operation of the serial device to which I'm writing and each "error out" is "OK" (including the Visa Write error out) until the Visa Read error out. From there the program is meant to read back the serial response (a string represenation of a floating point number ie. Within each case of the case structure are a series of "serial device command" string concatenations which are tunelled out and passed to the VISA Write VI. This program is intended to trigger a case structure based upon the iteration value of the while loop that encases it for as many times as the value "number of steps" inputted on the front panel. I'll attempt to provide as much information as I can, so below I'm posting screenshots of my front panel and block diagram and below that an explanation of the operation of the program: ![]() ![]() Increasing the VISA session timeout value hasn't helped - it merely causes the program to hang for longer before it times out. Hello, I'm attempting to communicate with a serial device via VISA and have been stuck for a while trying to figure out why my program hangs at the VISA Read VI (it hangs until it times out).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |