05-05-2010 11:13 PM
Will_E wrote:Solution found, finally, and it is simple.
Now that I have found it, it is a simple solution.
Please mark solution so that it will help somebody who are looking for same kinda problem and looking for a solution. Don't forgot to give kudos to all those who helped you.
Thanks,
Mathan
12-04-2010 10:15 AM
I had exactly the same issue communicating to a Panasonic FP Sigma PLC through VISA... and your solution worked pretty fine.
In my previous code I was using the functionality "End read on termination character" of the VISA Serial set and I was wiring a 2048 byte max lenght to be read to the VISA Read VI.
Now I've disabled the "End read on termination character" flag in the initialization of the VISA connection and connected the "Number of Bytes at serial port" to the VISA Read VI. It is not the most elegant solution, as now I need some routine to check that what is read from the serial port is the complete message, but it indeed has avoided the Blue Screens or the Freezing of Windows.
Atached the working and the non working VI
04-02-2014 08:26 PM
This tip help a lot.
However, When the NI-VISA will fix this issue? Did Ni knows this issue?