Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI code not seeing alias SIGGEN set by GPIBConfig DEV name

I have a CVI program that was written with an earlier version of LW/CVI (version 9), it looks for DEV alias SIGGEN to communicate with the SG (signal generator) via GPIB. It is not able to see the SIGGEN device however. For troubleshooting, I launch MAX and version that the SG is connected to the GPIB bus and able to communicate to it. What do I need to do to make the CVI program find the SIGGEN alias and communicate with the SG?

 

Some additional things I have done: I launch the GPIB Config Utility by double clicking on GPIBConfig.exe and verify that the device name SIGGEN is set for DEV2 with Primary address set to 2, interface set to GPIB0.

 

Also, what should be the service pack for the Windows XP OS for the NI tools/apps (CVI/GPIB) to work correctly? Is service pack 2 OK or should it be a later service pack version?

 

0 Kudos
Message 1 of 2
(3,201 Views)

Hey dmac,

 

Would it be possible to see a screenshot of the GPIB config utility showing the device name, as well as the snippet of code that's communicating with the device and any error message that you see when you do the communication? It might be helpful to have that information to help shed some light on the issue.

 

I might also suggest changing the name of the device (both in the config utility and the code) and then try the communication again.

 

Finally, has this code worked in the past, or is this the first time you've tried to set it up? 

 

I think the answers to these questions might help us figure out what's going on. Let us know!

0 Kudos
Message 2 of 2
(3,175 Views)