Hi connector,
the buffer of the serial port is a FIFO buffer, so you will get the bytes in the same order which the PC receives it.
The compability or sometimes called "old" serial VIs and the VISA VIs are not the same. The VISA VIs have advantages compared to the old VIs.
1. They use a interface with the standard error cluster so you can do better chaining the VIs and better error handling.
2. They can run in separate execution systems without beeing affected by behavior of the user especially when the title bar is holded with the mouse.
3. They include a timeout and termination character mechanism. So you need not to implement this and do time consuming polling.
The disadvantage is that you musst be carefull to use two property nodes if you d
o binary communication to turn of the termination character proccessing.
If you build a standalone application you must distribute the serpdrv file for the old VIs or you must install the VISA runtime. Installing VISA runtime is not included with the installer you can create so you must do this seperatly. You cannot use the alias names "COMx" you must use the resource names "ASRLx::INSTR".
I dont know if VISA is available on all platforms.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions