08-26-2019 02:10 PM
Dear Guys,
Thanks for all your answers for my same issue (https://forums.ni.com/t5/LabVIEW/To-read-the-pressure-transducer-value-using-USB-232-serial-port/m-p...)
My lab-view run successfully. I have seen the desired response when put the command instruction from the device manual. I am very happy to see that. (Typical Command: *0100P4 and Response: *000114.71234 where 14.71 is my pressure). I got this response when I connected my device serial connection directly to my computer port). But after sometime I couldnt able to get desired response and I see the following error:
Interesting thing I found that, I used to get same error when I using the USB 232 converter to PC port. Then I look to the MAX, I found this..?
I tried to use the following correction:
STill I am getting the same error/??? any help
Solved! Go to Solution.
08-26-2019 02:42 PM
I have seen that issue with third party serial adapters....
That required a reboot since they did not understand the session being closed down by Putty etc.
Ben
08-26-2019 02:58 PM
Hi guy,
My lab-view run successfully. … I got this response when I connected my device serial connection directly to my computer port). But after sometime I couldnt able to get desired response and I see the following error
Is there a reason you need to open and close the port for each new sample?
08-26-2019 04:50 PM
No I am looking the continuous data streaming from the transmitter to the screen. Do you think I should put them in the loop???
08-27-2019 12:59 AM - edited 08-27-2019 01:00 AM
08-27-2019 01:22 PM
Hey BEN
"I have seen that issue with third party serial adapters...
That required a reboot since they did not understand the session being closed down by Putty etc".
Question: Do I need to do all the time restart my pc for the measurement purpose? Is there any other way to figure it out?
Hey Gred-W,
"Is there a reason you need to open and close the port for each new sample?"
Question: what do you mean by that open or close for each sample. I refer book which says it's the standard way to read and write for the stand-alone instrument. Is there any other way to write the block diagram for my issue. I think I already provided enough details about my problem.
Looking forward to your reply,
Kind regards,
skdubey
08-27-2019 01:38 PM
08-27-2019 02:35 PM
@skdubey wrote:
Hey BEN
"I have seen that issue with third party serial adapters...
That required a reboot since they did not understand the session being closed down by Putty etc".
Question: Do I need to do all the time restart my pc for the measurement purpose? Is there any other way to figure it out?
...
Looking forward to your reply,
Kind regards,
skdubey
Only if you have one of those serial adapters that does not understand being disconnected and the session closed.
The customer I worked with when I found that situation decided to stick with the crappy serial adapter so in their case the answer is "yes you have to reboot".
If it was my decisions, I would toss the bad widget and get a decent one.
Ben
09-04-2019 09:18 AM