Add new VISA resource names options and Startup delay#45
Add new VISA resource names options and Startup delay#45aleruggeri87 wants to merge 6 commits intoxyphro:masterfrom
Conversation
- whole chapter restructured -described new VISA resource name options
|
Hi Alesandro, Thanks a lot for your contribution. I am busy right now speeding up transfers and will merge and test your pull request afterwards. |
|
And i value starup delays a lot btw! Auto id feature might get better with it |
|
From a quick browse over the code it looks good and well integrated using the pulse indicator triggered sidechannel. Thanks for fixing also the typos in the readme. Some I had seen myself but was not motivated yet to fix them :-) Let me test this next week, also with my latest local changes, then I will merge it. |
|
Hi, no problem, take your time, and merge when it better suits you. It's been a while since I wanted to submit my changes. Recently, I noticed your numerous updates, and I was concerned about potential conflicts. However, with your current master, as you can see, the merge is straightforward. Cheers, |
|
Hi Alessandro, sorry - short update: I merged it locally already and tested it successfully. Thanks a lot! Best regards, Kai |
|
Hi Allesandro, I did a lot of changes of the configuration interface and it now supports textual commands. I implemented your items like this: !string short => limits ressource string = serial number length to 28 characters. Independent on if autoid is used or not. Allthough I use matlab often, I don't have it by hand right now to determine the exact maximum length, but 28 should be OK. !autoid off -> no autoid sensing using *IDN? or ID? Not as nice as your approach which is adjustable in 0.5s steps, but I wanted to keep the text parser simple and this maybe does at the end the same. It might be hard to determine the exact amount of required delay time anyway. Hope you are fine with this! I did not push the sourcecode/ binary for this yet as I also want to take your grammar corrections into the latest readme.md and in general want to improve the readme.mds. BTW: I have also one instrument that has a debug GPIB port enabled during powerup - CMU200. It does not distort the instrument operation, but comes up with another *IDN? response during startup when the delay time is short. |
|
Hi Kai, thanks for keeping me updated on your development. When I was trying to using the UsbGpib with MATLAB, I tried with some instruments that were enumerated (with the default settings) as: The last device is a KE236 SMU that doesn't recognize the *IDN command. However, the replay string was short enough (overall lenght: 51 chars) to be recognized by MATLAB, so I understood the issue. The HP8131A string is 56 chars and doesn't work. So, the limitation seems to be somewhere in between. If you are counting only the characters in the "central" part of the string, the one available on the microcontroller, I would suggest to limit it to 20-22 chars. Currently, I am using my format Regarding the *IDN request delay, I think your discretization is totally fine. I wish you a great start to the New Year, |
|
Hi Alesandro, Thanks for additional input. Will change the times and shorteb the strings further. I need to think about your gpib_NN proposal. This makes sense, but can create issues when you have 2 times the same gpib address. Maybe I make the gpibonly proposal - let me think. Best regards, Kai |
Hi Kai,
I made a few modifications to the source code and updated the README file accordingly.
Specifically:
Thank you for your excellent work. Overall, it works and integrates very well, better than many commercial solutions.
I hope my modifications are appreciated.
Best,
Alessandro.