Author Topic: WinGPIB - Windows GPIB App (multi-purpose)  (Read 217153 times)

yuhar and 2 Guests are viewing this topic.

Offline Tony_G

  • Frequent Contributor
  • **
  • Posts: 930
  • Country: us
  • Checkout my old test gear channel (link in sig)
    • TGSoapbox
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #750 on: April 23, 2024, 02:59:53 pm »
Confirmed 171 installed/updated without issue - Thanks Ian,

TonyG
 
The following users thanked this post: IanJ

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #751 on: April 23, 2024, 07:58:04 pm »
New version in Post #1 available for download.
WinGPIB_V3_172.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

Slight tweak to the Command Line tab. When doing a Query Async it no longer adds in a extra carriage return (blank line). Each line for each command and its reply now occupies a single line now, per below.

PS. Sadly, it's not possible to auto-detect Query Async versus Send Async with GPIB as every manufacturer has it's own command structure. If they had ALL had a question mark after a Query Async command then it would have been easy!

Ian.

« Last Edit: April 23, 2024, 08:00:41 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #752 on: April 24, 2024, 05:19:04 pm »
New version in Post #1 available for download.
WinGPIB_V3_173.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

- Fixed slight bug in the Playback Chart, the Manual Refresh and Zoom All buttons now refresh the CSV without upsetting the x-scale labels and Time in mins.
- Add simple instructions/info on the GPIB Command Line tab.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: 0x2102

Offline TERRA Operative

  • Super Contributor
  • ***
  • Posts: 2997
  • Country: jp
  • Voider of warranties
    • Near Far Media Youtube
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #753 on: May 15, 2024, 01:40:51 pm »
Just having a play with this app here.
I have two questions..

Is there a way to change the directory that the cal dump for the 3457A is saved to?
I have 'My Documents' on my D drive and I get an Unhandled Exception until I manually made the required folders on my C drive.
Quote
Could not find a part of the path "C:\Users\XXXX\Documents\WinGPIBdata\3457ACalram_date_time.bin"


Also, how does one determine what addresses to copy for a particular instrument? Is there an easy way to determine if I have an early or late type instrument?
Where does all this test equipment keep coming from?!?

https://www.youtube.com/NearFarMedia/
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #754 on: May 15, 2024, 02:31:21 pm »
Just having a play with this app here.
I have two questions..

Is there a way to change the directory that the cal dump for the 3457A is saved to?
I have 'My Documents' on my D drive and I get an Unhandled Exception until I manually made the required folders on my C drive.
Quote
Could not find a part of the path "C:\Users\XXXX\Documents\WinGPIBdata\3457ACalram_date_time.bin"


Also, how does one determine what addresses to copy for a particular instrument? Is there an easy way to determine if I have an early or late type instrument?

I have updated WinGPIB, see the download in Post #1 with a new version V3.174
This version doesn't not discriminate between C: and D: drives etc.

I have NOT tested the installation .msi file so please let me know how you get on.
I the event your D: drive \WinGPIBdata folder isn't created at installation then manually create it, then run the .exe

The .exe runs on my system and finds the C: drive WinGPIBdata folder as normal, so I know my non-discriminatory code is working.

To get the address of your instrument say you are using the Keysight libraries then run the Keysight Connection Expert and scan for instruments and it should appear.
Note that certainly under the Keysight libraries you can setup aliases etc so the exact address folks use can vary, as well as depending on what or how many GPIB gateways are in use.
The detection of addresses is not within the scope of WinGPIB.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: coromonadalix, TERRA Operative

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6236
  • Country: ca
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #755 on: May 15, 2024, 02:58:55 pm »
And if you use the Rhode Schwartz  Visa package 7.2.3     

They include a tool called : Tester 32 and 64 bit

see the attached image, you click on the   Find Resource  and anything detected / connected will show
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6236
  • Country: ca
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #756 on: May 15, 2024, 03:06:19 pm »
@Terra    if  you normally  do a call of the instrument id  *IDN?  or else

some  not all for sure, may spit their revision,   if the company made it so... if not go into their menu system properties


My generator answer this  with an IDN command

Siglent Technologies,SSG3032X,SSG3XXXXXXXXXX,3.1.19R5   i put x'es on the number  loll

there you see it's fw  version : 3.1.19R5
« Last Edit: May 15, 2024, 03:09:06 pm by coromonadalix »
 

Offline TERRA Operative

  • Super Contributor
  • ***
  • Posts: 2997
  • Country: jp
  • Voider of warranties
    • Near Far Media Youtube
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #757 on: May 15, 2024, 03:48:44 pm »
Thanks for the revision! It works perfectly now using my D drive and makes the needed folders itself. :)

For the address, what I mean is that when I'm copying out the calibration data, I can choose two options for either an older or newer 3457A as the calibration data is held in different addresses in RAM.
I'm just wondering how to determine which selection to make for my instrument. i.e, looking at the serial number or a revision number on the PCB etc?
Where does all this test equipment keep coming from?!?

https://www.youtube.com/NearFarMedia/
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #758 on: May 15, 2024, 05:24:38 pm »
Thanks for the revision! It works perfectly now using my D drive and makes the needed folders itself. :)

For the address, what I mean is that when I'm copying out the calibration data, I can choose two options for either an older or newer 3457A as the calibration data is held in different addresses in RAM.
I'm just wondering how to determine which selection to make for my instrument. i.e, looking at the serial number or a revision number on the PCB etc?

Ahhh, I see.
On page 8-23 of the service manual it gives some instruction to work out which version you have based on the serial number of your 3457A.
There is also some info on the following page where folks have identified the different versions:
https://www.eevblog.com/forum/metrology/dumping-cal-ram-of-a-hp3457a/50/

Ian.
« Last Edit: May 15, 2024, 05:26:32 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: TERRA Operative

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6236
  • Country: ca
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #759 on: May 15, 2024, 05:35:09 pm »
I think the next question would be :

Q:would it be possible from within WinGPB to execute some -pre programmed commands     say:  python or else

Meaning   WinGpib connect to the instrument and  "from the 3457 linked page",     you execute a cal dump thru it and save it elsewhere ?
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #760 on: May 15, 2024, 06:57:32 pm »
I think the next question would be :

Q:would it be possible from within WinGPB to execute some -pre programmed commands     say:  python or else

Meaning   WinGpib connect to the instrument and  "from the 3457 linked page",     you execute a cal dump thru it and save it elsewhere ?

Actually, it's something I would like to add....i.e. a Python scripting interface from within WinGPIB......but it's likely quite complicated to do....for me anyways.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline chilternview

  • Regular Contributor
  • *
  • Posts: 162
  • Country: gb
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #761 on: May 23, 2024, 05:24:24 pm »
Hi Ian,
Downloaded the latest version and the graphing scales are matching the grid lines, yay!
But the resolution of the Y axis, in particular, has gone down to 4 digits. So a scale of 9.9999 to 10.0001 volts, for example, has no distinction between the scale values. Needs 6 digits after the decimal point really instead of 4, could this be fixed?
Thanks!
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #762 on: May 23, 2024, 06:15:17 pm »
Hi Ian,
Downloaded the latest version and the graphing scales are matching the grid lines, yay!
But the resolution of the Y axis, in particular, has gone down to 4 digits. So a scale of 9.9999 to 10.0001 volts, for example, has no distinction between the scale values. Needs 6 digits after the decimal point really instead of 4, could this be fixed?
Thanks!

Are you talking about the Playback Chart?......if so it's fine with me.
Could you attach your CSV so I can check it out with your real data.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline chilternview

  • Regular Contributor
  • *
  • Posts: 162
  • Country: gb
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #763 on: May 23, 2024, 06:31:56 pm »
It's the live chart, not the playback chart... am I missing some option to set the # of digits precision for the live chart?
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #764 on: May 23, 2024, 06:56:05 pm »
It's the live chart, not the playback chart... am I missing some option to set the # of digits precision for the live chart?

I'll have a look at it.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #765 on: May 24, 2024, 08:58:38 am »
New version in Post #1 available for download.
WinGPIB_V3_175.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

Bug fix in the Live Chart, the y-scale was not working correctly if auto-scale was turned off (manual ranging). Manual ranging y-scale now fixed at 8dp's.
I have also stopped the Enable Chart 1 & 2 checkboxes from being cleared when the Clear Chart button is pressed.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: TERRA Operative

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #766 on: May 29, 2024, 06:18:32 pm »
New version in Post #1 available for download. - PLEASE READ THE INFO BELOW BEFORE UPGRADING TO THIS NEW VERSION
WinGPIB_V3_178.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

I have made quite a lot of changes in the background to WinGPIB, and a couple of minor bugfixes, so if you upgrade to this version then you must use the old EXPORT PROFILES button to save your profiles to a text file first (i.e. Profiles 2024-05-29 11-09-01.txt).......as this new version may wipe them. This is due to the backend system changes I have made.
Alternatively, see the procedure in Post #1 for copying profiles to new PC for versions prior to V3.178.



Once upgraded to this new version you can open the text file (i.e. Profiles 2024-05-29 11-09-01.txt) and re-enter your profile data if they have been wiped.

I have added two new buttons on the main tab, EXPORT PROFILES and IMPORT PROFILES:

EXPORT PROFILES will backup all your profile data & settings to a file \WinGPIBdata\ProfilesData.dat
IMPORT PROFILES will restore all your profile data & settings from \WinGPIBdata\ProfilesData.dat
This is extremely useful if moving WinGPIB to a new PC and you want to copy over your profile data & settings.

The SAVE TO TEXT button is still there in order to export your profiles (only) to a readable text file (i.e. Profiles 2024-05-29 11-09-01.txt).



Ian.
« Last Edit: May 30, 2024, 01:49:14 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #767 on: June 01, 2024, 12:15:34 pm »
New version in Post #1 available for download. - PLEASE READ THE INFO IN PREVIOUS POST BEFORE UPGRADING TO THIS VERSION IF YOU ARE COMING FROM V3.177 OR EARLIER.
WinGPIB_V3_179.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

I have added a new "Send PRE RUN only" button so that the PRE RUN commands can be run once and without running the normal timer based running.

In the example below I connected to Device 1 and ran the PRE RUN commands using the new button, then hit QUERY ASYNC once just to get one reply from my device.

Previously you had to run normal timer based logging and then immediately stop it, or send individual SEND ASYNC commands.


« Last Edit: June 01, 2024, 07:55:48 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: TERRA Operative

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #768 on: June 02, 2024, 10:57:17 am »
New version in Post #1 available for download. - PLEASE READ THE INFO IN POST #766 BEFORE UPGRADING TO THIS VERSION IF YOU ARE COMING FROM V3.177 OR EARLIER.
WinGPIB_V3_180.zip WinGPIB_V3_181.zip
[Virus scanned using BitDefender AntiVirus]
Need help installing, upgrading or moving to a new PC, then see instructions in Post #1

Added a couple of internal commands for the COMMAND LINE interface, an easier/quicker way to change from QUERY ASYNC to SEND ASYNC modes and vice versa, i.e. an alternative solution to the checkboxes.
#SA will set the checkbox to SEND ASYNC mode.
#QA will set the checkbox to QUERY ASYNC mode.

Example:
I used #SA to set to SEND ASYNC mode so I could then send NPLC 25 to my device.
Then I used #QA to set to QUERY ASYNC mode so I could then retrieve a value from my device.
The #SA and #QA commands are not sent over GPIB.

UPDATE (V3.181): Also added a right arrow and a few spaces to help show GPIB responses.

« Last Edit: June 02, 2024, 11:46:04 am by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Online yuhar

  • Contributor
  • Posts: 35
  • Country: hu
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #769 on: June 02, 2024, 04:29:24 pm »
Hi Ian,

exellent application.

some questions or possible suggestions,

- possible log the system tempereture too? (SYSTEM:TEMP?) (34465A, 34470A meter...)
- perhaps it would be nice to have an option that would log the read value - not time based logging (keyboard button press; maybe space or any other...)
- Time syncronisation to PC (SYSTEM:TIME ...)

Thank You:
 Istvan
 

Online yuhar

  • Contributor
  • Posts: 35
  • Country: hu
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #770 on: June 02, 2024, 06:01:11 pm »
- autocal failed (*CAL?) every time; just then succeded; if I interrupt - "abort retry"

I set timeout to 50000ms but same...
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #771 on: June 02, 2024, 08:38:34 pm »
Hi Ian,

exellent application.

some questions or possible suggestions,

- possible log the system tempereture too? (SYSTEM:TEMP?) (34465A, 34470A meter...)
- perhaps it would be nice to have an option that would log the read value - not time based logging (keyboard button press; maybe space or any other...)
- Time syncronisation to PC (SYSTEM:TIME ...)

Thank You:
 Istvan

Thats an idea. What I need to come up with is a user adjustable parameter that can be added to the log format. However, what I was wanting to look at first is modifying the log format to better follow the standard format as set down with other logging aplications......if indeed there is one!

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #772 on: June 02, 2024, 08:43:18 pm »
- autocal failed (*CAL?) every time; just then succeded; if I interrupt - "abort retry"

I set timeout to 50000ms but same...

Not sure what you are doing here, i.e. what instrument, are you trying to log?, what period. pre-run, at-run etc, also are you using the INTRPT. CMD. Let me know all your settings.....screenshot?

Are you just trying to send a single command to your device?.......*CAL?
Then that would be a SEND ASYNC command.
Are other commands working?

Ian.
« Last Edit: June 02, 2024, 08:50:37 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Online yuhar

  • Contributor
  • Posts: 35
  • Country: hu
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #773 on: June 02, 2024, 09:59:10 pm »
send Async command ok ... approx. 15 sec; I got succeeded message on meter display.

the interrupt not ok; - looks like....

I test now with simple usb cable... (GPIB connection / driver - it doesn't work at the moment)
 

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1664
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: WinGPIB - Windows GPIB App (multi-purpose)
« Reply #774 on: June 02, 2024, 10:24:25 pm »
You are getting a :READ? error, however it looks like it is sometimes working.
I would advise forgetting about :CAL? And forget about INTRPT CMD for now.
You must get :READ? working reliably first and on a timer etc.

Try checking the Enable Polling check box.
Also, get the proper address for the USB port of your meter from the Keysight drivers assume you are using them.

I notice the decimal display has a comma for the decimal point instead of a decimal point so I am guessing your windows version has it set this way. I am not sure WinGPIB can work properly with a comma.
I.e
1,23456
1.23456

Ian.
« Last Edit: June 02, 2024, 10:29:28 pm by IanJ »
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: yuhar


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf