Hi
We are using the GPIB-USB-B to control a Vötsch 4002 temperature chamber. Since the temp chamber doesn't have a GPIB interface we have to use a GPIB to Serial converter to control it. We don't have any problems sending instructions to the temp chamber but when trying to receive from it it we get the error EARG(4). We think that this is due to not having the correct eoi and eos. This is our visual basic programming code:
Sub InitTempChamber()
Dim ud As Integer
Address = 12
ud = ildev(0, Address, 0, T30s, 1, &H140A)
Call ibfind("GPIB0", 0)
End sub
Sub SetTemperature(Temp As Double)
Dim Buff As String
Call VBIB32.send(0, Address, "$" + CStr(Address) + "E " + CStr(Temp) + " 0000.0 0000.0 0000.0 0000.0 0101111110000000" + Chr$(13), NLend)
Call VBIB32.receive(0, Address, Buff, 1)
End sub
GPIB port settings for the GPIB to Serial converter (Iotech serial 488A)
Terminator: LF only
EOI: Enabled
Mode: Peripheral
Address: 12
SRQ: Disabled
Question:
How to set line feed as the terminating character in eos and eoi.
/Anders