02-06-2023 09:24 AM
@GRCK5000 wrote:
How did you get "visa test panel" on NIMAX? My NIMAX does not have it.
You have to specifically select the VISA Test Panel to be installed when you install NI-VISA.
BTW: The VISA Test Panel used to be installed by default with VISA and the VISA runtime. But NI in all their wisdom decided that we would rather save a few kilobytes in our installation package than have a valuable tool always at our fingertips.
Please kudo my idea: Automatically include the VISA test panel in installers that include the VISA runtime
02-06-2023 09:27 AM
@AETHER1 wrote:
It worked after setting the string to code display, thanks a lot!
The display style is irrelevant.. It is just a cosmetic property.
You could change the display style in my VI back to normal and it would still work exactly the same as long as you don't change the value, it just would look differently....
02-06-2023 10:38 AM - edited 02-06-2023 10:40 AM
@altenbach wrote:
@AETHER1 wrote:
It worked after setting the string to code display, thanks a lot!
The display style is irrelevant.. It is just a cosmetic property.
You could change the display style in my VI back to normal and it would still work exactly the same as long as you don't change the value, it just would look differently....
It sounds like changing the display style made his backslash code work. What seemed to be left unsaid was what he did with the actual string to support this change.
One thing that I will say is confusing is that the VISA test panel accepts either an explicit backslash code or the keyboard equivalent. i.e., \n or just the enter key. The example they give - *IDN?\n - makes it seem like that's what you are supposed to do, so you copy that string and then it doesn't work. it isn't immediately clear that the interactive window is set to "View mixed ASCII/hexadecimal" and the command window certainly doesn't mention it...
02-06-2023 10:46 AM - edited 02-06-2023 10:47 AM
@billko wrote:
It sounds like changing the display style made his backslash code work.
No, I added the correct command, made it the default for the control, and changed to display style to \-codes for better visibility, then attached my version.
The recommended procedure would probably be to have a string input for only the text part of the command and add the trimmings on the diagram side using string functions to form the command. 😄
02-07-2023 09:32 AM
@RTSLVU wrote:
@GRCK5000 wrote:
How did you get "visa test panel" on NIMAX? My NIMAX does not have it.
You have to specifically select the VISA Test Panel to be installed when you install NI-VISA.
BTW: The VISA Test Panel used to be installed by default with VISA and the VISA runtime. But NI in all their wisdom decided that we would rather save a few kilobytes in our installation package than have a valuable tool always at our fingertips.
Please kudo my idea: Automatically include the VISA test panel in installers that include the VISA runtime
Kudoed! I have been trying to get my IT to add NI System Config with MAX, VISA, GPIB and SERIAL to every PC here since they locked down installers with no luck. It's hard to believe that NI, who have the most ridiculously HUGE installers I've ever worked with are worried about installer size for this. 🙄