LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DE535脉冲延时发生器

在NI官网下载了DG535的驱动例程后,连接到仪器上后程序无法运行且在NI-MAX上的端口上检测不到设备。且在程序过程中程序报错。有大佬知道是哪里的问题吗?

image.pngimage.pngimage.png

0 Kudos
Message 1 of 7
(986 Views)

@Asill wrote:

After downloading the DG535 driver routine from the NI official website, the program cannot run after connecting to the instrument and the device cannot be detected on the port on NI-MAX. And the program reports an error during the program. Does anyone know what the problem is?


Try Can’t See GPIB Instrument Using Scan for Instruments In NI-MAX before running the LabVIEW code.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 7
(941 Views)

I tried, couldn't detect the device in the scan, and the connection was fine... But the DG535 can enter remote control mode. Another question is that the DG535 driver downloaded by NI official website is plug and play? We don't have to make any changes, do we?

0 Kudos
Message 3 of 7
(915 Views)

The drivers downloaded from the NI Idnet page are in fact examples of using NI-VISA API.

As long as you cannot detect the instrument using NI MAX, which uses the same API, the plug-and-play example/driver won't work.

Try the steps in Unable to Communicate with GPIB Instrument as well.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 7
(907 Views)

Hi Asill, 

 

What do you mean by the DG535 can enter remote control mode?

 

I had a quick look at the manual, and there are two possible things you can look at:

 

  1. Check that the GPIB address is set properly.
  2. On Pg.17, under the section "GPIB problems", it is stated the instrument will respond to commands only if the REN (remote enable) line is asserted. In NI MAX, you can explore this setting "Assert REN when SC" for your USB GPIB. You can see this under the Advanced Settings. If it was not enabled, enable it and save, then try to scan for instrument again.

 

Regards,

Victor

0 Kudos
Message 5 of 7
(886 Views)

Thank you. I'll try again

0 Kudos
Message 6 of 7
(866 Views)

I'm sorry, my description is wrong. After I connected the instrument, the DG535 REN indicator light turned on, but the program didn't seem to work properly when I ran it

0 Kudos
Message 7 of 7
(862 Views)