2)Ĥ.3 The first two Case are for writing a string and the last one for reading. 3)Ĥ.4 The VISA Configure Serial Port and VISA Close go outside the while loop. You can put VISA Configure Serial Port inside the while loop. The example above, you gotta choose the COM Port first before running the vi, but if you put inside the loop you can choose the COM Port anytime.Ĥ.5 Visa Bytes at Port goes inside while Loop. To activate the Reading case, it has to check if the bytes at serial port are greater than 0 using a Programming > Comparison > Grater than 0 VI. 4)Ĥ.6 If the bytes at port are greater than 0, the “True Case Structure” will be activated and the VISA Read will return the bytes read.Ĥ.7 VISA Configure Serial Port should let the user choose which serial port to use and set up the baud rate, so “ Visa resource name” and “ Baud Rate” must be a control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |