07-08-2016 07:15 AM
I said I DO see difference between the tera-term and labview in the sniffer on this command only.
I ended up breaking my string into bytes (just like you have impiled) converting each byte to ASCII and comparing to the ascii values sniffer is seing. In process now, will report the results, but it looks like I am seing a difference, which leads me to believe VISA Write may be making changes after all.
I need to carefully examine everything first though.
07-08-2016 09:16 AM - edited 07-08-2016 09:19 AM
@rsmrostov wrote:I said I DO see difference between the tera-term and labview in the sniffer on this command only.
Actually you said
"Yes, I see differences, even when the echo is off it seems like the sniffer is still seing the echoed charaters, when using teraterm, but not when sending through the VISA Write"
You are talking about echo on and echo off, which would certainly be symptom of whether the command you are sending worked or not. You didn't say anything about differences you saw in the sniffer data..
So post whatever you have from the sniffer that shows what each is sending.
Question: How do you have the string control or constant set for display when you have the command entered? Your tiny snapshot of the block diagram did not show this part of the code. I'm wondering if you have it set to show slash codes, and when you entered the command your \04 part of it is being converted to the byte 04 rather than the literal characters of backslash, zero, four.
07-08-2016 09:21 AM - edited 07-08-2016 09:21 AM
I wrote bunch of different programms to debug and found the issue:
I think I have used Notepad++ or TestStand environment to type up the command - the '-' was interpreted as a dash not a hyphen, and single quotation marks were interpreted as left and right single quotation marks - linux didn't like that. When fixing it things are now working....phew, I thought I would go insane fighting masters of deception.
07-08-2016 10:40 AM
Here are the two snipes I have used to debug the issue
07-08-2016 11:23 AM
@rsmrostov wrote:I wrote bunch of different programms to debug and found the issue:
I think I have used Notepad++ or TestStand environment to type up the command - the '-' was interpreted as a dash not a hyphen, and single quotation marks were interpreted as left and right single quotation marks - linux didn't like that. When fixing it things are now working....phew, I thought I would go insane fighting masters of deception.
It's awesome that you found out what was wrong. I thought I had scanned your messages pretty thoroughly and didn't see where you said that particular command worked elsewhere.