02-28-2025 10:12 AM
Hi All,
I am having a problem with communication to a pmx40 RF Power Meter. I have it connected to my computer via a GPIB to usb converter. It is recognized in MAX and the channels both match at 13. It shows present. The interesting thing is when I go to the interactive test panel and try to get a response from it via *IDN?\n it is non responsive. I have also put in place an event structure that will allow me to query the device real time and see what it replies with, which is also nothing. BUT, inside of MAX when i right click the device and go to "communicate with device" and query it there wit the same IDN?\n it will respond with BOONTON etc etc etc. I have spoken with colleagues and their best guess is that I am not using the right format when prompting the device but I have the device manual and have been inputting commands the exact way it instructs.
Am i missing something here? Has anyone had this issue where a device just won't respond? I've added a picture of the .VI for reference.
02-28-2025 03:31 PM
Hello
You are using a string in normal display mode.
That means that a \n is written to the bus. Not a line feed character.
If you just add a linefeed by typing enter you are adding a CR and a LF character but that probably works.
If you only need to add a linefeed, it is best to change the display mode of the command string to backslash mode that uses \n to display a line feed character.
To be sure, changing modes is possible when you rightclick the string and select display mode.