05-28-2008 02:53 PM
05-29-2008 09:42 AM
06-02-2008 10:17 AM
Sorry for the delay. Here is the data from NiSpy
1. viOpenDefaultRM (0x00DE4E20)
Process ID: 0x000001D4 Thread ID: 0x0000035C
Start Time: 09:23:35.781 Call Duration: 00:00:00.078
Status: 0 (VI_SUCCESS)
2. viOpen (0x00DE4E20, "ASRL3::INSTR", 4, 0, 0x00DF7E48)
Process ID: 0x000001D4 Thread ID: 0x0000035C
Start Time: 09:23:36.171 Call Duration: 00:00:00.125
Status: 0 (VI_SUCCESS)
3. viGetAttribute (0x00DF7E48, INTF_TYPE, 4)
Process ID: 0x000001D4 Thread ID: 0x0000035C
Start Time: 09:23:36.296 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
4. viGetAttribute (0x00DF7E48, RSRC_NAME, "ASRL3::INSTR")
Process ID: 0x000001D4 Thread ID: 0x0000035C
Start Time: 09:23:36.296 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)
5. viWrite (0x00DF7E48, "*IDN?.", 6, 6)
Process ID: 0x000001D4 Thread ID: 0x0000035C
Start Time: 09:23:41.406 Call Duration: 00:00:00.015
Status: 0 (VI_SUCCESS)
> 6. viRead (0x00DF7E48, 0x00DF9E08, 1024, 0)
> Process ID: 0x000001D4 Thread ID: 0x0000035C
> Start Time: 09:23:44.375 Call Duration: 00:00:02.000
> Status: 0xBFFF0015 (VI_ERROR_TMO)
06-03-2008 12:24 PM
06-03-2008 01:31 PM
06-03-2008 02:20 PM
06-17-2008 11:12 AM
Thanks Dennis for the input. I was able to get a 34401 DMM to communicate. I am not real familiar with using VI commands but was able to get it working by using the following commands
viOpenDefaultRM (&dmm);
viOpen (dmm, "ASRL3::INSTR", VI_NULL, VI_NULL, &dmm22);
viWrite (dmm22, "++addr22\r\n", 10, ct); //assign prologix address to instrument
viWrite (dmm22, "*IDN?\r\n", 7, ct); //query instrument
viRead (dmm22, read, 100, ct); //read back query
viWrite (dmm22, "*TST?\r\n", 7, ct); //selftest instrument