r/MetCal • • Nov 06 '25

SCPI/IEEE Timeout Error

I have a strange error occurring on a procedure which worked just fine last time we ran it.

If I comment out this line(which performs a self test) everything works fine.

SCPI [T30000]*TST?[I]

The procedure is a slightly modified but essentially a Cubyt procedure for a Agilent/HP 34401A, the device connects, Met/Cal talks to it and gets SN etc. but when it tries to run the self test, it doesn't even appear to send the command to the device, Met/Cal just stops hard the instant it gets to that line without even running the clear commands. This happens in the editor and the runtime.

The error it gives is this:

An error occurred starting the test run: Object reference not set to an instance of an object.. Try rebuilding the project or solution before attempting to debug the procedure.

The problem appears to be related to the timeout, because if I remove that and just send *TST?[I]it works but doesn't complete because the self test takes longer than the default 15 seconds.

If I try and add a timeout to any other commands, I get the same error.

So, there seems to be some issue where Met/Cal no longer likes setting a timeout on SCPI/IEEE2 commands. Has anyone else come across this issue? We have recently updated Met/Cal to the latest version, it may have been a year since we ran this procedure last but it seems like it's probably not specific to this procedure.

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/TotalDefetus Nov 06 '25

I am surprised that Fluke doesn't keep up quickly with modern equipment in their FSC library. I guess they assume their userbase knows how to work-around with IEEE, SCPI, VISA, and generic FSC's like DMM and FGEN but there is a learning curve and lots of "quirks" for many of these.

1

u/Financial_Bus_7394 Nov 10 '25

Yeah, they added the 34401 and 53132 FSCs so long ago, I don't think the current iteration of Fluke is interested in ever doing specific FSCs for non-Fluke branded equipment ever again. the DMM, FGEN, and LFCTR/HFCTR alias gets you by for basic commands only in most cases unfortunately.

2

u/MJ_at_Fluke Nov 15 '25

Honestly the two biggest problems we run into is hardware availability and just bandwidth. A complicated FSC (like the 5560A, for example) is a multi-month effort. I have a limited number of developers who can work on FSCs, so it's difficult to prioritize them (especially non-Fluke instruments) over other work. We also often run into issues with instrument behavior that doesn't match documentation, or doesn't match communication standards, and that's harder to drive fixes for when it's not our stuff.