jordi
Full Member
A simple solution is the smarter one.
Posts: 106
|
Post by jordi on Jan 26, 2021 12:25:34 GMT -5
In ebay and Aliexpress there are many models. It may be better ebay if you find a good price for that component in your country, so you support the local businesses. I use to buy through ebay to an electronics shop here in Spain.
|
|
|
Post by johnking on Jan 31, 2021 10:32:52 GMT -5
Results so far: Case 1. I can communicate via LB with the instrument over GPIB using the GPIB-32.DLL if I use an internal PCI-to-GPIB card. inserted in a PCI slot in the PC. Case 2. I can not establish communication via LB with the instrument over GPIB using the GPIB-32.DLL if I use an external USB-to-GPIB card inserted in a USB bus port in the PC. In case 2 a GPIB device is properly created, like it is in case 1, and this device is visible in the device manager as a system device. I can access and send commands to and from the created device using the demo programs which are included with the adapters. So the device itself works. But after a day trials I think I must conclude that GPIB-32.DLL library works with internal PCL-ti-GPIB cards, and not with external USB-to-GPIB card, which is what I was looking for. Despite a system GPIB device is properly created and visible. Any other -last- thoughts on this ?
|
|
|
Post by Rod on Jan 31, 2021 13:05:40 GMT -5
Yep, .dlls are pretty specific usually. I think you would get more informed responses from any keysight forum you can find. I suspect they have moved on from vanilla rs232 support. It's commercial, you have to buy their products and buy their training.
|
|
|
Post by ardentcrest on Feb 4, 2021 11:05:23 GMT -5
I too have a measurement instrument, mine for weather which uses USB. the very old software I have has a .dll file USBDrive.dll (44 KB)which it uses to get data from it. I need help in learning how to use LB to read and/or send from this dll. You might also find this dll helpful Johnking's I hope some one can help ss I'm a total LB beginner.
|
|
|
Post by Carl Gundel on Feb 4, 2021 11:09:51 GMT -5
I too have a measurement instrument, mine for weather which uses USB. the very old software I have has a .dll file View Attachmentwhich it uses to get data from it. I need help in learning how to use LB to read and/or send from this dll. You might also find this dll helpful Johnking's I hope some one can help ss I'm a total LB beginner. Maybe start a new thread with its own subject to discuss this?
|
|
|
Post by ardentcrest on Feb 4, 2021 11:21:13 GMT -5
I too have a measurement instrument, mine for weather which uses USB. the very old software I have has a .dll file View Attachmentwhich it uses to get data from it. I need help in learning how to use LB to read and/or send from this dll. You might also find this dll helpful Johnking's I hope some one can help ss I'm a total LB beginner. Maybe start a new thread with its own subject to discuss this? As we both have measurement instruments of one sort or another, and we both need to read/write from/to a USB port, and I found a dll file that could help both of us, I felt that this was the right place to post. But I will defer to your judgment.
|
|
|
Post by Rod on Feb 4, 2021 11:52:49 GMT -5
When you start the new thread give us the link to the support page for your weather device. The .dll will be specific to that device and it all depends on whether the manufacturer has allowed for PC access. It may just communicate with its own software and we are unlikely to make any progress if that is so.
|
|
|
Post by johnking on Feb 4, 2021 14:01:06 GMT -5
Thanks Ardentcrest. I peeped into that DLL. Unfortunately is written for C+, so you original program is likely to be written in C+ as well. What we need is a DLL written for a communication device were LB can address to, and which comes with description of the command set. Like the GPIB-32.DLL which is for the internal PCI Keithley/NI GPIB card and for which a documentation of the command set is available. So LB kan talk with an internal PCI GPIB card and thus with an external instrument, as it can via a USB-to-serial converter. I keep trying and looking but until now I found no DLL which can directly address the USB port in LB.
|
|
|
Post by Carl Gundel on Feb 4, 2021 17:02:40 GMT -5
Maybe start a new thread with its own subject to discuss this? As we both have measurement instruments of one sort or another, and we both need to read/write from/to a USB port, and I found a dll file that could help both of us, I felt that this was the right place to post. But I will defer to your judgment. Yes, you're using a different instrument and a different library, so it makes sense to have a different thread.
|
|