11-01-2011 12:09 AM
Hi all,
I can able to communicate with my hardware via serial VISA and also i can read the data relative to my hardware operation.
Here where i am having a problem:
Since my hardware continously sending data, if the specified timeout in VISA Serial Port Configure is not sufficient, it is giving a timeout error and application was stopped. I can able to continue my read operation on my next run.
But i want to read data continously until i abort this operation.
Please guide me on this. Awaiting for reply.
Thanks and regards,
Sriram
11-01-2011 02:06 AM
It would be better if you attach code here. My guess is, you did not have any delay time between write operation and read operation. See this link
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0
11-01-2011 02:17 AM
Thanks for your reply.
In my case I am not writing anything to the hardware, instead i am just reading the data. So i think write operation is not at all required here.
11-01-2011 02:20 AM
Also i have you that VI.
11-01-2011 02:25 AM
Drag out the "VISA serial" intialization VI out of the loop and put only READ visa inside the loop.
11-01-2011 06:03 AM
Calling serial VISA init outside the loop is solving my issue. VI was exactly stopped at the specified timeout.