Issue(s) with NSX 2.6.0.191
Darkside
Posts: 345
I have found that the reported bug fix below appears to still not be quite right.
send_string dev,"$FE,$01,$67,$68,$FF"
but in the diagnostics window it displays as follows...
Line 716 (17:21:10):: String To [5001:1:1]-[$FE$01gh$FF]
$67 (ascii g)
$68 (ascii h)
Not a single $00 to be seen.
This string is part of a polling sequence for a barco vp...NSX What's new wrote:BUG FIX - The problem with truncated strings/unpredictable messages being displayed in the Notification and Diagnostic panes has been corrected. This was occurring when a $00 value was imbedding in the string being sent/received from a device.
send_string dev,"$FE,$01,$67,$68,$FF"
but in the diagnostics window it displays as follows...
Line 716 (17:21:10):: String To [5001:1:1]-[$FE$01gh$FF]
$67 (ascii g)
$68 (ascii h)
Not a single $00 to be seen.
0
Comments
;-)
This is a diagnostics window and in my view it should show EXACTLY what is being sent, not a representation or interpretation of the packet because it is printable or non-printable.
If we spit out a '$67' in a string, I would fully expect to see just that, not 'g'.
Outbound strings can generally be vouched for from your code, but inbound strings - this can be very tedious reading some bytes as hex and some as ASCII.
If this window can display '$03' as '$03' and not '♥', then there should be no reason to display 'g' and not '$67'!!
There is generally enough to do already without having to interpret the bytes back to their native form in your head (and usually whilst under pressure)!
I hope it is put on the list for next time...it certainly erks me when it shows up.
That would indicate that ♥ is 3, but in my experience ♥
It would be nice to also be able to select if printable chars show up as their ASCII representation or to show all characters in HEX, or Decimal for that matter, since there are several devices that would be much easier to debug that way.
:-)
Hm, can not reproduce this.....
In Studio's preferences, check in EDITOR tab the setting of "Intend before text with..." and also "Enable auto intendation" Maybe while the update process your previous settings were lost.
It's the automatic display of ASCII that causes the problems. ASCII for $00 is nothing at al, so of course it doesn't display. Let it be Hex, decimal or ASCII, and not some jumbled combination. And for that matter, give us a way to change the display type on the fly instead of needing to do it in Settings. With all the types of devices out there, no one way is sufficient.
The What's New text advises I don't seem to be able to run this...only Software History is visible within Studio. Is it just my install?