LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chroma 16502 DLL Library

Solved!
Go to solution

I am working with Chroma 16502 Milliohm meter. I need to get the test result at the end of the test. I am using RS232 connector to communicate with the device. I have attached the manual of the instrument.

Chroma seems to have LabVIEW package for the instruments but it seems like a DLL package. I am familiar with library where the functions appears in the pallete in block diagram but have never worked with something like this. Can you please guide me on how should I approach it or if there is any tutorial or video on how to work with such package?

 

Link to page with LabVIEW Support.

https://www.chromaate.com/en/data_center/16502_milliohm_meter 

 

In the link above, it states that I need to have these packages installed. So, my second question is how do I verify these packages are installed and are of correction revision? I know VISA Run-time Engine is installed as I am using for other projects but don't know where to look for version. 

SB_123_0-1699394565730.png

 

Download All
0 Kudos
Message 1 of 12
(1,592 Views)

SB_123_0-1699396631453.png

Looks like I have 3 dependency (CVI and VISA Run Time, and IVI Compliance Package) installed. Can you help with confirming it?

 

If confirmed, I need help with how do I use the LabVIEW support for the instrument i.e., DLL package provided?

0 Kudos
Message 2 of 12
(1,582 Views)
Solution
Accepted by topic author SB_123

Extract the content to <LabVIEW>\instr.lib\ and they should appear in the Instruments I/O >> Instrument Drivers palette.

However, it seems like the mmu is not working properly and APIs appear to be missing.

ZYOng_0-1699400683549.png

 

But you still can open the Chr16502.llb and access all the VIs.

ZYOng_1-1699400748971.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
Message 3 of 12
(1,560 Views)
Solution
Accepted by topic author SB_123

I would note that the manual for the device has the full command syntax listed to send ASCII SCPI commands.  If you can't get the drivers using the DLL working, you should be able to program it manually using VISA read/write commands and doing the formatting yourself.  Or, if you can get the DLL drivers working but they didn't include the full functionality that you needed, you could still do that.  Just don't try both at once, it could lead to unexpected issues,

Message 4 of 12
(1,555 Views)

@ZYOng

Thank you for looking into this. I will try on my end and reach out to the vendor on why it is not working properly. 

0 Kudos
Message 5 of 12
(1,520 Views)

@Kyle97330

Thank you for replying. I tried to send a command via PuTTY to verify the communication via RS232 but I didn't get any response on the console of the PuTTY. I simply typed in the command and hit enter in PuTTY but no luck. Once I am successful with PuTTY then I was planning to test with VISA. Any thoughts on use of PuTTY with this device before starting the development with VISA.

 
0 Kudos
Message 6 of 12
(1,515 Views)
Solution
Accepted by topic author SB_123

Hi SB,

 

why don't you use the VISA test panel in MAX (instead of Putty)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 12
(1,490 Views)

@GerdW

Sure. I will try that. 

0 Kudos
Message 8 of 12
(1,459 Views)

Try "*IDN?\r\n" in the VISA Control panel after selecting the serial port that corresponds to your device in the NI Max.

Rolf Kalbermatter
My Blog
Message 9 of 12
(1,456 Views)

@rolfk

Thank you. Is *IDN?\r\n the serial command to the device? And, what do I expect in response?

0 Kudos
Message 10 of 12
(1,448 Views)