LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ADCMT 6240B

Hello everyone, 

 

I have been trying to make use the ADCMT LabVIEW driver to run and read the measurement back from the 6240B current source, but it seems like there is not any connection. I am using NI instruments GPIB-USB-HS cable and installed the latest version of NI-488.2. I am not an expert in this area and your guidance is very much appreciated. What should I check to find the root cause of the problem? 

0 Kudos
Message 1 of 6
(287 Views)

What do you mean by "there is not any connection" ? do you get any error?

 

Highly recommend to watch this tutorial - https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 6
(258 Views)

Thank you very much for the reply, Santhosh! 

When I run the Labview, nothing happens to the current source. This is why I say there is no connection between them. 

I will definitely watch this tutorial.

 

best,

 

Amin

0 Kudos
Message 3 of 6
(244 Views)

Hi Amin,

 


@Amin_ka69 wrote:

When I run the Labview, nothing happens to the current source. This is why I say there is no connection between them. 

I will definitely watch this tutorial.


The video will not provide help your your GPIB communication…

 

  • Does MAX recognize the GPIB device when scanning the GPIB bus?
  • Do you call the driver VIs with the correct resource string?
  • Do those driver VIs give any error outputs?
  • Are these very old VIs still using the ancient GPIB functions or do they call VISA functions?
  • Do you use a GPIB cable between the USB-GPIB and your device? Are you sure that cable works correctly (and did you try another cable)?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(231 Views)

Thank you very much for your points. 

 

Now, after USB driver installation the connection is fixed. 

 

 

0 Kudos
Message 5 of 6
(202 Views)

Hi GerdW,

 

The attached is my main VI for running the 6240b current source. Using it, I can generate step current. My aim is to probe the resulting step voltage response. This current source has the ability to measure the voltage itself. Now this VI's output is just the voltage points you can specify in the front panel. What it actually does right now, it generates for example 5 periods of step current and it outputs five voltages in the level values. But the point is that I want to see the voltage output real-time like the what I can observe on oscilloscope. Do you have any suggestions on how to do that? How can I make sure that the device itself has that ability? Will I need any external DAQ device? 

 

The main VIThe main VIProbed voltage change using oscilloscopeProbed voltage change using oscilloscope

0 Kudos
Message 6 of 6
(174 Views)