Thanks for your fast response.
I'm using the latest version of the drivers (I installed everything in the begining of Mai).
I wrote a small vi for NI Spy, just a simple 4 wire resistor measurement with "Conf Resistance.vi" at the beginning.
Unfortunately it is my first time working with LabVIEW and the VISA language, and the syntax looks correct for me. ( But I still get the -113 error.)
Here the processed commands (1 loop):
1. viGetAttribute (0x0015B920,0x3FFF018F,VI_FALSE)
Process ID: 0x0000033C Thread ID: 0x0000041C
Start Time: 14:52:09.127 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
2. viGetAttribute (0x0015B920,0x3FFF018F,VI_FALSE)
Process ID: 0x0000033C Thread ID: 0x0000041C
Start Time: 14:52:09.127 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
3. viGetAttribute (0x0015B920,0x3FFF018F,VI_FALSE)
Process ID: 0x0000033C Thread ID: 0x0000041C
Start Time: 14:52:09.157 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
4. viGetAttribute (0x0015B920,0x3FFF018F,VI_FALSE)
Process ID: 0x0000033C Thread ID: 0x0000041C
Start Time: 14:52:09.157 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
5. viOpen (0x0015B920,"COM1",0 (0x0),0 (0x0),0x0017CC30)
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.469 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
6. viGetAttribute (0x0017CC30,0x3FFF0171,4 (0x4))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.479 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
7. viGetAttribute (0x0017CC30,0x3FFF0171,4 (0x4))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.479 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
8. viSetAttribute (0x0017CC30,0x3FFF001A,10000 (0x2710))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.479 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
9. viSetAttribute (0x0017CC30,0x3FFF0021,57600 (0xE100))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.479 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
10. viSetAttribute (0x0017CC30,0x3FFF0025,1 (0x1))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.489 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
11. viWrite (0x0017CC30,"*RST.",5 (0x5),5 (0x5))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.489 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
12. viWrite (0x0017CC30,"SYST:PRES.",10 (0xA),10 (0xA))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.489 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
13. viWrite (0x0017CC30,"*IDN?.",6 (0x6),6 (0x6))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.489 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
14. viRead (0x0017CC30,"HEWLETT-PACKARD,34970...",50 (0x32),32 (0x20))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.489 Call Duration: 00:00:00.370
Status: 0 (VI_SUCCESS)
15. viWrite (0x0017CC30,"*RST.",5 (0x5),5 (0x5))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.859 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
16. viWrite (0x0017CC30,"SYST:PRES.",10 (0xA),10 (0xA))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:17.859 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
17. viWrite (0x0017CC30,"FUNC "RES", (@);:SEN...",122 (0x7A),122 (0x7A))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:18.781 Call Duration: 00:00:00.020
Status: 0 (VI_SUCCESS)
18. viWrite (0x0017CC30,"MEAS:FRES? AUTO, (@101).",24 (0x18),24 (0x18))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:19.742 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
19. viSetAttribute (0x0017CC30,0x3FFF001A,320000 (0x4E200))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:19.752 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
20. viRead (0x0017CC30,"+1.08185990E+02..",500 (0x1F4),17 (0x11))
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:19.752 Call Duration: 00:00:00.130
Status: 0 (VI_SUCCESS)
21. viClose (0x0017CC30)
Process ID: 0x0000033C Thread ID: 0x0000042C
Start Time: 14:52:21.214 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
Thanks,
Dirk