08-20-2014 12:34 AM - edited 08-20-2014 12:35 AM
@billko wrote:
I was following it closely in the beginning, but as I didn't have enough knowledge in the area to help him, I eventually lost interest. I eventually got curious enough to peek into the thread again, and I was surprised to see that it hadn't progressed much in nearly four weeks.
It wrong to say that we had't progress in nearly four weeks, yes it is delayed but parallely we are flushing all other failing possbilities. Also there is been some wonderful gueestion which I am following.
Its streched for 4 weeks becasue whatever changes or advice are being told I need time to implement and check and sometimes 2 days or more,
08-20-2014 12:46 AM
I don't know the deep technical dfiferences between XP and 7 but this is how I would debug the issue.
If the command "*AA$" works alone then there might be a coupling effect that is causing the error. swap the "*AA$" (third command) for another one and see if the error happens on the third command or at the new position of the "*AA$" command.
However, I'm still thinking that you need to do what I mentioned in post 107. Create a subVI that handles the different commands differently since several commands have different return patterns.
Hopefully this doesn't make it more complicated but over in the LIFA discussion, you mentioned commands like "@*DK1$*LK$*DK0$#" and "@*AB$*AC$*AA$*AD$#". Are these related to the code being discussed here?
08-20-2014 12:59 AM
@Nathan_B. wrote:
I don't know the deep technical dfiferences between XP and 7 but this is how I would debug the issue.
If the command "*AA$" works alone then there might be a coupling effect that is causing the error. swap the "*AA$" (third command) for another one and see if the error happens on the third command or at the new position of the "*AA$" command.
However, I'm still thinking that you need to do what I mentioned in post 107. Create a subVI that handles the different commands differently since several commands have different return patterns.
Hopefully this doesn't make it more complicated but over in the LIFA discussion, you mentioned commands like "@*DK1$*LK$*DK0$#" and "@*AB$*AC$*AA$*AD$#". Are these related to the code being discussed here?
Yes both command are part of my test sequence. I will change the *AA$ with some other command and change the postion of *AA$ will let you know.
Thanks a lot buddy
08-27-2014 05:16 AM
Still failing !!! I changed the position and there also its failing
08-27-2014 06:10 AM
@Ranjeet_Singh wrote:
Still failing !!! I changed the position and there also its failing
Giving such little detail of what you did is not at all helpfull. What sequences did you try and where did it fail each time? (A spreadsheet would probably be convenient here)
I'm still concerned that you are assuming a fixed number of bytes to read when the actual ouptut is not fixed in length. I wouldn't be surprised if something like this was actually causing your issue.
08-27-2014 07:26 AM
@Nathan_B. wrote:
Giving such little detail of what you did is not at all helpfull. What sequences did you try and where did it fail each time? (A spreadsheet would probably be convenient here)
I'm still concerned that you are assuming a fixed number of bytes to read when the actual ouptut is not fixed in length. I wouldn't be surprised if something like this was actually causing your issue.
Yes still I am asuming fixed number of bytes to read. For each test seqence there are fixed number of bytes. Before writing the VISA write I know in advance that. I will share the actual test sequence by tommorrow
08-27-2014 03:56 PM
Also, since you claim that it works on Windows 7 but not Windows XP, also do the same tests using the Windows 7 computer (with the same hardware) if possible.