I have downloaded the drivers for the Agilent ESA series Spectrum Analyzers from NI and I am having trouble just running the initialization VI.
I am currently trying to run the VI called: agesa initialize With Options.vi on Labview 7.0 Express
This is the error I receive:
agesa Initialize With Options.viDriver Status: (Hex 0xBFFF0015) Primary Error: (Hex 0xBFFF0015) Timeout expired before operation completed.
It looks like the Spectrum Analyzer does do a few things (Changes Carrier Frequency to 50 MHz), but it's getting hung up somewhere else.
If I highlight execution, the error comes out of the Call Library Function Node elaboration output in the aforementioned VI.
Here are the settings of the VI I have:
Settings:
id query: true
reset device: false
Option string: Simulate=0,RangCheck=1,QueryInstrStats=2,Cache=1 (The default)
Resource Name: GPIB0::16:INSTR
Any help anyone could provide would be appreciated. Keep in mind, I am fairly new at this. Thanks.
From NI Spy (Numbers 20 and 22 with the ">" are the error lines):
Note: This post can only be 5000 characters, so I have deleted a few of the steps:
7. viWrite (0x001D6008, "*IDN?", 5, NULL)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.822 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
8. viRead (0x001D6008, "Agilent Technologies,...", 511, 50)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.822 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
9. viWrite (0x001D6008, ":SYST:OPT?", 10, NULL)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.822 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
10. viRead (0x001D6008, ""226".", 512, 6)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.822 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
11. viPrintf (0x001D6008, "%s?")
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
12. Formatted viWrite (0x001D6008, "*IDN?", 5, 5)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
13. viRead (0x001D6008, "Agilent Technologies,...", 512, 50)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
14. viPrintf (0x001D6008, "*CLS;*ESE 1;*SRE 32")
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
15. Formatted viWrite (0x001D6008, "*CLS;*ESE 1;*SRE 32", 19, 19)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
16. viPrintf (0x001D6008, ":CALC:LLIN:CMOD FIX")
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
17. Formatted viWrite (0x001D6008, ":CALC:LLIN:CMOD FIX", 19, 19)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
18. viPrintf (0x001D6008, ":CALC:MARK:FCO:RES:AUTO %s")
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
19. Formatted viWrite (0x001D6008, ":CALC:MARK:FCO:RES:AU...", 26, 26)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.832 Call Duration: 00:00:00.010
Status: 0 (VI_SUCCESS)
> 20. viQueryf (0x001D6008, "%s?", "%hd")
> Process ID: 0x00000388 Thread ID: 0x00000728
> Start Time: 09:10:37.842 Call Duration: 00:00:17.085
> Status: 0xBFFF0015 (VI_ERROR_TMO)
21. Formatted viWrite (0x001D6008, ":BAND:RES:AUTO?", 15, 15)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:37.842 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
> 22. Formatted viRead (0x001D6008, "", 4000, 0)
> Process ID: 0x00000388 Thread ID: 0x00000728
> Start Time: 09:10:37.842 Call Duration: 00:00:17.085
> Status: 0xBFFF0015 (VI_ERROR_TMO)
23. viClose (0x001EC548)
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:54.927 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
24. viStatusDesc (0x00000000, 0xBFFF0015, "Timeout expired before oper...")
Process ID: 0x00000388 Thread ID: 0x00000728
Start Time: 09:10:54.927 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)