Hope you can assist to push me in the correct direction, learning exercise only for me, non commercial.
I have an old R&S SMFP2, with GPIB control described as IEC 625-1 (IEEE 4888) on the spec sheet. I also have a not quite as old NI GPIB-ENET (not the 100 or 1000). This is configured with a static IP 10.0.0.200.
The NI drivers are all loaded on my laptop version 2.2 and the card has been updated with the latest A.5 firmware and the NI 4888.2 getting started wizard says everything is OK when I verify the hardware and software installation.
When all connected up to the SMFP2, I have run the Measurement and Automation explorer and under the Devices and interface tree can see GPIB0 (GPIB-ENET) and from that can see Instrument0.
Primary address is 30
Secondary address 0
Identification The device did not respond to a *IDN? query
GPIB interface number 0.
At this stage all is looking good so I am now trying to communicate with the Instrument using the communicator. And this is were I fail to get reliable responses from the instrument. I have copied sections from the manual here, sorry it is long winded.
Each instruction to change a setting consists of at least an initial charater (header) and final character (deliminater). When data on a setting is to be transferred, eneter the data bewtween these two limiting characters. All characters are transmitted in ISO 7-bit ASCII code.
After a measurement has been completed, the result be called up before a new m,easirement is made, since otherwise the data would be overwritten.
The deliminater for the output is defined in the tester as CR. If a fauolty string is entered, a service request (SRQ) is sent via the IEC bus.
The control instructions are listed:
Function Code
Recieve AR
AM AA
FM AB
CCITT DC
etc
#
Input functions Code
SIG Gen AG123.4567 where 123.4567 is frequency in MHz
etc
So I have been tring what I thought may be the correct things to type in the communicator send string window such as:
30 AR
AR
these do not work but I get better results with 30,AR or ,AR but have to send twice before I get an action
Similar if I want to set the frequency 30,AG222.4444 sets the frequency after two sends only, I can not query the instrument or read it so believe I have not got the correct format.
Can anyone help, if you recognise the old instrument etc.
Please provide a pointer. trying to remember how to program in C will come much later.
If I need to provide anymore information please just ask and I will try my best.
Cheers
Adrian