Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial device responds to *IDN?, but not the commands that should turn it on.

Hi,
I'm working on a LabVIEW program to control a Spectra Physics P51 power supply for a Nd:YAG laser via a RS232 serial connection. So far, using MAX and then a LabVIEW program, I've managed to send the query, "*IDN?\r\n" and get a response from the P51 that has the model and serial number. So, I think that I have this connected correctly, with the right settings on the serial port. But the device does not respond to any of the commands that should turn it on. The manual has a GW basic program to do this, and with the help of some regulars in the LabVIEW forum I tried to emulate this, with no success. (I also tried the basic program, but I'm not certain I did it just right, it didn't work) I've attached their program and the GW basic program. I have a couple of questions about this:

Is *IDN? a universal language command that could be masking a format change necessary for other commands? For instance, maybe the device responds to it, but needs another translation to get the usual commands to work.

I hope this is enough info... I've been puzzling on this for a while.

Thanks,
Karl


(I posted this thread in the wrong place earlier today---sorry, just realized my mistake.)
Download All
0 Kudos
Message 1 of 2
(9,333 Views)