Hi there,
I took a look at the PSN50.zip exe file.
If the USB device enumerates as a serial port I would say you have a good chance to get it to work.
From the EXE I can see the following commands (judged by them being capital letters), and a tentative description.
ABORTTRG - Abort a level triggered buffered reading
AUTOAVG - Set averaging mode to auto
AUTOAVGMOD - Set modulation averaging?
AUTOAVGRES - Set averaging to ?
AUTOAVGSNR - Set averaging to ?
AUTOAVGSRC - Set averaging source?
AUTORNG - Autoranging
AVGCNT - ?
AVGTYP - ?
BUFFLEN - Set buffer length
BURSTPERIOD - Set burst period?
BURSTWIDTH - Set burst width?
CCDFPERIOD - ?
CCDFTHRESH - ?
CFCAL - Set calfactort
CFFREQ - Set cal factor frequency
CFFREQ? - Request cal factor frequency
CFTBLNUM - Set calfactor table number
CHAPERT - ?
CHMOD - ?
CHOLD - ?
CHRES - Set reading resolution?
CHUNIT - Set power units, (dbm, mW, W are defined as strings in the exe)?
CLEARTBL - Clear calibration table <-- careful with this one!
CWDUTY - Set CW dutycycle (percent?)
CWREL - Set measurement mode to relative?
DATALOG - ?
DELETE - ? <-- Careful with this one
EAVG - Set averaging?
ENHMOD - ?
FIXOFF - ?
FREQ - Set frequency?
GATEPARAMS - ?
GC - ?
GENABLE - Gating enable?
GETALLSETTINGS - I suppose it would return all settings =)
GETOFFSET - dB offset fetch? Not sure, it should end with a questionmark if it were a request
IDN? - Request identification
KILL - End measurement?
LAT - ?
MODULATIONGROUP - ?
MZ - probably a suffix when setting cal frequency?
OFFTBL - Select offset table?
PAGEREAD - Read a page from ?
PAGEWRITE - Write a page to ? <-- Careful with this one
PEPPERIOD - ?
POW? - Requests a single power reading
PWRALL - ?
PWRMODE - ?
RDBUF - Read buffered data
RECALL - Preset recall?
REVERSE - Measure reverse power?
RSDS - ?
RST - Reset sensor
SAVE - Preset save?
SCOPEPARAMS - ?
SETOFFSET - Set attenuation?
SETRNG - Set range?
START - Start buffered acquisition
STATUS? - Request status of buffered acquisition?
STOP - Stop buffered acquisition
SW_RESTORE - Factory reset? <-- careful with this one
TRCCNT - ?
TRGARMTYP - Set trigger arming type?
TRGDLY - Set trigger delay
TRGEDG - ?
TRGFLEV - ?
TRGFTIM - ?
TRGHLDOFF - Trigger holdoff?
TRGHYST - Trigger hysteresis?
TRGLVL - Set trigger level
TRGNOISE - ?
TRGNOISEALG - ?
TRGSRC - Set trigger source
TRGSTLDLY - ?
TRGSWLVL - ?
TSLTPARAMS - ?
TWKRNG - ?
UPGRADE - ? <-- careful with this one
VIDEOBW - Set videobandwidth
ZERO - Zero sensor
The demo exe seems to support the following devices:
MA24104A, MA24105A, MA24106A, MA24018A, MA24118A, MA24126A, MA24240A, PSN50.
Only a subset of the commands above probably works, you have to run through them.
The screenshot that ua4yhz has in the other thread shows a temperature from the sensor, perhaps there is a TEMP? command that the demo exe cannot do.
As a final hint, the demo exe seems to end each sent line with carriage return + newline \r\n (or maybe just newline \n), don't forget to add that when you throw commands at the sensor.
Best regards