Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB driver errors

Hello,

 

I have this error on the initialization of the driver, so i wasn't able to check any other functions.

 

The attached file shows a screen shot for the error and am starting to think that it is related to the GPIB board that am using because am using a CEC PCI GPIB board not ni GPIB board so is it the reason for the problem???

 

thanks a lot.

 

0 Kudos
Message 11 of 19
(1,432 Views)

Hello,

 

sorry this is the correct screen shot for the error, the previous message wasn't the right one:

 

0 Kudos
Message 12 of 19
(1,418 Views)

Hello,

 

Are you able to communicate with your device use the VISA test panels in Measurement & Automation Explorer? Also I see you are using Visual Basic to program your device. What steps did you go through to create a wrapper for this driver, since the only driver we provide online is for CVI?

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 13 of 19
(1,400 Views)

Hello,

 

I was able to create the .vb file from the .fp file using measurement studio, also i had to create the dll using labwindows/cvi and added this dll to the debug folder of my application, according to what Mr.Christopher said. In this way i was able to make the function generator driver work  just fine, with only some modifications i wrote about it here before. but i still have a problem with the oscilloscope.

 

I can't communicate with my device using test panel because i can't communicate with the GPIB board, my board is a cec pci GPIB board, and i think the problem that i have has some thing to do with this fact???? do you have any idea about how to make this device work with visa test panels or how to be able to communicate with it using visa commands???

 

thanks for your help.

 

0 Kudos
Message 14 of 19
(1,397 Views)

Are you able to communicate with the device with the software that came with it? Also are you able to communicate with the device using just CVI and not Visual Studio?

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 15 of 19
(1,364 Views)

Hello,

 

Yes i can communicate with my device using the command line, and also using visual studio with the commands of my board such as send, receive and so.

 

am trying to communicate with the oscilloscope now using SCPI and gpib commands, i was able to set all parameters correctly but i have a problem when i try to read the data trace using the transmit and rarray commands, i can not receive any thing do you know what is the problem??

 

thanks.

 

0 Kudos
Message 16 of 19
(1,362 Views)

Are you able to communicate with this device just using CVI, not using the wrapper you created? Are you able to send these commands in CVI to your instrument?

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 17 of 19
(1,334 Views)

Hello,

 

actually i didn't because am very new in using cvi so i don't know how to use it to communicate with my device!!!Smiley Sad

 

thanks.

0 Kudos
Message 18 of 19
(1,329 Views)

Hello,

 

You can follow this link to give your 3rd party device a VISA aliases that you can reference in your program. You will not be able to use GPIB commands though in order to communicate with your device, only VISA commands.

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 19 of 19
(1,302 Views)