09-16-2016 07:19 AM
Whenever i run my serial port using serial read write program using VISA, it works fine for some time (few minutes), as i can write a command and read the response. After few minutes i am unable to read the response.
When i open the MAX and check the device settings for serial port, i am unable to validate the port and i get following error
Could not open a VISA session to "ASRL1::INSTR". VISA error code 0xBFFF0072
If i restart the computer and run the MAX again i am able to validate it. However, once i go back to the program in LV, again i have same issue, the code runs for few minutes and then hangs.
I am using serial to USB connector (Prolific driver).
I read in some forum that substituting prolific with FTDI migh help.
Is the problem essentially with my serial chord or am i missing something in my code.
09-16-2016 08:05 AM
Just get an FTDI adapter, less headache...
09-16-2016 09:44 AM
@Ravi_Sarma wrote:Whenever i run my serial port using serial read write program using VISA, it works fine for some time (few minutes), as i can write a command and read the response. After few minutes i am unable to read the response.
When i open the MAX and check the device settings for serial port, i am unable to validate the port and i get following error
Could not open a VISA session to "ASRL1::INSTR". VISA error code 0xBFFF0072
If i restart the computer and run the MAX again i am able to validate it. However, once i go back to the program in LV, again i have same issue, the code runs for few minutes and then hangs.
I am using serial to USB connector (Prolific driver).
I read in some forum that substituting prolific with FTDI migh help.
Is the problem essentially with my serial chord or am i missing something in my code.
I have seen this before myself and Blokk is right get an adaptor with FTDI chipset in it.
Chances are your Prolific USB to Serial adaptor has a counterfeit Prolific chipset in it and it is never going to work reliably.
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=155&pcid=41